[Title] Shift_R -> Shift_L in windows
authorgiwoong.kim <giwoong.kim@samsung.com>
Mon, 9 Apr 2012 09:12:42 +0000 (18:12 +0900)
committergiwoong.kim <giwoong.kim@samsung.com>
Mon, 9 Apr 2012 09:12:42 +0000 (18:12 +0900)
[Type]
[Module] Emulator / keyboard
[Priority]
[Jira#]
[Redmine#]
[Problem]
[Cause] keyLocation info is not supported at swt
[Solution]
[TestCase]

tizen/src/skin/maruskin_keymap.c

index a5f8c83..fdf9d24 100644 (file)
@@ -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) {