Hard Coded and Keymap codes fixed for OS X

fixed right menu and both left and right windows keycodes
This commit is contained in:
Jason Mealins 2013-02-25 17:13:19 -08:00
parent 6da989258f
commit f8c4fa4938
2 changed files with 4 additions and 4 deletions

View File

@ -58,11 +58,11 @@ keyboard "macosx"
VK_OEM_2 <52> VK_OEM_2 <52>
VK_SPACE <57> VK_SPACE <57>
VK_LWIN <63> VK_LWIN <63>
VK_RWIN <69> VK_RWIN <71>
VK_LCONTROL <67> VK_LCONTROL <67>
VK_LMENU <66> VK_LMENU <66>
VK_LSHIFT <64> VK_LSHIFT <64>
VK_RMENU <71> VK_RMENU <69>
VK_RSHIFT <68> VK_RSHIFT <68>
VK_F1 <130> VK_F1 <130>
VK_F2 <128> VK_F2 <128>

View File

@ -283,9 +283,9 @@ const UINT32 KEYCODE_TO_VKCODE_MACOSX[256] =
VK_LMENU, /* 66 */ VK_LMENU, /* 66 */
VK_LCONTROL, /* 67 */ VK_LCONTROL, /* 67 */
VK_RSHIFT, /* 68 */ VK_RSHIFT, /* 68 */
0, /* 69 */ VK_RMENU, /* 69 */
0, /* 70 */ 0, /* 70 */
VK_RMENU, /* 71 */ VK_RWIN, /* 71 */
0, /* 72 */ 0, /* 72 */
VK_DECIMAL, /* 73 */ VK_DECIMAL, /* 73 */
0, /* 74 */ 0, /* 74 */