add more keys
git-svn-id: http://skia.googlecode.com/svn/trunk@1357 2bbb7eff-a529-9590-31e7-b0007b416f81
This commit is contained in:
parent
26c2d0a69e
commit
1fbb30051a
@ -8,6 +8,14 @@
|
||||
|
||||
SkKey XKeyToSkKey(KeySym keysym) {
|
||||
switch (keysym) {
|
||||
case XK_BackSpace:
|
||||
return kBack_SkKey;
|
||||
case XK_Return:
|
||||
return kOK_SkKey;
|
||||
case XK_Home:
|
||||
return kHome_SkKey;
|
||||
case XK_End:
|
||||
return kEnd_SkKey;
|
||||
case XK_Right:
|
||||
return kRight_SkKey;
|
||||
case XK_Left:
|
||||
|
Loading…
Reference in New Issue
Block a user