From 23246bb4e4ae21b27afae2ee5b31c800ca8f020e Mon Sep 17 00:00:00 2001 From: "giwoong.kim" Date: Mon, 9 Apr 2012 18:12:42 +0900 Subject: [PATCH] [Title] Shift_R -> Shift_L in windows [Type] [Module] Emulator / keyboard [Priority] [Jira#] [Redmine#] [Problem] [Cause] keyLocation info is not supported at swt [Solution] [TestCase] --- tizen/src/skin/maruskin_keymap.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tizen/src/skin/maruskin_keymap.c b/tizen/src/skin/maruskin_keymap.c index a5f8c83..fdf9d24 100644 --- a/tizen/src/skin/maruskin_keymap.c +++ b/tizen/src/skin/maruskin_keymap.c @@ -88,9 +88,12 @@ int javakeycode_to_scancode(int java_keycode, int event_type, int key_location) } return 29; } else if (java_keycode == JAVA_KEYCODE_BIT_SHIFT) { //shift key +#ifndef _WIN32 + //keyLocation information is not supported at swt of windows version if (key_location == JAVA_KEYLOCATION_RIGHT) { return 54; //Shift_R } +#endif return 42; } else if (java_keycode == JAVA_KEYCODE_BIT_ALT) { //alt key if (key_location == JAVA_KEYLOCATION_RIGHT) { -- 2.7.4