Value | Meaning |
---|---|
UnknownSDLK_UNKNOWN | |
ReturnSDLK_RETURN | |
EscapeSDLK_ESCAPE | |
BackspaceSDLK_BACKSPACE | |
TabSDLK_TAB | |
SpaceSDLK_SPACE | |
ExclaimSDLK_EXCLAIM | |
QuoteDblSDLK_QUOTEDBL | |
HashSDLK_HASH | |
PercentSDLK_PERCENT | |
DollarSDLK_DOLLAR | |
AmpersandSDLK_AMPERSAND | |
QuoteSDLK_QUOTE | |
LeftparenSDLK_LEFTPAREN | |
RightparenSDLK_RIGHTPAREN | |
AsteriskSDLK_ASTERISK | |
PlusSDLK_PLUS | |
CommaSDLK_COMMA | |
MinusSDLK_MINUS | |
PeriodSDLK_PERIOD | |
SlashSDLK_SLASH | |
ZeroSDLK_0 | |
OneSDLK_1 | |
TwoSDLK_2 | |
ThreeSDLK_3 | |
FourSDLK_4 | |
FiveSDLK_5 | |
SixSDLK_6 | |
SevenSDLK_7 | |
EightSDLK_8 | |
NineSDLK_9 | |
KP_BinarySDLK_KP_BINARY | |
ColonSDLK_COLON | |
SemicolonSDLK_SEMICOLON | |
LessSDLK_LESS | |
EqualsSDLK_EQUALS | |
GreaterSDLK_GREATER | |
QuestionSDLK_QUESTION | |
AtSDLK_AT | |
LeftBracketSDLK_LEFTBRACKET | |
BackslashSDLK_BACKSLASH | |
RightBracketSDLK_RIGHTBRACKET | |
CaretSDLK_CARET | |
UnderscoreSDLK_UNDERSCORE | |
BackquoteSDLK_BACKQUOTE | |
ASDLK_a | |
BSDLK_b | |
CSDLK_c | |
DSDLK_d | |
ESDLK_e | |
FSDLK_f | |
GSDLK_g | |
HSDLK_h | |
ISDLK_i | |
JSDLK_j | |
KSDLK_k | |
LSDLK_l | |
MSDLK_m | |
NSDLK_n | |
OSDLK_o | |
PSDLK_p | |
QSDLK_q | |
RSDLK_r | |
SSDLK_s | |
TSDLK_t | |
USDLK_u | |
VSDLK_v | |
WSDLK_w | |
XSDLK_x | |
YSDLK_y | |
ZSDLK_z | |
CapsLockSDLK_CAPSLOCK | |
F1SDLK_F1 | |
F2SDLK_F2 | |
F3SDLK_F3 | |
F4SDLK_F4 | |
F5SDLK_F5 | |
F6SDLK_F6 | |
F7SDLK_F7 | |
F8SDLK_F8 | |
F9SDLK_F9 | |
F10SDLK_F10 | |
F11SDLK_F11 | |
F12SDLK_F12 | |
PrintScreenSDLK_PRINTSCREEN | |
ScrollLockSDLK_SCROLLLOCK | |
PauseSDLK_PAUSE | |
InsertSDLK_INSERT | |
HomeSDLK_HOME | |
PageUpSDLK_PAGEUP | |
DeleteSDLK_DELETE | |
EndSDLK_END | |
PageDownSDLK_PAGEDOWN | |
RightSDLK_RIGHT | |
LeftSDLK_LEFT | |
DownSDLK_DOWN | |
UpSDLK_UP | |
NumLockClearSDLK_NUMLOCKCLEAR | |
KP_DivideSDLK_KP_DIVIDE | |
KP_MultiplySDLK_KP_MULTIPLY | |
KP_MinusSDLK_KP_MINUS | |
KP_PlusSDLK_KP_PLUS | |
KP_EnterSDLK_KP_ENTER | |
KP_1SDLK_KP_1 | |
KP_2SDLK_KP_2 | |
KP_3SDLK_KP_3 | |
KP_4SDLK_KP_4 | |
KP_5SDLK_KP_5 | |
KP_6SDLK_KP_6 | |
KP_7SDLK_KP_7 | |
KP_8SDLK_KP_8 | |
KP_9SDLK_KP_9 | |
KP_0SDLK_KP_0 | |
KP_PeriodSDLK_KP_PERIOD | |
ApplicationSDLK_APPLICATION | |
PowerSDLK_POWER | |
KP_EqualsSDLK_KP_EQUALS | |
F13SDLK_F13 | |
F14SDLK_F14 | |
F15SDLK_F15 | |
F16SDLK_F16 | |
F17SDLK_F17 | |
F18SDLK_F18 | |
F19SDLK_F19 | |
F20SDLK_F20 | |
F21SDLK_F21 | |
F22SDLK_F22 | |
F23SDLK_F23 | |
F24SDLK_F24 | |
ExecuteSDLK_EXECUTE | |
HelpSDLK_HELP | |
MenuSDLK_MENU | |
SelectSDLK_SELECT | |
StopSDLK_STOP | |
AgainSDLK_AGAIN | |
UndoSDLK_UNDO | |
CutSDLK_CUT | |
CopySDLK_COPY | |
PasteSDLK_PASTE | |
FindSDLK_FIND | |
MuteSDLK_MUTE | |
VolumeUpSDLK_VOLUMEUP | |
VolumeDownSDLK_VOLUMEDOWN | |
KP_CommaSDLK_KP_COMMA | |
KP_EqualsAS400SDLK_KP_EQUALSAS400 | |
AltEraseSDLK_ALTERASE | |
SysReqSDLK_SYSREQ | |
CancelSDLK_CANCEL | |
ClearSDLK_CLEAR | |
PriorSDLK_PRIOR | |
Return2SDLK_RETURN2 | |
SeparatorSDLK_SEPARATOR | |
OutSDLK_OUT | |
OperSDLK_OPER | |
ClearAgainSDLK_CLEARAGAIN | |
CrSelSDLK_CRSEL | |
ExSelSDLK_EXSEL | |
KP_00SDLK_KP_00 | |
KP_000SDLK_KP_000 | |
ThousandsSeparatorSDLK_THOUSANDSSEPARATOR | |
DecimalSeparatorSDLK_DECIMALSEPARATOR | |
CurrencyUnitSDLK_CURRENCYUNIT | |
CurrencySubunitSDLK_CURRENCYSUBUNIT | |
KP_LeftParenSDLK_KP_LEFTPAREN | |
KP_RightParenSDLK_KP_RIGHTPAREN | |
KP_LeftBraceSDLK_KP_LEFTBRACE | |
KP_RightBraceSDLK_KP_RIGHTBRACE | |
KP_TabSDLK_KP_TAB | |
KP_BackspaceSDLK_KP_BACKSPACE | |
KP_ASDLK_KP_A | |
KP_BSDLK_KP_B | |
KP_CSDLK_KP_C | |
KP_DSDLK_KP_D | |
KP_ESDLK_KP_E | |
KP_FSDLK_KP_F | |
SDLK_KP_XOR | |
KP_PowerSDLK_KP_POWER | |
KP_PercentSDLK_KP_PERCENT | |
KP_LessSDLK_KP_LESS | |
KP_GreaterSDLK_KP_GREATER | |
KP_AmpersandSDLK_KP_AMPERSAND | |
KP_DblAmpersandSDLK_KP_DBLAMPERSAND | |
KP_VerticalBarSDLK_KP_VERTICALBAR | |
KP_DblVerticalBarSDLK_KP_DBLVERTICALBAR | |
KP_ColonSDLK_KP_COLON | |
KP_HashSDLK_KP_HASH | |
KP_SpaceSDLK_KP_SPACE | |
KP_AtSDLK_KP_AT | |
KP_ExclamSDLK_KP_EXCLAM | |
KP_MemStoreSDLK_KP_MEMSTORE | |
KP_MemRecallSDLK_KP_MEMRECALL | |
KP_MemClearSDLK_KP_MEMCLEAR | |
KP_MemAddSDLK_KP_MEMADD | |
KP_MemSubtractSDLK_KP_MEMSUBTRACT | |
KP_MemMultiplySDLK_KP_MEMMULTIPLY | |
KP_MemDivideSDLK_KP_MEMDIVIDE | |
KP_PlusminusSDLK_KP_PLUSMINUS | |
KP_ClearSDLK_KP_CLEAR | |
KP_ClearEntrySDLK_KP_CLEARENTRY | |
KP_OctalSDLK_KP_OCTAL | |
KP_DecimalSDLK_KP_DECIMAL | |
KP_HexadecimalSDLK_KP_HEXADECIMAL | |
LCtrlSDLK_LCTRL | |
LShiftSDLK_LSHIFT | |
LAltSDLK_LALT | |
LGuiSDLK_LGUI | |
RCtrlSDLK_RCTRL | |
RShiftSDLK_RSHIFT | |
RAltSDLK_RALT | |
RGuiSDLK_RGUI | |
ModeSDLK_MODE | |
AudioNextSDLK_AUDIONEXT | |
AudioStopSDLK_AUDIOSTOP | |
AudioPrevSDLK_AUDIOPREV | |
AudioPlaySDLK_AUDIOPLAY | |
AudioMuteSDLK_AUDIOMUTE | |
MediaSelectSDLK_MEDIASELECT | |
WWWSDLK_WWW | |
MailSDLK_MAIL | |
CalculatorSDLK_CALCULATOR | |
ComputerSDLK_COMPUTER | |
AC_SearchSDLK_AC_SEARCH | |
AC_HomeSDLK_AC_HOME | |
AC_BackSDLK_AC_BACK | |
AC_ForwardSDLK_AC_FORWARD | |
AC_StopSDLK_AC_STOP | |
AC_RefreshSDLK_AC_REFRESH | |
AC_BookmarksSDLK_AC_BOOKMARKS | |
BrightnessDownSDLK_BRIGHTNESSDOWN | |
BrightnessUpSDLK_BRIGHTNESSUP | |
DisplaySwitchSDLK_DISPLAYSWITCH | |
KBDillumToggleSDLK_KBDILLUMTOGGLE | |
KBDillumDownSDLK_KBDILLUMDOWN | |
KBDillumUpSDLK_KBDILLUMUP | |
EjectSDLK_EJECT | |
SleepSDLK_SLEEP |
A type-safe key code enum.
Enumerates keycodes (e.g. Key.Y refers to where Y is in the current keyboard layout), not scancodes (where Y would refer to a physical key where Y can be found on a US QWERTY keyboard). Scancodes are unsafe because keyboards have various keys and some platforms (e.g. Solaris) report completely different scancodes than others.