1191
|
1 const KeyTypeMap* = {
|
|
2 VK_ESCAPE: Key.Escape, VK_F1: F1, VK_F2: F2, VK_F3: F3, VK_F4: F4, VK_F5: F5,
|
|
3 VK_F6: F6, VK_F7: F7, VK_F8: F8, VK_F9: F9, VK_F10: F10, VK_F11: F11,
|
|
4 VK_F12: F12,
|
|
5 VK_OEM_3: NumberRowExtra1, int('0'): `0`, int('1'): `1`, int('2'): `2`, int(
|
|
6 '3'): `3`, int('4'): `4`, int('5'): `5`, int('6'): `6`, int('7'): `7`,
|
|
7 int('8'): `8`, int('9'): `9`, VK_OEM_MINUS: NumberRowExtra2,
|
|
8 VK_OEM_PLUS: NumberRowExtra3,
|
|
9 int('A'): A, int('B'): B, int('C'): C, int('D'): D, int('E'): E, int('F'): F,
|
|
10 int('G'): G, int('H'): H, int('I'): I, int('J'): J, int('K'): K, int(
|
|
11 'L'): L, int('M'): M, int('N'): N, int('O'): O, int('P'): P, int('Q'): Q,
|
|
12 int('R'): R, int('S'): S, int('T'): T, int('U'): U, int('V'): V, int(
|
|
13 'W'): W, int('X'): X, int('Y'): Y, int('Z'): Z,
|
|
14 VK_TAB: Tab, VK_CAPITAL: CapsLock, VK_LSHIFT: ShiftL, VK_SHIFT: ShiftL,
|
|
15 VK_RSHIFT: ShiftR, VK_LCONTROL: CtrlL, VK_CONTROL: CtrlL,
|
|
16 VK_RCONTROL: CtrlR, VK_LWIN: SuperL, VK_RWIN: SuperR, VK_LMENU: AltL,
|
|
17 VK_RMENU: AltR, VK_SPACE: Space, VK_RETURN: Enter, VK_BACK: Backspace,
|
|
18 VK_OEM_4: LetterRow1Extra1, VK_OEM_6: LetterRow1Extra2,
|
|
19 VK_OEM_5: LetterRow2Extra3,
|
|
20 VK_OEM_1: LetterRow2Extra1, VK_OEM_7: LetterRow2Extra2,
|
|
21 VK_OEM_COMMA: LetterRow3Extra1, VK_OEM_PERIOD: LetterRow3Extra2,
|
|
22 VK_OEM_2: LetterRow3Extra3,
|
|
23 VK_UP: Up, VK_DOWN: Down, VK_LEFT: Left, VK_RIGHT: Right,
|
|
24 VK_PRIOR: PageUp, VK_NEXT: PageDown, VK_HOME: Home, VK_END: End,
|
|
25 VK_INSERT: Insert, VK_DELETE: Key.Delete,
|
|
26 }.toTable
|