mfreerdp-server: even more progress on keymap

This commit is contained in:
C-o-r-E 2013-02-27 23:38:45 -05:00
parent d512b9258d
commit 3e24f4e886
1 changed files with 16 additions and 16 deletions

View File

@ -42,10 +42,10 @@ static const CGKeyCode keymap[256] = {
kVK_ANSI_8, //0x9
kVK_ANSI_9, //0xa
kVK_ANSI_0, //0xb
0xFF, //0xc
0xFF, //0xd
kVK_ANSI_Minus, //0xc
kVK_ANSI_Equal, //0xd
kVK_Delete, //0xe
0xFF, //0xf
kVK_Tab, //0xf
kVK_ANSI_Q, //0x10
kVK_ANSI_W, //0x11
kVK_ANSI_E, //0x12
@ -88,7 +88,7 @@ static const CGKeyCode keymap[256] = {
kVK_ANSI_KeypadMultiply, //0x37
kVK_Option, //0x38
kVK_Space, //0x39
0xFF, //0x3a
kVK_CapsLock, //0x3a
kVK_F1, //0x3b
kVK_F2, //0x3c
kVK_F3, //0x3d
@ -99,19 +99,19 @@ static const CGKeyCode keymap[256] = {
kVK_F8, //0x42
kVK_F9, //0x43
kVK_F10, //0x44
0xFF, //0x45
0xFF, //0x46
0xFF, //0x45 -- numlock
0xFF, //0x46 -- scroll lock
kVK_ANSI_Keypad7, //0x47
kVK_ANSI_Keypad8, //0x48
0xFF, //0x49
kVK_ANSI_Keypad9, //0x49
kVK_ANSI_KeypadMinus, //0x4a
kVK_ANSI_Keypad4, //0x4b
kVK_ANSI_Keypad5, //0x4c
0xFF, //0x4d
kVK_ANSI_Keypad6, //0x4d
kVK_ANSI_KeypadPlus, //0x4e
kVK_ANSI_Keypad1, //0x4f
kVK_ANSI_Keypad2, //0x50
0xFF, //0x51
kVK_ANSI_Keypad3, //0x51
kVK_ANSI_Keypad0, //0x52
kVK_ANSI_KeypadDecimal, //0x53
0xFF, //0x54
@ -119,17 +119,17 @@ static const CGKeyCode keymap[256] = {
0xFF, //0x56
kVK_F11, //0x57
kVK_F12, //0x58
0xFF, //0x59
0xFF, //0x59 -- pause
0xFF, //0x5a
0xFF, //0x5b
0xFF, //0x5c
0xFF, //0x5d
0xFF, //0x5e
0xFF, //0x5f
kVK_Control, //0x5b
kVK_Control, //0x5c
0xFF, //0x5d -- application
0xFF, //0x5e -- power
0xFF, //0x5f -- sleep
0xFF, //0x60
0xFF, //0x61
0xFF, //0x62
0xFF, //0x63
0xFF, //0x63 -- wake
0xFF, //0x64
0xFF, //0x65
0xFF, //0x66