World of Might and Magic  0.2.0
Open reimplementation of Might and Magic 6 7 8 game engine
SDL_keycode.h
См. документацию.
1 /*
2  Simple DirectMedia Layer
3  Copyright (C) 1997-2020 Sam Lantinga <slouken@libsdl.org>
4 
5  This software is provided 'as-is', without any express or implied
6  warranty. In no event will the authors be held liable for any damages
7  arising from the use of this software.
8 
9  Permission is granted to anyone to use this software for any purpose,
10  including commercial applications, and to alter it and redistribute it
11  freely, subject to the following restrictions:
12 
13  1. The origin of this software must not be misrepresented; you must not
14  claim that you wrote the original software. If you use this software
15  in a product, an acknowledgment in the product documentation would be
16  appreciated but is not required.
17  2. Altered source versions must be plainly marked as such, and must not be
18  misrepresented as being the original software.
19  3. This notice may not be removed or altered from any source distribution.
20 */
21 
28 #ifndef SDL_keycode_h_
29 #define SDL_keycode_h_
30 
31 #include "SDL_stdinc.h"
32 #include "SDL_scancode.h"
33 
46 
47 #define SDLK_SCANCODE_MASK (1<<30)
48 #define SDL_SCANCODE_TO_KEYCODE(X) (X | SDLK_SCANCODE_MASK)
49 
50 typedef enum
51 {
53 
54  SDLK_RETURN = '\r',
55  SDLK_ESCAPE = '\033',
57  SDLK_TAB = '\t',
58  SDLK_SPACE = ' ',
59  SDLK_EXCLAIM = '!',
61  SDLK_HASH = '#',
62  SDLK_PERCENT = '%',
63  SDLK_DOLLAR = '$',
65  SDLK_QUOTE = '\'',
69  SDLK_PLUS = '+',
70  SDLK_COMMA = ',',
71  SDLK_MINUS = '-',
72  SDLK_PERIOD = '.',
73  SDLK_SLASH = '/',
74  SDLK_0 = '0',
75  SDLK_1 = '1',
76  SDLK_2 = '2',
77  SDLK_3 = '3',
78  SDLK_4 = '4',
79  SDLK_5 = '5',
80  SDLK_6 = '6',
81  SDLK_7 = '7',
82  SDLK_8 = '8',
83  SDLK_9 = '9',
84  SDLK_COLON = ':',
86  SDLK_LESS = '<',
87  SDLK_EQUALS = '=',
88  SDLK_GREATER = '>',
90  SDLK_AT = '@',
91  /*
92  Skip uppercase letters
93  */
97  SDLK_CARET = '^',
100  SDLK_a = 'a',
101  SDLK_b = 'b',
102  SDLK_c = 'c',
103  SDLK_d = 'd',
104  SDLK_e = 'e',
105  SDLK_f = 'f',
106  SDLK_g = 'g',
107  SDLK_h = 'h',
108  SDLK_i = 'i',
109  SDLK_j = 'j',
110  SDLK_k = 'k',
111  SDLK_l = 'l',
112  SDLK_m = 'm',
113  SDLK_n = 'n',
114  SDLK_o = 'o',
115  SDLK_p = 'p',
116  SDLK_q = 'q',
117  SDLK_r = 'r',
118  SDLK_s = 's',
119  SDLK_t = 't',
120  SDLK_u = 'u',
121  SDLK_v = 'v',
122  SDLK_w = 'w',
123  SDLK_x = 'x',
124  SDLK_y = 'y',
125  SDLK_z = 'z',
126 
127  SDLK_CAPSLOCK = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_CAPSLOCK),
128 
129  SDLK_F1 = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_F1),
130  SDLK_F2 = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_F2),
131  SDLK_F3 = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_F3),
132  SDLK_F4 = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_F4),
133  SDLK_F5 = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_F5),
134  SDLK_F6 = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_F6),
135  SDLK_F7 = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_F7),
136  SDLK_F8 = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_F8),
137  SDLK_F9 = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_F9),
138  SDLK_F10 = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_F10),
139  SDLK_F11 = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_F11),
140  SDLK_F12 = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_F12),
141 
142  SDLK_PRINTSCREEN = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_PRINTSCREEN),
143  SDLK_SCROLLLOCK = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_SCROLLLOCK),
144  SDLK_PAUSE = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_PAUSE),
145  SDLK_INSERT = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_INSERT),
146  SDLK_HOME = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_HOME),
147  SDLK_PAGEUP = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_PAGEUP),
148  SDLK_DELETE = '\177',
149  SDLK_END = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_END),
150  SDLK_PAGEDOWN = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_PAGEDOWN),
151  SDLK_RIGHT = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_RIGHT),
152  SDLK_LEFT = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_LEFT),
153  SDLK_DOWN = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_DOWN),
154  SDLK_UP = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_UP),
155 
156  SDLK_NUMLOCKCLEAR = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_NUMLOCKCLEAR),
157  SDLK_KP_DIVIDE = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_DIVIDE),
158  SDLK_KP_MULTIPLY = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_MULTIPLY),
159  SDLK_KP_MINUS = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_MINUS),
160  SDLK_KP_PLUS = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_PLUS),
161  SDLK_KP_ENTER = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_ENTER),
162  SDLK_KP_1 = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_1),
163  SDLK_KP_2 = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_2),
164  SDLK_KP_3 = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_3),
165  SDLK_KP_4 = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_4),
166  SDLK_KP_5 = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_5),
167  SDLK_KP_6 = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_6),
168  SDLK_KP_7 = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_7),
169  SDLK_KP_8 = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_8),
170  SDLK_KP_9 = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_9),
171  SDLK_KP_0 = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_0),
172  SDLK_KP_PERIOD = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_PERIOD),
173 
174  SDLK_APPLICATION = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_APPLICATION),
175  SDLK_POWER = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_POWER),
176  SDLK_KP_EQUALS = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_EQUALS),
177  SDLK_F13 = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_F13),
178  SDLK_F14 = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_F14),
179  SDLK_F15 = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_F15),
180  SDLK_F16 = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_F16),
181  SDLK_F17 = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_F17),
182  SDLK_F18 = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_F18),
183  SDLK_F19 = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_F19),
184  SDLK_F20 = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_F20),
185  SDLK_F21 = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_F21),
186  SDLK_F22 = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_F22),
187  SDLK_F23 = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_F23),
188  SDLK_F24 = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_F24),
189  SDLK_EXECUTE = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_EXECUTE),
190  SDLK_HELP = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_HELP),
191  SDLK_MENU = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_MENU),
192  SDLK_SELECT = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_SELECT),
193  SDLK_STOP = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_STOP),
194  SDLK_AGAIN = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_AGAIN),
195  SDLK_UNDO = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_UNDO),
196  SDLK_CUT = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_CUT),
197  SDLK_COPY = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_COPY),
198  SDLK_PASTE = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_PASTE),
199  SDLK_FIND = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_FIND),
200  SDLK_MUTE = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_MUTE),
201  SDLK_VOLUMEUP = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_VOLUMEUP),
202  SDLK_VOLUMEDOWN = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_VOLUMEDOWN),
203  SDLK_KP_COMMA = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_COMMA),
205  SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_EQUALSAS400),
206 
207  SDLK_ALTERASE = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_ALTERASE),
208  SDLK_SYSREQ = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_SYSREQ),
209  SDLK_CANCEL = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_CANCEL),
210  SDLK_CLEAR = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_CLEAR),
211  SDLK_PRIOR = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_PRIOR),
212  SDLK_RETURN2 = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_RETURN2),
213  SDLK_SEPARATOR = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_SEPARATOR),
214  SDLK_OUT = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_OUT),
215  SDLK_OPER = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_OPER),
216  SDLK_CLEARAGAIN = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_CLEARAGAIN),
217  SDLK_CRSEL = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_CRSEL),
218  SDLK_EXSEL = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_EXSEL),
219 
220  SDLK_KP_00 = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_00),
221  SDLK_KP_000 = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_000),
223  SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_THOUSANDSSEPARATOR),
225  SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_DECIMALSEPARATOR),
226  SDLK_CURRENCYUNIT = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_CURRENCYUNIT),
228  SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_CURRENCYSUBUNIT),
229  SDLK_KP_LEFTPAREN = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_LEFTPAREN),
230  SDLK_KP_RIGHTPAREN = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_RIGHTPAREN),
231  SDLK_KP_LEFTBRACE = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_LEFTBRACE),
232  SDLK_KP_RIGHTBRACE = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_RIGHTBRACE),
233  SDLK_KP_TAB = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_TAB),
234  SDLK_KP_BACKSPACE = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_BACKSPACE),
235  SDLK_KP_A = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_A),
236  SDLK_KP_B = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_B),
237  SDLK_KP_C = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_C),
238  SDLK_KP_D = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_D),
239  SDLK_KP_E = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_E),
240  SDLK_KP_F = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_F),
241  SDLK_KP_XOR = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_XOR),
242  SDLK_KP_POWER = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_POWER),
243  SDLK_KP_PERCENT = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_PERCENT),
244  SDLK_KP_LESS = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_LESS),
245  SDLK_KP_GREATER = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_GREATER),
246  SDLK_KP_AMPERSAND = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_AMPERSAND),
248  SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_DBLAMPERSAND),
250  SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_VERTICALBAR),
252  SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_DBLVERTICALBAR),
253  SDLK_KP_COLON = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_COLON),
254  SDLK_KP_HASH = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_HASH),
255  SDLK_KP_SPACE = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_SPACE),
256  SDLK_KP_AT = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_AT),
257  SDLK_KP_EXCLAM = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_EXCLAM),
258  SDLK_KP_MEMSTORE = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_MEMSTORE),
259  SDLK_KP_MEMRECALL = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_MEMRECALL),
260  SDLK_KP_MEMCLEAR = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_MEMCLEAR),
261  SDLK_KP_MEMADD = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_MEMADD),
263  SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_MEMSUBTRACT),
265  SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_MEMMULTIPLY),
266  SDLK_KP_MEMDIVIDE = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_MEMDIVIDE),
267  SDLK_KP_PLUSMINUS = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_PLUSMINUS),
268  SDLK_KP_CLEAR = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_CLEAR),
269  SDLK_KP_CLEARENTRY = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_CLEARENTRY),
270  SDLK_KP_BINARY = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_BINARY),
271  SDLK_KP_OCTAL = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_OCTAL),
272  SDLK_KP_DECIMAL = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_DECIMAL),
274  SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_HEXADECIMAL),
275 
276  SDLK_LCTRL = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_LCTRL),
277  SDLK_LSHIFT = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_LSHIFT),
278  SDLK_LALT = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_LALT),
279  SDLK_LGUI = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_LGUI),
280  SDLK_RCTRL = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_RCTRL),
281  SDLK_RSHIFT = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_RSHIFT),
282  SDLK_RALT = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_RALT),
283  SDLK_RGUI = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_RGUI),
284 
285  SDLK_MODE = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_MODE),
286 
287  SDLK_AUDIONEXT = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_AUDIONEXT),
288  SDLK_AUDIOPREV = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_AUDIOPREV),
289  SDLK_AUDIOSTOP = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_AUDIOSTOP),
290  SDLK_AUDIOPLAY = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_AUDIOPLAY),
291  SDLK_AUDIOMUTE = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_AUDIOMUTE),
292  SDLK_MEDIASELECT = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_MEDIASELECT),
293  SDLK_WWW = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_WWW),
294  SDLK_MAIL = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_MAIL),
295  SDLK_CALCULATOR = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_CALCULATOR),
296  SDLK_COMPUTER = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_COMPUTER),
297  SDLK_AC_SEARCH = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_AC_SEARCH),
298  SDLK_AC_HOME = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_AC_HOME),
299  SDLK_AC_BACK = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_AC_BACK),
300  SDLK_AC_FORWARD = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_AC_FORWARD),
301  SDLK_AC_STOP = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_AC_STOP),
302  SDLK_AC_REFRESH = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_AC_REFRESH),
303  SDLK_AC_BOOKMARKS = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_AC_BOOKMARKS),
304 
306  SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_BRIGHTNESSDOWN),
307  SDLK_BRIGHTNESSUP = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_BRIGHTNESSUP),
308  SDLK_DISPLAYSWITCH = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_DISPLAYSWITCH),
310  SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KBDILLUMTOGGLE),
311  SDLK_KBDILLUMDOWN = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KBDILLUMDOWN),
312  SDLK_KBDILLUMUP = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KBDILLUMUP),
313  SDLK_EJECT = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_EJECT),
314  SDLK_SLEEP = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_SLEEP),
315  SDLK_APP1 = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_APP1),
316  SDLK_APP2 = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_APP2),
317 
318  SDLK_AUDIOREWIND = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_AUDIOREWIND),
320 } SDL_KeyCode;
321 
325 typedef enum
326 {
327  KMOD_NONE = 0x0000,
328  KMOD_LSHIFT = 0x0001,
329  KMOD_RSHIFT = 0x0002,
330  KMOD_LCTRL = 0x0040,
331  KMOD_RCTRL = 0x0080,
332  KMOD_LALT = 0x0100,
333  KMOD_RALT = 0x0200,
334  KMOD_LGUI = 0x0400,
335  KMOD_RGUI = 0x0800,
336  KMOD_NUM = 0x1000,
337  KMOD_CAPS = 0x2000,
338  KMOD_MODE = 0x4000,
339  KMOD_RESERVED = 0x8000
340 } SDL_Keymod;
341 
342 #define KMOD_CTRL (KMOD_LCTRL|KMOD_RCTRL)
343 #define KMOD_SHIFT (KMOD_LSHIFT|KMOD_RSHIFT)
344 #define KMOD_ALT (KMOD_LALT|KMOD_RALT)
345 #define KMOD_GUI (KMOD_LGUI|KMOD_RGUI)
346 
347 #endif /* SDL_keycode_h_ */
348 
349 /* vi: set ts=4 sw=4 expandtab: */
SDLK_KP_2
@ SDLK_KP_2
Definition: SDL_keycode.h:163
SDLK_KP_7
@ SDLK_KP_7
Definition: SDL_keycode.h:168
SDL_SCANCODE_KP_2
@ SDL_SCANCODE_KP_2
Definition: SDL_scancode.h:189
SDLK_F23
@ SDLK_F23
Definition: SDL_keycode.h:187
SDL_SCANCODE_AC_FORWARD
@ SDL_SCANCODE_AC_FORWARD
Definition: SDL_scancode.h:364
SDLK_KP_MEMSUBTRACT
@ SDLK_KP_MEMSUBTRACT
Definition: SDL_keycode.h:262
SDLK_SPACE
@ SDLK_SPACE
Definition: SDL_keycode.h:58
SDL_SCANCODE_RCTRL
@ SDL_SCANCODE_RCTRL
Definition: SDL_scancode.h:332
SDL_SCANCODE_PRINTSCREEN
@ SDL_SCANCODE_PRINTSCREEN
Definition: SDL_scancode.h:166
SDLK_BACKQUOTE
@ SDLK_BACKQUOTE
Definition: SDL_keycode.h:99
SDLK_RIGHTBRACKET
@ SDLK_RIGHTBRACKET
Definition: SDL_keycode.h:96
SDLK_KP_ENTER
@ SDLK_KP_ENTER
Definition: SDL_keycode.h:161
SDL_SCANCODE_HELP
@ SDL_SCANCODE_HELP
Definition: SDL_scancode.h:228
SDL_SCANCODE_BRIGHTNESSDOWN
@ SDL_SCANCODE_BRIGHTNESSDOWN
Definition: SDL_scancode.h:378
SDLK_KP_4
@ SDLK_KP_4
Definition: SDL_keycode.h:165
SDLK_EXCLAIM
@ SDLK_EXCLAIM
Definition: SDL_keycode.h:59
Sint32
int32_t Sint32
Definition: SDL_stdinc.h:197
SDL_SCANCODE_KP_MINUS
@ SDL_SCANCODE_KP_MINUS
Definition: SDL_scancode.h:185
SDLK_KP_MEMRECALL
@ SDLK_KP_MEMRECALL
Definition: SDL_keycode.h:259
SDL_SCANCODE_KP_AMPERSAND
@ SDL_SCANCODE_KP_AMPERSAND
Definition: SDL_scancode.h:304
SDLK_AC_BOOKMARKS
@ SDLK_AC_BOOKMARKS
Definition: SDL_keycode.h:303
SDLK_HOME
@ SDLK_HOME
Definition: SDL_keycode.h:146
SDLK_INSERT
@ SDLK_INSERT
Definition: SDL_keycode.h:145
SDLK_KP_3
@ SDLK_KP_3
Definition: SDL_keycode.h:164
SDL_SCANCODE_SEPARATOR
@ SDL_SCANCODE_SEPARATOR
Definition: SDL_scancode.h:274
SDLK_KP_MEMADD
@ SDLK_KP_MEMADD
Definition: SDL_keycode.h:261
SDLK_VOLUMEDOWN
@ SDLK_VOLUMEDOWN
Definition: SDL_keycode.h:202
SDLK_THOUSANDSSEPARATOR
@ SDLK_THOUSANDSSEPARATOR
Definition: SDL_keycode.h:222
SDLK_AGAIN
@ SDLK_AGAIN
Definition: SDL_keycode.h:194
SDLK_F5
@ SDLK_F5
Definition: SDL_keycode.h:133
SDLK_h
@ SDLK_h
Definition: SDL_keycode.h:107
SDL_SCANCODE_LEFT
@ SDL_SCANCODE_LEFT
Definition: SDL_scancode.h:177
SDL_SCANCODE_F17
@ SDL_SCANCODE_F17
Definition: SDL_scancode.h:219
SDLK_DELETE
@ SDLK_DELETE
Definition: SDL_keycode.h:148
SDL_SCANCODE_F13
@ SDL_SCANCODE_F13
Definition: SDL_scancode.h:215
SDLK_KP_SPACE
@ SDLK_KP_SPACE
Definition: SDL_keycode.h:255
SDL_SCANCODE_SELECT
@ SDL_SCANCODE_SELECT
Definition: SDL_scancode.h:230
SDLK_F4
@ SDLK_F4
Definition: SDL_keycode.h:132
SDL_KeyCode
SDL_KeyCode
Definition: SDL_keycode.h:50
SDLK_DISPLAYSWITCH
@ SDLK_DISPLAYSWITCH
Definition: SDL_keycode.h:308
SDLK_CARET
@ SDLK_CARET
Definition: SDL_keycode.h:97
SDL_SCANCODE_AGAIN
@ SDL_SCANCODE_AGAIN
Definition: SDL_scancode.h:232
SDLK_F9
@ SDLK_F9
Definition: SDL_keycode.h:137
SDL_SCANCODE_F7
@ SDL_SCANCODE_F7
Definition: SDL_scancode.h:159
SDL_SCANCODE_APP2
@ SDL_SCANCODE_APP2
Definition: SDL_scancode.h:389
SDLK_SELECT
@ SDLK_SELECT
Definition: SDL_keycode.h:192
KMOD_LALT
@ KMOD_LALT
Definition: SDL_keycode.h:332
KMOD_LGUI
@ KMOD_LGUI
Definition: SDL_keycode.h:334
SDLK_ASTERISK
@ SDLK_ASTERISK
Definition: SDL_keycode.h:68
SDLK_KP_COLON
@ SDLK_KP_COLON
Definition: SDL_keycode.h:253
SDL_SCANCODE_UNDO
@ SDL_SCANCODE_UNDO
Definition: SDL_scancode.h:233
SDL_SCANCODE_KP_PERIOD
@ SDL_SCANCODE_KP_PERIOD
Definition: SDL_scancode.h:198
SDLK_BACKSPACE
@ SDLK_BACKSPACE
Definition: SDL_keycode.h:56
SDL_SCANCODE_KP_MEMMULTIPLY
@ SDL_SCANCODE_KP_MEMMULTIPLY
Definition: SDL_scancode.h:318
SDLK_p
@ SDLK_p
Definition: SDL_keycode.h:115
SDLK_SLEEP
@ SDLK_SLEEP
Definition: SDL_keycode.h:314
SDLK_LEFTBRACKET
@ SDLK_LEFTBRACKET
Definition: SDL_keycode.h:94
SDLK_F20
@ SDLK_F20
Definition: SDL_keycode.h:184
SDLK_KP_D
@ SDLK_KP_D
Definition: SDL_keycode.h:238
SDL_SCANCODE_SCROLLLOCK
@ SDL_SCANCODE_SCROLLLOCK
Definition: SDL_scancode.h:167
SDLK_F11
@ SDLK_F11
Definition: SDL_keycode.h:139
SDLK_KP_000
@ SDLK_KP_000
Definition: SDL_keycode.h:221
SDL_SCANCODE_RIGHT
@ SDL_SCANCODE_RIGHT
Definition: SDL_scancode.h:176
SDL_SCANCODE_POWER
@ SDL_SCANCODE_POWER
Definition: SDL_scancode.h:211
SDLK_KP_PERIOD
@ SDLK_KP_PERIOD
Definition: SDL_keycode.h:172
SDLK_LGUI
@ SDLK_LGUI
Definition: SDL_keycode.h:279
SDL_SCANCODE_KP_PLUSMINUS
@ SDL_SCANCODE_KP_PLUSMINUS
Definition: SDL_scancode.h:320
SDLK_APPLICATION
@ SDLK_APPLICATION
Definition: SDL_keycode.h:174
SDLK_KP_PLUSMINUS
@ SDLK_KP_PLUSMINUS
Definition: SDL_keycode.h:267
SDL_SCANCODE_KP_DECIMAL
@ SDL_SCANCODE_KP_DECIMAL
Definition: SDL_scancode.h:325
SDLK_ESCAPE
@ SDLK_ESCAPE
Definition: SDL_keycode.h:55
SDLK_MAIL
@ SDLK_MAIL
Definition: SDL_keycode.h:294
SDLK_F22
@ SDLK_F22
Definition: SDL_keycode.h:186
SDLK_QUOTE
@ SDLK_QUOTE
Definition: SDL_keycode.h:65
SDLK_PERCENT
@ SDLK_PERCENT
Definition: SDL_keycode.h:62
SDLK_j
@ SDLK_j
Definition: SDL_keycode.h:109
SDL_SCANCODE_DISPLAYSWITCH
@ SDL_SCANCODE_DISPLAYSWITCH
Definition: SDL_scancode.h:380
SDL_SCANCODE_VOLUMEDOWN
@ SDL_SCANCODE_VOLUMEDOWN
Definition: SDL_scancode.h:240
SDL_SCANCODE_KP_CLEAR
@ SDL_SCANCODE_KP_CLEAR
Definition: SDL_scancode.h:321
KMOD_NUM
@ KMOD_NUM
Definition: SDL_keycode.h:336
SDL_SCANCODE_AUDIOREWIND
@ SDL_SCANCODE_AUDIOREWIND
Definition: SDL_scancode.h:400
SDLK_F14
@ SDLK_F14
Definition: SDL_keycode.h:178
SDL_SCANCODE_THOUSANDSSEPARATOR
@ SDL_SCANCODE_THOUSANDSSEPARATOR
Definition: SDL_scancode.h:283
SDLK_COPY
@ SDLK_COPY
Definition: SDL_keycode.h:197
SDLK_l
@ SDLK_l
Definition: SDL_keycode.h:111
SDL_SCANCODE_F15
@ SDL_SCANCODE_F15
Definition: SDL_scancode.h:217
SDLK_q
@ SDLK_q
Definition: SDL_keycode.h:116
SDLK_KP_XOR
@ SDLK_KP_XOR
Definition: SDL_keycode.h:241
SDLK_KP_B
@ SDLK_KP_B
Definition: SDL_keycode.h:236
SDLK_AUDIOPREV
@ SDLK_AUDIOPREV
Definition: SDL_keycode.h:288
SDLK_F13
@ SDLK_F13
Definition: SDL_keycode.h:177
SDLK_END
@ SDLK_END
Definition: SDL_keycode.h:149
SDL_SCANCODE_KP_8
@ SDL_SCANCODE_KP_8
Definition: SDL_scancode.h:195
SDL_SCANCODE_KP_MEMSTORE
@ SDL_SCANCODE_KP_MEMSTORE
Definition: SDL_scancode.h:313
SDLK_KP_TAB
@ SDLK_KP_TAB
Definition: SDL_keycode.h:233
SDL_SCANCODE_FIND
@ SDL_SCANCODE_FIND
Definition: SDL_scancode.h:237
SDLK_EXSEL
@ SDLK_EXSEL
Definition: SDL_keycode.h:218
SDL_SCANCODE_KP_LEFTPAREN
@ SDL_SCANCODE_KP_LEFTPAREN
Definition: SDL_scancode.h:287
SDL_SCANCODE_RETURN2
@ SDL_SCANCODE_RETURN2
Definition: SDL_scancode.h:273
SDLK_KP_MEMDIVIDE
@ SDLK_KP_MEMDIVIDE
Definition: SDL_keycode.h:266
SDLK_z
@ SDLK_z
Definition: SDL_keycode.h:125
SDLK_CUT
@ SDLK_CUT
Definition: SDL_keycode.h:196
SDL_SCANCODE_KP_BINARY
@ SDL_SCANCODE_KP_BINARY
Definition: SDL_scancode.h:323
SDL_SCANCODE_UP
@ SDL_SCANCODE_UP
Definition: SDL_scancode.h:179
SDLK_QUESTION
@ SDLK_QUESTION
Definition: SDL_keycode.h:89
SDL_SCANCODE_KP_5
@ SDL_SCANCODE_KP_5
Definition: SDL_scancode.h:192
SDLK_VOLUMEUP
@ SDLK_VOLUMEUP
Definition: SDL_keycode.h:201
SDLK_KP_AMPERSAND
@ SDLK_KP_AMPERSAND
Definition: SDL_keycode.h:246
SDLK_KP_C
@ SDLK_KP_C
Definition: SDL_keycode.h:237
SDLK_COMPUTER
@ SDLK_COMPUTER
Definition: SDL_keycode.h:296
SDLK_F21
@ SDLK_F21
Definition: SDL_keycode.h:185
SDLK_AC_REFRESH
@ SDLK_AC_REFRESH
Definition: SDL_keycode.h:302
SDL_SCANCODE_PASTE
@ SDL_SCANCODE_PASTE
Definition: SDL_scancode.h:236
SDLK_F16
@ SDLK_F16
Definition: SDL_keycode.h:180
SDL_SCANCODE_KP_AT
@ SDL_SCANCODE_KP_AT
Definition: SDL_scancode.h:311
SDL_SCANCODE_CANCEL
@ SDL_SCANCODE_CANCEL
Definition: SDL_scancode.h:270
SDL_SCANCODE_VOLUMEUP
@ SDL_SCANCODE_VOLUMEUP
Definition: SDL_scancode.h:239
SDL_SCANCODE_KP_MEMSUBTRACT
@ SDL_SCANCODE_KP_MEMSUBTRACT
Definition: SDL_scancode.h:317
SDL_SCANCODE_F3
@ SDL_SCANCODE_F3
Definition: SDL_scancode.h:155
SDL_SCANCODE_EXECUTE
@ SDL_SCANCODE_EXECUTE
Definition: SDL_scancode.h:227
SDL_SCANCODE_PAGEDOWN
@ SDL_SCANCODE_PAGEDOWN
Definition: SDL_scancode.h:175
SDLK_SCROLLLOCK
@ SDLK_SCROLLLOCK
Definition: SDL_keycode.h:143
SDL_SCANCODE_KP_D
@ SDL_SCANCODE_KP_D
Definition: SDL_scancode.h:296
SDLK_AC_HOME
@ SDLK_AC_HOME
Definition: SDL_keycode.h:298
SDL_Keymod
SDL_Keymod
Enumeration of valid key mods (possibly OR'd together).
Definition: SDL_keycode.h:325
SDL_Keycode
Sint32 SDL_Keycode
The SDL virtual key representation.
Definition: SDL_keycode.h:45
SDLK_AUDIOSTOP
@ SDLK_AUDIOSTOP
Definition: SDL_keycode.h:289
SDL_SCANCODE_F18
@ SDL_SCANCODE_F18
Definition: SDL_scancode.h:220
SDL_SCANCODE_KP_6
@ SDL_SCANCODE_KP_6
Definition: SDL_scancode.h:193
SDLK_KBDILLUMDOWN
@ SDLK_KBDILLUMDOWN
Definition: SDL_keycode.h:311
SDL_SCANCODE_LALT
@ SDL_SCANCODE_LALT
Definition: SDL_scancode.h:330
SDLK_x
@ SDLK_x
Definition: SDL_keycode.h:123
SDLK_PAGEDOWN
@ SDLK_PAGEDOWN
Definition: SDL_keycode.h:150
SDLK_KP_EQUALSAS400
@ SDLK_KP_EQUALSAS400
Definition: SDL_keycode.h:204
SDL_SCANCODE_KP_CLEARENTRY
@ SDL_SCANCODE_KP_CLEARENTRY
Definition: SDL_scancode.h:322
SDLK_F24
@ SDLK_F24
Definition: SDL_keycode.h:188
SDLK_F18
@ SDLK_F18
Definition: SDL_keycode.h:182
SDL_SCANCODE_KP_RIGHTPAREN
@ SDL_SCANCODE_KP_RIGHTPAREN
Definition: SDL_scancode.h:288
SDL_SCANCODE_KP_EQUALS
@ SDL_SCANCODE_KP_EQUALS
Definition: SDL_scancode.h:214
SDLK_DOLLAR
@ SDLK_DOLLAR
Definition: SDL_keycode.h:63
SDLK_1
@ SDLK_1
Definition: SDL_keycode.h:75
SDL_SCANCODE_KP_00
@ SDL_SCANCODE_KP_00
Definition: SDL_scancode.h:281
SDLK_s
@ SDLK_s
Definition: SDL_keycode.h:118
SDLK_CURRENCYUNIT
@ SDLK_CURRENCYUNIT
Definition: SDL_keycode.h:226
SDLK_r
@ SDLK_r
Definition: SDL_keycode.h:117
KMOD_RALT
@ KMOD_RALT
Definition: SDL_keycode.h:333
SDLK_d
@ SDLK_d
Definition: SDL_keycode.h:103
SDLK_F12
@ SDLK_F12
Definition: SDL_keycode.h:140
SDL_SCANCODE_KP_1
@ SDL_SCANCODE_KP_1
Definition: SDL_scancode.h:188
SDLK_KP_CLEAR
@ SDLK_KP_CLEAR
Definition: SDL_keycode.h:268
SDLK_AC_SEARCH
@ SDLK_AC_SEARCH
Definition: SDL_keycode.h:297
SDL_SCANCODE_MUTE
@ SDL_SCANCODE_MUTE
Definition: SDL_scancode.h:238
SDL_SCANCODE_F9
@ SDL_SCANCODE_F9
Definition: SDL_scancode.h:161
SDL_SCANCODE_CAPSLOCK
@ SDL_SCANCODE_CAPSLOCK
Definition: SDL_scancode.h:151
SDL_SCANCODE_SLEEP
@ SDL_SCANCODE_SLEEP
Definition: SDL_scancode.h:386
SDLK_F17
@ SDLK_F17
Definition: SDL_keycode.h:181
SDL_SCANCODE_CALCULATOR
@ SDL_SCANCODE_CALCULATOR
Definition: SDL_scancode.h:359
SDL_SCANCODE_STOP
@ SDL_SCANCODE_STOP
Definition: SDL_scancode.h:231
SDLK_KP_BINARY
@ SDLK_KP_BINARY
Definition: SDL_keycode.h:270
SDLK_c
@ SDLK_c
Definition: SDL_keycode.h:102
SDL_SCANCODE_F5
@ SDL_SCANCODE_F5
Definition: SDL_scancode.h:157
SDLK_KP_6
@ SDLK_KP_6
Definition: SDL_keycode.h:167
SDLK_MODE
@ SDLK_MODE
Definition: SDL_keycode.h:285
SDLK_HASH
@ SDLK_HASH
Definition: SDL_keycode.h:61
SDLK_FIND
@ SDLK_FIND
Definition: SDL_keycode.h:199
SDLK_KP_MINUS
@ SDLK_KP_MINUS
Definition: SDL_keycode.h:159
SDLK_KP_DBLAMPERSAND
@ SDLK_KP_DBLAMPERSAND
Definition: SDL_keycode.h:247
SDLK_F19
@ SDLK_F19
Definition: SDL_keycode.h:183
SDLK_KP_MULTIPLY
@ SDLK_KP_MULTIPLY
Definition: SDL_keycode.h:158
SDLK_UNDO
@ SDLK_UNDO
Definition: SDL_keycode.h:195
SDL_SCANCODE_KP_HASH
@ SDL_SCANCODE_KP_HASH
Definition: SDL_scancode.h:309
SDLK_3
@ SDLK_3
Definition: SDL_keycode.h:77
SDL_SCANCODE_F16
@ SDL_SCANCODE_F16
Definition: SDL_scancode.h:218
SDL_SCANCODE_DECIMALSEPARATOR
@ SDL_SCANCODE_DECIMALSEPARATOR
Definition: SDL_scancode.h:284
SDLK_MINUS
@ SDLK_MINUS
Definition: SDL_keycode.h:71
SDLK_LSHIFT
@ SDLK_LSHIFT
Definition: SDL_keycode.h:277
SDL_SCANCODE_KP_MULTIPLY
@ SDL_SCANCODE_KP_MULTIPLY
Definition: SDL_scancode.h:184
SDLK_AUDIOREWIND
@ SDLK_AUDIOREWIND
Definition: SDL_keycode.h:318
SDL_SCANCODE_KBDILLUMTOGGLE
@ SDL_SCANCODE_KBDILLUMTOGGLE
Definition: SDL_scancode.h:382
SDLK_m
@ SDLK_m
Definition: SDL_keycode.h:112
SDL_SCANCODE_KP_EXCLAM
@ SDL_SCANCODE_KP_EXCLAM
Definition: SDL_scancode.h:312
SDLK_F7
@ SDLK_F7
Definition: SDL_keycode.h:135
SDLK_i
@ SDLK_i
Definition: SDL_keycode.h:108
SDLK_UNDERSCORE
@ SDLK_UNDERSCORE
Definition: SDL_keycode.h:98
SDL_SCANCODE_PAUSE
@ SDL_SCANCODE_PAUSE
Definition: SDL_scancode.h:168
SDLK_LALT
@ SDLK_LALT
Definition: SDL_keycode.h:278
SDLK_n
@ SDLK_n
Definition: SDL_keycode.h:113
SDLK_KP_DECIMAL
@ SDLK_KP_DECIMAL
Definition: SDL_keycode.h:272
SDL_SCANCODE_KP_7
@ SDL_SCANCODE_KP_7
Definition: SDL_scancode.h:194
SDLK_AC_FORWARD
@ SDLK_AC_FORWARD
Definition: SDL_keycode.h:300
SDLK_F1
@ SDLK_F1
Definition: SDL_keycode.h:129
SDLK_KP_OCTAL
@ SDLK_KP_OCTAL
Definition: SDL_keycode.h:271
SDLK_AUDIOMUTE
@ SDLK_AUDIOMUTE
Definition: SDL_keycode.h:291
SDLK_STOP
@ SDLK_STOP
Definition: SDL_keycode.h:193
SDL_SCANCODE_COMPUTER
@ SDL_SCANCODE_COMPUTER
Definition: SDL_scancode.h:360
SDL_SCANCODE_F24
@ SDL_SCANCODE_F24
Definition: SDL_scancode.h:226
SDL_SCANCODE_SYSREQ
@ SDL_SCANCODE_SYSREQ
Definition: SDL_scancode.h:269
SDLK_KP_EXCLAM
@ SDLK_KP_EXCLAM
Definition: SDL_keycode.h:257
SDLK_F10
@ SDLK_F10
Definition: SDL_keycode.h:138
SDLK_HELP
@ SDLK_HELP
Definition: SDL_keycode.h:190
SDL_SCANCODE_KP_POWER
@ SDL_SCANCODE_KP_POWER
Definition: SDL_scancode.h:300
SDL_SCANCODE_F21
@ SDL_SCANCODE_F21
Definition: SDL_scancode.h:223
SDLK_PRINTSCREEN
@ SDLK_PRINTSCREEN
Definition: SDL_keycode.h:142
SDL_SCANCODE_KP_4
@ SDL_SCANCODE_KP_4
Definition: SDL_scancode.h:191
SDL_SCANCODE_KP_0
@ SDL_SCANCODE_KP_0
Definition: SDL_scancode.h:197
SDLK_SEMICOLON
@ SDLK_SEMICOLON
Definition: SDL_keycode.h:85
KMOD_LCTRL
@ KMOD_LCTRL
Definition: SDL_keycode.h:330
SDLK_AUDIOFASTFORWARD
@ SDLK_AUDIOFASTFORWARD
Definition: SDL_keycode.h:319
SDLK_y
@ SDLK_y
Definition: SDL_keycode.h:124
SDL_SCANCODE_KP_HEXADECIMAL
@ SDL_SCANCODE_KP_HEXADECIMAL
Definition: SDL_scancode.h:326
SDL_SCANCODE_MAIL
@ SDL_SCANCODE_MAIL
Definition: SDL_scancode.h:358
SDLK_PERIOD
@ SDLK_PERIOD
Definition: SDL_keycode.h:72
SDL_SCANCODE_KP_EQUALSAS400
@ SDL_SCANCODE_KP_EQUALSAS400
Definition: SDL_scancode.h:246
SDLK_KP_F
@ SDLK_KP_F
Definition: SDL_keycode.h:240
SDL_SCANCODE_KP_PERCENT
@ SDL_SCANCODE_KP_PERCENT
Definition: SDL_scancode.h:301
SDLK_AC_STOP
@ SDLK_AC_STOP
Definition: SDL_keycode.h:301
SDLK_KP_PLUS
@ SDLK_KP_PLUS
Definition: SDL_keycode.h:160
SDLK_CANCEL
@ SDLK_CANCEL
Definition: SDL_keycode.h:209
SDLK_a
@ SDLK_a
Definition: SDL_keycode.h:100
SDL_SCANCODE_F14
@ SDL_SCANCODE_F14
Definition: SDL_scancode.h:216
SDL_SCANCODE_KP_9
@ SDL_SCANCODE_KP_9
Definition: SDL_scancode.h:196
SDLK_RSHIFT
@ SDLK_RSHIFT
Definition: SDL_keycode.h:281
SDL_SCANCODE_F20
@ SDL_SCANCODE_F20
Definition: SDL_scancode.h:222
SDLK_PASTE
@ SDLK_PASTE
Definition: SDL_keycode.h:198
SDL_SCANCODE_F11
@ SDL_SCANCODE_F11
Definition: SDL_scancode.h:163
SDLK_MENU
@ SDLK_MENU
Definition: SDL_keycode.h:191
SDLK_KP_RIGHTBRACE
@ SDLK_KP_RIGHTBRACE
Definition: SDL_keycode.h:232
SDLK_MUTE
@ SDLK_MUTE
Definition: SDL_keycode.h:200
SDLK_RIGHTPAREN
@ SDLK_RIGHTPAREN
Definition: SDL_keycode.h:67
SDLK_KP_HEXADECIMAL
@ SDLK_KP_HEXADECIMAL
Definition: SDL_keycode.h:273
SDLK_t
@ SDLK_t
Definition: SDL_keycode.h:119
KMOD_RSHIFT
@ KMOD_RSHIFT
Definition: SDL_keycode.h:329
SDL_SCANCODE_KP_DIVIDE
@ SDL_SCANCODE_KP_DIVIDE
Definition: SDL_scancode.h:183
SDLK_ALTERASE
@ SDLK_ALTERASE
Definition: SDL_keycode.h:207
SDL_SCANCODE_AC_BACK
@ SDL_SCANCODE_AC_BACK
Definition: SDL_scancode.h:363
SDL_SCANCODE_KP_RIGHTBRACE
@ SDL_SCANCODE_KP_RIGHTBRACE
Definition: SDL_scancode.h:290
SDLK_DECIMALSEPARATOR
@ SDLK_DECIMALSEPARATOR
Definition: SDL_keycode.h:224
SDL_scancode.h
SDLK_AUDIOPLAY
@ SDLK_AUDIOPLAY
Definition: SDL_keycode.h:290
SDLK_KP_CLEARENTRY
@ SDLK_KP_CLEARENTRY
Definition: SDL_keycode.h:269
SDLK_SYSREQ
@ SDLK_SYSREQ
Definition: SDL_keycode.h:208
SDLK_GREATER
@ SDLK_GREATER
Definition: SDL_keycode.h:88
SDLK_KP_E
@ SDLK_KP_E
Definition: SDL_keycode.h:239
SDLK_RALT
@ SDLK_RALT
Definition: SDL_keycode.h:282
SDLK_APP1
@ SDLK_APP1
Definition: SDL_keycode.h:315
SDLK_POWER
@ SDLK_POWER
Definition: SDL_keycode.h:175
SDLK_F2
@ SDLK_F2
Definition: SDL_keycode.h:130
KMOD_RCTRL
@ KMOD_RCTRL
Definition: SDL_keycode.h:331
SDLK_e
@ SDLK_e
Definition: SDL_keycode.h:104
SDL_SCANCODE_KP_F
@ SDL_SCANCODE_KP_F
Definition: SDL_scancode.h:298
SDLK_BRIGHTNESSUP
@ SDLK_BRIGHTNESSUP
Definition: SDL_keycode.h:307
SDL_SCANCODE_COPY
@ SDL_SCANCODE_COPY
Definition: SDL_scancode.h:235
SDL_SCANCODE_AC_STOP
@ SDL_SCANCODE_AC_STOP
Definition: SDL_scancode.h:365
SDL_SCANCODE_KP_LESS
@ SDL_SCANCODE_KP_LESS
Definition: SDL_scancode.h:302
SDL_SCANCODE_KP_SPACE
@ SDL_SCANCODE_KP_SPACE
Definition: SDL_scancode.h:310
SDLK_APP2
@ SDLK_APP2
Definition: SDL_keycode.h:316
SDL_SCANCODE_KBDILLUMUP
@ SDL_SCANCODE_KBDILLUMUP
Definition: SDL_scancode.h:384
SDLK_KP_DIVIDE
@ SDLK_KP_DIVIDE
Definition: SDL_keycode.h:157
SDL_SCANCODE_CURRENCYUNIT
@ SDL_SCANCODE_CURRENCYUNIT
Definition: SDL_scancode.h:285
SDL_SCANCODE_KP_PLUS
@ SDL_SCANCODE_KP_PLUS
Definition: SDL_scancode.h:186
SDL_SCANCODE_APP1
@ SDL_SCANCODE_APP1
Definition: SDL_scancode.h:388
SDL_SCANCODE_LCTRL
@ SDL_SCANCODE_LCTRL
Definition: SDL_scancode.h:328
SDL_SCANCODE_KP_COLON
@ SDL_SCANCODE_KP_COLON
Definition: SDL_scancode.h:308
SDL_SCANCODE_KP_OCTAL
@ SDL_SCANCODE_KP_OCTAL
Definition: SDL_scancode.h:324
SDL_SCANCODE_OUT
@ SDL_SCANCODE_OUT
Definition: SDL_scancode.h:275
SDL_SCANCODE_KP_A
@ SDL_SCANCODE_KP_A
Definition: SDL_scancode.h:293
SDLK_KP_00
@ SDLK_KP_00
Definition: SDL_keycode.h:220
SDL_SCANCODE_AUDIOMUTE
@ SDL_SCANCODE_AUDIOMUTE
Definition: SDL_scancode.h:355
SDLK_0
@ SDLK_0
Definition: SDL_keycode.h:74
SDL_SCANCODE_KP_E
@ SDL_SCANCODE_KP_E
Definition: SDL_scancode.h:297
SDLK_6
@ SDLK_6
Definition: SDL_keycode.h:80
SDL_SCANCODE_KP_COMMA
@ SDL_SCANCODE_KP_COMMA
Definition: SDL_scancode.h:245
SDL_SCANCODE_CURRENCYSUBUNIT
@ SDL_SCANCODE_CURRENCYSUBUNIT
Definition: SDL_scancode.h:286
SDLK_KP_0
@ SDLK_KP_0
Definition: SDL_keycode.h:171
SDLK_LEFT
@ SDLK_LEFT
Definition: SDL_keycode.h:152
SDL_SCANCODE_KP_DBLAMPERSAND
@ SDL_SCANCODE_KP_DBLAMPERSAND
Definition: SDL_scancode.h:305
SDL_SCANCODE_LSHIFT
@ SDL_SCANCODE_LSHIFT
Definition: SDL_scancode.h:329
SDLK_EJECT
@ SDLK_EJECT
Definition: SDL_keycode.h:313
SDL_SCANCODE_MEDIASELECT
@ SDL_SCANCODE_MEDIASELECT
Definition: SDL_scancode.h:356
SDLK_KP_BACKSPACE
@ SDLK_KP_BACKSPACE
Definition: SDL_keycode.h:234
SDL_SCANCODE_CLEAR
@ SDL_SCANCODE_CLEAR
Definition: SDL_scancode.h:271
SDL_SCANCODE_CUT
@ SDL_SCANCODE_CUT
Definition: SDL_scancode.h:234
SDLK_u
@ SDLK_u
Definition: SDL_keycode.h:120
SDL_SCANCODE_KP_DBLVERTICALBAR
@ SDL_SCANCODE_KP_DBLVERTICALBAR
Definition: SDL_scancode.h:307
SDLK_CLEAR
@ SDLK_CLEAR
Definition: SDL_keycode.h:210
SDLK_BRIGHTNESSDOWN
@ SDLK_BRIGHTNESSDOWN
Definition: SDL_keycode.h:305
SDLK_WWW
@ SDLK_WWW
Definition: SDL_keycode.h:293
SDL_SCANCODE_F8
@ SDL_SCANCODE_F8
Definition: SDL_scancode.h:160
SDL_SCANCODE_KP_BACKSPACE
@ SDL_SCANCODE_KP_BACKSPACE
Definition: SDL_scancode.h:292
SDL_SCANCODE_KP_C
@ SDL_SCANCODE_KP_C
Definition: SDL_scancode.h:295
SDLK_KP_EQUALS
@ SDLK_KP_EQUALS
Definition: SDL_keycode.h:176
SDLK_9
@ SDLK_9
Definition: SDL_keycode.h:83
SDL_SCANCODE_KP_LEFTBRACE
@ SDL_SCANCODE_KP_LEFTBRACE
Definition: SDL_scancode.h:289
SDLK_AUDIONEXT
@ SDLK_AUDIONEXT
Definition: SDL_keycode.h:287
SDLK_7
@ SDLK_7
Definition: SDL_keycode.h:81
SDLK_AC_BACK
@ SDLK_AC_BACK
Definition: SDL_keycode.h:299
SDLK_CAPSLOCK
@ SDLK_CAPSLOCK
Definition: SDL_keycode.h:127
KMOD_LSHIFT
@ KMOD_LSHIFT
Definition: SDL_keycode.h:328
SDLK_g
@ SDLK_g
Definition: SDL_keycode.h:106
SDLK_F15
@ SDLK_F15
Definition: SDL_keycode.h:179
SDLK_CALCULATOR
@ SDLK_CALCULATOR
Definition: SDL_keycode.h:295
SDL_SCANCODE_KP_XOR
@ SDL_SCANCODE_KP_XOR
Definition: SDL_scancode.h:299
SDL_SCANCODE_AC_REFRESH
@ SDL_SCANCODE_AC_REFRESH
Definition: SDL_scancode.h:366
SDLK_KP_HASH
@ SDLK_KP_HASH
Definition: SDL_keycode.h:254
SDL_SCANCODE_AUDIOSTOP
@ SDL_SCANCODE_AUDIOSTOP
Definition: SDL_scancode.h:353
SDLK_F3
@ SDLK_F3
Definition: SDL_keycode.h:131
SDLK_f
@ SDLK_f
Definition: SDL_keycode.h:105
SDL_SCANCODE_KP_MEMADD
@ SDL_SCANCODE_KP_MEMADD
Definition: SDL_scancode.h:316
SDLK_RCTRL
@ SDLK_RCTRL
Definition: SDL_keycode.h:280
SDLK_k
@ SDLK_k
Definition: SDL_keycode.h:110
SDL_SCANCODE_KP_TAB
@ SDL_SCANCODE_KP_TAB
Definition: SDL_scancode.h:291
SDLK_RETURN
@ SDLK_RETURN
Definition: SDL_keycode.h:54
SDLK_KP_POWER
@ SDLK_KP_POWER
Definition: SDL_keycode.h:242
KMOD_RGUI
@ KMOD_RGUI
Definition: SDL_keycode.h:335
SDLK_OUT
@ SDLK_OUT
Definition: SDL_keycode.h:214
SDLK_8
@ SDLK_8
Definition: SDL_keycode.h:82
SDLK_PAGEUP
@ SDLK_PAGEUP
Definition: SDL_keycode.h:147
SDL_SCANCODE_APPLICATION
@ SDL_SCANCODE_APPLICATION
Definition: SDL_scancode.h:210
SDLK_KP_1
@ SDLK_KP_1
Definition: SDL_keycode.h:162
SDL_SCANCODE_KP_000
@ SDL_SCANCODE_KP_000
Definition: SDL_scancode.h:282
SDL_SCANCODE_EJECT
@ SDL_SCANCODE_EJECT
Definition: SDL_scancode.h:385
SDL_SCANCODE_AUDIOFASTFORWARD
@ SDL_SCANCODE_AUDIOFASTFORWARD
Definition: SDL_scancode.h:401
SDLK_KBDILLUMUP
@ SDLK_KBDILLUMUP
Definition: SDL_keycode.h:312
SDL_SCANCODE_F2
@ SDL_SCANCODE_F2
Definition: SDL_scancode.h:154
SDLK_PLUS
@ SDLK_PLUS
Definition: SDL_keycode.h:69
SDL_SCANCODE_OPER
@ SDL_SCANCODE_OPER
Definition: SDL_scancode.h:276
SDL_stdinc.h
SDLK_COMMA
@ SDLK_COMMA
Definition: SDL_keycode.h:70
SDLK_KP_9
@ SDLK_KP_9
Definition: SDL_keycode.h:170
SDLK_KP_RIGHTPAREN
@ SDLK_KP_RIGHTPAREN
Definition: SDL_keycode.h:230
SDLK_AMPERSAND
@ SDLK_AMPERSAND
Definition: SDL_keycode.h:64
SDL_SCANCODE_AC_HOME
@ SDL_SCANCODE_AC_HOME
Definition: SDL_scancode.h:362
KMOD_RESERVED
@ KMOD_RESERVED
Definition: SDL_keycode.h:339
SDL_SCANCODE_PAGEUP
@ SDL_SCANCODE_PAGEUP
Definition: SDL_scancode.h:172
SDL_SCANCODE_NUMLOCKCLEAR
@ SDL_SCANCODE_NUMLOCKCLEAR
Definition: SDL_scancode.h:181
SDL_SCANCODE_MODE
@ SDL_SCANCODE_MODE
Definition: SDL_scancode.h:337
SDLK_KP_PERCENT
@ SDLK_KP_PERCENT
Definition: SDL_keycode.h:243
SDLK_CRSEL
@ SDLK_CRSEL
Definition: SDL_keycode.h:217
SDL_SCANCODE_BRIGHTNESSUP
@ SDL_SCANCODE_BRIGHTNESSUP
Definition: SDL_scancode.h:379
SDL_SCANCODE_F23
@ SDL_SCANCODE_F23
Definition: SDL_scancode.h:225
SDLK_QUOTEDBL
@ SDLK_QUOTEDBL
Definition: SDL_keycode.h:60
SDLK_RIGHT
@ SDLK_RIGHT
Definition: SDL_keycode.h:151
SDLK_CLEARAGAIN
@ SDLK_CLEARAGAIN
Definition: SDL_keycode.h:216
SDLK_MEDIASELECT
@ SDLK_MEDIASELECT
Definition: SDL_keycode.h:292
SDL_SCANCODE_LGUI
@ SDL_SCANCODE_LGUI
Definition: SDL_scancode.h:331
SDLK_KP_LEFTBRACE
@ SDLK_KP_LEFTBRACE
Definition: SDL_keycode.h:231
SDLK_KP_MEMCLEAR
@ SDLK_KP_MEMCLEAR
Definition: SDL_keycode.h:260
SDLK_o
@ SDLK_o
Definition: SDL_keycode.h:114
SDL_SCANCODE_KP_B
@ SDL_SCANCODE_KP_B
Definition: SDL_scancode.h:294
SDLK_KP_VERTICALBAR
@ SDLK_KP_VERTICALBAR
Definition: SDL_keycode.h:249
SDLK_CURRENCYSUBUNIT
@ SDLK_CURRENCYSUBUNIT
Definition: SDL_keycode.h:227
SDL_SCANCODE_RGUI
@ SDL_SCANCODE_RGUI
Definition: SDL_scancode.h:335
SDL_SCANCODE_KP_3
@ SDL_SCANCODE_KP_3
Definition: SDL_scancode.h:190
SDL_SCANCODE_PRIOR
@ SDL_SCANCODE_PRIOR
Definition: SDL_scancode.h:272
SDLK_NUMLOCKCLEAR
@ SDLK_NUMLOCKCLEAR
Definition: SDL_keycode.h:156
SDL_SCANCODE_KP_MEMDIVIDE
@ SDL_SCANCODE_KP_MEMDIVIDE
Definition: SDL_scancode.h:319
SDLK_KP_LESS
@ SDLK_KP_LESS
Definition: SDL_keycode.h:244
SDLK_KP_COMMA
@ SDLK_KP_COMMA
Definition: SDL_keycode.h:203
SDL_SCANCODE_CRSEL
@ SDL_SCANCODE_CRSEL
Definition: SDL_scancode.h:278
SDLK_PRIOR
@ SDLK_PRIOR
Definition: SDL_keycode.h:211
SDL_SCANCODE_F19
@ SDL_SCANCODE_F19
Definition: SDL_scancode.h:221
SDLK_LCTRL
@ SDLK_LCTRL
Definition: SDL_keycode.h:276
SDL_SCANCODE_INSERT
@ SDL_SCANCODE_INSERT
Definition: SDL_scancode.h:169
SDL_SCANCODE_F22
@ SDL_SCANCODE_F22
Definition: SDL_scancode.h:224
SDL_SCANCODE_AC_SEARCH
@ SDL_SCANCODE_AC_SEARCH
Definition: SDL_scancode.h:361
SDL_SCANCODE_AUDIOPLAY
@ SDL_SCANCODE_AUDIOPLAY
Definition: SDL_scancode.h:354
SDL_SCANCODE_DOWN
@ SDL_SCANCODE_DOWN
Definition: SDL_scancode.h:178
SDLK_5
@ SDLK_5
Definition: SDL_keycode.h:79
SDL_SCANCODE_CLEARAGAIN
@ SDL_SCANCODE_CLEARAGAIN
Definition: SDL_scancode.h:277
SDLK_KBDILLUMTOGGLE
@ SDLK_KBDILLUMTOGGLE
Definition: SDL_keycode.h:309
SDL_SCANCODE_KBDILLUMDOWN
@ SDL_SCANCODE_KBDILLUMDOWN
Definition: SDL_scancode.h:383
SDL_SCANCODE_RALT
@ SDL_SCANCODE_RALT
Definition: SDL_scancode.h:334
SDLK_b
@ SDLK_b
Definition: SDL_keycode.h:101
SDL_SCANCODE_END
@ SDL_SCANCODE_END
Definition: SDL_scancode.h:174
SDL_SCANCODE_EXSEL
@ SDL_SCANCODE_EXSEL
Definition: SDL_scancode.h:279
SDLK_UP
@ SDLK_UP
Definition: SDL_keycode.h:154
SDL_SCANCODE_KP_VERTICALBAR
@ SDL_SCANCODE_KP_VERTICALBAR
Definition: SDL_scancode.h:306
SDL_SCANCODE_RSHIFT
@ SDL_SCANCODE_RSHIFT
Definition: SDL_scancode.h:333
SDLK_KP_DBLVERTICALBAR
@ SDLK_KP_DBLVERTICALBAR
Definition: SDL_keycode.h:251
SDLK_EQUALS
@ SDLK_EQUALS
Definition: SDL_keycode.h:87
SDL_SCANCODE_F1
@ SDL_SCANCODE_F1
Definition: SDL_scancode.h:153
SDL_SCANCODE_F6
@ SDL_SCANCODE_F6
Definition: SDL_scancode.h:158
SDLK_KP_AT
@ SDLK_KP_AT
Definition: SDL_keycode.h:256
SDLK_KP_MEMSTORE
@ SDLK_KP_MEMSTORE
Definition: SDL_keycode.h:258
SDLK_2
@ SDLK_2
Definition: SDL_keycode.h:76
SDL_SCANCODE_AUDIOPREV
@ SDL_SCANCODE_AUDIOPREV
Definition: SDL_scancode.h:352
SDLK_AT
@ SDLK_AT
Definition: SDL_keycode.h:90
SDLK_F8
@ SDLK_F8
Definition: SDL_keycode.h:136
SDLK_KP_A
@ SDLK_KP_A
Definition: SDL_keycode.h:235
SDLK_BACKSLASH
@ SDLK_BACKSLASH
Definition: SDL_keycode.h:95
KMOD_MODE
@ KMOD_MODE
Definition: SDL_keycode.h:338
SDLK_OPER
@ SDLK_OPER
Definition: SDL_keycode.h:215
KMOD_CAPS
@ KMOD_CAPS
Definition: SDL_keycode.h:337
SDLK_F6
@ SDLK_F6
Definition: SDL_keycode.h:134
SDLK_SLASH
@ SDLK_SLASH
Definition: SDL_keycode.h:73
SDLK_v
@ SDLK_v
Definition: SDL_keycode.h:121
SDL_SCANCODE_KP_MEMCLEAR
@ SDL_SCANCODE_KP_MEMCLEAR
Definition: SDL_scancode.h:315
SDLK_EXECUTE
@ SDLK_EXECUTE
Definition: SDL_keycode.h:189
SDLK_RGUI
@ SDLK_RGUI
Definition: SDL_keycode.h:283
SDLK_RETURN2
@ SDLK_RETURN2
Definition: SDL_keycode.h:212
SDL_SCANCODE_F12
@ SDL_SCANCODE_F12
Definition: SDL_scancode.h:164
KMOD_NONE
@ KMOD_NONE
Definition: SDL_keycode.h:327
SDL_SCANCODE_MENU
@ SDL_SCANCODE_MENU
Definition: SDL_scancode.h:229
SDLK_LEFTPAREN
@ SDLK_LEFTPAREN
Definition: SDL_keycode.h:66
SDL_SCANCODE_HOME
@ SDL_SCANCODE_HOME
Definition: SDL_scancode.h:171
SDLK_COLON
@ SDLK_COLON
Definition: SDL_keycode.h:84
SDLK_DOWN
@ SDLK_DOWN
Definition: SDL_keycode.h:153
SDLK_KP_LEFTPAREN
@ SDLK_KP_LEFTPAREN
Definition: SDL_keycode.h:229
SDLK_LESS
@ SDLK_LESS
Definition: SDL_keycode.h:86
SDLK_UNKNOWN
@ SDLK_UNKNOWN
Definition: SDL_keycode.h:52
SDL_SCANCODE_ALTERASE
@ SDL_SCANCODE_ALTERASE
Definition: SDL_scancode.h:268
SDL_SCANCODE_F10
@ SDL_SCANCODE_F10
Definition: SDL_scancode.h:162
SDL_SCANCODE_AUDIONEXT
@ SDL_SCANCODE_AUDIONEXT
Definition: SDL_scancode.h:351
SDLK_SEPARATOR
@ SDLK_SEPARATOR
Definition: SDL_keycode.h:213
SDLK_PAUSE
@ SDLK_PAUSE
Definition: SDL_keycode.h:144
SDLK_4
@ SDLK_4
Definition: SDL_keycode.h:78
SDLK_KP_MEMMULTIPLY
@ SDLK_KP_MEMMULTIPLY
Definition: SDL_keycode.h:264
SDL_SCANCODE_KP_GREATER
@ SDL_SCANCODE_KP_GREATER
Definition: SDL_scancode.h:303
SDL_SCANCODE_WWW
@ SDL_SCANCODE_WWW
Definition: SDL_scancode.h:357
SDL_SCANCODE_KP_ENTER
@ SDL_SCANCODE_KP_ENTER
Definition: SDL_scancode.h:187
SDLK_w
@ SDLK_w
Definition: SDL_keycode.h:122
SDL_SCANCODE_F4
@ SDL_SCANCODE_F4
Definition: SDL_scancode.h:156
SDLK_KP_GREATER
@ SDLK_KP_GREATER
Definition: SDL_keycode.h:245
SDLK_KP_5
@ SDLK_KP_5
Definition: SDL_keycode.h:166
SDLK_KP_8
@ SDLK_KP_8
Definition: SDL_keycode.h:169
SDLK_TAB
@ SDLK_TAB
Definition: SDL_keycode.h:57
SDL_SCANCODE_AC_BOOKMARKS
@ SDL_SCANCODE_AC_BOOKMARKS
Definition: SDL_scancode.h:367
SDL_SCANCODE_KP_MEMRECALL
@ SDL_SCANCODE_KP_MEMRECALL
Definition: SDL_scancode.h:314