1 K_BACK = kVK_Delete|K_DELTA,
2 K_BACKSPACE = K_BACK,
3 
4 K_TAB = 9,
5 
6 K_SPACE = kVK_Space|K_DELTA,
7 
8 K_RETURN = kVK_Return|K_DELTA,
9 K_ENTER = K_RETURN,
10 
11 K_SHIFT_KEY = 500|K_DELTA,
12 K_CTRL_KEY,
13 K_ALT_KEY,
14 K_OPTION_KEY,
15 
16 // TODO: These are not properly handled yet
17 K_CAPSLOCK,
18 K_SEPARATOR,
19 K_CTRL_APOSTROPHE,
20 K_PLUS,
21 K_BREAK,
22 K_SCROLL,
23 K_QUOTEDBL,
24 // ---
25 
26 K_ESCAPE = kVK_Escape|K_DELTA,
27 K_PRIOR = kVK_PageUp|K_DELTA,
28 K_PAGEUP = kVK_PageUp|K_DELTA,
29 K_NEXT = kVK_PageDown|K_DELTA,
30 K_PAGEDOWN = kVK_PageDown|K_DELTA,
31 K_END = kVK_End|K_DELTA,
32 K_HOME = kVK_Home|K_DELTA,
33 K_LEFT = kVK_LeftArrow|K_DELTA,
34 K_UP = kVK_UpArrow|K_DELTA,
35 K_RIGHT = kVK_RightArrow|K_DELTA,
36 K_DOWN = kVK_DownArrow|K_DELTA,
37 K_INSERT = kVK_Help|K_DELTA, // Code is this for external keyboard..
38 K_DELETE = kVK_ForwardDelete|K_DELTA,
39 
40 K_NUMPAD0 = kVK_ANSI_Keypad0|K_DELTA,
41 K_NUMPAD1 = kVK_ANSI_Keypad1|K_DELTA,
42 K_NUMPAD2 = kVK_ANSI_Keypad2|K_DELTA,
43 K_NUMPAD3 = kVK_ANSI_Keypad3|K_DELTA,
44 K_NUMPAD4 = kVK_ANSI_Keypad4|K_DELTA,
45 K_NUMPAD5 = kVK_ANSI_Keypad5|K_DELTA,
46 K_NUMPAD6 = kVK_ANSI_Keypad6|K_DELTA,
47 K_NUMPAD7 = kVK_ANSI_Keypad7|K_DELTA,
48 K_NUMPAD8 = kVK_ANSI_Keypad8|K_DELTA,
49 K_NUMPAD9 = kVK_ANSI_Keypad9|K_DELTA,
50 
51 K_MULTIPLY  = kVK_ANSI_KeypadMultiply|K_DELTA,
52 K_ADD = kVK_ANSI_KeypadPlus|K_DELTA,
53 K_SUBTRACT = kVK_ANSI_KeypadMinus|K_DELTA,
54 K_DECIMAL = kVK_ANSI_KeypadDecimal|K_DELTA,
55 K_DIVIDE = kVK_ANSI_KeypadDivide|K_DELTA,
56 
57 K_F1 = kVK_F1|K_DELTA,
58 K_F2 = kVK_F2|K_DELTA,
59 K_F3 = kVK_F3|K_DELTA,
60 K_F4 = kVK_F4|K_DELTA,
61 K_F5 = kVK_F5|K_DELTA,
62 K_F6 = kVK_F6|K_DELTA,
63 K_F7 = kVK_F7|K_DELTA,
64 K_F8 = kVK_F8|K_DELTA,
65 K_F9 = kVK_F9|K_DELTA,
66 K_F10 = kVK_F10|K_DELTA,
67 K_F11 = kVK_F11|K_DELTA,
68 K_F12 = kVK_F12|K_DELTA,
69 
70 K_A = kVK_ANSI_A|K_DELTA,
71 K_B = kVK_ANSI_B|K_DELTA,
72 K_C = kVK_ANSI_C|K_DELTA,
73 K_D = kVK_ANSI_D|K_DELTA,
74 K_E = kVK_ANSI_E|K_DELTA,
75 K_F = kVK_ANSI_F|K_DELTA,
76 K_G = kVK_ANSI_G|K_DELTA,
77 K_H = kVK_ANSI_H|K_DELTA,
78 K_I = kVK_ANSI_I|K_DELTA,
79 K_J = kVK_ANSI_J|K_DELTA,
80 K_K = kVK_ANSI_K|K_DELTA,
81 K_L = kVK_ANSI_L|K_DELTA,
82 K_M = kVK_ANSI_M|K_DELTA,
83 K_N = kVK_ANSI_N|K_DELTA,
84 K_O = kVK_ANSI_O|K_DELTA,
85 K_P = kVK_ANSI_P|K_DELTA,
86 K_Q = kVK_ANSI_Q|K_DELTA,
87 K_R = kVK_ANSI_R|K_DELTA,
88 K_S = kVK_ANSI_S|K_DELTA,
89 K_T = kVK_ANSI_T|K_DELTA,
90 K_U = kVK_ANSI_U|K_DELTA,
91 K_V = kVK_ANSI_V|K_DELTA,
92 K_W = kVK_ANSI_W|K_DELTA,
93 K_X = kVK_ANSI_X|K_DELTA,
94 K_Y = kVK_ANSI_Y|K_DELTA,
95 K_Z = kVK_ANSI_Z|K_DELTA,
96 K_0 = kVK_ANSI_0|K_DELTA,
97 K_1 = kVK_ANSI_1|K_DELTA,
98 K_2 = kVK_ANSI_2|K_DELTA,
99 K_3 = kVK_ANSI_3|K_DELTA,
100 K_4 = kVK_ANSI_4|K_DELTA,
101 K_5 = kVK_ANSI_5|K_DELTA,
102 K_6 = kVK_ANSI_6|K_DELTA,
103 K_7 = kVK_ANSI_7|K_DELTA,
104 K_8 = kVK_ANSI_8|K_DELTA,
105 K_9 = kVK_ANSI_9|K_DELTA,
106 
107 K_CTRL_LBRACKET = kVK_ANSI_LeftBracket|K_DELTA|K_CTRL,
108 K_CTRL_RBRACKET = kVK_ANSI_RightBracket|K_DELTA|K_CTRL,
109 K_CTRL_MINUS = kVK_ANSI_Minus|K_DELTA|K_CTRL,
110 K_CTRL_GRAVE = kVK_ANSI_Grave|K_DELTA|K_CTRL,
111 K_CTRL_SLASH = kVK_ANSI_Slash|K_DELTA|K_CTRL,
112 K_CTRL_BACKSLASH = kVK_ANSI_Backslash|K_DELTA|K_CTRL,
113 K_CTRL_COMMA = kVK_ANSI_Comma|K_DELTA|K_CTRL,
114 K_CTRL_PERIOD = kVK_ANSI_Period|K_DELTA|K_CTRL,
115 K_CTRL_SEMICOLON = kVK_ANSI_Semicolon|K_DELTA|K_CTRL,
116 K_CTRL_EQUAL = kVK_ANSI_Equal|K_DELTA|K_CTRL,
117 
118 K_MINUS      = kVK_ANSI_Minus|K_DELTA,
119 K_COMMA      = kVK_ANSI_Comma|K_DELTA,
120 K_PERIOD     = kVK_ANSI_Period|K_DELTA,
121 K_SEMICOLON  = kVK_ANSI_Semicolon|K_DELTA,
122 K_SLASH      = kVK_ANSI_Slash|K_DELTA,
123 K_GRAVE      = kVK_ANSI_Grave|K_DELTA,
124 K_LBRACKET   = kVK_ANSI_LeftBracket|K_DELTA,
125 K_BACKSLASH  = kVK_ANSI_Backslash|K_DELTA,
126 K_RBRACKET   = kVK_ANSI_RightBracket|K_DELTA,
127