| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2012 Google Inc. All rights reserved. | 2 * Copyright (C) 2012 Google Inc. All rights reserved. |
| 3 * | 3 * |
| 4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
| 5 * modification, are permitted provided that the following conditions are | 5 * modification, are permitted provided that the following conditions are |
| 6 * met: | 6 * met: |
| 7 * | 7 * |
| 8 * * Redistributions of source code must retain the above copyright | 8 * * Redistributions of source code must retain the above copyright |
| 9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
| 10 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 43 VKEY_HOME = 0x24, | 43 VKEY_HOME = 0x24, |
| 44 VKEY_LEFT = 0x25, | 44 VKEY_LEFT = 0x25, |
| 45 VKEY_UP = 0x26, | 45 VKEY_UP = 0x26, |
| 46 VKEY_RIGHT = 0x27, | 46 VKEY_RIGHT = 0x27, |
| 47 VKEY_DOWN = 0x28, | 47 VKEY_DOWN = 0x28, |
| 48 VKEY_SNAPSHOT = 0x2C, | 48 VKEY_SNAPSHOT = 0x2C, |
| 49 VKEY_INSERT = 0x2D, | 49 VKEY_INSERT = 0x2D, |
| 50 VKEY_DELETE = 0x2E, | 50 VKEY_DELETE = 0x2E, |
| 51 VKEY_APPS = 0x5D, | 51 VKEY_APPS = 0x5D, |
| 52 VKEY_F1 = 0x70, | 52 VKEY_F1 = 0x70, |
| 53 VKEY_NUMLOCK = 0x90, |
| 53 VKEY_LSHIFT = 0xA0, | 54 VKEY_LSHIFT = 0xA0, |
| 54 VKEY_RSHIFT = 0xA1, | 55 VKEY_RSHIFT = 0xA1, |
| 55 VKEY_LCONTROL = 0xA2, | 56 VKEY_LCONTROL = 0xA2, |
| 56 VKEY_RCONTROL = 0xA3, | 57 VKEY_RCONTROL = 0xA3, |
| 57 VKEY_LMENU = 0xA4, | 58 VKEY_LMENU = 0xA4, |
| 58 VKEY_RMENU = 0xA5, | 59 VKEY_RMENU = 0xA5, |
| 59 }; | 60 }; |
| 60 | 61 |
| 61 // Map a windows keycode to a native keycode on defined(__linux__) && defined(TO
OLKIT_GTK). | 62 // Map a windows keycode to a native keycode on defined(__linux__) && defined(TO
OLKIT_GTK). |
| 62 int NativeKeyCodeForWindowsKeyCode(int keysym); | 63 int NativeKeyCodeForWindowsKeyCode(int keysym); |
| 63 | 64 |
| 64 } | 65 } |
| 65 | 66 |
| 66 #endif // KeyCodeMapping_h | 67 #endif // KeyCodeMapping_h |
| OLD | NEW |