From 1fbb30051ac939e31560d76b8b37a051fdc76306 Mon Sep 17 00:00:00 2001 From: "reed@google.com" Date: Tue, 17 May 2011 20:44:54 +0000 Subject: [PATCH] add more keys git-svn-id: http://skia.googlecode.com/svn/trunk@1357 2bbb7eff-a529-9590-31e7-b0007b416f81 --- include/utils/unix/XkeysToSkKeys.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/include/utils/unix/XkeysToSkKeys.h b/include/utils/unix/XkeysToSkKeys.h index 3d41a22e5c..1852d99346 100644 --- a/include/utils/unix/XkeysToSkKeys.h +++ b/include/utils/unix/XkeysToSkKeys.h @@ -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: