1#ifndef SDL3PP_SCANCODE_H_
2#define SDL3PP_SCANCODE_H_
4#include <SDL3/SDL_scancode.h>
5#include "SDL3pp_stdinc.h"
42 SDL_Scancode m_scancode;
51 : m_scancode(scancode)
56 Scancode(StringParam name);
76 constexpr operator SDL_Scancode()
const {
return m_scancode; }
83 constexpr explicit operator bool()
const
85 return m_scancode != SDL_SCANCODE_UNKNOWN;
174 SDL_SCANCODE_BACKSPACE;
185 SDL_SCANCODE_LEFTBRACKET;
188 SDL_SCANCODE_RIGHTBRACKET;
212 SDL_SCANCODE_SEMICOLON;
215 SDL_SCANCODE_APOSTROPHE;
264 SDL_SCANCODE_PRINTSCREEN;
267 SDL_SCANCODE_SCROLLLOCK;
295 SDL_SCANCODE_NUMLOCKCLEAR;
298 SDL_SCANCODE_KP_DIVIDE;
301 SDL_SCANCODE_KP_MULTIPLY;
330 SDL_SCANCODE_KP_PERIOD;
342 SDL_SCANCODE_APPLICATION;
351 SDL_SCANCODE_KP_EQUALS;
405 SDL_SCANCODE_VOLUMEDOWN;
410 SDL_SCANCODE_KP_EQUALSAS400;
413 SDL_SCANCODE_INTERNATIONAL1;
417 SDL_SCANCODE_INTERNATIONAL2;
420 SDL_SCANCODE_INTERNATIONAL3;
423 SDL_SCANCODE_INTERNATIONAL4;
426 SDL_SCANCODE_INTERNATIONAL5;
429 SDL_SCANCODE_INTERNATIONAL6;
432 SDL_SCANCODE_INTERNATIONAL7;
435 SDL_SCANCODE_INTERNATIONAL8;
438 SDL_SCANCODE_INTERNATIONAL9;
462 SDL_SCANCODE_ALTERASE;
475 SDL_SCANCODE_SEPARATOR;
482 SDL_SCANCODE_CLEARAGAIN;
493 SDL_SCANCODE_THOUSANDSSEPARATOR;
496 SDL_SCANCODE_DECIMALSEPARATOR;
499 SDL_SCANCODE_CURRENCYUNIT;
502 SDL_SCANCODE_CURRENCYSUBUNIT;
505 SDL_SCANCODE_KP_LEFTPAREN;
508 SDL_SCANCODE_KP_RIGHTPAREN;
511 SDL_SCANCODE_KP_LEFTBRACE;
514 SDL_SCANCODE_KP_RIGHTBRACE;
519 SDL_SCANCODE_KP_BACKSPACE;
538 SDL_SCANCODE_KP_PERCENT;
543 SDL_SCANCODE_KP_GREATER;
546 SDL_SCANCODE_KP_AMPERSAND;
549 SDL_SCANCODE_KP_DBLAMPERSAND;
552 SDL_SCANCODE_KP_VERTICALBAR;
555 SDL_SCANCODE_KP_DBLVERTICALBAR;
566 SDL_SCANCODE_KP_EXCLAM;
569 SDL_SCANCODE_KP_MEMSTORE;
572 SDL_SCANCODE_KP_MEMRECALL;
575 SDL_SCANCODE_KP_MEMCLEAR;
578 SDL_SCANCODE_KP_MEMADD;
581 SDL_SCANCODE_KP_MEMSUBTRACT;
584 SDL_SCANCODE_KP_MEMMULTIPLY;
587 SDL_SCANCODE_KP_MEMDIVIDE;
590 SDL_SCANCODE_KP_PLUSMINUS;
595 SDL_SCANCODE_KP_CLEARENTRY;
598 SDL_SCANCODE_KP_BINARY;
603 SDL_SCANCODE_KP_DECIMAL;
606 SDL_SCANCODE_KP_HEXADECIMAL;
637 SDL_SCANCODE_CHANNEL_INCREMENT;
640 SDL_SCANCODE_CHANNEL_DECREMENT;
645 SDL_SCANCODE_MEDIA_PAUSE;
648 SDL_SCANCODE_MEDIA_RECORD;
651 SDL_SCANCODE_MEDIA_FAST_FORWARD;
654 SDL_SCANCODE_MEDIA_REWIND;
657 SDL_SCANCODE_MEDIA_NEXT_TRACK;
660 SDL_SCANCODE_MEDIA_PREVIOUS_TRACK;
665 SDL_SCANCODE_MEDIA_EJECT;
668 SDL_SCANCODE_MEDIA_PLAY_PAUSE;
671 SDL_SCANCODE_MEDIA_SELECT;
686 SDL_SCANCODE_AC_PROPERTIES;
689 SDL_SCANCODE_AC_SEARCH;
696 SDL_SCANCODE_AC_FORWARD;
701 SDL_SCANCODE_AC_REFRESH;
704 SDL_SCANCODE_AC_BOOKMARKS;
724 SDL_SCANCODE_ENDCALL;
727 SDL_SCANCODE_RESERVED;
The SDL keyboard scancode representation.
Definition SDL3pp_scancode.h:41
constexpr auto operator<=>(SDL_Scancode scancode) const
Compares with the underlying type.
Definition SDL3pp_scancode.h:66
constexpr Scancode(SDL_Scancode scancode={})
Wraps Scancode.
Definition SDL3pp_scancode.h:50
constexpr auto operator<=>(const Scancode &other) const =default
Default comparison operator.
Helpers to use C++ strings parameters.
Definition SDL3pp_strings.h:43
void SetName(StringParam name)
Set a human-readable name for a scancode.
Definition SDL3pp_keyboard.h:274
const char * GetName() const
Get a human-readable name for a scancode.
Definition SDL3pp_keyboard.h:302
constexpr SDL_Scancode SCANCODE_PASTE
AC Paste.
Definition SDL3pp_scancode.h:396
constexpr SDL_Scancode SCANCODE_KP_ENTER
KP_ENTER.
Definition SDL3pp_scancode.h:307
constexpr SDL_Scancode SCANCODE_MEDIA_EJECT
Eject.
Definition SDL3pp_scancode.h:664
constexpr SDL_Scancode SCANCODE_KP_8
KP_8.
Definition SDL3pp_scancode.h:323
constexpr SDL_Scancode SCANCODE_KP_0
KP_0.
Definition SDL3pp_scancode.h:327
constexpr SDL_Scancode SCANCODE_THOUSANDSSEPARATOR
THOUSANDSSEPARATOR.
Definition SDL3pp_scancode.h:492
constexpr SDL_Scancode SCANCODE_KP_7
KP_7.
Definition SDL3pp_scancode.h:321
constexpr SDL_Scancode SCANCODE_RETURN2
RETURN2.
Definition SDL3pp_scancode.h:472
constexpr SDL_Scancode SCANCODE_MEDIA_SELECT
MEDIA_SELECT.
Definition SDL3pp_scancode.h:670
constexpr SDL_Scancode SCANCODE_CANCEL
AC Cancel.
Definition SDL3pp_scancode.h:466
constexpr SDL_Scancode SCANCODE_P
P.
Definition SDL3pp_scancode.h:127
constexpr SDL_Scancode SCANCODE_AC_NEW
AC New.
Definition SDL3pp_scancode.h:673
constexpr SDL_Scancode SCANCODE_AC_FORWARD
AC Forward.
Definition SDL3pp_scancode.h:695
constexpr SDL_Scancode SCANCODE_KP_BACKSPACE
KP_BACKSPACE.
Definition SDL3pp_scancode.h:518
constexpr SDL_Scancode SCANCODE_J
J.
Definition SDL3pp_scancode.h:115
constexpr SDL_Scancode SCANCODE_UP
UP.
Definition SDL3pp_scancode.h:292
constexpr SDL_Scancode SCANCODE_EXSEL
EXSEL.
Definition SDL3pp_scancode.h:486
constexpr SDL_Scancode SCANCODE_RIGHT
RIGHT.
Definition SDL3pp_scancode.h:286
constexpr SDL_Scancode SCANCODE_AC_SEARCH
AC Search.
Definition SDL3pp_scancode.h:688
constexpr SDL_Scancode SCANCODE_F2
F2.
Definition SDL3pp_scancode.h:241
constexpr SDL_Scancode SCANCODE_SPACE
SPACE.
Definition SDL3pp_scancode.h:178
constexpr SDL_Scancode SCANCODE_KP_4
KP_4.
Definition SDL3pp_scancode.h:315
constexpr SDL_Scancode SCANCODE_F11
F11.
Definition SDL3pp_scancode.h:259
constexpr SDL_Scancode SCANCODE_END
END.
Definition SDL3pp_scancode.h:282
constexpr SDL_Scancode SCANCODE_N
N.
Definition SDL3pp_scancode.h:123
constexpr SDL_Scancode SCANCODE_CLEAR
CLEAR.
Definition SDL3pp_scancode.h:468
constexpr SDL_Scancode SCANCODE_KP_3
KP_3.
Definition SDL3pp_scancode.h:313
constexpr SDL_Scancode SCANCODE_KP_MEMADD
KP_MEMADD.
Definition SDL3pp_scancode.h:577
constexpr SDL_Scancode SCANCODE_SCROLLLOCK
SCROLLLOCK.
Definition SDL3pp_scancode.h:266
constexpr SDL_Scancode SCANCODE_MODE
I'm not sure if this is really not covered by any of the above, but since there's a special KMOD_MODE...
Definition SDL3pp_scancode.h:630
constexpr SDL_Scancode SCANCODE_KP_MINUS
KP_MINUS.
Definition SDL3pp_scancode.h:303
constexpr SDL_Scancode SCANCODE_KP_LESS
KP_LESS.
Definition SDL3pp_scancode.h:540
constexpr SDL_Scancode SCANCODE_F17
F17.
Definition SDL3pp_scancode.h:361
constexpr SDL_Scancode SCANCODE_MEDIA_PAUSE
Pause.
Definition SDL3pp_scancode.h:644
constexpr SDL_Scancode SCANCODE_AC_REFRESH
AC Refresh.
Definition SDL3pp_scancode.h:700
constexpr SDL_Scancode SCANCODE_KP_LEFTPAREN
KP_LEFTPAREN.
Definition SDL3pp_scancode.h:504
constexpr SDL_Scancode SCANCODE_KP_COMMA
KP_COMMA.
Definition SDL3pp_scancode.h:407
constexpr SDL_Scancode SCANCODE_INTERNATIONAL6
INTERNATIONAL6.
Definition SDL3pp_scancode.h:428
constexpr SDL_Scancode SCANCODE_9
9
Definition SDL3pp_scancode.h:165
constexpr SDL_Scancode SCANCODE_C
C.
Definition SDL3pp_scancode.h:101
constexpr SDL_Scancode SCANCODE_LANG6
reserved
Definition SDL3pp_scancode.h:453
constexpr SDL_Scancode SCANCODE_EQUALS
EQUALS.
Definition SDL3pp_scancode.h:182
constexpr SDL_Scancode SCANCODE_CHANNEL_INCREMENT
Channel Increment.
Definition SDL3pp_scancode.h:636
constexpr SDL_Scancode SCANCODE_KP_OCTAL
KP_OCTAL.
Definition SDL3pp_scancode.h:600
constexpr SDL_Scancode SCANCODE_KP_DBLAMPERSAND
KP_DBLAMPERSAND.
Definition SDL3pp_scancode.h:548
constexpr SDL_Scancode SCANCODE_SEPARATOR
SEPARATOR.
Definition SDL3pp_scancode.h:474
constexpr SDL_Scancode SCANCODE_L
L.
Definition SDL3pp_scancode.h:119
constexpr SDL_Scancode SCANCODE_KP_RIGHTPAREN
KP_RIGHTPAREN.
Definition SDL3pp_scancode.h:507
constexpr SDL_Scancode SCANCODE_LANG3
Katakana.
Definition SDL3pp_scancode.h:446
constexpr SDL_Scancode SCANCODE_RALT
alt gr, option
Definition SDL3pp_scancode.h:621
constexpr SDL_Scancode SCANCODE_PAGEDOWN
PAGEDOWN.
Definition SDL3pp_scancode.h:284
constexpr SDL_Scancode SCANCODE_PAUSE
PAUSE.
Definition SDL3pp_scancode.h:269
constexpr SDL_Scancode SCANCODE_W
W.
Definition SDL3pp_scancode.h:141
constexpr SDL_Scancode SCANCODE_SLASH
SLASH.
Definition SDL3pp_scancode.h:235
constexpr SDL_Scancode SCANCODE_LANG8
reserved
Definition SDL3pp_scancode.h:457
constexpr SDL_Scancode SCANCODE_4
4
Definition SDL3pp_scancode.h:155
constexpr SDL_Scancode SCANCODE_KP_MEMSUBTRACT
KP_MEMSUBTRACT.
Definition SDL3pp_scancode.h:580
constexpr SDL_Scancode SCANCODE_KP_PLUS
KP_PLUS.
Definition SDL3pp_scancode.h:305
constexpr SDL_Scancode SCANCODE_LCTRL
LCTRL.
Definition SDL3pp_scancode.h:608
constexpr SDL_Scancode SCANCODE_F18
F18.
Definition SDL3pp_scancode.h:363
constexpr SDL_Scancode SCANCODE_KP_COLON
KP_COLON.
Definition SDL3pp_scancode.h:557
constexpr SDL_Scancode SCANCODE_KP_2
KP_2.
Definition SDL3pp_scancode.h:311
constexpr SDL_Scancode SCANCODE_RIGHTBRACKET
RIGHTBRACKET.
Definition SDL3pp_scancode.h:187
constexpr SDL_Scancode SCANCODE_T
T.
Definition SDL3pp_scancode.h:135
constexpr SDL_Scancode SCANCODE_KP_9
KP_9.
Definition SDL3pp_scancode.h:325
constexpr SDL_Scancode SCANCODE_KP_DIVIDE
KP_DIVIDE.
Definition SDL3pp_scancode.h:297
constexpr SDL_Scancode SCANCODE_KP_000
KP_000.
Definition SDL3pp_scancode.h:490
constexpr SDL_Scancode SCANCODE_MINUS
MINUS.
Definition SDL3pp_scancode.h:180
constexpr SDL_Scancode SCANCODE_8
8
Definition SDL3pp_scancode.h:163
constexpr SDL_Scancode SCANCODE_KP_GREATER
KP_GREATER.
Definition SDL3pp_scancode.h:542
constexpr SDL_Scancode SCANCODE_MEDIA_PLAY
Play.
Definition SDL3pp_scancode.h:642
constexpr SDL_Scancode SCANCODE_KP_DECIMAL
KP_DECIMAL.
Definition SDL3pp_scancode.h:602
constexpr SDL_Scancode SCANCODE_KP_A
KP_A.
Definition SDL3pp_scancode.h:521
constexpr SDL_Scancode SCANCODE_LANG1
Hangul/English toggle.
Definition SDL3pp_scancode.h:440
constexpr SDL_Scancode SCANCODE_CHANNEL_DECREMENT
Channel Decrement.
Definition SDL3pp_scancode.h:639
constexpr SDL_Scancode SCANCODE_OPER
OPER.
Definition SDL3pp_scancode.h:479
constexpr SDL_Scancode SCANCODE_KP_HASH
KP_HASH.
Definition SDL3pp_scancode.h:559
constexpr SDL_Scancode SCANCODE_UNKNOWN
UNKNOWN.
Definition SDL3pp_scancode.h:95
constexpr SDL_Scancode SCANCODE_ALTERASE
Erase-Eaze.
Definition SDL3pp_scancode.h:461
constexpr SDL_Scancode SCANCODE_LANG2
Hanja conversion.
Definition SDL3pp_scancode.h:443
constexpr SDL_Scancode SCANCODE_0
0
Definition SDL3pp_scancode.h:167
constexpr SDL_Scancode SCANCODE_KP_F
KP_F.
Definition SDL3pp_scancode.h:531
constexpr SDL_Scancode SCANCODE_VOLUMEDOWN
VOLUMEDOWN.
Definition SDL3pp_scancode.h:404
constexpr SDL_Scancode SCANCODE_DELETE
DELETE.
Definition SDL3pp_scancode.h:280
constexpr SDL_Scancode SCANCODE_HELP
AL Integrated Help Center.
Definition SDL3pp_scancode.h:379
constexpr SDL_Scancode SCANCODE_PRINTSCREEN
PRINTSCREEN.
Definition SDL3pp_scancode.h:263
constexpr SDL_Scancode SCANCODE_V
V.
Definition SDL3pp_scancode.h:139
constexpr SDL_Scancode SCANCODE_R
R.
Definition SDL3pp_scancode.h:131
constexpr SDL_Scancode SCANCODE_KP_EQUALSAS400
KP_EQUALSAS400.
Definition SDL3pp_scancode.h:409
constexpr SDL_Scancode SCANCODE_F1
F1.
Definition SDL3pp_scancode.h:239
constexpr SDL_Scancode SCANCODE_KP_D
KP_D.
Definition SDL3pp_scancode.h:527
constexpr SDL_Scancode SCANCODE_DECIMALSEPARATOR
DECIMALSEPARATOR.
Definition SDL3pp_scancode.h:495
constexpr SDL_Scancode SCANCODE_KP_AMPERSAND
KP_AMPERSAND.
Definition SDL3pp_scancode.h:545
constexpr SDL_Scancode SCANCODE_NONUSBACKSLASH
This is the additional key that ISO keyboards have over ANSI ones, located between left shift and Y.
Definition SDL3pp_scancode.h:339
constexpr SDL_Scancode SCANCODE_RETURN
RETURN.
Definition SDL3pp_scancode.h:169
constexpr SDL_Scancode SCANCODE_MEDIA_NEXT_TRACK
Next Track.
Definition SDL3pp_scancode.h:656
constexpr SDL_Scancode SCANCODE_MENU
Menu (show menu)
Definition SDL3pp_scancode.h:382
constexpr SDL_Scancode SCANCODE_KP_E
KP_E.
Definition SDL3pp_scancode.h:529
constexpr SDL_Scancode SCANCODE_AC_EXIT
AC Exit.
Definition SDL3pp_scancode.h:679
constexpr SDL_Scancode SCANCODE_E
E.
Definition SDL3pp_scancode.h:105
constexpr SDL_Scancode SCANCODE_G
G.
Definition SDL3pp_scancode.h:109
constexpr SDL_Scancode SCANCODE_LALT
alt, option
Definition SDL3pp_scancode.h:612
constexpr SDL_Scancode SCANCODE_SOFTRIGHT
Usually situated below the display on phones and used as a multi-function feature key for selecting a...
Definition SDL3pp_scancode.h:718
constexpr SDL_Scancode SCANCODE_5
5
Definition SDL3pp_scancode.h:157
constexpr SDL_Scancode SCANCODE_F
F.
Definition SDL3pp_scancode.h:107
constexpr SDL_Scancode SCANCODE_KP_EXCLAM
KP_EXCLAM.
Definition SDL3pp_scancode.h:565
constexpr SDL_Scancode SCANCODE_FIND
AC Find.
Definition SDL3pp_scancode.h:398
constexpr SDL_Scancode SCANCODE_CURRENCYUNIT
CURRENCYUNIT.
Definition SDL3pp_scancode.h:498
constexpr SDL_Scancode SCANCODE_H
H.
Definition SDL3pp_scancode.h:111
constexpr SDL_Scancode SCANCODE_F14
F14.
Definition SDL3pp_scancode.h:355
constexpr SDL_Scancode SCANCODE_LANG5
Zenkaku/Hankaku.
Definition SDL3pp_scancode.h:450
constexpr SDL_Scancode SCANCODE_AC_OPEN
AC Open.
Definition SDL3pp_scancode.h:675
constexpr SDL_Scancode SCANCODE_BACKSLASH
Located at the lower left of the return key on ISO keyboards and at the right end of the QWERTY row o...
Definition SDL3pp_scancode.h:199
constexpr SDL_Scancode SCANCODE_KP_PERIOD
KP_PERIOD.
Definition SDL3pp_scancode.h:329
constexpr SDL_Scancode SCANCODE_KP_MEMMULTIPLY
KP_MEMMULTIPLY.
Definition SDL3pp_scancode.h:583
constexpr SDL_Scancode SCANCODE_KP_LEFTBRACE
KP_LEFTBRACE.
Definition SDL3pp_scancode.h:510
constexpr SDL_Scancode SCANCODE_SEMICOLON
SEMICOLON.
Definition SDL3pp_scancode.h:211
constexpr SDL_Scancode SCANCODE_KP_PLUSMINUS
KP_PLUSMINUS.
Definition SDL3pp_scancode.h:589
constexpr SDL_Scancode SCANCODE_INTERNATIONAL5
INTERNATIONAL5.
Definition SDL3pp_scancode.h:425
constexpr SDL_Scancode SCANCODE_COMMA
COMMA.
Definition SDL3pp_scancode.h:231
constexpr SDL_Scancode SCANCODE_AC_BACK
AC Back.
Definition SDL3pp_scancode.h:693
constexpr SDL_Scancode SCANCODE_KP_MULTIPLY
KP_MULTIPLY.
Definition SDL3pp_scancode.h:300
constexpr SDL_Scancode SCANCODE_MUTE
MUTE.
Definition SDL3pp_scancode.h:400
constexpr SDL_Scancode SCANCODE_CAPSLOCK
CAPSLOCK.
Definition SDL3pp_scancode.h:237
constexpr SDL_Scancode SCANCODE_APOSTROPHE
APOSTROPHE.
Definition SDL3pp_scancode.h:214
constexpr SDL_Scancode SCANCODE_SOFTLEFT
Usually situated below the display on phones and used as a multi-function feature key for selecting a...
Definition SDL3pp_scancode.h:711
constexpr SDL_Scancode SCANCODE_KP_SPACE
KP_SPACE.
Definition SDL3pp_scancode.h:561
constexpr SDL_Scancode SCANCODE_Z
Z.
Definition SDL3pp_scancode.h:147
constexpr SDL_Scancode SCANCODE_POWER
The USB document says this is a status flag, not a physical key - but some Mac keyboards do have a po...
Definition SDL3pp_scancode.h:348
constexpr SDL_Scancode SCANCODE_INTERNATIONAL3
Yen.
Definition SDL3pp_scancode.h:419
constexpr SDL_Scancode SCANCODE_LANG9
reserved
Definition SDL3pp_scancode.h:459
constexpr SDL_Scancode SCANCODE_AC_PROPERTIES
AC Properties.
Definition SDL3pp_scancode.h:685
constexpr SDL_Scancode SCANCODE_UNDO
AC Undo.
Definition SDL3pp_scancode.h:390
constexpr SDL_Scancode SCANCODE_7
7
Definition SDL3pp_scancode.h:161
constexpr SDL_Scancode SCANCODE_MEDIA_REWIND
Rewind.
Definition SDL3pp_scancode.h:653
constexpr SDL_Scancode SCANCODE_KP_00
KP_00.
Definition SDL3pp_scancode.h:488
constexpr SDL_Scancode SCANCODE_AC_PRINT
AC Print.
Definition SDL3pp_scancode.h:683
constexpr SDL_Scancode SCANCODE_PAGEUP
PAGEUP.
Definition SDL3pp_scancode.h:278
constexpr SDL_Scancode SCANCODE_I
I.
Definition SDL3pp_scancode.h:113
constexpr SDL_Scancode SCANCODE_EXECUTE
EXECUTE.
Definition SDL3pp_scancode.h:377
constexpr SDL_Scancode SCANCODE_INTERNATIONAL1
used on Asian keyboards, see footnotes in USB doc
Definition SDL3pp_scancode.h:412
constexpr SDL_Scancode SCANCODE_D
D.
Definition SDL3pp_scancode.h:103
constexpr SDL_Scancode SCANCODE_LEFT
LEFT.
Definition SDL3pp_scancode.h:288
constexpr SDL_Scancode SCANCODE_KP_HEXADECIMAL
KP_HEXADECIMAL.
Definition SDL3pp_scancode.h:605
constexpr SDL_Scancode SCANCODE_F12
F12.
Definition SDL3pp_scancode.h:261
constexpr SDL_Scancode SCANCODE_LGUI
windows, command (apple), meta
Definition SDL3pp_scancode.h:614
constexpr SDL_Scancode SCANCODE_NONUSHASH
ISO USB keyboards actually use this code instead of 49 for the same key, but all OSes I've seen treat...
Definition SDL3pp_scancode.h:209
constexpr SDL_Scancode SCANCODE_COUNT
not a key, just marks the number of scancodes for array bounds
Definition SDL3pp_scancode.h:732
constexpr SDL_Scancode SCANCODE_F15
F15.
Definition SDL3pp_scancode.h:357
constexpr SDL_Scancode SCANCODE_COPY
AC Copy.
Definition SDL3pp_scancode.h:394
constexpr SDL_Scancode SCANCODE_S
S.
Definition SDL3pp_scancode.h:133
constexpr SDL_Scancode SCANCODE_KP_TAB
KP_TAB.
Definition SDL3pp_scancode.h:516
constexpr SDL_Scancode SCANCODE_RGUI
windows, command (apple), meta
Definition SDL3pp_scancode.h:623
constexpr SDL_Scancode SCANCODE_OUT
OUT.
Definition SDL3pp_scancode.h:477
constexpr SDL_Scancode SCANCODE_PRIOR
PRIOR.
Definition SDL3pp_scancode.h:470
constexpr SDL_Scancode SCANCODE_KP_CLEARENTRY
KP_CLEARENTRY.
Definition SDL3pp_scancode.h:594
constexpr SDL_Scancode SCANCODE_X
X.
Definition SDL3pp_scancode.h:143
constexpr SDL_Scancode SCANCODE_RSHIFT
RSHIFT.
Definition SDL3pp_scancode.h:619
constexpr SDL_Scancode SCANCODE_F20
F20.
Definition SDL3pp_scancode.h:367
constexpr SDL_Scancode SCANCODE_LANG4
Hiragana.
Definition SDL3pp_scancode.h:448
constexpr SDL_Scancode SCANCODE_F21
F21.
Definition SDL3pp_scancode.h:369
constexpr SDL_Scancode SCANCODE_KP_VERTICALBAR
KP_VERTICALBAR.
Definition SDL3pp_scancode.h:551
constexpr SDL_Scancode SCANCODE_M
M.
Definition SDL3pp_scancode.h:121
constexpr SDL_Scancode SCANCODE_SYSREQ
SYSREQ.
Definition SDL3pp_scancode.h:464
constexpr SDL_Scancode SCANCODE_LSHIFT
LSHIFT.
Definition SDL3pp_scancode.h:610
constexpr SDL_Scancode SCANCODE_A
A.
Definition SDL3pp_scancode.h:97
constexpr SDL_Scancode SCANCODE_B
B.
Definition SDL3pp_scancode.h:99
constexpr SDL_Scancode SCANCODE_3
3
Definition SDL3pp_scancode.h:153
constexpr SDL_Scancode SCANCODE_LANG7
reserved
Definition SDL3pp_scancode.h:455
constexpr SDL_Scancode SCANCODE_2
2
Definition SDL3pp_scancode.h:151
constexpr SDL_Scancode SCANCODE_ESCAPE
ESCAPE.
Definition SDL3pp_scancode.h:171
constexpr SDL_Scancode SCANCODE_F22
F22.
Definition SDL3pp_scancode.h:371
constexpr SDL_Scancode SCANCODE_VOLUMEUP
VOLUMEUP.
Definition SDL3pp_scancode.h:402
constexpr SDL_Scancode SCANCODE_F5
F5.
Definition SDL3pp_scancode.h:247
constexpr SDL_Scancode SCANCODE_RCTRL
RCTRL.
Definition SDL3pp_scancode.h:617
constexpr SDL_Scancode SCANCODE_KP_CLEAR
KP_CLEAR.
Definition SDL3pp_scancode.h:592
constexpr SDL_Scancode SCANCODE_DOWN
DOWN.
Definition SDL3pp_scancode.h:290
constexpr SDL_Scancode SCANCODE_MEDIA_STOP
Stop.
Definition SDL3pp_scancode.h:662
constexpr SDL_Scancode SCANCODE_U
U.
Definition SDL3pp_scancode.h:137
constexpr SDL_Scancode SCANCODE_KP_1
KP_1.
Definition SDL3pp_scancode.h:309
constexpr SDL_Scancode SCANCODE_F9
F9.
Definition SDL3pp_scancode.h:255
constexpr SDL_Scancode SCANCODE_1
1
Definition SDL3pp_scancode.h:149
constexpr SDL_Scancode SCANCODE_KP_RIGHTBRACE
KP_RIGHTBRACE.
Definition SDL3pp_scancode.h:513
constexpr SDL_Scancode SCANCODE_TAB
TAB.
Definition SDL3pp_scancode.h:176
constexpr SDL_Scancode SCANCODE_BACKSPACE
BACKSPACE.
Definition SDL3pp_scancode.h:173
constexpr SDL_Scancode SCANCODE_INTERNATIONAL9
INTERNATIONAL9.
Definition SDL3pp_scancode.h:437
constexpr SDL_Scancode SCANCODE_INTERNATIONAL7
INTERNATIONAL7.
Definition SDL3pp_scancode.h:431
constexpr SDL_Scancode SCANCODE_F16
F16.
Definition SDL3pp_scancode.h:359
constexpr SDL_Scancode SCANCODE_KP_XOR
KP_XOR.
Definition SDL3pp_scancode.h:533
constexpr SDL_Scancode SCANCODE_AC_CLOSE
AC Close.
Definition SDL3pp_scancode.h:677
constexpr SDL_Scancode SCANCODE_KP_DBLVERTICALBAR
KP_DBLVERTICALBAR.
Definition SDL3pp_scancode.h:554
constexpr SDL_Scancode SCANCODE_GRAVE
Located in the top left corner (on both ANSI and ISO keyboards).
Definition SDL3pp_scancode.h:229
constexpr SDL_Scancode SCANCODE_KP_MEMRECALL
KP_MEMRECALL.
Definition SDL3pp_scancode.h:571
constexpr SDL_Scancode SCANCODE_MEDIA_FAST_FORWARD
Fast Forward.
Definition SDL3pp_scancode.h:650
constexpr SDL_Scancode SCANCODE_STOP
AC Stop.
Definition SDL3pp_scancode.h:386
constexpr SDL_Scancode SCANCODE_INTERNATIONAL2
INTERNATIONAL2.
Definition SDL3pp_scancode.h:416
constexpr SDL_Scancode SCANCODE_Y
Y.
Definition SDL3pp_scancode.h:145
constexpr SDL_Scancode SCANCODE_KP_5
KP_5.
Definition SDL3pp_scancode.h:317
constexpr SDL_Scancode SCANCODE_KP_6
KP_6.
Definition SDL3pp_scancode.h:319
constexpr SDL_Scancode SCANCODE_KP_AT
KP_AT.
Definition SDL3pp_scancode.h:563
constexpr SDL_Scancode SCANCODE_F19
F19.
Definition SDL3pp_scancode.h:365
constexpr SDL_Scancode SCANCODE_RESERVED
400-500 reserved for dynamic keycodes
Definition SDL3pp_scancode.h:726
constexpr SDL_Scancode SCANCODE_F24
F24.
Definition SDL3pp_scancode.h:375
constexpr SDL_Scancode SCANCODE_F3
F3.
Definition SDL3pp_scancode.h:243
constexpr SDL_Scancode SCANCODE_F7
F7.
Definition SDL3pp_scancode.h:251
constexpr SDL_Scancode SCANCODE_SLEEP
Sleep.
Definition SDL3pp_scancode.h:632
constexpr SDL_Scancode SCANCODE_KP_PERCENT
KP_PERCENT.
Definition SDL3pp_scancode.h:537
constexpr SDL_Scancode SCANCODE_Q
Q.
Definition SDL3pp_scancode.h:129
constexpr SDL_Scancode SCANCODE_KP_B
KP_B.
Definition SDL3pp_scancode.h:523
constexpr SDL_Scancode SCANCODE_MEDIA_RECORD
Record.
Definition SDL3pp_scancode.h:647
constexpr SDL_Scancode SCANCODE_APPLICATION
windows contextual menu, compose
Definition SDL3pp_scancode.h:341
constexpr SDL_Scancode SCANCODE_AC_STOP
AC Stop.
Definition SDL3pp_scancode.h:698
constexpr SDL_Scancode SCANCODE_F4
F4.
Definition SDL3pp_scancode.h:245
constexpr SDL_Scancode SCANCODE_INTERNATIONAL4
INTERNATIONAL4.
Definition SDL3pp_scancode.h:422
constexpr SDL_Scancode SCANCODE_F8
F8.
Definition SDL3pp_scancode.h:253
constexpr SDL_Scancode SCANCODE_HOME
HOME.
Definition SDL3pp_scancode.h:276
constexpr SDL_Scancode SCANCODE_AC_SAVE
AC Save.
Definition SDL3pp_scancode.h:681
constexpr SDL_Scancode SCANCODE_PERIOD
PERIOD.
Definition SDL3pp_scancode.h:233
constexpr SDL_Scancode SCANCODE_KP_BINARY
KP_BINARY.
Definition SDL3pp_scancode.h:597
constexpr SDL_Scancode SCANCODE_ENDCALL
Used for rejecting phone calls.
Definition SDL3pp_scancode.h:723
constexpr SDL_Scancode SCANCODE_CURRENCYSUBUNIT
CURRENCYSUBUNIT.
Definition SDL3pp_scancode.h:501
constexpr SDL_Scancode SCANCODE_F23
F23.
Definition SDL3pp_scancode.h:373
constexpr SDL_Scancode SCANCODE_CRSEL
CRSEL.
Definition SDL3pp_scancode.h:484
constexpr SDL_Scancode SCANCODE_CLEARAGAIN
CLEARAGAIN.
Definition SDL3pp_scancode.h:481
constexpr SDL_Scancode SCANCODE_6
6
Definition SDL3pp_scancode.h:159
constexpr SDL_Scancode SCANCODE_KP_MEMDIVIDE
KP_MEMDIVIDE.
Definition SDL3pp_scancode.h:586
constexpr SDL_Scancode SCANCODE_KP_EQUALS
KP_EQUALS.
Definition SDL3pp_scancode.h:350
constexpr SDL_Scancode SCANCODE_AC_HOME
AC Home.
Definition SDL3pp_scancode.h:691
constexpr SDL_Scancode SCANCODE_SELECT
SELECT.
Definition SDL3pp_scancode.h:384
constexpr SDL_Scancode SCANCODE_INTERNATIONAL8
INTERNATIONAL8.
Definition SDL3pp_scancode.h:434
constexpr SDL_Scancode SCANCODE_K
K.
Definition SDL3pp_scancode.h:117
constexpr SDL_Scancode SCANCODE_O
O.
Definition SDL3pp_scancode.h:125
constexpr SDL_Scancode SCANCODE_LEFTBRACKET
LEFTBRACKET.
Definition SDL3pp_scancode.h:184
constexpr SDL_Scancode SCANCODE_KP_MEMSTORE
KP_MEMSTORE.
Definition SDL3pp_scancode.h:568
constexpr SDL_Scancode SCANCODE_WAKE
Wake.
Definition SDL3pp_scancode.h:634
constexpr SDL_Scancode SCANCODE_F10
F10.
Definition SDL3pp_scancode.h:257
constexpr SDL_Scancode SCANCODE_CALL
Used for accepting phone calls.
Definition SDL3pp_scancode.h:720
constexpr SDL_Scancode SCANCODE_CUT
AC Cut.
Definition SDL3pp_scancode.h:392
constexpr SDL_Scancode SCANCODE_F6
F6.
Definition SDL3pp_scancode.h:249
constexpr SDL_Scancode SCANCODE_F13
F13.
Definition SDL3pp_scancode.h:353
constexpr SDL_Scancode SCANCODE_NUMLOCKCLEAR
num lock on PC, clear on Mac keyboards
Definition SDL3pp_scancode.h:294
constexpr SDL_Scancode SCANCODE_KP_POWER
KP_POWER.
Definition SDL3pp_scancode.h:535
constexpr SDL_Scancode SCANCODE_MEDIA_PLAY_PAUSE
Play / Pause.
Definition SDL3pp_scancode.h:667
constexpr SDL_Scancode SCANCODE_INSERT
insert on PC, help on some Mac keyboards (but does send code 73, not 117)
Definition SDL3pp_scancode.h:274
constexpr SDL_Scancode SCANCODE_MEDIA_PREVIOUS_TRACK
Previous Track.
Definition SDL3pp_scancode.h:659
constexpr SDL_Scancode SCANCODE_KP_MEMCLEAR
KP_MEMCLEAR.
Definition SDL3pp_scancode.h:574
constexpr SDL_Scancode SCANCODE_AGAIN
AC Redo/Repeat.
Definition SDL3pp_scancode.h:388
constexpr SDL_Scancode SCANCODE_KP_C
KP_C.
Definition SDL3pp_scancode.h:525
constexpr SDL_Scancode SCANCODE_AC_BOOKMARKS
AC Bookmarks.
Definition SDL3pp_scancode.h:703
the main namespace where all SDL3pp public functions and types live
Definition SDL3pp_assert.h:7