SDL  2.0
SDL_scancode.h
Go to the documentation of this file.
1 /*
2  Simple DirectMedia Layer
3  Copyright (C) 1997-2021 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 
22 /**
23  * \file SDL_scancode.h
24  *
25  * Defines keyboard scancodes.
26  */
27 
28 #ifndef SDL_scancode_h_
29 #define SDL_scancode_h_
30 
31 #include "SDL_stdinc.h"
32 
33 /**
34  * \brief The SDL keyboard scancode representation.
35  *
36  * Values of this type are used to represent keyboard keys, among other places
37  * in the \link SDL_Keysym::scancode key.keysym.scancode \endlink field of the
38  * SDL_Event structure.
39  *
40  * The values in this enumeration are based on the USB usage page standard:
41  * https://www.usb.org/sites/default/files/documents/hut1_12v2.pdf
42  */
43 typedef enum
44 {
46 
47  /**
48  * \name Usage page 0x07
49  *
50  * These values are from usage page 0x07 (USB keyboard page).
51  */
52  /* @{ */
53 
80 
91 
97 
102  SDL_SCANCODE_BACKSLASH = 49, /**< Located at the lower left of the return
103  * key on ISO keyboards and at the right end
104  * of the QWERTY row on ANSI keyboards.
105  * Produces REVERSE SOLIDUS (backslash) and
106  * VERTICAL LINE in a US layout, REVERSE
107  * SOLIDUS and VERTICAL LINE in a UK Mac
108  * layout, NUMBER SIGN and TILDE in a UK
109  * Windows layout, DOLLAR SIGN and POUND SIGN
110  * in a Swiss German layout, NUMBER SIGN and
111  * APOSTROPHE in a German layout, GRAVE
112  * ACCENT and POUND SIGN in a French Mac
113  * layout, and ASTERISK and MICRO SIGN in a
114  * French Windows layout.
115  */
116  SDL_SCANCODE_NONUSHASH = 50, /**< ISO USB keyboards actually use this code
117  * instead of 49 for the same key, but all
118  * OSes I've seen treat the two codes
119  * identically. So, as an implementor, unless
120  * your keyboard generates both of those
121  * codes and your OS treats them differently,
122  * you should generate SDL_SCANCODE_BACKSLASH
123  * instead of this code. As a user, you
124  * should not rely on this code because SDL
125  * will never generate it with most (all?)
126  * keyboards.
127  */
130  SDL_SCANCODE_GRAVE = 53, /**< Located in the top left corner (on both ANSI
131  * and ISO keyboards). Produces GRAVE ACCENT and
132  * TILDE in a US Windows layout and in US and UK
133  * Mac layouts on ANSI keyboards, GRAVE ACCENT
134  * and NOT SIGN in a UK Windows layout, SECTION
135  * SIGN and PLUS-MINUS SIGN in US and UK Mac
136  * layouts on ISO keyboards, SECTION SIGN and
137  * DEGREE SIGN in a Swiss German layout (Mac:
138  * only on ISO keyboards), CIRCUMFLEX ACCENT and
139  * DEGREE SIGN in a German layout (Mac: only on
140  * ISO keyboards), SUPERSCRIPT TWO and TILDE in a
141  * French Windows layout, COMMERCIAL AT and
142  * NUMBER SIGN in a French Mac layout on ISO
143  * keyboards, and LESS-THAN SIGN and GREATER-THAN
144  * SIGN in a Swiss German, German, or French Mac
145  * layout on ANSI keyboards.
146  */
150 
152 
165 
169  SDL_SCANCODE_INSERT = 73, /**< insert on PC, help on some Mac keyboards (but
170  does send code 73, not 117) */
180 
181  SDL_SCANCODE_NUMLOCKCLEAR = 83, /**< num lock on PC, clear on Mac keyboards
182  */
199 
200  SDL_SCANCODE_NONUSBACKSLASH = 100, /**< This is the additional key that ISO
201  * keyboards have over ANSI ones,
202  * located between left shift and Y.
203  * Produces GRAVE ACCENT and TILDE in a
204  * US or UK Mac layout, REVERSE SOLIDUS
205  * (backslash) and VERTICAL LINE in a
206  * US or UK Windows layout, and
207  * LESS-THAN SIGN and GREATER-THAN SIGN
208  * in a Swiss German, German, or French
209  * layout. */
210  SDL_SCANCODE_APPLICATION = 101, /**< windows contextual menu, compose */
211  SDL_SCANCODE_POWER = 102, /**< The USB document says this is a status flag,
212  * not a physical key - but some Mac keyboards
213  * do have a power key. */
232  SDL_SCANCODE_AGAIN = 121, /**< redo */
241 /* not sure whether there's a reason to enable these */
242 /* SDL_SCANCODE_LOCKINGCAPSLOCK = 130, */
243 /* SDL_SCANCODE_LOCKINGNUMLOCK = 131, */
244 /* SDL_SCANCODE_LOCKINGSCROLLLOCK = 132, */
247 
248  SDL_SCANCODE_INTERNATIONAL1 = 135, /**< used on Asian keyboards, see
249  footnotes in USB doc */
251  SDL_SCANCODE_INTERNATIONAL3 = 137, /**< Yen */
258  SDL_SCANCODE_LANG1 = 144, /**< Hangul/English toggle */
259  SDL_SCANCODE_LANG2 = 145, /**< Hanja conversion */
260  SDL_SCANCODE_LANG3 = 146, /**< Katakana */
261  SDL_SCANCODE_LANG4 = 147, /**< Hiragana */
262  SDL_SCANCODE_LANG5 = 148, /**< Zenkaku/Hankaku */
263  SDL_SCANCODE_LANG6 = 149, /**< reserved */
264  SDL_SCANCODE_LANG7 = 150, /**< reserved */
265  SDL_SCANCODE_LANG8 = 151, /**< reserved */
266  SDL_SCANCODE_LANG9 = 152, /**< reserved */
267 
268  SDL_SCANCODE_ALTERASE = 153, /**< Erase-Eaze */
280 
327 
330  SDL_SCANCODE_LALT = 226, /**< alt, option */
331  SDL_SCANCODE_LGUI = 227, /**< windows, command (apple), meta */
334  SDL_SCANCODE_RALT = 230, /**< alt gr, option */
335  SDL_SCANCODE_RGUI = 231, /**< windows, command (apple), meta */
336 
337  SDL_SCANCODE_MODE = 257, /**< I'm not sure if this is really not covered
338  * by any of the above, but since there's a
339  * special KMOD_MODE for it I'm adding it here
340  */
341 
342  /* @} *//* Usage page 0x07 */
343 
344  /**
345  * \name Usage page 0x0C
346  *
347  * These values are mapped from usage page 0x0C (USB consumer page).
348  */
349  /* @{ */
350 
368 
369  /* @} *//* Usage page 0x0C */
370 
371  /**
372  * \name Walther keys
373  *
374  * These are values that Christian Walther added (for mac keyboard?).
375  */
376  /* @{ */
377 
380  SDL_SCANCODE_DISPLAYSWITCH = 277, /**< display mirroring/dual display
381  switch, video mode switch */
387 
390 
391  /* @} *//* Walther keys */
392 
393  /**
394  * \name Usage page 0x0C (additional media keys)
395  *
396  * These values are mapped from usage page 0x0C (USB consumer page).
397  */
398  /* @{ */
399 
402 
403  /* @} *//* Usage page 0x0C (additional media keys) */
404 
405  /* Add any other keys here. */
406 
407  SDL_NUM_SCANCODES = 512 /**< not a key, just marks the number of scancodes
408  for array bounds */
410 
411 #endif /* SDL_scancode_h_ */
412 
413 /* vi: set ts=4 sw=4 expandtab: */
SDL_Scancode
The SDL keyboard scancode representation.
Definition: SDL_scancode.h:44
@ SDL_SCANCODE_E
Definition: SDL_scancode.h:58
@ SDL_SCANCODE_END
Definition: SDL_scancode.h:174
@ SDL_SCANCODE_OUT
Definition: SDL_scancode.h:275
@ SDL_SCANCODE_BACKSLASH
Definition: SDL_scancode.h:102
@ SDL_SCANCODE_ESCAPE
Definition: SDL_scancode.h:93
@ SDL_SCANCODE_KP_OCTAL
Definition: SDL_scancode.h:324
@ SDL_SCANCODE_KP_CLEARENTRY
Definition: SDL_scancode.h:322
@ SDL_SCANCODE_BRIGHTNESSUP
Definition: SDL_scancode.h:379
@ SDL_SCANCODE_KP_EXCLAM
Definition: SDL_scancode.h:312
@ SDL_SCANCODE_KP_DECIMAL
Definition: SDL_scancode.h:325
@ SDL_SCANCODE_F15
Definition: SDL_scancode.h:217
@ SDL_SCANCODE_M
Definition: SDL_scancode.h:66
@ SDL_SCANCODE_F12
Definition: SDL_scancode.h:164
@ SDL_SCANCODE_X
Definition: SDL_scancode.h:77
@ SDL_SCANCODE_W
Definition: SDL_scancode.h:76
@ SDL_SCANCODE_KP_E
Definition: SDL_scancode.h:297
@ SDL_SCANCODE_INTERNATIONAL4
Definition: SDL_scancode.h:252
@ SDL_SCANCODE_KP_PLUS
Definition: SDL_scancode.h:186
@ SDL_SCANCODE_F4
Definition: SDL_scancode.h:156
@ SDL_SCANCODE_LANG8
Definition: SDL_scancode.h:265
@ SDL_SCANCODE_RIGHTBRACKET
Definition: SDL_scancode.h:101
@ SDL_SCANCODE_INTERNATIONAL1
Definition: SDL_scancode.h:248
@ SDL_SCANCODE_INTERNATIONAL7
Definition: SDL_scancode.h:255
@ SDL_SCANCODE_KP_GREATER
Definition: SDL_scancode.h:303
@ SDL_SCANCODE_LANG2
Definition: SDL_scancode.h:259
@ SDL_SCANCODE_CAPSLOCK
Definition: SDL_scancode.h:151
@ SDL_SCANCODE_B
Definition: SDL_scancode.h:55
@ SDL_SCANCODE_F2
Definition: SDL_scancode.h:154
@ SDL_SCANCODE_KP_MINUS
Definition: SDL_scancode.h:185
@ SDL_SCANCODE_KP_00
Definition: SDL_scancode.h:281
@ SDL_SCANCODE_F6
Definition: SDL_scancode.h:158
@ SDL_SCANCODE_NONUSBACKSLASH
Definition: SDL_scancode.h:200
@ SDL_SCANCODE_KP_0
Definition: SDL_scancode.h:197
@ SDL_SCANCODE_KP_B
Definition: SDL_scancode.h:294
@ SDL_SCANCODE_F11
Definition: SDL_scancode.h:163
@ SDL_SCANCODE_CANCEL
Definition: SDL_scancode.h:270
@ SDL_SCANCODE_COMMA
Definition: SDL_scancode.h:147
@ SDL_SCANCODE_KP_PERIOD
Definition: SDL_scancode.h:198
@ SDL_SCANCODE_KP_F
Definition: SDL_scancode.h:298
@ SDL_SCANCODE_KP_LEFTPAREN
Definition: SDL_scancode.h:287
@ SDL_SCANCODE_F24
Definition: SDL_scancode.h:226
@ SDL_SCANCODE_AUDIOMUTE
Definition: SDL_scancode.h:355
@ SDL_SCANCODE_CALCULATOR
Definition: SDL_scancode.h:359
@ SDL_SCANCODE_CUT
Definition: SDL_scancode.h:234
@ SDL_SCANCODE_Y
Definition: SDL_scancode.h:78
@ SDL_SCANCODE_KP_VERTICALBAR
Definition: SDL_scancode.h:306
@ SDL_SCANCODE_APOSTROPHE
Definition: SDL_scancode.h:129
@ SDL_SCANCODE_KP_HEXADECIMAL
Definition: SDL_scancode.h:326
@ SDL_SCANCODE_KP_COMMA
Definition: SDL_scancode.h:245
@ SDL_SCANCODE_KP_SPACE
Definition: SDL_scancode.h:310
@ SDL_SCANCODE_2
Definition: SDL_scancode.h:82
@ SDL_SCANCODE_KP_BACKSPACE
Definition: SDL_scancode.h:292
@ SDL_SCANCODE_O
Definition: SDL_scancode.h:68
@ SDL_SCANCODE_CLEARAGAIN
Definition: SDL_scancode.h:277
@ SDL_SCANCODE_RGUI
Definition: SDL_scancode.h:335
@ SDL_SCANCODE_K
Definition: SDL_scancode.h:64
@ SDL_SCANCODE_F
Definition: SDL_scancode.h:59
@ SDL_SCANCODE_DELETE
Definition: SDL_scancode.h:173
@ SDL_SCANCODE_F10
Definition: SDL_scancode.h:162
@ SDL_SCANCODE_F3
Definition: SDL_scancode.h:155
@ SDL_SCANCODE_KP_AMPERSAND
Definition: SDL_scancode.h:304
@ SDL_SCANCODE_KP_COLON
Definition: SDL_scancode.h:308
@ SDL_SCANCODE_5
Definition: SDL_scancode.h:85
@ SDL_SCANCODE_KP_RIGHTPAREN
Definition: SDL_scancode.h:288
@ SDL_SCANCODE_H
Definition: SDL_scancode.h:61
@ SDL_SCANCODE_KP_D
Definition: SDL_scancode.h:296
@ SDL_SCANCODE_SLASH
Definition: SDL_scancode.h:149
@ SDL_SCANCODE_F1
Definition: SDL_scancode.h:153
@ SDL_SCANCODE_KP_EQUALS
Definition: SDL_scancode.h:214
@ SDL_SCANCODE_F21
Definition: SDL_scancode.h:223
@ SDL_SCANCODE_KP_6
Definition: SDL_scancode.h:193
@ SDL_SCANCODE_KP_HASH
Definition: SDL_scancode.h:309
@ SDL_SCANCODE_7
Definition: SDL_scancode.h:87
@ SDL_SCANCODE_9
Definition: SDL_scancode.h:89
@ SDL_SCANCODE_KP_TAB
Definition: SDL_scancode.h:291
@ SDL_SCANCODE_KP_7
Definition: SDL_scancode.h:194
@ SDL_SCANCODE_AC_REFRESH
Definition: SDL_scancode.h:366
@ SDL_SCANCODE_INTERNATIONAL9
Definition: SDL_scancode.h:257
@ SDL_SCANCODE_KP_9
Definition: SDL_scancode.h:196
@ SDL_SCANCODE_EXSEL
Definition: SDL_scancode.h:279
@ SDL_SCANCODE_VOLUMEUP
Definition: SDL_scancode.h:239
@ SDL_SCANCODE_APP2
Definition: SDL_scancode.h:389
@ SDL_SCANCODE_INTERNATIONAL8
Definition: SDL_scancode.h:256
@ SDL_SCANCODE_CRSEL
Definition: SDL_scancode.h:278
@ SDL_SCANCODE_NUMLOCKCLEAR
Definition: SDL_scancode.h:181
@ SDL_SCANCODE_PRINTSCREEN
Definition: SDL_scancode.h:166
@ SDL_SCANCODE_KP_XOR
Definition: SDL_scancode.h:299
@ SDL_SCANCODE_POWER
Definition: SDL_scancode.h:211
@ SDL_SCANCODE_MAIL
Definition: SDL_scancode.h:358
@ SDL_SCANCODE_KP_3
Definition: SDL_scancode.h:190
@ SDL_SCANCODE_SCROLLLOCK
Definition: SDL_scancode.h:167
@ SDL_SCANCODE_EJECT
Definition: SDL_scancode.h:385
@ SDL_SCANCODE_AUDIOPREV
Definition: SDL_scancode.h:352
@ SDL_SCANCODE_PAUSE
Definition: SDL_scancode.h:168
@ SDL_SCANCODE_RETURN
Definition: SDL_scancode.h:92
@ SDL_SCANCODE_KBDILLUMTOGGLE
Definition: SDL_scancode.h:382
@ SDL_SCANCODE_KP_000
Definition: SDL_scancode.h:282
@ SDL_SCANCODE_HELP
Definition: SDL_scancode.h:228
@ SDL_SCANCODE_PAGEDOWN
Definition: SDL_scancode.h:175
@ SDL_SCANCODE_INTERNATIONAL3
Definition: SDL_scancode.h:251
@ SDL_SCANCODE_LSHIFT
Definition: SDL_scancode.h:329
@ SDL_SCANCODE_AUDIOSTOP
Definition: SDL_scancode.h:353
@ SDL_SCANCODE_TAB
Definition: SDL_scancode.h:95
@ SDL_SCANCODE_STOP
Definition: SDL_scancode.h:231
@ SDL_SCANCODE_CURRENCYSUBUNIT
Definition: SDL_scancode.h:286
@ SDL_SCANCODE_LANG1
Definition: SDL_scancode.h:258
@ SDL_SCANCODE_3
Definition: SDL_scancode.h:83
@ SDL_SCANCODE_LCTRL
Definition: SDL_scancode.h:328
@ SDL_SCANCODE_SEMICOLON
Definition: SDL_scancode.h:128
@ SDL_SCANCODE_F16
Definition: SDL_scancode.h:218
@ SDL_SCANCODE_F22
Definition: SDL_scancode.h:224
@ SDL_SCANCODE_UNKNOWN
Definition: SDL_scancode.h:45
@ SDL_SCANCODE_DISPLAYSWITCH
Definition: SDL_scancode.h:380
@ SDL_SCANCODE_KP_MEMCLEAR
Definition: SDL_scancode.h:315
@ SDL_SCANCODE_LGUI
Definition: SDL_scancode.h:331
@ SDL_SCANCODE_0
Definition: SDL_scancode.h:90
@ SDL_SCANCODE_KP_LESS
Definition: SDL_scancode.h:302
@ SDL_SCANCODE_AC_STOP
Definition: SDL_scancode.h:365
@ SDL_SCANCODE_OPER
Definition: SDL_scancode.h:276
@ SDL_SCANCODE_LEFTBRACKET
Definition: SDL_scancode.h:100
@ SDL_SCANCODE_KP_MEMSUBTRACT
Definition: SDL_scancode.h:317
@ SDL_SCANCODE_KP_A
Definition: SDL_scancode.h:293
@ SDL_SCANCODE_AC_SEARCH
Definition: SDL_scancode.h:361
@ SDL_SCANCODE_INTERNATIONAL2
Definition: SDL_scancode.h:250
@ SDL_SCANCODE_DECIMALSEPARATOR
Definition: SDL_scancode.h:284
@ SDL_SCANCODE_F19
Definition: SDL_scancode.h:221
@ SDL_SCANCODE_V
Definition: SDL_scancode.h:75
@ SDL_SCANCODE_EXECUTE
Definition: SDL_scancode.h:227
@ SDL_SCANCODE_GRAVE
Definition: SDL_scancode.h:130
@ SDL_SCANCODE_KP_LEFTBRACE
Definition: SDL_scancode.h:289
@ SDL_SCANCODE_MENU
Definition: SDL_scancode.h:229
@ SDL_SCANCODE_RALT
Definition: SDL_scancode.h:334
@ SDL_SCANCODE_MUTE
Definition: SDL_scancode.h:238
@ SDL_SCANCODE_SYSREQ
Definition: SDL_scancode.h:269
@ SDL_SCANCODE_8
Definition: SDL_scancode.h:88
@ SDL_SCANCODE_I
Definition: SDL_scancode.h:62
@ SDL_SCANCODE_LANG4
Definition: SDL_scancode.h:261
@ SDL_SCANCODE_KP_PERCENT
Definition: SDL_scancode.h:301
@ SDL_SCANCODE_F17
Definition: SDL_scancode.h:219
@ SDL_SCANCODE_RETURN2
Definition: SDL_scancode.h:273
@ SDL_SCANCODE_LANG3
Definition: SDL_scancode.h:260
@ SDL_SCANCODE_KP_MEMADD
Definition: SDL_scancode.h:316
@ SDL_SCANCODE_KP_PLUSMINUS
Definition: SDL_scancode.h:320
@ SDL_SCANCODE_INTERNATIONAL5
Definition: SDL_scancode.h:253
@ SDL_SCANCODE_THOUSANDSSEPARATOR
Definition: SDL_scancode.h:283
@ SDL_SCANCODE_6
Definition: SDL_scancode.h:86
@ SDL_SCANCODE_S
Definition: SDL_scancode.h:72
@ SDL_SCANCODE_KP_ENTER
Definition: SDL_scancode.h:187
@ SDL_SCANCODE_AC_BACK
Definition: SDL_scancode.h:363
@ SDL_SCANCODE_FIND
Definition: SDL_scancode.h:237
@ SDL_SCANCODE_KP_MEMSTORE
Definition: SDL_scancode.h:313
@ SDL_SCANCODE_PAGEUP
Definition: SDL_scancode.h:172
@ SDL_SCANCODE_Z
Definition: SDL_scancode.h:79
@ SDL_SCANCODE_COMPUTER
Definition: SDL_scancode.h:360
@ SDL_SCANCODE_AUDIOPLAY
Definition: SDL_scancode.h:354
@ SDL_SCANCODE_P
Definition: SDL_scancode.h:69
@ SDL_SCANCODE_D
Definition: SDL_scancode.h:57
@ SDL_SCANCODE_F23
Definition: SDL_scancode.h:225
@ SDL_SCANCODE_PERIOD
Definition: SDL_scancode.h:148
@ SDL_SCANCODE_KP_MEMRECALL
Definition: SDL_scancode.h:314
@ SDL_SCANCODE_R
Definition: SDL_scancode.h:71
@ SDL_SCANCODE_KP_AT
Definition: SDL_scancode.h:311
@ SDL_SCANCODE_KP_1
Definition: SDL_scancode.h:188
@ SDL_SCANCODE_AC_BOOKMARKS
Definition: SDL_scancode.h:367
@ SDL_SCANCODE_KP_MEMMULTIPLY
Definition: SDL_scancode.h:318
@ SDL_SCANCODE_DOWN
Definition: SDL_scancode.h:178
@ SDL_SCANCODE_COPY
Definition: SDL_scancode.h:235
@ SDL_SCANCODE_RIGHT
Definition: SDL_scancode.h:176
@ SDL_SCANCODE_F7
Definition: SDL_scancode.h:159
@ SDL_SCANCODE_WWW
Definition: SDL_scancode.h:357
@ SDL_SCANCODE_INTERNATIONAL6
Definition: SDL_scancode.h:254
@ SDL_SCANCODE_MINUS
Definition: SDL_scancode.h:98
@ SDL_SCANCODE_A
Definition: SDL_scancode.h:54
@ SDL_SCANCODE_MODE
Definition: SDL_scancode.h:337
@ SDL_SCANCODE_NONUSHASH
Definition: SDL_scancode.h:116
@ SDL_SCANCODE_LANG7
Definition: SDL_scancode.h:264
@ SDL_SCANCODE_ALTERASE
Definition: SDL_scancode.h:268
@ SDL_SCANCODE_G
Definition: SDL_scancode.h:60
@ SDL_SCANCODE_KP_2
Definition: SDL_scancode.h:189
@ SDL_SCANCODE_KP_RIGHTBRACE
Definition: SDL_scancode.h:290
@ SDL_SCANCODE_U
Definition: SDL_scancode.h:74
@ SDL_SCANCODE_AGAIN
Definition: SDL_scancode.h:232
@ SDL_SCANCODE_KP_EQUALSAS400
Definition: SDL_scancode.h:246
@ SDL_SCANCODE_KP_MULTIPLY
Definition: SDL_scancode.h:184
@ SDL_SCANCODE_KP_C
Definition: SDL_scancode.h:295
@ SDL_SCANCODE_KP_POWER
Definition: SDL_scancode.h:300
@ SDL_SCANCODE_AUDIOREWIND
Definition: SDL_scancode.h:400
@ SDL_SCANCODE_4
Definition: SDL_scancode.h:84
@ SDL_SCANCODE_KP_DBLVERTICALBAR
Definition: SDL_scancode.h:307
@ SDL_SCANCODE_APP1
Definition: SDL_scancode.h:388
@ SDL_SCANCODE_F9
Definition: SDL_scancode.h:161
@ SDL_SCANCODE_F5
Definition: SDL_scancode.h:157
@ SDL_SCANCODE_BRIGHTNESSDOWN
Definition: SDL_scancode.h:378
@ SDL_NUM_SCANCODES
Definition: SDL_scancode.h:407
@ SDL_SCANCODE_UP
Definition: SDL_scancode.h:179
@ SDL_SCANCODE_LEFT
Definition: SDL_scancode.h:177
@ SDL_SCANCODE_AUDIONEXT
Definition: SDL_scancode.h:351
@ SDL_SCANCODE_KBDILLUMDOWN
Definition: SDL_scancode.h:383
@ SDL_SCANCODE_KP_BINARY
Definition: SDL_scancode.h:323
@ SDL_SCANCODE_SELECT
Definition: SDL_scancode.h:230
@ SDL_SCANCODE_APPLICATION
Definition: SDL_scancode.h:210
@ SDL_SCANCODE_LANG5
Definition: SDL_scancode.h:262
@ SDL_SCANCODE_KP_4
Definition: SDL_scancode.h:191
@ SDL_SCANCODE_C
Definition: SDL_scancode.h:56
@ SDL_SCANCODE_HOME
Definition: SDL_scancode.h:171
@ SDL_SCANCODE_F14
Definition: SDL_scancode.h:216
@ SDL_SCANCODE_T
Definition: SDL_scancode.h:73
@ SDL_SCANCODE_KP_CLEAR
Definition: SDL_scancode.h:321
@ SDL_SCANCODE_AUDIOFASTFORWARD
Definition: SDL_scancode.h:401
@ SDL_SCANCODE_KBDILLUMUP
Definition: SDL_scancode.h:384
@ SDL_SCANCODE_F8
Definition: SDL_scancode.h:160
@ SDL_SCANCODE_LALT
Definition: SDL_scancode.h:330
@ SDL_SCANCODE_KP_8
Definition: SDL_scancode.h:195
@ SDL_SCANCODE_PASTE
Definition: SDL_scancode.h:236
@ SDL_SCANCODE_RCTRL
Definition: SDL_scancode.h:332
@ SDL_SCANCODE_F20
Definition: SDL_scancode.h:222
@ SDL_SCANCODE_KP_5
Definition: SDL_scancode.h:192
@ SDL_SCANCODE_L
Definition: SDL_scancode.h:65
@ SDL_SCANCODE_UNDO
Definition: SDL_scancode.h:233
@ SDL_SCANCODE_KP_DBLAMPERSAND
Definition: SDL_scancode.h:305
@ SDL_SCANCODE_CLEAR
Definition: SDL_scancode.h:271
@ SDL_SCANCODE_LANG6
Definition: SDL_scancode.h:263
@ SDL_SCANCODE_AC_HOME
Definition: SDL_scancode.h:362
@ SDL_SCANCODE_VOLUMEDOWN
Definition: SDL_scancode.h:240
@ SDL_SCANCODE_SLEEP
Definition: SDL_scancode.h:386
@ SDL_SCANCODE_KP_DIVIDE
Definition: SDL_scancode.h:183
@ SDL_SCANCODE_PRIOR
Definition: SDL_scancode.h:272
@ SDL_SCANCODE_F18
Definition: SDL_scancode.h:220
@ SDL_SCANCODE_F13
Definition: SDL_scancode.h:215
@ SDL_SCANCODE_CURRENCYUNIT
Definition: SDL_scancode.h:285
@ SDL_SCANCODE_N
Definition: SDL_scancode.h:67
@ SDL_SCANCODE_MEDIASELECT
Definition: SDL_scancode.h:356
@ SDL_SCANCODE_BACKSPACE
Definition: SDL_scancode.h:94
@ SDL_SCANCODE_LANG9
Definition: SDL_scancode.h:266
@ SDL_SCANCODE_EQUALS
Definition: SDL_scancode.h:99
@ SDL_SCANCODE_SPACE
Definition: SDL_scancode.h:96
@ SDL_SCANCODE_SEPARATOR
Definition: SDL_scancode.h:274
@ SDL_SCANCODE_RSHIFT
Definition: SDL_scancode.h:333
@ SDL_SCANCODE_INSERT
Definition: SDL_scancode.h:169
@ SDL_SCANCODE_AC_FORWARD
Definition: SDL_scancode.h:364
@ SDL_SCANCODE_KP_MEMDIVIDE
Definition: SDL_scancode.h:319
@ SDL_SCANCODE_J
Definition: SDL_scancode.h:63
@ SDL_SCANCODE_1
Definition: SDL_scancode.h:81
@ SDL_SCANCODE_Q
Definition: SDL_scancode.h:70