Define Name
|
Define Value (Decimal)
|
Define Value (Hexadecimal)
|
SDL_SCANCODE_0
|
39
|
0x27
|
SDL_SCANCODE_1
|
30
|
0x1E
|
SDL_SCANCODE_2
|
31
|
0x1F
|
SDL_SCANCODE_3
|
32
|
0x20
|
SDL_SCANCODE_4
|
33
|
0x21
|
SDL_SCANCODE_5
|
34
|
0x22
|
SDL_SCANCODE_6
|
35
|
0x23
|
SDL_SCANCODE_7
|
36
|
0x24
|
SDL_SCANCODE_8
|
37
|
0x25
|
SDL_SCANCODE_9
|
38
|
0x26
|
SDL_SCANCODE_A
|
4
|
0x04
|
SDL_SCANCODE_AC_BACK
|
270
|
0x010E
|
SDL_SCANCODE_AC_BOOKMARKS
|
274
|
0x0112
|
SDL_SCANCODE_AC_FORWARD
|
271
|
0x010F
|
SDL_SCANCODE_AC_HOME
|
269
|
0x010D
|
SDL_SCANCODE_AC_REFRESH
|
273
|
0x0111
|
SDL_SCANCODE_AC_SEARCH
|
268
|
0x010C
|
SDL_SCANCODE_AC_STOP
|
272
|
0x0110
|
SDL_SCANCODE_AGAIN
|
121
|
0x79
|
SDL_SCANCODE_ALTERASE
|
153
|
0x99
|
SDL_SCANCODE_APOSTROPHE
|
52
|
0x34
|
SDL_SCANCODE_APP1
|
283
|
0x011B
|
SDL_SCANCODE_APP2
|
284
|
0x011C
|
SDL_SCANCODE_APPLICATION
|
101
|
0x65
|
SDL_SCANCODE_AUDIOFASTFORWARD
|
286
|
0x011E
|
SDL_SCANCODE_AUDIOMUTE
|
262
|
0x0106
|
SDL_SCANCODE_AUDIONEXT
|
258
|
0x0102
|
SDL_SCANCODE_AUDIOPLAY
|
261
|
0x0105
|
SDL_SCANCODE_AUDIOPREV
|
259
|
0x0103
|
SDL_SCANCODE_AUDIOREWIND
|
285
|
0x011D
|
SDL_SCANCODE_AUDIOSTOP
|
260
|
0x0104
|
SDL_SCANCODE_B
|
5
|
0x05
|
SDL_SCANCODE_BACKSLASH
|
49
|
0x31
|
SDL_SCANCODE_BACKSPACE
|
42
|
0x2A
|
SDL_SCANCODE_BRIGHTNESSDOWN
|
275
|
0x0113
|
SDL_SCANCODE_BRIGHTNESSUP
|
276
|
0x0114
|
SDL_SCANCODE_C
|
6
|
0x06
|
SDL_SCANCODE_CALCULATOR
|
266
|
0x010A
|
SDL_SCANCODE_CANCEL
|
155
|
0x9B
|
SDL_SCANCODE_CAPSLOCK
|
57
|
0x39
|
SDL_SCANCODE_CLEAR
|
156
|
0x9C
|
SDL_SCANCODE_CLEARAGAIN
|
162
|
0xA2
|
SDL_SCANCODE_COMMA
|
54
|
0x36
|
SDL_SCANCODE_COMPUTER
|
267
|
0x010B
|
SDL_SCANCODE_COPY
|
124
|
0x7C
|
SDL_SCANCODE_CRSEL
|
163
|
0xA3
|
SDL_SCANCODE_CURRENCYSUBUNIT
|
181
|
0xB5
|
SDL_SCANCODE_CURRENCYUNIT
|
180
|
0xB4
|
SDL_SCANCODE_CUT
|
123
|
0x7B
|
SDL_SCANCODE_D
|
7
|
0x07
|
SDL_SCANCODE_DECIMALSEPARATOR
|
179
|
0xB3
|
SDL_SCANCODE_DELETE
|
76
|
0x4C
|
SDL_SCANCODE_DISPLAYSWITCH
|
277
|
0x0115
|
SDL_SCANCODE_DOWN
|
81
|
0x51
|
SDL_SCANCODE_E
|
8
|
0x08
|
SDL_SCANCODE_EJECT
|
281
|
0x0119
|
SDL_SCANCODE_END
|
77
|
0x4D
|
SDL_SCANCODE_EQUALS
|
46
|
0x2E
|
SDL_SCANCODE_ESCAPE
|
41
|
0x29
|
SDL_SCANCODE_EXECUTE
|
116
|
0x74
|
SDL_SCANCODE_EXSEL
|
164
|
0xA4
|
SDL_SCANCODE_F
|
9
|
0x09
|
SDL_SCANCODE_F1
|
58
|
0x3A
|
SDL_SCANCODE_F10
|
67
|
0x43
|
SDL_SCANCODE_F11
|
68
|
0x44
|
SDL_SCANCODE_F12
|
69
|
0x45
|
SDL_SCANCODE_F13
|
104
|
0x68
|
SDL_SCANCODE_F14
|
105
|
0x69
|
SDL_SCANCODE_F15
|
106
|
0x6A
|
SDL_SCANCODE_F16
|
107
|
0x6B
|
SDL_SCANCODE_F17
|
108
|
0x6C
|
SDL_SCANCODE_F18
|
109
|
0x6D
|
SDL_SCANCODE_F19
|
110
|
0x6E
|
SDL_SCANCODE_F2
|
59
|
0x3B
|
SDL_SCANCODE_F20
|
111
|
0x6F
|
SDL_SCANCODE_F21
|
112
|
0x70
|
SDL_SCANCODE_F22
|
113
|
0x71
|
SDL_SCANCODE_F23
|
114
|
0x72
|
SDL_SCANCODE_F24
|
115
|
0x73
|
SDL_SCANCODE_F3
|
60
|
0x3C
|
SDL_SCANCODE_F4
|
61
|
0x3D
|
SDL_SCANCODE_F5
|
62
|
0x3E
|
SDL_SCANCODE_F6
|
63
|
0x3F
|
SDL_SCANCODE_F7
|
64
|
0x40
|
SDL_SCANCODE_F8
|
65
|
0x41
|
SDL_SCANCODE_F9
|
66
|
0x42
|
SDL_SCANCODE_FIND
|
126
|
0x7E
|
SDL_SCANCODE_G
|
10
|
0x0A
|
SDL_SCANCODE_GRAVE
|
53
|
0x35
|
SDL_SCANCODE_H
|
11
|
0x0B
|
SDL_SCANCODE_HELP
|
117
|
0x75
|
SDL_SCANCODE_HOME
|
74
|
0x4A
|
SDL_SCANCODE_I
|
12
|
0x0C
|
SDL_SCANCODE_INSERT
|
73
|
0x49
|
SDL_SCANCODE_INTERNATIONAL1
|
135
|
0x87
|
SDL_SCANCODE_INTERNATIONAL2
|
136
|
0x88
|
SDL_SCANCODE_INTERNATIONAL3
|
137
|
0x89
|
SDL_SCANCODE_INTERNATIONAL4
|
138
|
0x8A
|
SDL_SCANCODE_INTERNATIONAL5
|
139
|
0x8B
|
SDL_SCANCODE_INTERNATIONAL6
|
140
|
0x8C
|
SDL_SCANCODE_INTERNATIONAL7
|
141
|
0x8D
|
SDL_SCANCODE_INTERNATIONAL8
|
142
|
0x8E
|
SDL_SCANCODE_INTERNATIONAL9
|
143
|
0x8F
|
SDL_SCANCODE_J
|
13
|
0x0D
|
SDL_SCANCODE_K
|
14
|
0x0E
|
SDL_SCANCODE_KBDILLUMDOWN
|
279
|
0x0117
|
SDL_SCANCODE_KBDILLUMTOGGLE
|
278
|
0x0116
|
SDL_SCANCODE_KBDILLUMUP
|
280
|
0x0118
|
SDL_SCANCODE_KP_0
|
98
|
0x62
|
SDL_SCANCODE_KP_00
|
176
|
0xB0
|
SDL_SCANCODE_KP_000
|
177
|
0xB1
|
SDL_SCANCODE_KP_1
|
89
|
0x59
|
SDL_SCANCODE_KP_2
|
90
|
0x5A
|
SDL_SCANCODE_KP_3
|
91
|
0x5B
|
SDL_SCANCODE_KP_4
|
92
|
0x5C
|
SDL_SCANCODE_KP_5
|
93
|
0x5D
|
SDL_SCANCODE_KP_6
|
94
|
0x5E
|
SDL_SCANCODE_KP_7
|
95
|
0x5F
|
SDL_SCANCODE_KP_8
|
96
|
0x60
|
SDL_SCANCODE_KP_9
|
97
|
0x61
|
SDL_SCANCODE_KP_A
|
188
|
0xBC
|
SDL_SCANCODE_KP_AMPERSAND
|
199
|
0xC7
|
SDL_SCANCODE_KP_AT
|
206
|
0xCE
|
SDL_SCANCODE_KP_B
|
189
|
0xBD
|
SDL_SCANCODE_KP_BACKSPACE
|
187
|
0xBB
|
SDL_SCANCODE_KP_BINARY
|
218
|
0xDA
|
SDL_SCANCODE_KP_C
|
190
|
0xBE
|
SDL_SCANCODE_KP_CLEAR
|
216
|
0xD8
|
SDL_SCANCODE_KP_CLEARENTRY
|
217
|
0xD9
|
SDL_SCANCODE_KP_COLON
|
203
|
0xCB
|
SDL_SCANCODE_KP_COMMA
|
133
|
0x85
|
SDL_SCANCODE_KP_D
|
191
|
0xBF
|
SDL_SCANCODE_KP_DBLAMPERSAND
|
200
|
0xC8
|
SDL_SCANCODE_KP_DBLVERTICALBAR
|
202
|
0xCA
|
SDL_SCANCODE_KP_DECIMAL
|
220
|
0xDC
|
SDL_SCANCODE_KP_DIVIDE
|
84
|
0x54
|
SDL_SCANCODE_KP_E
|
192
|
0xC0
|
SDL_SCANCODE_KP_ENTER
|
88
|
0x58
|
SDL_SCANCODE_KP_EQUALS
|
103
|
0x67
|
SDL_SCANCODE_KP_EQUALSAS400
|
134
|
0x86
|
SDL_SCANCODE_KP_EXCLAM
|
207
|
0xCF
|
SDL_SCANCODE_KP_F
|
193
|
0xC1
|
SDL_SCANCODE_KP_GREATER
|
198
|
0xC6
|
SDL_SCANCODE_KP_HASH
|
204
|
0xCC
|
SDL_SCANCODE_KP_HEXADECIMAL
|
221
|
0xDD
|
SDL_SCANCODE_KP_LEFTBRACE
|
184
|
0xB8
|
SDL_SCANCODE_KP_LEFTPAREN
|
182
|
0xB6
|
SDL_SCANCODE_KP_LESS
|
197
|
0xC5
|
SDL_SCANCODE_KP_MEMADD
|
211
|
0xD3
|
SDL_SCANCODE_KP_MEMCLEAR
|
210
|
0xD2
|
SDL_SCANCODE_KP_MEMDIVIDE
|
214
|
0xD6
|
SDL_SCANCODE_KP_MEMMULTIPLY
|
213
|
0xD5
|
SDL_SCANCODE_KP_MEMRECALL
|
209
|
0xD1
|
SDL_SCANCODE_KP_MEMSTORE
|
208
|
0xD0
|
SDL_SCANCODE_KP_MEMSUBTRACT
|
212
|
0xD4
|
SDL_SCANCODE_KP_MINUS
|
86
|
0x56
|
SDL_SCANCODE_KP_MULTIPLY
|
85
|
0x55
|
SDL_SCANCODE_KP_OCTAL
|
219
|
0xDB
|
SDL_SCANCODE_KP_PERCENT
|
196
|
0xC4
|
SDL_SCANCODE_KP_PERIOD
|
99
|
0x63
|
SDL_SCANCODE_KP_PLUS
|
87
|
0x57
|
SDL_SCANCODE_KP_PLUSMINUS
|
215
|
0xD7
|
SDL_SCANCODE_KP_POWER
|
195
|
0xC3
|
SDL_SCANCODE_KP_RIGHTBRACE
|
185
|
0xB9
|
SDL_SCANCODE_KP_RIGHTPAREN
|
183
|
0xB7
|
SDL_SCANCODE_KP_SPACE
|
205
|
0xCD
|
SDL_SCANCODE_KP_TAB
|
186
|
0xBA
|
SDL_SCANCODE_KP_VERTICALBAR
|
201
|
0xC9
|
SDL_SCANCODE_KP_XOR
|
194
|
0xC2
|
SDL_SCANCODE_L
|
15
|
0x0F
|
SDL_SCANCODE_LALT
|
226
|
0xE2
|
SDL_SCANCODE_LANG1
|
144
|
0x90
|
SDL_SCANCODE_LANG2
|
145
|
0x91
|
SDL_SCANCODE_LANG3
|
146
|
0x92
|
SDL_SCANCODE_LANG4
|
147
|
0x93
|
SDL_SCANCODE_LANG5
|
148
|
0x94
|
SDL_SCANCODE_LANG6
|
149
|
0x95
|
SDL_SCANCODE_LANG7
|
150
|
0x96
|
SDL_SCANCODE_LANG8
|
151
|
0x97
|
SDL_SCANCODE_LANG9
|
152
|
0x98
|
SDL_SCANCODE_LCTRL
|
224
|
0xE0
|
SDL_SCANCODE_LEFT
|
80
|
0x50
|
SDL_SCANCODE_LEFTBRACKET
|
47
|
0x2F
|
SDL_SCANCODE_LGUI
|
227
|
0xE3
|
SDL_SCANCODE_LSHIFT
|
225
|
0xE1
|
SDL_SCANCODE_M
|
16
|
0x10
|
SDL_SCANCODE_MAIL
|
265
|
0x0109
|
SDL_SCANCODE_MEDIASELECT
|
263
|
0x0107
|
SDL_SCANCODE_MENU
|
118
|
0x76
|
SDL_SCANCODE_MINUS
|
45
|
0x2D
|
SDL_SCANCODE_MODE
|
257
|
0x0101
|
SDL_SCANCODE_MUTE
|
127
|
0x7F
|
SDL_SCANCODE_N
|
17
|
0x11
|
SDL_SCANCODE_NONUSBACKSLASH
|
100
|
0x64
|
SDL_SCANCODE_NONUSHASH
|
50
|
0x32
|
SDL_SCANCODE_NUMLOCKCLEAR
|
83
|
0x53
|
SDL_SCANCODE_O
|
18
|
0x12
|
SDL_SCANCODE_OPER
|
161
|
0xA1
|
SDL_SCANCODE_OUT
|
160
|
0xA0
|
SDL_SCANCODE_P
|
19
|
0x13
|
SDL_SCANCODE_PAGEDOWN
|
78
|
0x4E
|
SDL_SCANCODE_PAGEUP
|
75
|
0x4B
|
SDL_SCANCODE_PASTE
|
125
|
0x7D
|
SDL_SCANCODE_PAUSE
|
72
|
0x48
|
SDL_SCANCODE_PERIOD
|
55
|
0x37
|
SDL_SCANCODE_POWER
|
102
|
0x66
|
SDL_SCANCODE_PRINTSCREEN
|
70
|
0x46
|
SDL_SCANCODE_PRIOR
|
157
|
0x9D
|
SDL_SCANCODE_Q
|
20
|
0x14
|
SDL_SCANCODE_R
|
21
|
0x15
|
SDL_SCANCODE_RALT
|
230
|
0xE6
|
SDL_SCANCODE_RCTRL
|
228
|
0xE4
|
SDL_SCANCODE_RETURN
|
40
|
0x28
|
SDL_SCANCODE_RETURN2
|
158
|
0x9E
|
SDL_SCANCODE_RGUI
|
231
|
0xE7
|
SDL_SCANCODE_RIGHT
|
79
|
0x4F
|
SDL_SCANCODE_RIGHTBRACKET
|
48
|
0x30
|
SDL_SCANCODE_RSHIFT
|
229
|
0xE5
|
SDL_SCANCODE_S
|
22
|
0x16
|
SDL_SCANCODE_SCROLLLOCK
|
71
|
0x47
|
SDL_SCANCODE_SELECT
|
119
|
0x77
|
SDL_SCANCODE_SEMICOLON
|
51
|
0x33
|
SDL_SCANCODE_SEPARATOR
|
159
|
0x9F
|
SDL_SCANCODE_SLASH
|
56
|
0x38
|
SDL_SCANCODE_SLEEP
|
282
|
0x011A
|
SDL_SCANCODE_SPACE
|
44
|
0x2C
|
SDL_SCANCODE_STOP
|
120
|
0x78
|
SDL_SCANCODE_SYSREQ
|
154
|
0x9A
|
SDL_SCANCODE_T
|
23
|
0x17
|
SDL_SCANCODE_TAB
|
43
|
0x2B
|
SDL_SCANCODE_THOUSANDSSEPARATOR
|
178
|
0xB2
|
SDL_SCANCODE_U
|
24
|
0x18
|
SDL_SCANCODE_UNDO
|
122
|
0x7A
|
SDL_SCANCODE_UNKNOWN
|
0
|
0x00
|
SDL_SCANCODE_UP
|
82
|
0x52
|
SDL_SCANCODE_V
|
25
|
0x19
|
SDL_SCANCODE_VOLUMEDOWN
|
129
|
0x81
|
SDL_SCANCODE_VOLUMEUP
|
128
|
0x80
|
SDL_SCANCODE_W
|
26
|
0x1A
|
SDL_SCANCODE_WWW
|
264
|
0x0108
|
SDL_SCANCODE_X
|
27
|
0x1B
|
SDL_SCANCODE_Y
|
28
|
0x1C
|
SDL_SCANCODE_Z
|
29
|
0x1D
|