Key Constants

KEYSCANCODE_F3 - 61
KEYSCANCODE_ESCAPE - 1
KEYSCANCODE_DECIMAL7_AMPERSAND - 8
SDLK_s - 115
KEYSCANCODE_TILDE_GRAVEACCENT - 41
KEYSCANCODE_DECIMAL1_EXCLAMATION - 2
KEYSCANCODE_K - 37
KEYSCANCODE_DECIMAL6_CARET - 7
KEYSCANCODE_C - 46
KEYSCANCODE_DECIMAL3_HASH - 4
KEYSCANCODE_DECIMAL2_AT - 3
KEYSCANCODE_DECIMAL4_DOLLAR - 5
KEYSCANCODE_RIGHTALT - 184
KEYSCANCODE_DECIMAL8_DECIMALASTERISK - 9
KEYSCANCODE_F5 - 63
KEYSCANCODE_DECIMAL5_PERCENTAGE - 6
KEYSCANCODE_DECIMAL9_LEFTPARENTHESIS - 10
KEYSCANCODE_DECIMAL0_RIGHTPARENTHESIS - 11
KEYSCANCODE_N - 49
KEYSCANCODE_DECIMALMINUS_UNDERSCORE - 12
KEYSCANCODE_COMMA_LESSTHAN - 51
KEYSCANCODE_D - 32
KEYSCANCODE_EQUAL_DECIMALPLUS - 13
KEYSCANCODE_BACKSPACE - 14
KEYSCANCODE_I - 23
KEYSCANCODE_Y - 21
SDLK_KP_8 - 1073741920
SDLK_BACKSLASH - 92
KEYSCANCODE_TAB - 15
SDLK_KP_000 - 1073742001
KEYSCANCODE_Q - 16
KEYSCANCODE_W - 17
KEYSCANCODE_E - 18
KMOD_RSHIFT - 2
KEYSCANCODE_R - 19
KEYSCANCODE_T - 20
KEYSCANCODE_U - 22
KEYSCANCODE_O - 24
SDLK_KP_1 - 1073741913
KEYSCANCODE_RIGHTSHIFT - 54
SDLK_KP_COLON - 1073742027
KEYSCANCODE_P - 25
SDLK_KP_2 - 1073741914
KEYSCANCODE_FULLSTOP_GREATERTHAN - 52
SDLK_KP_ENTER - 1073741912
KEYSCANCODE_S - 31
SDLK_BRIGHTNESSUP - 1073742100
SDLK_AC_BACK - 1073742094
SDLK_KP_MEMCLEAR - 1073742034
KEYSCANCODE_DELETE - 211
KEYSCANCODE_LEFTSQUAREBRACKET_LEFTBRACE - 26
SDLK_UNKNOWN - 0
KEYSCANCODE_RIGHTSQUAREBRACKET_RIGHTBRACE - 27
KEYSCANCODE_ENTER - 28
SDLK_COPY - 1073741948
SDLK_w - 119
KEYSCANCODE_SPACE - 57
KEYSCANCODE_LEFTCONTROL - 29
KEYSCANCODE_A - 30
KEYSCANCODE_F - 33
KEYSCANCODE_G - 34
SDLK_SYSREQ - 1073741978
KEYSCANCODE_CAPSLOCK - 58
KEYSCANCODE_H - 35
SDLK_SEMICOLON - 59
KEYSCANCODE_CALCULATOR - 161
KEYSCANCODE_J - 36
KEYSCANCODE_L - 38
SDLK_QUOTEDBL - 34
KEYSCANCODE_SEMICOLON_COLON - 39
SDLK_F10 - 1073741891
KEYSCANCODE_SINGLEQUOTE_DOUBLEQUOTE - 40
KEYSCANCODE_NUMLOCK - 197
KEYSCANCODE_LEFTSHIFT - 42
SDLK_5 - 53
KEYSCANCODE_BACKSLASH_SEPARATOR - 43
KEYSCANCODE_Z - 44
SDLK_TAB - 9
KEYSCANCODE_X - 45
SDLK_KP_XOR - 1073742018
KEYSCANCODE_V - 47
KEYSCANCODE_APPLICATION - 221
KEYSCANCODE_B - 48
KEYSCANCODE_UP - 200
KEYSCANCODE_M - 50
KMOD_NUM - 4096
KEYSCANCODE_FORWARDSLASH_QUESTIONMARK - 53
KEYSCANCODE_NUMPAD_ASTERISK - 55
KEYSCANCODE_F6 - 64
KEYSCANCODE_LEFTALT - 56
KEYSCANCODE_F1 - 59
KEYSCANCODE_F2 - 60
KEYSCANCODE_F4 - 62
SDLK_RIGHTPAREN - 41
KEYSCANCODE_F7 - 65
KEYSCANCODE_F8 - 66
KEYSCANCODE_F9 - 67
KEYSCANCODE_F10 - 68
KEYSCANCODE_PAUSE - 69
SDLK_KP_BACKSPACE - 1073742011
SDLK_F3 - 1073741884
KEYSCANCODE_SCROLLLOCK - 70
KEYSCANCODE_NUMPAD7_NUMPADHOME - 71
SDLK_KP_3 - 1073741915
KEYSCANCODE_NUMPAD8_NUMPADUP - 72
KEYSCANCODE_NUMPAD9_NUMPADPAGEUP - 73
SDLK_QUOTE - 39
KEYSCANCODE_NUMPADMINUS - 74
KEYSCANCODE_NUMPAD4_NUMPADLEFT - 75
SDLK_KP_LEFTPAREN - 1073742006
KEYSCANCODE_NUMPAD5 - 76
SDLK_d - 100
KEYSCANCODE_NUMPAD6_NUMPADRIGHT - 77
KMOD_LGUI - 1024
KEYSCANCODE_NUMPADPLUS - 78
KEYSCANCODE_NUMPAD1_NUMPADEND - 79
KMOD_ALT - 768
KEYSCANCODE_NUMPAD2_NUMPADDOWN - 80
SDLK_NUMLOCKCLEAR - 1073741907
KEYSCANCODE_NUMPAD3_NUMPADPAGEDOWN - 81
SDLK_CURRENCYSUBUNIT - 1073742005
SDLK_INSERT - 1073741897
KEYSCANCODE_NUMPAD0_NUMPADINSERT - 82
KEYSCANCODE_NUMPADFULLSTOP_NUMPADDELETE - 83
SDLK_AUDIOMUTE - 1073742086
KEYSCANCODE_F11 - 87
KEYSCANCODE_F12 - 88
KEYSCANCODE_NUMPADENTER - 156
SDLK_F22 - 1073741937
SDLK_KP_6 - 1073741918
KEYSCANCODE_HOME - 199
KEYSCANCODE_RIGHTCONTROL - 157
KEYSCANCODE_NUMPADFORWARDSLASH - 181
SDLK_F21 - 1073741936
SDLK_KP_5 - 1073741917
KEYSCANCODE_PAGEUP - 201
KEYSCANCODE_LEFT - 203
KEYSCANCODE_RIGHT - 205
KEYSCANCODE_END - 207
SDLK_F5 - 1073741886
KEYSCANCODE_DOWN - 208
SDLK_DISPLAYSWITCH - 1073742101
SDLK_AC_HOME - 1073742093
KEYSCANCODE_PAGEDOWN - 209
SDLK_8 - 56
KEYSCANCODE_INSERT - 210
SDLK_KP_OCTAL - 1073742043
KEYSCANCODE_PLAYPAUSE - 162
SDLK_DELETE - 127
KEYSCANCODE_VOLUMEDOWN - 174
KEYSCANCODE_VOLUMEUP - 176
SDLK_RETURN2 - 1073741982
KEYSCANCODE_MUTE - 160
KEYSCANCODE_PREVIOUSTRACK - 144
KEYSCANCODE_NEXTTRACK - 153
SDLK_i - 105
KEYSCANCODE_WEBBROWSER - 178
SDLK_KP_MINUS - 1073741910
KEYSCANCODE_PRINTSCREEN - 183
SDLK_KP_MEMMULTIPLY - 1073742037
SDLK_KP_C - 1073742014
KEYSCANCODE_LEFTWINDOWS - 219
KEYSCANCODE_RIGHTWINDOWS - 220
SDLK_KP_F - 1073742017
SDLK_z - 122
SDLK_RETURN - 13
SDLK_F18 - 1073741933
SDLK_COMMA - 44
SDLK_ESCAPE - 27
SDLK_LEFTPAREN - 40
SDLK_BACKSPACE - 8
SDLK_SPACE - 32
SDLK_EXCLAIM - 33
SDLK_HASH - 35
SDLK_PERCENT - 37
SDLK_DOLLAR - 36
SDLK_AMPERSAND - 38
SDLK_AUDIOPLAY - 1073742085
SDLK_4 - 52
SDLK_ASTERISK - 42
SDLK_F20 - 1073741935
SDLK_KP_4 - 1073741916
SDLK_PLUS - 43
SDLK_MINUS - 45
SDLK_MUTE - 1073741951
SDLK_PERIOD - 46
SDLK_SLASH - 47
SDLK_0 - 48
SDLK_1 - 49
SDLK_CAPSLOCK - 1073741881
SDLK_2 - 50
SDLK_3 - 51
SDLK_6 - 54
SDLK_7 - 55
SDLK_MODE - 1073742081
SDLK_9 - 57
SDLK_COLON - 58
SDLK_LESS - 60
SDLK_EQUALS - 61
SDLK_KP_MEMSTORE - 1073742032
SDLK_GREATER - 62
SDLK_QUESTION - 63
KMOD_SHIFT - 3
SDLK_AT - 64
SDLK_LEFTBRACKET - 91
SDLK_RIGHTBRACKET - 93
SDLK_RCTRL - 1073742052
SDLK_CARET - 94
SDLK_UNDERSCORE - 95
SDLK_BACKQUOTE - 96
SDLK_a - 97
SDLK_b - 98
SDLK_c - 99
SDLK_e - 101
SDLK_f - 102
SDLK_KP_EQUALS - 1073741927
SDLK_g - 103
SDLK_h - 104
SDLK_j - 106
SDLK_k - 107
SDLK_l - 108
SDLK_KP_HEXADECIMAL - 1073742045
SDLK_m - 109
SDLK_AC_FORWARD - 1073742095
SDLK_n - 110
SDLK_o - 111
SDLK_p - 112
SDLK_q - 113
SDLK_r - 114
SDLK_t - 116
SDLK_u - 117
SDLK_v - 118
SDLK_KP_D - 1073742015
SDLK_x - 120
SDLK_KP_E - 1073742016
SDLK_KP_EQUALSAS400 - 1073741958
SDLK_y - 121
SDLK_F1 - 1073741882
SDLK_F2 - 1073741883
SDLK_F4 - 1073741885
SDLK_F6 - 1073741887
SDLK_F7 - 1073741888
SDLK_F8 - 1073741889
SDLK_POWER - 1073741926
SDLK_F9 - 1073741890
SDLK_F11 - 1073741892
SDLK_F12 - 1073741893
SDLK_PRINTSCREEN - 1073741894
SDLK_SCROLLLOCK - 1073741895
SDLK_PAUSE - 1073741896
SDLK_EXECUTE - 1073741940
SDLK_HOME - 1073741898
SDLK_PAGEUP - 1073741899
SDLK_END - 1073741901
SDLK_PAGEDOWN - 1073741902
SDLK_DECIMALSEPARATOR - 1073742003
SDLK_RIGHT - 1073741903
SDLK_LEFT - 1073741904
SDLK_DOWN - 1073741905
SDLK_UP - 1073741906
SDLK_KP_DIVIDE - 1073741908
SDLK_KP_MULTIPLY - 1073741909
SDLK_KP_PLUS - 1073741911
SDLK_F23 - 1073741938
SDLK_KP_7 - 1073741919
SDLK_KP_9 - 1073741921
SDLK_F24 - 1073741939
SDLK_KP_0 - 1073741922
SDLK_KP_PERIOD - 1073741923
SDLK_APPLICATION - 1073741925
SDLK_UNDO - 1073741946
SDLK_F13 - 1073741928
SDLK_F14 - 1073741929
SDLK_F15 - 1073741930
SDLK_CLEAR - 1073741980
SDLK_F16 - 1073741931
SDLK_F17 - 1073741932
SDLK_F19 - 1073741934
SDLK_HELP - 1073741941
SDLK_SEPARATOR - 1073741983
SDLK_MENU - 1073741942
SDLK_SELECT - 1073741943
SDLK_KP_MEMRECALL - 1073742033
SDLK_KP_EXCLAM - 1073742031
SDLK_STOP - 1073741944
SDLK_AGAIN - 1073741945
SDLK_CUT - 1073741947
SDLK_SLEEP - 1073742106
SDLK_PASTE - 1073741949
SDLK_FIND - 1073741950
SDLK_VOLUMEUP - 1073741952
SDLK_VOLUMEDOWN - 1073741953
SDLK_KP_COMMA - 1073741957
SDLK_ALTERASE - 1073741977
SDLK_CANCEL - 1073741979
SDLK_PRIOR - 1073741981
SDLK_OUT - 1073741984
SDLK_OPER - 1073741985
SDLK_CLEARAGAIN - 1073741986
SDLK_CRSEL - 1073741987
SDLK_EXSEL - 1073741988
SDLK_KP_00 - 1073742000
KMOD_RALT - 512
SDLK_KP_B - 1073742013
SDLK_THOUSANDSSEPARATOR - 1073742002
SDLK_CURRENCYUNIT - 1073742004
SDLK_KP_RIGHTPAREN - 1073742007
SDLK_KP_LEFTBRACE - 1073742008
SDLK_KP_RIGHTBRACE - 1073742009
SDLK_KP_TAB - 1073742010
SDLK_MAIL - 1073742089
SDLK_KP_A - 1073742012
SDLK_KP_DBLAMPERSAND - 1073742024
SDLK_KP_POWER - 1073742019
SDLK_KP_PERCENT - 1073742020
SDLK_KP_LESS - 1073742021
SDLK_KP_GREATER - 1073742022
SDLK_KP_AMPERSAND - 1073742023
KMOD_RESERVED - 32768
SDLK_LGUI - 1073742051
SDLK_KP_VERTICALBAR - 1073742025
SDLK_KP_DBLVERTICALBAR - 1073742026
SDLK_KBDILLUMDOWN - 1073742103
SDLK_KP_HASH - 1073742028
SDLK_KP_SPACE - 1073742029
SDLK_KP_AT - 1073742030
SDLK_KP_MEMADD - 1073742035
SDLK_KP_MEMSUBTRACT - 1073742036
SDLK_KP_MEMDIVIDE - 1073742038
SDLK_KP_PLUSMINUS - 1073742039
KMOD_NONE - 0
SDLK_KP_CLEAR - 1073742040
SDLK_AUDIOPREV - 1073742083
SDLK_AUDIONEXT - 1073742082
SDLK_KP_CLEARENTRY - 1073742041
SDLK_COMPUTER - 1073742091
SDLK_KP_BINARY - 1073742042
SDLK_KP_DECIMAL - 1073742044
SDLK_AC_STOP - 1073742096
SDLK_LCTRL - 1073742048
SDLK_LSHIFT - 1073742049
SDLK_LALT - 1073742050
SDLK_RSHIFT - 1073742053
SDLK_RALT - 1073742054
SDLK_RGUI - 1073742055
SDLK_AUDIOSTOP - 1073742084
SDLK_MEDIASELECT - 1073742087
SDLK_WWW - 1073742088
SDLK_CALCULATOR - 1073742090
SDLK_AC_SEARCH - 1073742092
SDLK_AC_REFRESH - 1073742097
SDLK_AC_BOOKMARKS - 1073742098
SDLK_BRIGHTNESSDOWN - 1073742099
SDLK_KBDILLUMTOGGLE - 1073742102
SDLK_KBDILLUMUP - 1073742104
SDLK_EJECT - 1073742105
KMOD_LSHIFT - 1
KMOD_LCTRL - 64
KMOD_RCTRL - 128
KMOD_LALT - 256
KMOD_RGUI - 2048
KMOD_CAPS - 8192
KMOD_MODE - 16384
KMOD_CTRL - 192
KMOD_GUI - 3072