18#ifndef __VSF_SDL2_KEYCODE_H__
19#define __VSF_SDL2_KEYCODE_H__
32#define SDLK_SCANCODE_MASK (1 << 30)
33#define SDL_SCANCODE_TO_KEYCODE(__X) ((__X) | SDLK_SCANCODE_MASK)
@ SDLK_g
Definition SDL_keycode.h:246
@ SDLK_c
Definition SDL_keycode.h:242
@ SDLK_RSHIFT
Definition SDL_keycode.h:359
@ SDLK_0
Definition SDL_keycode.h:213
@ SDLK_KP5
Definition SDL_keycode.h:282
@ SDLK_LESS
Definition SDL_keycode.h:226
@ SDLK_PERCENT
Definition SDL_keycode.h:200
@ SDLK_DOLLAR
Definition SDL_keycode.h:201
@ SDLK_LALT
Definition SDL_keycode.h:356
@ SDLK_PASTE
Definition SDL_keycode.h:346
@ SDLK_LGUI
Definition SDL_keycode.h:357
@ SDLK_u
Definition SDL_keycode.h:260
@ SDLK_VOLUMEUP
Definition SDL_keycode.h:349
@ SDLK_y
Definition SDL_keycode.h:264
@ SDLK_KP_8
Definition SDL_keycode.h:275
@ SDLK_BACKSPACE
Definition SDL_keycode.h:192
@ SDLK_h
Definition SDL_keycode.h:247
@ SDLK_UNDERSCORE
Definition SDL_keycode.h:235
@ SDLK_a
Definition SDL_keycode.h:240
@ SDLK_POWER
Definition SDL_keycode.h:310
@ SDLK_F2
Definition SDL_keycode.h:313
@ SDLK_KP2
Definition SDL_keycode.h:279
@ SDLK_F12
Definition SDL_keycode.h:323
@ SDLK_e
Definition SDL_keycode.h:244
@ SDLK_F23
Definition SDL_keycode.h:334
@ SDLK_UNDO
Definition SDL_keycode.h:343
@ SDLK_RIGHTBRACE
Definition SDL_keycode.h:238
@ SDLK_F13
Definition SDL_keycode.h:324
@ SDLK_EXECUTE
Definition SDL_keycode.h:337
@ SDLK_COPY
Definition SDL_keycode.h:345
@ SDLK_EQUALS
Definition SDL_keycode.h:227
@ SDLK_SEMICOLON
Definition SDL_keycode.h:225
@ SDLK_F1
Definition SDL_keycode.h:312
@ SDLK_UP
Definition SDL_keycode.h:296
@ SDLK_F19
Definition SDL_keycode.h:330
@ SDLK_KP_4
Definition SDL_keycode.h:271
@ SDLK_KP3
Definition SDL_keycode.h:280
@ SDLK_END
Definition SDL_keycode.h:302
@ SDLK_MODE
Definition SDL_keycode.h:362
@ SDLK_DOWN
Definition SDL_keycode.h:297
@ SDLK_KP4
Definition SDL_keycode.h:281
@ SDLK_9
Definition SDL_keycode.h:222
@ SDLK_KP_ENTER
Definition SDL_keycode.h:292
@ SDLK_8
Definition SDL_keycode.h:221
@ SDLK_KP_9
Definition SDL_keycode.h:276
@ SDLK_TAB
Definition SDL_keycode.h:195
@ SDLK_i
Definition SDL_keycode.h:248
@ SDLK_KP_6
Definition SDL_keycode.h:273
@ SDLK_SLASH
Definition SDL_keycode.h:211
@ SDLK_QUOTE
Definition SDL_keycode.h:203
@ SDLK_j
Definition SDL_keycode.h:249
@ SDLK_F20
Definition SDL_keycode.h:331
@ SDLK_F6
Definition SDL_keycode.h:317
@ SDLK_FIND
Definition SDL_keycode.h:347
@ SDLK_PERIOD
Definition SDL_keycode.h:210
@ SDLK_n
Definition SDL_keycode.h:253
@ SDLK_STOP
Definition SDL_keycode.h:341
@ SDLK_UNKNOWN
Definition SDL_keycode.h:190
@ SDLK_5
Definition SDL_keycode.h:218
@ SDLK_F24
Definition SDL_keycode.h:335
@ SDLK_F9
Definition SDL_keycode.h:320
@ SDLK_z
Definition SDL_keycode.h:265
@ SDLK_EXCLAIM
Definition SDL_keycode.h:197
@ SDLK_F18
Definition SDL_keycode.h:329
@ SDLK_F21
Definition SDL_keycode.h:332
@ SDLK_F4
Definition SDL_keycode.h:315
@ SDLK_KP_5
Definition SDL_keycode.h:272
@ SDLK_v
Definition SDL_keycode.h:261
@ SDLK_KP9
Definition SDL_keycode.h:286
@ SDLK_PRINTSCREEN
Definition SDL_keycode.h:307
@ SDLK_F16
Definition SDL_keycode.h:327
@ SDLK_KP_PERIOD
Definition SDL_keycode.h:287
@ SDLK_LEFTBRACE
Definition SDL_keycode.h:237
@ SDLK_NUMLOCKCLEAR
Definition SDL_keycode.h:294
@ SDLK_s
Definition SDL_keycode.h:258
@ SDLK_KP_PLUS
Definition SDL_keycode.h:291
@ SDLK_F22
Definition SDL_keycode.h:333
@ SDLK_KP6
Definition SDL_keycode.h:283
@ SDLK_MUTE
Definition SDL_keycode.h:348
@ SDLK_w
Definition SDL_keycode.h:262
@ SDLK_k
Definition SDL_keycode.h:250
@ SDLK_BACKQUOTE
Definition SDL_keycode.h:236
@ SDLK_MENU
Definition SDL_keycode.h:339
@ SDLK_KP_7
Definition SDL_keycode.h:274
@ SDLK_F3
Definition SDL_keycode.h:314
@ SDLK_F10
Definition SDL_keycode.h:321
@ SDLK_r
Definition SDL_keycode.h:257
@ SDLK_ASTERISK
Definition SDL_keycode.h:206
@ SDLK_RIGHTBRACKET
Definition SDL_keycode.h:233
@ SDLK_AT
Definition SDL_keycode.h:230
@ SDLK_VOLUMEDOWN
Definition SDL_keycode.h:350
@ SDLK_F17
Definition SDL_keycode.h:328
@ SDLK_COMMA
Definition SDL_keycode.h:208
@ SDLK_LCTRL
Definition SDL_keycode.h:354
@ SDLK_F8
Definition SDL_keycode.h:319
@ SDLK_x
Definition SDL_keycode.h:263
@ SDLK_QUOTEDBL
Definition SDL_keycode.h:198
@ SDLK_F14
Definition SDL_keycode.h:325
@ SDLK_MINUS
Definition SDL_keycode.h:209
@ SDLK_d
Definition SDL_keycode.h:243
@ SDLK_KP1
Definition SDL_keycode.h:278
@ SDLK_KP_0
Definition SDL_keycode.h:267
@ SDLK_b
Definition SDL_keycode.h:241
@ SDLK_HOME
Definition SDL_keycode.h:301
@ SDLK_LEFTBRACKET
Definition SDL_keycode.h:231
@ SDLK_F11
Definition SDL_keycode.h:322
@ SDLK_F7
Definition SDL_keycode.h:318
@ SDLK_CUT
Definition SDL_keycode.h:344
@ SDLK_KP_1
Definition SDL_keycode.h:268
@ SDLK_t
Definition SDL_keycode.h:259
@ SDLK_m
Definition SDL_keycode.h:252
@ SDLK_HASH
Definition SDL_keycode.h:199
@ SDLK_ESCAPE
Definition SDL_keycode.h:194
@ SDLK_KP_MINUS
Definition SDL_keycode.h:290
@ SDLK_CARET
Definition SDL_keycode.h:234
@ SDLK_1
Definition SDL_keycode.h:214
@ SDLK_SPACE
Definition SDL_keycode.h:196
@ SDLK_PLUS
Definition SDL_keycode.h:207
@ SDLK_F5
Definition SDL_keycode.h:316
@ SDLK_PAUSE
Definition SDL_keycode.h:306
@ SDLK_7
Definition SDL_keycode.h:220
@ SDLK_LEFT
Definition SDL_keycode.h:299
@ SDLK_DELETE
Definition SDL_keycode.h:305
@ SDLK_LSHIFT
Definition SDL_keycode.h:355
@ SDLK_AGAIN
Definition SDL_keycode.h:342
@ SDLK_KP8
Definition SDL_keycode.h:285
@ SDLK_KP_EQUALS
Definition SDL_keycode.h:293
@ SDLK_CAPSLOCK
Definition SDL_keycode.h:309
@ SDLK_BACKSLASH
Definition SDL_keycode.h:232
@ SDLK_PAGEUP
Definition SDL_keycode.h:303
@ SDLK_KP_3
Definition SDL_keycode.h:270
@ SDLK_KP_COMMA
Definition SDL_keycode.h:351
@ SDLK_6
Definition SDL_keycode.h:219
@ SDLK_GREATER
Definition SDL_keycode.h:228
@ SDLK_q
Definition SDL_keycode.h:256
@ SDLK_SCROLLLOCK
Definition SDL_keycode.h:308
@ SDLK_INSERT
Definition SDL_keycode.h:300
@ SDLK_3
Definition SDL_keycode.h:216
@ SDLK_LEFTPAREN
Definition SDL_keycode.h:204
@ SDLK_KP_2
Definition SDL_keycode.h:269
@ SDLK_p
Definition SDL_keycode.h:255
@ SDLK_RALT
Definition SDL_keycode.h:360
@ SDLK_APPLICATION
Definition SDL_keycode.h:352
@ SDLK_RCTRL
Definition SDL_keycode.h:358
@ SDLK_f
Definition SDL_keycode.h:245
@ SDLK_PAGEDOWN
Definition SDL_keycode.h:304
@ SDLK_o
Definition SDL_keycode.h:254
@ SDLK_RIGHT
Definition SDL_keycode.h:298
@ SDLK_COLON
Definition SDL_keycode.h:224
@ SDLK_AMPERSAND
Definition SDL_keycode.h:202
@ SDLK_F15
Definition SDL_keycode.h:326
@ SDLK_HELP
Definition SDL_keycode.h:338
@ SDLK_l
Definition SDL_keycode.h:251
@ SDLK_KP7
Definition SDL_keycode.h:284
@ SDLK_RGUI
Definition SDL_keycode.h:361
@ SDLK_QUESTION
Definition SDL_keycode.h:229
@ SDLK_KP0
Definition SDL_keycode.h:277
@ SDLK_RIGHTPAREN
Definition SDL_keycode.h:205
@ SDLK_4
Definition SDL_keycode.h:217
@ SDLK_RETURN
Definition SDL_keycode.h:193
@ SDLK_KP_DIVIDE
Definition SDL_keycode.h:288
@ SDLK_KP_MULTIPLY
Definition SDL_keycode.h:289
@ SDLK_SELECT
Definition SDL_keycode.h:340
@ SDLK_2
Definition SDL_keycode.h:215
SDL_Scancode
Definition SDL_keycode.h:38
@ SDL_SCANCODE_E
Definition SDL_keycode.h:45
@ SDL_SCANCODE_END
Definition SDL_keycode.h:118
@ SDL_SCANCODE_BACKSLASH
Definition SDL_keycode.h:89
@ SDL_SCANCODE_ESCAPE
Definition SDL_keycode.h:80
@ SDL_SCANCODE_F15
Definition SDL_keycode.h:148
@ SDL_SCANCODE_M
Definition SDL_keycode.h:53
@ SDL_SCANCODE_F12
Definition SDL_keycode.h:109
@ SDL_SCANCODE_X
Definition SDL_keycode.h:64
@ SDL_SCANCODE_W
Definition SDL_keycode.h:63
@ SDL_SCANCODE_KP_PLUS
Definition SDL_keycode.h:129
@ SDL_SCANCODE_F4
Definition SDL_keycode.h:101
@ SDL_SCANCODE_RIGHTBRACKET
Definition SDL_keycode.h:88
@ SDL_SCANCODE_CAPSLOCK
Definition SDL_keycode.h:96
@ SDL_SCANCODE_B
Definition SDL_keycode.h:42
@ SDL_SCANCODE_F2
Definition SDL_keycode.h:99
@ SDL_SCANCODE_KP_MINUS
Definition SDL_keycode.h:128
@ SDL_SCANCODE_F6
Definition SDL_keycode.h:103
@ SDL_SCANCODE_KP_0
Definition SDL_keycode.h:140
@ SDL_SCANCODE_F11
Definition SDL_keycode.h:108
@ SDL_SCANCODE_COMMA
Definition SDL_keycode.h:93
@ SDL_SCANCODE_KP_PERIOD
Definition SDL_keycode.h:141
@ SDL_SCANCODE_F24
Definition SDL_keycode.h:157
@ SDL_SCANCODE_CUT
Definition SDL_keycode.h:166
@ SDL_SCANCODE_Y
Definition SDL_keycode.h:65
@ SDL_SCANCODE_APOSTROPHE
Definition SDL_keycode.h:91
@ SDL_SCANCODE_KP_COMMA
Definition SDL_keycode.h:173
@ SDL_SCANCODE_2
Definition SDL_keycode.h:69
@ SDL_SCANCODE_O
Definition SDL_keycode.h:55
@ SDL_SCANCODE_RGUI
Definition SDL_keycode.h:182
@ SDL_SCANCODE_K
Definition SDL_keycode.h:51
@ SDL_SCANCODE_F
Definition SDL_keycode.h:46
@ SDL_SCANCODE_DELETE
Definition SDL_keycode.h:117
@ SDL_SCANCODE_F10
Definition SDL_keycode.h:107
@ SDL_SCANCODE_F3
Definition SDL_keycode.h:100
@ SDL_SCANCODE_5
Definition SDL_keycode.h:72
@ SDL_SCANCODE_H
Definition SDL_keycode.h:48
@ SDL_SCANCODE_SLASH
Definition SDL_keycode.h:95
@ SDL_SCANCODE_F1
Definition SDL_keycode.h:98
@ SDL_SCANCODE_KP_EQUALS
Definition SDL_keycode.h:144
@ SDL_SCANCODE_F21
Definition SDL_keycode.h:154
@ SDL_SCANCODE_KP_6
Definition SDL_keycode.h:136
@ SDL_SCANCODE_7
Definition SDL_keycode.h:74
@ SDL_SCANCODE_9
Definition SDL_keycode.h:76
@ SDL_SCANCODE_KP_7
Definition SDL_keycode.h:137
@ SDL_SCANCODE_KP_9
Definition SDL_keycode.h:139
@ SDL_SCANCODE_VOLUMEUP
Definition SDL_keycode.h:171
@ SDL_SCANCODE_NUMLOCKCLEAR
Definition SDL_keycode.h:124
@ SDL_SCANCODE_PRINTSCREEN
Definition SDL_keycode.h:111
@ SDL_SCANCODE_POWER
Definition SDL_keycode.h:143
@ SDL_SCANCODE_KP_3
Definition SDL_keycode.h:133
@ SDL_SCANCODE_SCROLLLOCK
Definition SDL_keycode.h:112
@ SDL_SCANCODE_PAUSE
Definition SDL_keycode.h:113
@ SDL_SCANCODE_RETURN
Definition SDL_keycode.h:79
@ SDL_SCANCODE_HELP
Definition SDL_keycode.h:160
@ SDL_SCANCODE_PAGEDOWN
Definition SDL_keycode.h:119
@ SDL_SCANCODE_LSHIFT
Definition SDL_keycode.h:176
@ SDL_SCANCODE_TAB
Definition SDL_keycode.h:82
@ SDL_SCANCODE_STOP
Definition SDL_keycode.h:163
@ SDL_SCANCODE_3
Definition SDL_keycode.h:70
@ SDL_SCANCODE_LCTRL
Definition SDL_keycode.h:175
@ SDL_SCANCODE_SEMICOLON
Definition SDL_keycode.h:90
@ SDL_SCANCODE_F16
Definition SDL_keycode.h:149
@ SDL_SCANCODE_F22
Definition SDL_keycode.h:155
@ SDL_SCANCODE_UNKNOWN
Definition SDL_keycode.h:39
@ SDL_SCANCODE_LGUI
Definition SDL_keycode.h:178
@ SDL_SCANCODE_0
Definition SDL_keycode.h:77
@ SDL_SCANCODE_LEFTBRACKET
Definition SDL_keycode.h:87
@ SDL_SCANCODE_F19
Definition SDL_keycode.h:152
@ SDL_SCANCODE_V
Definition SDL_keycode.h:62
@ SDL_SCANCODE_EXECUTE
Definition SDL_keycode.h:159
@ SDL_SCANCODE_GRAVE
Definition SDL_keycode.h:92
@ SDL_SCANCODE_MENU
Definition SDL_keycode.h:161
@ SDL_SCANCODE_RALT
Definition SDL_keycode.h:181
@ SDL_SCANCODE_MUTE
Definition SDL_keycode.h:170
@ SDL_SCANCODE_8
Definition SDL_keycode.h:75
@ SDL_SCANCODE_I
Definition SDL_keycode.h:49
@ SDL_SCANCODE_F17
Definition SDL_keycode.h:150
@ SDL_SCANCODE_6
Definition SDL_keycode.h:73
@ SDL_SCANCODE_S
Definition SDL_keycode.h:59
@ SDL_SCANCODE_KP_ENTER
Definition SDL_keycode.h:130
@ SDL_SCANCODE_FIND
Definition SDL_keycode.h:169
@ SDL_SCANCODE_PAGEUP
Definition SDL_keycode.h:116
@ SDL_SCANCODE_Z
Definition SDL_keycode.h:66
@ SDL_SCANCODE_P
Definition SDL_keycode.h:56
@ SDL_SCANCODE_D
Definition SDL_keycode.h:44
@ SDL_SCANCODE_F23
Definition SDL_keycode.h:156
@ SDL_SCANCODE_PERIOD
Definition SDL_keycode.h:94
@ SDL_SCANCODE_R
Definition SDL_keycode.h:58
@ SDL_SCANCODE_KP_1
Definition SDL_keycode.h:131
@ SDL_SCANCODE_DOWN
Definition SDL_keycode.h:122
@ SDL_SCANCODE_COPY
Definition SDL_keycode.h:167
@ SDL_SCANCODE_RIGHT
Definition SDL_keycode.h:120
@ SDL_SCANCODE_F7
Definition SDL_keycode.h:104
@ SDL_SCANCODE_MINUS
Definition SDL_keycode.h:85
@ SDL_SCANCODE_A
Definition SDL_keycode.h:41
@ SDL_SCANCODE_MODE
Definition SDL_keycode.h:183
@ SDL_SCANCODE_G
Definition SDL_keycode.h:47
@ SDL_SCANCODE_KP_2
Definition SDL_keycode.h:132
@ SDL_SCANCODE_U
Definition SDL_keycode.h:61
@ SDL_SCANCODE_AGAIN
Definition SDL_keycode.h:164
@ SDL_SCANCODE_KP_MULTIPLY
Definition SDL_keycode.h:127
@ SDL_SCANCODE_4
Definition SDL_keycode.h:71
@ SDL_SCANCODE_F9
Definition SDL_keycode.h:106
@ SDL_SCANCODE_F5
Definition SDL_keycode.h:102
@ SDL_NUM_SCANCODES
Definition SDL_keycode.h:185
@ SDL_SCANCODE_UP
Definition SDL_keycode.h:123
@ SDL_SCANCODE_LEFT
Definition SDL_keycode.h:121
@ SDL_SCANCODE_SELECT
Definition SDL_keycode.h:162
@ SDL_SCANCODE_APPLICATION
Definition SDL_keycode.h:142
@ SDL_SCANCODE_KP_4
Definition SDL_keycode.h:134
@ SDL_SCANCODE_C
Definition SDL_keycode.h:43
@ SDL_SCANCODE_HOME
Definition SDL_keycode.h:115
@ SDL_SCANCODE_F14
Definition SDL_keycode.h:147
@ SDL_SCANCODE_T
Definition SDL_keycode.h:60
@ SDL_SCANCODE_F8
Definition SDL_keycode.h:105
@ SDL_SCANCODE_LALT
Definition SDL_keycode.h:177
@ SDL_SCANCODE_KP_8
Definition SDL_keycode.h:138
@ SDL_SCANCODE_PASTE
Definition SDL_keycode.h:168
@ SDL_SCANCODE_RCTRL
Definition SDL_keycode.h:179
@ SDL_SCANCODE_F20
Definition SDL_keycode.h:153
@ SDL_SCANCODE_KP_5
Definition SDL_keycode.h:135
@ SDL_SCANCODE_L
Definition SDL_keycode.h:52
@ SDL_SCANCODE_UNDO
Definition SDL_keycode.h:165
@ SDL_SCANCODE_VOLUMEDOWN
Definition SDL_keycode.h:172
@ SDL_SCANCODE_KP_DIVIDE
Definition SDL_keycode.h:126
@ SDL_SCANCODE_F18
Definition SDL_keycode.h:151
@ SDL_SCANCODE_F13
Definition SDL_keycode.h:146
@ SDL_SCANCODE_N
Definition SDL_keycode.h:54
@ SDL_SCANCODE_BACKSPACE
Definition SDL_keycode.h:81
@ SDL_SCANCODE_EQUALS
Definition SDL_keycode.h:86
@ SDL_SCANCODE_SPACE
Definition SDL_keycode.h:83
@ SDL_SCANCODE_RSHIFT
Definition SDL_keycode.h:180
@ SDL_SCANCODE_INSERT
Definition SDL_keycode.h:114
@ SDL_SCANCODE_J
Definition SDL_keycode.h:50
@ SDL_SCANCODE_1
Definition SDL_keycode.h:68
@ SDL_SCANCODE_Q
Definition SDL_keycode.h:57
#define SDL_SCANCODE_TO_KEYCODE(__X)
Definition SDL_keycode.h:33
int32_t SDL_Keycode
Definition SDL_keycode.h:188
SDL_Keymod
Definition SDL_keycode.h:365
@ KMOD_GUI
Definition SDL_keycode.h:384
@ KMOD_MODE
Definition SDL_keycode.h:379
@ KMOD_SHIFT
Definition SDL_keycode.h:382
@ KMOD_RALT
Definition SDL_keycode.h:372
@ KMOD_LSHIFT
Definition SDL_keycode.h:367
@ KMOD_RESERVED
Definition SDL_keycode.h:387
@ KMOD_LGUI
Definition SDL_keycode.h:373
@ KMOD_CAPS
Definition SDL_keycode.h:378
@ KMOD_LALT
Definition SDL_keycode.h:371
@ KMOD_RCTRL
Definition SDL_keycode.h:370
@ KMOD_NONE
Definition SDL_keycode.h:366
@ KMOD_RGUI
Definition SDL_keycode.h:374
@ KMOD_LCTRL
Definition SDL_keycode.h:369
@ KMOD_RMETA
Definition SDL_keycode.h:376
@ KMOD_META
Definition SDL_keycode.h:385
@ KMOD_RSHIFT
Definition SDL_keycode.h:368
@ KMOD_LMETA
Definition SDL_keycode.h:375
@ KMOD_ALT
Definition SDL_keycode.h:383
@ KMOD_NUM
Definition SDL_keycode.h:377
@ KMOD_CTRL
Definition SDL_keycode.h:381
signed int int32_t
Definition lvgl.h:44