1#ifndef ENGINE_KEYS_H
2#define ENGINE_KEYS_H
3#if defined(CONF_FAMILY_WINDOWS)
4 #undef KEY_EXECUTE
5#endif
6/* AUTO GENERATED! DO NOT EDIT MANUALLY! */
7enum
8{
9 KEY_FIRST = 0,
10 KEY_UNKNOWN = 0,
11 KEY_A = 4,
12 KEY_B = 5,
13 KEY_C = 6,
14 KEY_D = 7,
15 KEY_E = 8,
16 KEY_F = 9,
17 KEY_G = 10,
18 KEY_H = 11,
19 KEY_I = 12,
20 KEY_J = 13,
21 KEY_K = 14,
22 KEY_L = 15,
23 KEY_M = 16,
24 KEY_N = 17,
25 KEY_O = 18,
26 KEY_P = 19,
27 KEY_Q = 20,
28 KEY_R = 21,
29 KEY_S = 22,
30 KEY_T = 23,
31 KEY_U = 24,
32 KEY_V = 25,
33 KEY_W = 26,
34 KEY_X = 27,
35 KEY_Y = 28,
36 KEY_Z = 29,
37 KEY_1 = 30,
38 KEY_2 = 31,
39 KEY_3 = 32,
40 KEY_4 = 33,
41 KEY_5 = 34,
42 KEY_6 = 35,
43 KEY_7 = 36,
44 KEY_8 = 37,
45 KEY_9 = 38,
46 KEY_0 = 39,
47 KEY_RETURN = 40,
48 KEY_ESCAPE = 41,
49 KEY_BACKSPACE = 42,
50 KEY_TAB = 43,
51 KEY_SPACE = 44,
52 KEY_MINUS = 45,
53 KEY_EQUALS = 46,
54 KEY_LEFTBRACKET = 47,
55 KEY_RIGHTBRACKET = 48,
56 KEY_BACKSLASH = 49,
57 KEY_NONUSHASH = 50,
58 KEY_SEMICOLON = 51,
59 KEY_APOSTROPHE = 52,
60 KEY_GRAVE = 53,
61 KEY_COMMA = 54,
62 KEY_PERIOD = 55,
63 KEY_SLASH = 56,
64 KEY_CAPSLOCK = 57,
65 KEY_F1 = 58,
66 KEY_F2 = 59,
67 KEY_F3 = 60,
68 KEY_F4 = 61,
69 KEY_F5 = 62,
70 KEY_F6 = 63,
71 KEY_F7 = 64,
72 KEY_F8 = 65,
73 KEY_F9 = 66,
74 KEY_F10 = 67,
75 KEY_F11 = 68,
76 KEY_F12 = 69,
77 KEY_PRINTSCREEN = 70,
78 KEY_SCROLLLOCK = 71,
79 KEY_PAUSE = 72,
80 KEY_INSERT = 73,
81 KEY_HOME = 74,
82 KEY_PAGEUP = 75,
83 KEY_DELETE = 76,
84 KEY_END = 77,
85 KEY_PAGEDOWN = 78,
86 KEY_RIGHT = 79,
87 KEY_LEFT = 80,
88 KEY_DOWN = 81,
89 KEY_UP = 82,
90 KEY_NUMLOCKCLEAR = 83,
91 KEY_KP_DIVIDE = 84,
92 KEY_KP_MULTIPLY = 85,
93 KEY_KP_MINUS = 86,
94 KEY_KP_PLUS = 87,
95 KEY_KP_ENTER = 88,
96 KEY_KP_1 = 89,
97 KEY_KP_2 = 90,
98 KEY_KP_3 = 91,
99 KEY_KP_4 = 92,
100 KEY_KP_5 = 93,
101 KEY_KP_6 = 94,
102 KEY_KP_7 = 95,
103 KEY_KP_8 = 96,
104 KEY_KP_9 = 97,
105 KEY_KP_0 = 98,
106 KEY_KP_PERIOD = 99,
107 KEY_NONUSBACKSLASH = 100,
108 KEY_APPLICATION = 101,
109 KEY_POWER = 102,
110 KEY_KP_EQUALS = 103,
111 KEY_F13 = 104,
112 KEY_F14 = 105,
113 KEY_F15 = 106,
114 KEY_F16 = 107,
115 KEY_F17 = 108,
116 KEY_F18 = 109,
117 KEY_F19 = 110,
118 KEY_F20 = 111,
119 KEY_F21 = 112,
120 KEY_F22 = 113,
121 KEY_F23 = 114,
122 KEY_F24 = 115,
123 KEY_EXECUTE = 116,
124 KEY_HELP = 117,
125 KEY_MENU = 118,
126 KEY_SELECT = 119,
127 KEY_STOP = 120,
128 KEY_AGAIN = 121,
129 KEY_UNDO = 122,
130 KEY_CUT = 123,
131 KEY_COPY = 124,
132 KEY_PASTE = 125,
133 KEY_FIND = 126,
134 KEY_MUTE = 127,
135 KEY_VOLUMEUP = 128,
136 KEY_VOLUMEDOWN = 129,
137 KEY_KP_COMMA = 133,
138 KEY_KP_EQUALSAS400 = 134,
139 KEY_INTERNATIONAL1 = 135,
140 KEY_INTERNATIONAL2 = 136,
141 KEY_INTERNATIONAL3 = 137,
142 KEY_INTERNATIONAL4 = 138,
143 KEY_INTERNATIONAL5 = 139,
144 KEY_INTERNATIONAL6 = 140,
145 KEY_INTERNATIONAL7 = 141,
146 KEY_INTERNATIONAL8 = 142,
147 KEY_INTERNATIONAL9 = 143,
148 KEY_LANG1 = 144,
149 KEY_LANG2 = 145,
150 KEY_LANG3 = 146,
151 KEY_LANG4 = 147,
152 KEY_LANG5 = 148,
153 KEY_LANG6 = 149,
154 KEY_LANG7 = 150,
155 KEY_LANG8 = 151,
156 KEY_LANG9 = 152,
157 KEY_ALTERASE = 153,
158 KEY_SYSREQ = 154,
159 KEY_CANCEL = 155,
160 KEY_CLEAR = 156,
161 KEY_PRIOR = 157,
162 KEY_RETURN2 = 158,
163 KEY_SEPARATOR = 159,
164 KEY_OUT = 160,
165 KEY_OPER = 161,
166 KEY_CLEARAGAIN = 162,
167 KEY_CRSEL = 163,
168 KEY_EXSEL = 164,
169 KEY_KP_00 = 176,
170 KEY_KP_000 = 177,
171 KEY_THOUSANDSSEPARATOR = 178,
172 KEY_DECIMALSEPARATOR = 179,
173 KEY_CURRENCYUNIT = 180,
174 KEY_CURRENCYSUBUNIT = 181,
175 KEY_KP_LEFTPAREN = 182,
176 KEY_KP_RIGHTPAREN = 183,
177 KEY_KP_LEFTBRACE = 184,
178 KEY_KP_RIGHTBRACE = 185,
179 KEY_KP_TAB = 186,
180 KEY_KP_BACKSPACE = 187,
181 KEY_KP_A = 188,
182 KEY_KP_B = 189,
183 KEY_KP_C = 190,
184 KEY_KP_D = 191,
185 KEY_KP_E = 192,
186 KEY_KP_F = 193,
187 KEY_KP_XOR = 194,
188 KEY_KP_POWER = 195,
189 KEY_KP_PERCENT = 196,
190 KEY_KP_LESS = 197,
191 KEY_KP_GREATER = 198,
192 KEY_KP_AMPERSAND = 199,
193 KEY_KP_DBLAMPERSAND = 200,
194 KEY_KP_VERTICALBAR = 201,
195 KEY_KP_DBLVERTICALBAR = 202,
196 KEY_KP_COLON = 203,
197 KEY_KP_HASH = 204,
198 KEY_KP_SPACE = 205,
199 KEY_KP_AT = 206,
200 KEY_KP_EXCLAM = 207,
201 KEY_KP_MEMSTORE = 208,
202 KEY_KP_MEMRECALL = 209,
203 KEY_KP_MEMCLEAR = 210,
204 KEY_KP_MEMADD = 211,
205 KEY_KP_MEMSUBTRACT = 212,
206 KEY_KP_MEMMULTIPLY = 213,
207 KEY_KP_MEMDIVIDE = 214,
208 KEY_KP_PLUSMINUS = 215,
209 KEY_KP_CLEAR = 216,
210 KEY_KP_CLEARENTRY = 217,
211 KEY_KP_BINARY = 218,
212 KEY_KP_OCTAL = 219,
213 KEY_KP_DECIMAL = 220,
214 KEY_KP_HEXADECIMAL = 221,
215 KEY_LCTRL = 224,
216 KEY_LSHIFT = 225,
217 KEY_LALT = 226,
218 KEY_LGUI = 227,
219 KEY_RCTRL = 228,
220 KEY_RSHIFT = 229,
221 KEY_RALT = 230,
222 KEY_RGUI = 231,
223 KEY_MODE = 257,
224 KEY_AUDIONEXT = 258,
225 KEY_AUDIOPREV = 259,
226 KEY_AUDIOSTOP = 260,
227 KEY_AUDIOPLAY = 261,
228 KEY_AUDIOMUTE = 262,
229 KEY_MEDIASELECT = 263,
230 KEY_WWW = 264,
231 KEY_MAIL = 265,
232 KEY_CALCULATOR = 266,
233 KEY_COMPUTER = 267,
234 KEY_AC_SEARCH = 268,
235 KEY_AC_HOME = 269,
236 KEY_AC_BACK = 270,
237 KEY_AC_FORWARD = 271,
238 KEY_AC_STOP = 272,
239 KEY_AC_REFRESH = 273,
240 KEY_AC_BOOKMARKS = 274,
241 KEY_BRIGHTNESSDOWN = 275,
242 KEY_BRIGHTNESSUP = 276,
243 KEY_DISPLAYSWITCH = 277,
244 KEY_KBDILLUMTOGGLE = 278,
245 KEY_KBDILLUMDOWN = 279,
246 KEY_KBDILLUMUP = 280,
247 KEY_EJECT = 281,
248 KEY_SLEEP = 282,
249 KEY_APP1 = 283,
250 KEY_APP2 = 284,
251 KEY_AUDIOREWIND = 285,
252 KEY_AUDIOFASTFORWARD = 286,
253 KEY_SOFTLEFT = 287,
254 KEY_SOFTRIGHT = 288,
255 KEY_CALL = 289,
256 KEY_ENDCALL = 290,
257
258 KEY_MOUSE_1 = 291,
259 KEY_MOUSE_2 = 292,
260 KEY_MOUSE_3 = 293,
261 KEY_MOUSE_4 = 294,
262 KEY_MOUSE_5 = 295,
263 KEY_MOUSE_6 = 296,
264 KEY_MOUSE_7 = 297,
265 KEY_MOUSE_8 = 298,
266 KEY_MOUSE_9 = 299,
267 KEY_MOUSE_WHEEL_UP = 300,
268 KEY_MOUSE_WHEEL_DOWN = 301,
269 KEY_MOUSE_WHEEL_LEFT = 302,
270 KEY_MOUSE_WHEEL_RIGHT = 303,
271
272 KEY_JOYSTICK_BUTTON_0 = 304,
273 KEY_JOYSTICK_BUTTON_1 = 305,
274 KEY_JOYSTICK_BUTTON_2 = 306,
275 KEY_JOYSTICK_BUTTON_3 = 307,
276 KEY_JOYSTICK_BUTTON_4 = 308,
277 KEY_JOYSTICK_BUTTON_5 = 309,
278 KEY_JOYSTICK_BUTTON_6 = 310,
279 KEY_JOYSTICK_BUTTON_7 = 311,
280 KEY_JOYSTICK_BUTTON_8 = 312,
281 KEY_JOYSTICK_BUTTON_9 = 313,
282 KEY_JOYSTICK_BUTTON_10 = 314,
283 KEY_JOYSTICK_BUTTON_11 = 315,
284
285 KEY_JOY_HAT0_UP = 316,
286 KEY_JOY_HAT0_LEFT = 317,
287 KEY_JOY_HAT0_RIGHT = 318,
288 KEY_JOY_HAT0_DOWN = 319,
289 KEY_JOY_HAT1_UP = 320,
290 KEY_JOY_HAT1_LEFT = 321,
291 KEY_JOY_HAT1_RIGHT = 322,
292 KEY_JOY_HAT1_DOWN = 323,
293
294 KEY_JOY_AXIS_0_LEFT = 324,
295 KEY_JOY_AXIS_0_RIGHT = 325,
296 KEY_JOY_AXIS_1_LEFT = 326,
297 KEY_JOY_AXIS_1_RIGHT = 327,
298 KEY_JOY_AXIS_2_LEFT = 328,
299 KEY_JOY_AXIS_2_RIGHT = 329,
300 KEY_JOY_AXIS_3_LEFT = 330,
301 KEY_JOY_AXIS_3_RIGHT = 331,
302 KEY_JOY_AXIS_4_LEFT = 332,
303 KEY_JOY_AXIS_4_RIGHT = 333,
304 KEY_JOY_AXIS_5_LEFT = 334,
305 KEY_JOY_AXIS_5_RIGHT = 335,
306 KEY_JOY_AXIS_6_LEFT = 336,
307 KEY_JOY_AXIS_6_RIGHT = 337,
308 KEY_JOY_AXIS_7_LEFT = 338,
309 KEY_JOY_AXIS_7_RIGHT = 339,
310 KEY_JOY_AXIS_8_LEFT = 340,
311 KEY_JOY_AXIS_8_RIGHT = 341,
312 KEY_JOY_AXIS_9_LEFT = 342,
313 KEY_JOY_AXIS_9_RIGHT = 343,
314 KEY_JOY_AXIS_10_LEFT = 344,
315 KEY_JOY_AXIS_10_RIGHT = 345,
316 KEY_JOY_AXIS_11_LEFT = 346,
317 KEY_JOY_AXIS_11_RIGHT = 347,
318
319 KEY_LAST = 512,
320
321 NUM_JOYSTICK_BUTTONS = KEY_JOYSTICK_BUTTON_11 - KEY_JOYSTICK_BUTTON_0 + 1,
322 NUM_JOYSTICK_AXES_BUTTONS = KEY_JOY_AXIS_11_RIGHT - KEY_JOY_AXIS_0_LEFT + 1,
323 NUM_JOYSTICK_BUTTONS_PER_AXIS = KEY_JOY_AXIS_0_RIGHT - KEY_JOY_AXIS_0_LEFT + 1,
324 NUM_JOYSTICK_AXES = NUM_JOYSTICK_AXES_BUTTONS / NUM_JOYSTICK_BUTTONS_PER_AXIS,
325 NUM_JOYSTICK_HAT_BUTTONS = KEY_JOY_HAT1_DOWN - KEY_JOY_HAT0_UP + 1,
326 NUM_JOYSTICK_BUTTONS_PER_HAT = KEY_JOY_HAT1_DOWN - KEY_JOY_HAT1_UP + 1,
327 NUM_JOYSTICK_HATS = NUM_JOYSTICK_HAT_BUTTONS / NUM_JOYSTICK_BUTTONS_PER_HAT,
328};
329
330#endif
331