SDL_keycode.h File Reference
`#include "SDL_stdinc.h"`
`#include "SDL_scancode.h"`
Include dependency graph for SDL_keycode.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

## Macros

#define | SDLK_SCANCODE_MASK (1<<30)
#define | SDL_SCANCODE_TO_KEYCODE(X)

## Typedefs

typedef Sint32 | SDL_Keycode

## Enumerations

enum

SDL_KeyCode {
SDLK_UNKNOWN = 0 ,
SDLK_RETURN = '\r' ,
SDLK_ESCAPE = '\x1B' ,
SDLK_BACKSPACE = '\b' ,
SDLK_TAB = '\t' ,
SDLK_SPACE = ' ' ,
SDLK_EXCLAIM = '!' ,
SDLK_QUOTEDBL = '"' ,
SDLK_HASH = '#' ,
SDLK_PERCENT = '' ,
SDLK_DOLLAR = '$' ,
SDLK_AMPERSAND = '&' ,
SDLK_QUOTE = '\'' ,
SDLK_LEFTPAREN = '(' ,
SDLK_RIGHTPAREN = ')' ,
SDLK_ASTERISK = '*' ,
SDLK_PLUS = '+' ,
SDLK_COMMA = ',' ,
SDLK_MINUS = '-' ,
SDLK_PERIOD = '.' ,
SDLK_SLASH = '/' ,
SDLK_0 = '0' ,
SDLK_1 = '1' ,
SDLK_2 = '2' ,
SDLK_3 = '3' ,
SDLK_4 = '4' ,
SDLK_5 = '5' ,
SDLK_6 = '6' ,
SDLK_7 = '7' ,
SDLK_8 = '8' ,
SDLK_9 = '9' ,
SDLK_COLON = ':' ,
SDLK_SEMICOLON = ';' ,
SDLK_LESS = '<' ,
SDLK_EQUALS = '=' ,
SDLK_GREATER = '>' ,
SDLK_QUESTION = '?' ,
SDLK_AT = '@' ,
SDLK_LEFTBRACKET = '[' ,
SDLK_BACKSLASH = '\\' ,
SDLK_RIGHTBRACKET = ']' ,
SDLK_CARET = '^' ,
SDLK_UNDERSCORE = '_' ,
SDLK_BACKQUOTE = '`' ,
SDLK_a = 'a' ,
SDLK_b = 'b' ,
SDLK_c = 'c' ,
SDLK_d = 'd' ,
SDLK_e = 'e' ,
SDLK_f = 'f' ,
SDLK_g = 'g' ,
SDLK_h = 'h' ,
SDLK_i = 'i' ,
SDLK_j = 'j' ,
SDLK_k = 'k' ,
SDLK_l = 'l' ,
SDLK_m = 'm' ,
SDLK_n = 'n' ,
SDLK_o = 'o' ,
SDLK_p = 'p' ,
SDLK_q = 'q' ,
SDLK_r = 'r' ,
SDLK_s = 's' ,
SDLK_t = 't' ,
SDLK_u = 'u' ,
SDLK_v = 'v' ,
SDLK_w = 'w' ,
SDLK_x = 'x' ,
SDLK_y = 'y' ,
SDLK_z = 'z' ,
SDLK_CAPSLOCK = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_CAPSLOCK) ,
SDLK_F1 = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_F1) ,
SDLK_F2 = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_F2) ,
SDLK_F3 = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_F3) ,
SDLK_F4 = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_F4) ,
SDLK_F5 = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_F5) ,
SDLK_F6 = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_F6) ,
SDLK_F7 = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_F7) ,
SDLK_F8 = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_F8) ,
SDLK_F9 = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_F9) ,
SDLK_F10 = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_F10) ,
SDLK_F11 = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_F11) ,
SDLK_F12 = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_F12) ,
SDLK_PRINTSCREEN = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_PRINTSCREEN) ,
SDLK_SCROLLLOCK = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_SCROLLLOCK) ,
SDLK_PAUSE = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_PAUSE) ,
SDLK_INSERT = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_INSERT) ,
SDLK_HOME = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_HOME) ,
SDLK_PAGEUP = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_PAGEUP) ,
SDLK_DELETE = '\x7F' ,
SDLK_END = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_END) ,
SDLK_PAGEDOWN = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_PAGEDOWN) ,
SDLK_RIGHT = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_RIGHT) ,
SDLK_LEFT = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_LEFT) ,
SDLK_DOWN = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_DOWN) ,
SDLK_UP = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_UP) ,
SDLK_NUMLOCKCLEAR = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_NUMLOCKCLEAR) ,
SDLK_KP_DIVIDE = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_DIVIDE) ,
SDLK_KP_MULTIPLY = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_MULTIPLY) ,
SDLK_KP_MINUS = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_MINUS) ,
SDLK_KP_PLUS = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_PLUS) ,
SDLK_KP_ENTER = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_ENTER) ,
SDLK_KP_1 = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_1) ,
SDLK_KP_2 = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_2) ,
SDLK_KP_3 = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_3) ,
SDLK_KP_4 = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_4) ,
SDLK_KP_5 = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_5) ,
SDLK_KP_6 = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_6) ,
SDLK_KP_7 = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_7) ,
SDLK_KP_8 = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_8) ,
SDLK_KP_9 = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_9) ,
SDLK_KP_0 = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_0) ,
SDLK_KP_PERIOD = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_PERIOD) ,
SDLK_APPLICATION = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_APPLICATION) ,
SDLK_POWER = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_POWER) ,
SDLK_KP_EQUALS = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_EQUALS) ,
SDLK_F13 = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_F13) ,
SDLK_F14 = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_F14) ,
SDLK_F15 = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_F15) ,
SDLK_F16 = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_F16) ,
SDLK_F17 = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_F17) ,
SDLK_F18 = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_F18) ,
SDLK_F19 = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_F19) ,
SDLK_F20 = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_F20) ,
SDLK_F21 = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_F21) ,
SDLK_F22 = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_F22) ,
SDLK_F23 = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_F23) ,
SDLK_F24 = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_F24) ,
SDLK_EXECUTE = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_EXECUTE) ,
SDLK_HELP = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_HELP) ,
SDLK_MENU = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_MENU) ,
SDLK_SELECT = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_SELECT) ,
SDLK_STOP = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_STOP) ,
SDLK_AGAIN = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_AGAIN) ,
SDLK_UNDO = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_UNDO) ,
SDLK_CUT = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_CUT) ,
SDLK_COPY = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_COPY) ,
SDLK_PASTE = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_PASTE) ,
SDLK_FIND = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_FIND) ,
SDLK_MUTE = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_MUTE) ,
SDLK_VOLUMEUP = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_VOLUMEUP) ,
SDLK_VOLUMEDOWN = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_VOLUMEDOWN) ,
SDLK_KP_COMMA = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_COMMA) ,
SDLK_KP_EQUALSAS400 ,
SDLK_ALTERASE = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_ALTERASE) ,
SDLK_SYSREQ = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_SYSREQ) ,
SDLK_CANCEL = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_CANCEL) ,
SDLK_CLEAR = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_CLEAR) ,
SDLK_PRIOR = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_PRIOR) ,
SDLK_RETURN2 = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_RETURN2) ,
SDLK_SEPARATOR = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_SEPARATOR) ,
SDLK_OUT = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_OUT) ,
SDLK_OPER = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_OPER) ,
SDLK_CLEARAGAIN = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_CLEARAGAIN) ,
SDLK_CRSEL = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_CRSEL) ,
SDLK_EXSEL = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_EXSEL) ,
SDLK_KP_00 = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_00) ,
SDLK_KP_000 = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_000) ,
SDLK_THOUSANDSSEPARATOR ,
SDLK_DECIMALSEPARATOR ,
SDLK_CURRENCYUNIT = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_CURRENCYUNIT) ,
SDLK_CURRENCYSUBUNIT ,
SDLK_KP_LEFTPAREN = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_LEFTPAREN) ,
SDLK_KP_RIGHTPAREN = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_RIGHTPAREN) ,
SDLK_KP_LEFTBRACE = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_LEFTBRACE) ,
SDLK_KP_RIGHTBRACE = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_RIGHTBRACE) ,
SDLK_KP_TAB = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_TAB) ,
SDLK_KP_BACKSPACE = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_BACKSPACE) ,
SDLK_KP_A = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_A) ,
SDLK_KP_B = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_B) ,
SDLK_KP_C = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_C) ,
SDLK_KP_D = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_D) ,
SDLK_KP_E = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_E) ,
SDLK_KP_F = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_F) ,
SDLK_KP_XOR = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_XOR) ,
SDLK_KP_POWER = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_POWER) ,
SDLK_KP_PERCENT = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_PERCENT) ,
SDLK_KP_LESS = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_LESS) ,
SDLK_KP_GREATER = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_GREATER) ,
SDLK_KP_AMPERSAND = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_AMPERSAND) ,
SDLK_KP_DBLAMPERSAND ,
SDLK_KP_VERTICALBAR ,
SDLK_KP_DBLVERTICALBAR ,
SDLK_KP_COLON = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_COLON) ,
SDLK_KP_HASH = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_HASH) ,
SDLK_KP_SPACE = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_SPACE) ,
SDLK_KP_AT = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_AT) ,
SDLK_KP_EXCLAM = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_EXCLAM) ,
SDLK_KP_MEMSTORE = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_MEMSTORE) ,
SDLK_KP_MEMRECALL = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_MEMRECALL) ,
SDLK_KP_MEMCLEAR = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_MEMCLEAR) ,
SDLK_KP_MEMADD = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_MEMADD) ,
SDLK_KP_MEMSUBTRACT ,
SDLK_KP_MEMMULTIPLY ,
SDLK_KP_MEMDIVIDE = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_MEMDIVIDE) ,
SDLK_KP_PLUSMINUS = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_PLUSMINUS) ,
SDLK_KP_CLEAR = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_CLEAR) ,
SDLK_KP_CLEARENTRY = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_CLEARENTRY) ,
SDLK_KP_BINARY = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_BINARY) ,
SDLK_KP_OCTAL = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_OCTAL) ,
SDLK_KP_DECIMAL = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_DECIMAL) ,
SDLK_KP_HEXADECIMAL ,
SDLK_LCTRL = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_LCTRL) ,
SDLK_LSHIFT = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_LSHIFT) ,
SDLK_LALT = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_LALT) ,
SDLK_LGUI = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_LGUI) ,
SDLK_RCTRL = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_RCTRL) ,
SDLK_RSHIFT = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_RSHIFT) ,
SDLK_RALT = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_RALT) ,
SDLK_RGUI = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_RGUI) ,
SDLK_MODE = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_MODE) ,
SDLK_AUDIONEXT = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_AUDIONEXT) ,
SDLK_AUDIOPREV = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_AUDIOPREV) ,
SDLK_AUDIOSTOP = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_AUDIOSTOP) ,
SDLK_AUDIOPLAY = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_AUDIOPLAY) ,
SDLK_AUDIOMUTE = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_AUDIOMUTE) ,
SDLK_MEDIASELECT = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_MEDIASELECT) ,
SDLK_WWW = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_WWW) ,
SDLK_MAIL = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_MAIL) ,
SDLK_CALCULATOR = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_CALCULATOR) ,
SDLK_COMPUTER = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_COMPUTER) ,
SDLK_AC_SEARCH = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_AC_SEARCH) ,
SDLK_AC_HOME = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_AC_HOME) ,
SDLK_AC_BACK = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_AC_BACK) ,
SDLK_AC_FORWARD = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_AC_FORWARD) ,
SDLK_AC_STOP = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_AC_STOP) ,
SDLK_AC_REFRESH = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_AC_REFRESH) ,
SDLK_AC_BOOKMARKS = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_AC_BOOKMARKS) ,
SDLK_BRIGHTNESSDOWN ,
SDLK_BRIGHTNESSUP = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_BRIGHTNESSUP) ,
SDLK_DISPLAYSWITCH = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_DISPLAYSWITCH) ,
SDLK_KBDILLUMTOGGLE ,
SDLK_KBDILLUMDOWN = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KBDILLUMDOWN) ,
SDLK_KBDILLUMUP = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KBDILLUMUP) ,
SDLK_EJECT = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_EJECT) ,
SDLK_SLEEP = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_SLEEP) ,
SDLK_APP1 = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_APP1) ,
SDLK_APP2 = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_APP2) ,
SDLK_AUDIOREWIND = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_AUDIOREWIND) ,
SDLK_AUDIOFASTFORWARD = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_AUDIOFASTFORWARD) ,
SDLK_SOFTLEFT = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_SOFTLEFT) ,
SDLK_SOFTRIGHT = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_SOFTRIGHT) ,
SDLK_CALL = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_CALL) ,
SDLK_ENDCALL = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_ENDCALL)
}

enum

SDL_Keymod {
KMOD_NONE = 0x0000 ,
KMOD_LSHIFT = 0x0001 ,
KMOD_RSHIFT = 0x0002 ,
KMOD_LCTRL = 0x0040 ,
KMOD_RCTRL = 0x0080 ,
KMOD_LALT = 0x0100 ,
KMOD_RALT = 0x0200 ,
KMOD_LGUI = 0x0400 ,
KMOD_RGUI = 0x0800 ,
KMOD_NUM = 0x1000 ,
KMOD_CAPS = 0x2000 ,
KMOD_MODE = 0x4000 ,
KMOD_SCROLL = 0x8000 ,
KMOD_CTRL = KMOD_LCTRL | KMOD_RCTRL ,
KMOD_SHIFT = KMOD_LSHIFT | KMOD_RSHIFT ,
KMOD_ALT = KMOD_LALT | KMOD_RALT ,
KMOD_GUI = KMOD_LGUI | KMOD_RGUI ,
KMOD_RESERVED = KMOD_SCROLL
}

## Macro Definition Documentation

## SDL_SCANCODE_TO_KEYCODE

#define SDL_SCANCODE_TO_KEYCODE | ( |  | X | ) |

Value:
(X | SDLK_SCANCODE_MASK)
SDLK_SCANCODE_MASK
#define SDLK_SCANCODE_MASK
Definition SDL_keycode.h:47

Definition at line 48 of file SDL_keycode.h.

## SDLK_SCANCODE_MASK

#define SDLK_SCANCODE_MASK (1<<30)

Definition at line 47 of file SDL_keycode.h.

## Typedef Documentation

## SDL_Keycode

typedef Sint32 SDL_Keycode

# CategoryKeycode

Defines constants which identify keyboard keys and modifiers. The SDL virtual key representation.

Values of this type are used to represent keyboard keys using the current layout of the keyboard. These values include Unicode values representing the unmodified character that would be generated by pressing the key, or an SDLK_* constant for those keys that do not generate characters.

A special exception is the number keys at the top of the keyboard which map to SDLK_0...SDLK_9 on AZERTY layouts.

Definition at line 45 of file SDL_keycode.h.

## Enumeration Type Documentation

## SDL_KeyCode

enum SDL_KeyCode

Enumerator
SDLK_UNKNOWN |
SDLK_RETURN |
SDLK_ESCAPE |
SDLK_BACKSPACE |
SDLK_TAB |
SDLK_SPACE |
SDLK_EXCLAIM |
SDLK_QUOTEDBL |
SDLK_HASH |
SDLK_PERCENT |
SDLK_DOLLAR |
SDLK_AMPERSAND |
SDLK_QUOTE |
SDLK_LEFTPAREN |
SDLK_RIGHTPAREN |
SDLK_ASTERISK |
SDLK_PLUS |
SDLK_COMMA |
SDLK_MINUS |
SDLK_PERIOD |
SDLK_SLASH |
SDLK_0 |
SDLK_1 |
SDLK_2 |
SDLK_3 |
SDLK_4 |
SDLK_5 |
SDLK_6 |
SDLK_7 |
SDLK_8 |
SDLK_9 |
SDLK_COLON |
SDLK_SEMICOLON |
SDLK_LESS |
SDLK_EQUALS |
SDLK_GREATER |
SDLK_QUESTION |
SDLK_AT |
SDLK_LEFTBRACKET |
SDLK_BACKSLASH |
SDLK_RIGHTBRACKET |
SDLK_CARET |
SDLK_UNDERSCORE |
SDLK_BACKQUOTE |
SDLK_a |
SDLK_b |
SDLK_c |
SDLK_d |
SDLK_e |
SDLK_f |
SDLK_g |
SDLK_h |
SDLK_i |
SDLK_j |
SDLK_k |
SDLK_l |
SDLK_m |
SDLK_n |
SDLK_o |
SDLK_p |
SDLK_q |
SDLK_r |
SDLK_s |
SDLK_t |
SDLK_u |
SDLK_v |
SDLK_w |
SDLK_x |
SDLK_y |
SDLK_z |
SDLK_CAPSLOCK |
SDLK_F1 |
SDLK_F2 |
SDLK_F3 |
SDLK_F4 |
SDLK_F5 |
SDLK_F6 |
SDLK_F7 |
SDLK_F8 |
SDLK_F9 |
SDLK_F10 |
SDLK_F11 |
SDLK_F12 |
SDLK_PRINTSCREEN |
SDLK_SCROLLLOCK |
SDLK_PAUSE |
SDLK_INSERT |
SDLK_HOME |
SDLK_PAGEUP |
SDLK_DELETE |
SDLK_END |
SDLK_PAGEDOWN |
SDLK_RIGHT |
SDLK_LEFT |
SDLK_DOWN |
SDLK_UP |
SDLK_NUMLOCKCLEAR |
SDLK_KP_DIVIDE |
SDLK_KP_MULTIPLY |
SDLK_KP_MINUS |
SDLK_KP_PLUS |
SDLK_KP_ENTER |
SDLK_KP_1 |
SDLK_KP_2 |
SDLK_KP_3 |
SDLK_KP_4 |
SDLK_KP_5 |
SDLK_KP_6 |
SDLK_KP_7 |
SDLK_KP_8 |
SDLK_KP_9 |
SDLK_KP_0 |
SDLK_KP_PERIOD |
SDLK_APPLICATION |
SDLK_POWER |
SDLK_KP_EQUALS |
SDLK_F13 |
SDLK_F14 |
SDLK_F15 |
SDLK_F16 |
SDLK_F17 |
SDLK_F18 |
SDLK_F19 |
SDLK_F20 |
SDLK_F21 |
SDLK_F22 |
SDLK_F23 |
SDLK_F24 |
SDLK_EXECUTE |
SDLK_HELP |
SDLK_MENU |
SDLK_SELECT |
SDLK_STOP |
SDLK_AGAIN |
SDLK_UNDO |
SDLK_CUT |
SDLK_COPY |
SDLK_PASTE |
SDLK_FIND |
SDLK_MUTE |
SDLK_VOLUMEUP |
SDLK_VOLUMEDOWN |
SDLK_KP_COMMA |
SDLK_KP_EQUALSAS400 |
SDLK_ALTERASE |
SDLK_SYSREQ |
SDLK_CANCEL |
SDLK_CLEAR |
SDLK_PRIOR |
SDLK_RETURN2 |
SDLK_SEPARATOR |
SDLK_OUT |
SDLK_OPER |
SDLK_CLEARAGAIN |
SDLK_CRSEL |
SDLK_EXSEL |
SDLK_KP_00 |
SDLK_KP_000 |
SDLK_THOUSANDSSEPARATOR |
SDLK_DECIMALSEPARATOR |
SDLK_CURRENCYUNIT |
SDLK_CURRENCYSUBUNIT |
SDLK_KP_LEFTPAREN |
SDLK_KP_RIGHTPAREN |
SDLK_KP_LEFTBRACE |
SDLK_KP_RIGHTBRACE |
SDLK_KP_TAB |
SDLK_KP_BACKSPACE |
SDLK_KP_A |
SDLK_KP_B |
SDLK_KP_C |
SDLK_KP_D |
SDLK_KP_E |
SDLK_KP_F |
SDLK_KP_XOR |
SDLK_KP_POWER |
SDLK_KP_PERCENT |
SDLK_KP_LESS |
SDLK_KP_GREATER |
SDLK_KP_AMPERSAND |
SDLK_KP_DBLAMPERSAND |
SDLK_KP_VERTICALBAR |
SDLK_KP_DBLVERTICALBAR |
SDLK_KP_COLON |
SDLK_KP_HASH |
SDLK_KP_SPACE |
SDLK_KP_AT |
SDLK_KP_EXCLAM |
SDLK_KP_MEMSTORE |
SDLK_KP_MEMRECALL |
SDLK_KP_MEMCLEAR |
SDLK_KP_MEMADD |
SDLK_KP_MEMSUBTRACT |
SDLK_KP_MEMMULTIPLY |
SDLK_KP_MEMDIVIDE |
SDLK_KP_PLUSMINUS |
SDLK_KP_CLEAR |
SDLK_KP_CLEARENTRY |
SDLK_KP_BINARY |
SDLK_KP_OCTAL |
SDLK_KP_DECIMAL |
SDLK_KP_HEXADECIMAL |
SDLK_LCTRL |
SDLK_LSHIFT |
SDLK_LALT |
SDLK_LGUI |
SDLK_RCTRL |
SDLK_RSHIFT |
SDLK_RALT |
SDLK_RGUI |
SDLK_MODE |
SDLK_AUDIONEXT |
SDLK_AUDIOPREV |
SDLK_AUDIOSTOP |
SDLK_AUDIOPLAY |
SDLK_AUDIOMUTE |
SDLK_MEDIASELECT |
SDLK_WWW |
SDLK_MAIL |
SDLK_CALCULATOR |
SDLK_COMPUTER |
SDLK_AC_SEARCH |
SDLK_AC_HOME |
SDLK_AC_BACK |
SDLK_AC_FORWARD |
SDLK_AC_STOP |
SDLK_AC_REFRESH |
SDLK_AC_BOOKMARKS |
SDLK_BRIGHTNESSDOWN |
SDLK_BRIGHTNESSUP |
SDLK_DISPLAYSWITCH |
SDLK_KBDILLUMTOGGLE |
SDLK_KBDILLUMDOWN |
SDLK_KBDILLUMUP |
SDLK_EJECT |
SDLK_SLEEP |
SDLK_APP1 |
SDLK_APP2 |
SDLK_AUDIOREWIND |
SDLK_AUDIOFASTFORWARD |
SDLK_SOFTLEFT |
SDLK_SOFTRIGHT |
SDLK_CALL |
SDLK_ENDCALL |

Definition at line 50 of file SDL_keycode.h.

{
SDLK_UNKNOWN = 0,
SDLK_RETURN = '\r',
SDLK_ESCAPE = '\x1B',
SDLK_BACKSPACE = '\b',
SDLK_TAB = '\t',
SDLK_SPACE = ' ',
SDLK_EXCLAIM = '!',
SDLK_QUOTEDBL = '"',
SDLK_HASH = '#',
SDLK_PERCENT = '%',
SDLK_DOLLAR = '$',
SDLK_AMPERSAND = '&',
SDLK_QUOTE = '\'',
SDLK_LEFTPAREN = '(',
SDLK_RIGHTPAREN = ')',
SDLK_ASTERISK = '*',
SDLK_PLUS = '+',
SDLK_COMMA = ',',
SDLK_MINUS = '-',
SDLK_PERIOD = '.',
SDLK_SLASH = '/',
SDLK_0 = '0',
SDLK_1 = '1',
SDLK_2 = '2',
SDLK_3 = '3',
SDLK_4 = '4',
SDLK_5 = '5',
SDLK_6 = '6',
SDLK_7 = '7',
SDLK_8 = '8',
SDLK_9 = '9',
SDLK_COLON = ':',
SDLK_SEMICOLON = ';',
SDLK_LESS = '<',
SDLK_EQUALS = '=',
SDLK_GREATER = '>',
SDLK_QUESTION = '?',
SDLK_AT = '@',
/*
Skip uppercase letters
*/
SDLK_LEFTBRACKET = '[',
SDLK_BACKSLASH = '\\',
SDLK_RIGHTBRACKET = ']',
SDLK_CARET = '^',
SDLK_UNDERSCORE = '_',
SDLK_BACKQUOTE = '`',
SDLK_a = 'a',
SDLK_b = 'b',
SDLK_c = 'c',
SDLK_d = 'd',
SDLK_e = 'e',
SDLK_f = 'f',
SDLK_g = 'g',
SDLK_h = 'h',
SDLK_i = 'i',
SDLK_j = 'j',
SDLK_k = 'k',
SDLK_l = 'l',
SDLK_m = 'm',
SDLK_n = 'n',
SDLK_o = 'o',
SDLK_p = 'p',
SDLK_q = 'q',
SDLK_r = 'r',
SDLK_s = 's',
SDLK_t = 't',
SDLK_u = 'u',
SDLK_v = 'v',
SDLK_w = 'w',
SDLK_x = 'x',
SDLK_y = 'y',
SDLK_z = 'z',
SDLK_CAPSLOCK = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_CAPSLOCK),
SDLK_F1 = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_F1),
SDLK_F2 = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_F2),
SDLK_F3 = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_F3),
SDLK_F4 = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_F4),
SDLK_F5 = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_F5),
SDLK_F6 = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_F6),
SDLK_F7 = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_F7),
SDLK_F8 = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_F8),
SDLK_F9 = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_F9),
SDLK_F10 = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_F10),
SDLK_F11 = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_F11),
SDLK_F12 = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_F12),
SDLK_PRINTSCREEN = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_PRINTSCREEN),
SDLK_SCROLLLOCK = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_SCROLLLOCK),
SDLK_PAUSE = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_PAUSE),
SDLK_INSERT = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_INSERT),
SDLK_HOME = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_HOME),
SDLK_PAGEUP = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_PAGEUP),
SDLK_DELETE = '\x7F',
SDLK_END = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_END),
SDLK_PAGEDOWN = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_PAGEDOWN),
SDLK_RIGHT = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_RIGHT),
SDLK_LEFT = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_LEFT),
SDLK_DOWN = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_DOWN),
SDLK_UP = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_UP),
SDLK_NUMLOCKCLEAR = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_NUMLOCKCLEAR),
SDLK_KP_DIVIDE = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_DIVIDE),
SDLK_KP_MULTIPLY = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_MULTIPLY),
SDLK_KP_MINUS = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_MINUS),
SDLK_KP_PLUS = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_PLUS),
SDLK_KP_ENTER = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_ENTER),
SDLK_KP_1 = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_1),
SDLK_KP_2 = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_2),
SDLK_KP_3 = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_3),
SDLK_KP_4 = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_4),
SDLK_KP_5 = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_5),
SDLK_KP_6 = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_6),
SDLK_KP_7 = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_7),
SDLK_KP_8 = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_8),
SDLK_KP_9 = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_9),
SDLK_KP_0 = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_0),
SDLK_KP_PERIOD = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_PERIOD),
SDLK_APPLICATION = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_APPLICATION),
SDLK_POWER = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_POWER),
SDLK_KP_EQUALS = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_EQUALS),
SDLK_F13 = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_F13),
SDLK_F14 = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_F14),
SDLK_F15 = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_F15),
SDLK_F16 = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_F16),
SDLK_F17 = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_F17),
SDLK_F18 = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_F18),
SDLK_F19 = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_F19),
SDLK_F20 = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_F20),
SDLK_F21 = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_F21),
SDLK_F22 = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_F22),
SDLK_F23 = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_F23),
SDLK_F24 = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_F24),
SDLK_EXECUTE = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_EXECUTE),
SDLK_HELP = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_HELP),
SDLK_MENU = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_MENU),
SDLK_SELECT = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_SELECT),
SDLK_STOP = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_STOP),
SDLK_AGAIN = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_AGAIN),
SDLK_UNDO = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_UNDO),
SDLK_CUT = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_CUT),
SDLK_COPY = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_COPY),
SDLK_PASTE = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_PASTE),
SDLK_FIND = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_FIND),
SDLK_MUTE = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_MUTE),
SDLK_VOLUMEUP = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_VOLUMEUP),
SDLK_VOLUMEDOWN = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_VOLUMEDOWN),
SDLK_KP_COMMA = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_COMMA),
SDLK_KP_EQUALSAS400 =
SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_EQUALSAS400),
SDLK_ALTERASE = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_ALTERASE),
SDLK_SYSREQ = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_SYSREQ),
SDLK_CANCEL = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_CANCEL),
SDLK_CLEAR = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_CLEAR),
SDLK_PRIOR = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_PRIOR),
SDLK_RETURN2 = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_RETURN2),
SDLK_SEPARATOR = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_SEPARATOR),
SDLK_OUT = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_OUT),
SDLK_OPER = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_OPER),
SDLK_CLEARAGAIN = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_CLEARAGAIN),
SDLK_CRSEL = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_CRSEL),
SDLK_EXSEL = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_EXSEL),
SDLK_KP_00 = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_00),
SDLK_KP_000 = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_000),
SDLK_THOUSANDSSEPARATOR =
SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_THOUSANDSSEPARATOR),
SDLK_DECIMALSEPARATOR =
SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_DECIMALSEPARATOR),
SDLK_CURRENCYUNIT = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_CURRENCYUNIT),
SDLK_CURRENCYSUBUNIT =
SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_CURRENCYSUBUNIT),
SDLK_KP_LEFTPAREN = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_LEFTPAREN),
SDLK_KP_RIGHTPAREN = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_RIGHTPAREN),
SDLK_KP_LEFTBRACE = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_LEFTBRACE),
SDLK_KP_RIGHTBRACE = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_RIGHTBRACE),
SDLK_KP_TAB = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_TAB),
SDLK_KP_BACKSPACE = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_BACKSPACE),
SDLK_KP_A = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_A),
SDLK_KP_B = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_B),
SDLK_KP_C = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_C),
SDLK_KP_D = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_D),
SDLK_KP_E = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_E),
SDLK_KP_F = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_F),
SDLK_KP_XOR = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_XOR),
SDLK_KP_POWER = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_POWER),
SDLK_KP_PERCENT = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_PERCENT),
SDLK_KP_LESS = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_LESS),
SDLK_KP_GREATER = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_GREATER),
SDLK_KP_AMPERSAND = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_AMPERSAND),
SDLK_KP_DBLAMPERSAND =
SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_DBLAMPERSAND),
SDLK_KP_VERTICALBAR =
SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_VERTICALBAR),
SDLK_KP_DBLVERTICALBAR =
SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_DBLVERTICALBAR),
SDLK_KP_COLON = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_COLON),
SDLK_KP_HASH = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_HASH),
SDLK_KP_SPACE = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_SPACE),
SDLK_KP_AT = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_AT),
SDLK_KP_EXCLAM = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_EXCLAM),
SDLK_KP_MEMSTORE = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_MEMSTORE),
SDLK_KP_MEMRECALL = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_MEMRECALL),
SDLK_KP_MEMCLEAR = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_MEMCLEAR),
SDLK_KP_MEMADD = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_MEMADD),
SDLK_KP_MEMSUBTRACT =
SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_MEMSUBTRACT),
SDLK_KP_MEMMULTIPLY =
SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_MEMMULTIPLY),
SDLK_KP_MEMDIVIDE = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_MEMDIVIDE),
SDLK_KP_PLUSMINUS = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_PLUSMINUS),
SDLK_KP_CLEAR = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_CLEAR),
SDLK_KP_CLEARENTRY = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_CLEARENTRY),
SDLK_KP_BINARY = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_BINARY),
SDLK_KP_OCTAL = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_OCTAL),
SDLK_KP_DECIMAL = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_DECIMAL),
SDLK_KP_HEXADECIMAL =
SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_HEXADECIMAL),
SDLK_LCTRL = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_LCTRL),
SDLK_LSHIFT = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_LSHIFT),
SDLK_LALT = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_LALT),
SDLK_LGUI = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_LGUI),
SDLK_RCTRL = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_RCTRL),
SDLK_RSHIFT = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_RSHIFT),
SDLK_RALT = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_RALT),
SDLK_RGUI = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_RGUI),
SDLK_MODE = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_MODE),
SDLK_AUDIONEXT = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_AUDIONEXT),
SDLK_AUDIOPREV = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_AUDIOPREV),
SDLK_AUDIOSTOP = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_AUDIOSTOP),
SDLK_AUDIOPLAY = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_AUDIOPLAY),
SDLK_AUDIOMUTE = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_AUDIOMUTE),
SDLK_MEDIASELECT = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_MEDIASELECT),
SDLK_WWW = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_WWW),
SDLK_MAIL = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_MAIL),
SDLK_CALCULATOR = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_CALCULATOR),
SDLK_COMPUTER = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_COMPUTER),
SDLK_AC_SEARCH = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_AC_SEARCH),
SDLK_AC_HOME = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_AC_HOME),
SDLK_AC_BACK = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_AC_BACK),
SDLK_AC_FORWARD = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_AC_FORWARD),
SDLK_AC_STOP = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_AC_STOP),
SDLK_AC_REFRESH = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_AC_REFRESH),
SDLK_AC_BOOKMARKS = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_AC_BOOKMARKS),
SDLK_BRIGHTNESSDOWN =
SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_BRIGHTNESSDOWN),
SDLK_BRIGHTNESSUP = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_BRIGHTNESSUP),
SDLK_DISPLAYSWITCH = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_DISPLAYSWITCH),
SDLK_KBDILLUMTOGGLE =
SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KBDILLUMTOGGLE),
SDLK_KBDILLUMDOWN = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KBDILLUMDOWN),
SDLK_KBDILLUMUP = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KBDILLUMUP),
SDLK_EJECT = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_EJECT),
SDLK_SLEEP = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_SLEEP),
SDLK_APP1 = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_APP1),
SDLK_APP2 = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_APP2),
SDLK_AUDIOREWIND = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_AUDIOREWIND),
SDLK_AUDIOFASTFORWARD = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_AUDIOFASTFORWARD),
SDLK_SOFTLEFT = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_SOFTLEFT),
SDLK_SOFTRIGHT = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_SOFTRIGHT),
SDLK_CALL = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_CALL),
SDLK_ENDCALL = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_ENDCALL)
} SDL_KeyCode;
SDL_KeyCode
SDL_KeyCode
Definition SDL_keycode.h:51
SDLK_g
@ SDLK_g
Definition SDL_keycode.h:108
SDLK_c
@ SDLK_c
Definition SDL_keycode.h:104
SDLK_RSHIFT
@ SDLK_RSHIFT
Definition SDL_keycode.h:283
SDLK_RETURN2
@ SDLK_RETURN2
Definition SDL_keycode.h:214
SDLK_0
@ SDLK_0
Definition SDL_keycode.h:74
SDLK_KP_MEMSTORE
@ SDLK_KP_MEMSTORE
Definition SDL_keycode.h:260
SDLK_LESS
@ SDLK_LESS
Definition SDL_keycode.h:86
SDLK_PERCENT
@ SDLK_PERCENT
Definition SDL_keycode.h:62
SDLK_DOLLAR
@ SDLK_DOLLAR
Definition SDL_keycode.h:63
SDLK_LALT
@ SDLK_LALT
Definition SDL_keycode.h:280
SDLK_PASTE
@ SDLK_PASTE
Definition SDL_keycode.h:200
SDLK_LGUI
@ SDLK_LGUI
Definition SDL_keycode.h:281
SDLK_KP_MEMSUBTRACT
@ SDLK_KP_MEMSUBTRACT
Definition SDL_keycode.h:264
SDLK_u
@ SDLK_u
Definition SDL_keycode.h:122
SDLK_VOLUMEUP
@ SDLK_VOLUMEUP
Definition SDL_keycode.h:203
SDLK_y
@ SDLK_y
Definition SDL_keycode.h:126
SDLK_KP_8
@ SDLK_KP_8
Definition SDL_keycode.h:171
SDLK_KP_AMPERSAND
@ SDLK_KP_AMPERSAND
Definition SDL_keycode.h:248
SDLK_BACKSPACE
@ SDLK_BACKSPACE
Definition SDL_keycode.h:56
SDLK_h
@ SDLK_h
Definition SDL_keycode.h:109
SDLK_KP_HEXADECIMAL
@ SDLK_KP_HEXADECIMAL
Definition SDL_keycode.h:275
SDLK_UNDERSCORE
@ SDLK_UNDERSCORE
Definition SDL_keycode.h:100
SDLK_a
@ SDLK_a
Definition SDL_keycode.h:102
SDLK_POWER
@ SDLK_POWER
Definition SDL_keycode.h:177
SDLK_F2
@ SDLK_F2
Definition SDL_keycode.h:132
SDLK_KP_POWER
@ SDLK_KP_POWER
Definition SDL_keycode.h:244
SDLK_OUT
@ SDLK_OUT
Definition SDL_keycode.h:216
SDLK_F12
@ SDLK_F12
Definition SDL_keycode.h:142
SDLK_e
@ SDLK_e
Definition SDL_keycode.h:106
SDLK_F23
@ SDLK_F23
Definition SDL_keycode.h:189
SDLK_DECIMALSEPARATOR
@ SDLK_DECIMALSEPARATOR
Definition SDL_keycode.h:226
SDLK_UNDO
@ SDLK_UNDO
Definition SDL_keycode.h:197
SDLK_F13
@ SDLK_F13
Definition SDL_keycode.h:179
SDLK_APP2
@ SDLK_APP2
Definition SDL_keycode.h:318
SDLK_EXECUTE
@ SDLK_EXECUTE
Definition SDL_keycode.h:191
SDLK_COPY
@ SDLK_COPY
Definition SDL_keycode.h:199
SDLK_KP_C
@ SDLK_KP_C
Definition SDL_keycode.h:239
SDLK_EQUALS
@ SDLK_EQUALS
Definition SDL_keycode.h:87
SDLK_KP_VERTICALBAR
@ SDLK_KP_VERTICALBAR
Definition SDL_keycode.h:251
SDLK_KP_EQUALSAS400
@ SDLK_KP_EQUALSAS400
Definition SDL_keycode.h:206
SDLK_SEMICOLON
@ SDLK_SEMICOLON
Definition SDL_keycode.h:85
SDLK_F1
@ SDLK_F1
Definition SDL_keycode.h:131
SDLK_KP_RIGHTBRACE
@ SDLK_KP_RIGHTBRACE
Definition SDL_keycode.h:234
SDLK_AUDIOSTOP
@ SDLK_AUDIOSTOP
Definition SDL_keycode.h:291
SDLK_UP
@ SDLK_UP
Definition SDL_keycode.h:156
SDLK_KP_PLUSMINUS
@ SDLK_KP_PLUSMINUS
Definition SDL_keycode.h:269
SDLK_F19
@ SDLK_F19
Definition SDL_keycode.h:185
SDLK_PRIOR
@ SDLK_PRIOR
Definition SDL_keycode.h:213
SDLK_KP_4
@ SDLK_KP_4
Definition SDL_keycode.h:167
SDLK_KP_A
@ SDLK_KP_A
Definition SDL_keycode.h:237
SDLK_KP_SPACE
@ SDLK_KP_SPACE
Definition SDL_keycode.h:257
SDLK_AC_HOME
@ SDLK_AC_HOME
Definition SDL_keycode.h:300
SDLK_END
@ SDLK_END
Definition SDL_keycode.h:151
SDLK_AUDIOFASTFORWARD
@ SDLK_AUDIOFASTFORWARD
Definition SDL_keycode.h:321
SDLK_DISPLAYSWITCH
@ SDLK_DISPLAYSWITCH
Definition SDL_keycode.h:310
SDLK_MODE
@ SDLK_MODE
Definition SDL_keycode.h:287
SDLK_DOWN
@ SDLK_DOWN
Definition SDL_keycode.h:155
SDLK_KP_E
@ SDLK_KP_E
Definition SDL_keycode.h:241
SDLK_9
@ SDLK_9
Definition SDL_keycode.h:83
SDLK_CURRENCYSUBUNIT
@ SDLK_CURRENCYSUBUNIT
Definition SDL_keycode.h:229
SDLK_COMPUTER
@ SDLK_COMPUTER
Definition SDL_keycode.h:298
SDLK_KP_ENTER
@ SDLK_KP_ENTER
Definition SDL_keycode.h:163
SDLK_8
@ SDLK_8
Definition SDL_keycode.h:82
SDLK_MEDIASELECT
@ SDLK_MEDIASELECT
Definition SDL_keycode.h:294
SDLK_KP_9
@ SDLK_KP_9
Definition SDL_keycode.h:172
SDLK_TAB
@ SDLK_TAB
Definition SDL_keycode.h:57
SDLK_KP_MEMMULTIPLY
@ SDLK_KP_MEMMULTIPLY
Definition SDL_keycode.h:266
SDLK_AUDIOMUTE
@ SDLK_AUDIOMUTE
Definition SDL_keycode.h:293
SDLK_i
@ SDLK_i
Definition SDL_keycode.h:110
SDLK_KP_6
@ SDLK_KP_6
Definition SDL_keycode.h:169
SDLK_BRIGHTNESSUP
@ SDLK_BRIGHTNESSUP
Definition SDL_keycode.h:309
SDLK_SLASH
@ SDLK_SLASH
Definition SDL_keycode.h:73
SDLK_KP_OCTAL
@ SDLK_KP_OCTAL
Definition SDL_keycode.h:273
SDLK_QUOTE
@ SDLK_QUOTE
Definition SDL_keycode.h:65
SDLK_j
@ SDLK_j
Definition SDL_keycode.h:111
SDLK_F20
@ SDLK_F20
Definition SDL_keycode.h:186
SDLK_KP_XOR
@ SDLK_KP_XOR
Definition SDL_keycode.h:243
SDLK_F6
@ SDLK_F6
Definition SDL_keycode.h:136
SDLK_FIND
@ SDLK_FIND
Definition SDL_keycode.h:201
SDLK_KP_LEFTPAREN
@ SDLK_KP_LEFTPAREN
Definition SDL_keycode.h:231
SDLK_PERIOD
@ SDLK_PERIOD
Definition SDL_keycode.h:72
SDLK_n
@ SDLK_n
Definition SDL_keycode.h:115
SDLK_STOP
@ SDLK_STOP
Definition SDL_keycode.h:195
SDLK_AC_BOOKMARKS
@ SDLK_AC_BOOKMARKS
Definition SDL_keycode.h:305
SDLK_UNKNOWN
@ SDLK_UNKNOWN
Definition SDL_keycode.h:52
SDLK_5
@ SDLK_5
Definition SDL_keycode.h:79
SDLK_AC_REFRESH
@ SDLK_AC_REFRESH
Definition SDL_keycode.h:304
SDLK_F24
@ SDLK_F24
Definition SDL_keycode.h:190
SDLK_F9
@ SDLK_F9
Definition SDL_keycode.h:139
SDLK_z
@ SDLK_z
Definition SDL_keycode.h:127
SDLK_KP_PERCENT
@ SDLK_KP_PERCENT
Definition SDL_keycode.h:245
SDLK_EXCLAIM
@ SDLK_EXCLAIM
Definition SDL_keycode.h:59
SDLK_F18
@ SDLK_F18
Definition SDL_keycode.h:184
SDLK_KBDILLUMUP
@ SDLK_KBDILLUMUP
Definition SDL_keycode.h:314
SDLK_AUDIOPLAY
@ SDLK_AUDIOPLAY
Definition SDL_keycode.h:292
SDLK_F21
@ SDLK_F21
Definition SDL_keycode.h:187
SDLK_F4
@ SDLK_F4
Definition SDL_keycode.h:134
SDLK_KP_5
@ SDLK_KP_5
Definition SDL_keycode.h:168
SDLK_v
@ SDLK_v
Definition SDL_keycode.h:123
SDLK_PRINTSCREEN
@ SDLK_PRINTSCREEN
Definition SDL_keycode.h:144
SDLK_KP_MEMDIVIDE
@ SDLK_KP_MEMDIVIDE
Definition SDL_keycode.h:268
SDLK_KP_CLEARENTRY
@ SDLK_KP_CLEARENTRY
Definition SDL_keycode.h:271
SDLK_F16
@ SDLK_F16
Definition SDL_keycode.h:182
SDLK_KP_PERIOD
@ SDLK_KP_PERIOD
Definition SDL_keycode.h:174
SDLK_NUMLOCKCLEAR
@ SDLK_NUMLOCKCLEAR
Definition SDL_keycode.h:158
SDLK_KP_BACKSPACE
@ SDLK_KP_BACKSPACE
Definition SDL_keycode.h:236
SDLK_CRSEL
@ SDLK_CRSEL
Definition SDL_keycode.h:219
SDLK_AC_BACK
@ SDLK_AC_BACK
Definition SDL_keycode.h:301
SDLK_s
@ SDLK_s
Definition SDL_keycode.h:120
SDLK_KP_MEMADD
@ SDLK_KP_MEMADD
Definition SDL_keycode.h:263
SDLK_AUDIOREWIND
@ SDLK_AUDIOREWIND
Definition SDL_keycode.h:320
SDLK_KP_PLUS
@ SDLK_KP_PLUS
Definition SDL_keycode.h:162
SDLK_F22
@ SDLK_F22
Definition SDL_keycode.h:188
SDLK_MUTE
@ SDLK_MUTE
Definition SDL_keycode.h:202
SDLK_KP_BINARY
@ SDLK_KP_BINARY
Definition SDL_keycode.h:272
SDLK_w
@ SDLK_w
Definition SDL_keycode.h:124
SDLK_SYSREQ
@ SDLK_SYSREQ
Definition SDL_keycode.h:210
SDLK_k
@ SDLK_k
Definition SDL_keycode.h:112
SDLK_KP_00
@ SDLK_KP_00
Definition SDL_keycode.h:222
SDLK_BACKQUOTE
@ SDLK_BACKQUOTE
Definition SDL_keycode.h:101
SDLK_MENU
@ SDLK_MENU
Definition SDL_keycode.h:193
SDLK_AUDIOPREV
@ SDLK_AUDIOPREV
Definition SDL_keycode.h:290
SDLK_CALL
@ SDLK_CALL
Definition SDL_keycode.h:325
SDLK_ALTERASE
@ SDLK_ALTERASE
Definition SDL_keycode.h:209
SDLK_KP_7
@ SDLK_KP_7
Definition SDL_keycode.h:170
SDLK_WWW
@ SDLK_WWW
Definition SDL_keycode.h:295
SDLK_F3
@ SDLK_F3
Definition SDL_keycode.h:133
SDLK_BRIGHTNESSDOWN
@ SDLK_BRIGHTNESSDOWN
Definition SDL_keycode.h:307
SDLK_AUDIONEXT
@ SDLK_AUDIONEXT
Definition SDL_keycode.h:289
SDLK_F10
@ SDLK_F10
Definition SDL_keycode.h:140
SDLK_r
@ SDLK_r
Definition SDL_keycode.h:119
SDLK_ASTERISK
@ SDLK_ASTERISK
Definition SDL_keycode.h:68
SDLK_RIGHTBRACKET
@ SDLK_RIGHTBRACKET
Definition SDL_keycode.h:98
SDLK_SLEEP
@ SDLK_SLEEP
Definition SDL_keycode.h:316
SDLK_KP_HASH
@ SDLK_KP_HASH
Definition SDL_keycode.h:256
SDLK_SOFTRIGHT
@ SDLK_SOFTRIGHT
Definition SDL_keycode.h:324
SDLK_AT
@ SDLK_AT
Definition SDL_keycode.h:90
SDLK_KP_LESS
@ SDLK_KP_LESS
Definition SDL_keycode.h:246
SDLK_VOLUMEDOWN
@ SDLK_VOLUMEDOWN
Definition SDL_keycode.h:204
SDLK_KP_D
@ SDLK_KP_D
Definition SDL_keycode.h:240
SDLK_F17
@ SDLK_F17
Definition SDL_keycode.h:183
SDLK_COMMA
@ SDLK_COMMA
Definition SDL_keycode.h:70
SDLK_LCTRL
@ SDLK_LCTRL
Definition SDL_keycode.h:278
SDLK_F8
@ SDLK_F8
Definition SDL_keycode.h:138
SDLK_x
@ SDLK_x
Definition SDL_keycode.h:125
SDLK_EJECT
@ SDLK_EJECT
Definition SDL_keycode.h:315
SDLK_QUOTEDBL
@ SDLK_QUOTEDBL
Definition SDL_keycode.h:60
SDLK_AC_STOP
@ SDLK_AC_STOP
Definition SDL_keycode.h:303
SDLK_F14
@ SDLK_F14
Definition SDL_keycode.h:180
SDLK_MINUS
@ SDLK_MINUS
Definition SDL_keycode.h:71
SDLK_d
@ SDLK_d
Definition SDL_keycode.h:105
SDLK_KBDILLUMTOGGLE
@ SDLK_KBDILLUMTOGGLE
Definition SDL_keycode.h:311
SDLK_KP_0
@ SDLK_KP_0
Definition SDL_keycode.h:173
SDLK_b
@ SDLK_b
Definition SDL_keycode.h:103
SDLK_HOME
@ SDLK_HOME
Definition SDL_keycode.h:148
SDLK_LEFTBRACKET
@ SDLK_LEFTBRACKET
Definition SDL_keycode.h:96
SDLK_F11
@ SDLK_F11
Definition SDL_keycode.h:141
SDLK_SEPARATOR
@ SDLK_SEPARATOR
Definition SDL_keycode.h:215
SDLK_F7
@ SDLK_F7
Definition SDL_keycode.h:137
SDLK_CUT
@ SDLK_CUT
Definition SDL_keycode.h:198
SDLK_KP_1
@ SDLK_KP_1
Definition SDL_keycode.h:164
SDLK_EXSEL
@ SDLK_EXSEL
Definition SDL_keycode.h:220
SDLK_THOUSANDSSEPARATOR
@ SDLK_THOUSANDSSEPARATOR
Definition SDL_keycode.h:224
SDLK_t
@ SDLK_t
Definition SDL_keycode.h:121
SDLK_m
@ SDLK_m
Definition SDL_keycode.h:114
SDLK_HASH
@ SDLK_HASH
Definition SDL_keycode.h:61
SDLK_ESCAPE
@ SDLK_ESCAPE
Definition SDL_keycode.h:55
SDLK_KP_MINUS
@ SDLK_KP_MINUS
Definition SDL_keycode.h:161
SDLK_CARET
@ SDLK_CARET
Definition SDL_keycode.h:99
SDLK_1
@ SDLK_1
Definition SDL_keycode.h:75
SDLK_SPACE
@ SDLK_SPACE
Definition SDL_keycode.h:58
SDLK_PLUS
@ SDLK_PLUS
Definition SDL_keycode.h:69
SDLK_F5
@ SDLK_F5
Definition SDL_keycode.h:135
SDLK_CLEARAGAIN
@ SDLK_CLEARAGAIN
Definition SDL_keycode.h:218
SDLK_CLEAR
@ SDLK_CLEAR
Definition SDL_keycode.h:212
SDLK_PAUSE
@ SDLK_PAUSE
Definition SDL_keycode.h:146
SDLK_7
@ SDLK_7
Definition SDL_keycode.h:81
SDLK_KP_000
@ SDLK_KP_000
Definition SDL_keycode.h:223
SDLK_KP_AT
@ SDLK_KP_AT
Definition SDL_keycode.h:258
SDLK_LEFT
@ SDLK_LEFT
Definition SDL_keycode.h:154
SDLK_AC_SEARCH
@ SDLK_AC_SEARCH
Definition SDL_keycode.h:299
SDLK_DELETE
@ SDLK_DELETE
Definition SDL_keycode.h:150
SDLK_KBDILLUMDOWN
@ SDLK_KBDILLUMDOWN
Definition SDL_keycode.h:313
SDLK_LSHIFT
@ SDLK_LSHIFT
Definition SDL_keycode.h:279
SDLK_AGAIN
@ SDLK_AGAIN
Definition SDL_keycode.h:196
SDLK_OPER
@ SDLK_OPER
Definition SDL_keycode.h:217
SDLK_KP_EQUALS
@ SDLK_KP_EQUALS
Definition SDL_keycode.h:178
SDLK_KP_MEMRECALL
@ SDLK_KP_MEMRECALL
Definition SDL_keycode.h:261
SDLK_CURRENCYUNIT
@ SDLK_CURRENCYUNIT
Definition SDL_keycode.h:228
SDLK_CAPSLOCK
@ SDLK_CAPSLOCK
Definition SDL_keycode.h:129
SDLK_BACKSLASH
@ SDLK_BACKSLASH
Definition SDL_keycode.h:97
SDLK_PAGEUP
@ SDLK_PAGEUP
Definition SDL_keycode.h:149
SDLK_KP_3
@ SDLK_KP_3
Definition SDL_keycode.h:166
SDLK_KP_COMMA
@ SDLK_KP_COMMA
Definition SDL_keycode.h:205
SDLK_6
@ SDLK_6
Definition SDL_keycode.h:80
SDLK_GREATER
@ SDLK_GREATER
Definition SDL_keycode.h:88
SDLK_q
@ SDLK_q
Definition SDL_keycode.h:118
SDLK_SCROLLLOCK
@ SDLK_SCROLLLOCK
Definition SDL_keycode.h:145
SDLK_INSERT
@ SDLK_INSERT
Definition SDL_keycode.h:147
SDLK_3
@ SDLK_3
Definition SDL_keycode.h:77
SDLK_LEFTPAREN
@ SDLK_LEFTPAREN
Definition SDL_keycode.h:66
SDLK_SOFTLEFT
@ SDLK_SOFTLEFT
Definition SDL_keycode.h:323
SDLK_KP_RIGHTPAREN
@ SDLK_KP_RIGHTPAREN
Definition SDL_keycode.h:232
SDLK_KP_2
@ SDLK_KP_2
Definition SDL_keycode.h:165
SDLK_p
@ SDLK_p
Definition SDL_keycode.h:117
SDLK_RALT
@ SDLK_RALT
Definition SDL_keycode.h:284
SDLK_APPLICATION
@ SDLK_APPLICATION
Definition SDL_keycode.h:176
SDLK_CALCULATOR
@ SDLK_CALCULATOR
Definition SDL_keycode.h:297
SDLK_KP_F
@ SDLK_KP_F
Definition SDL_keycode.h:242
SDLK_RCTRL
@ SDLK_RCTRL
Definition SDL_keycode.h:282
SDLK_KP_EXCLAM
@ SDLK_KP_EXCLAM
Definition SDL_keycode.h:259
SDLK_KP_B
@ SDLK_KP_B
Definition SDL_keycode.h:238
SDLK_f
@ SDLK_f
Definition SDL_keycode.h:107
SDLK_KP_COLON
@ SDLK_KP_COLON
Definition SDL_keycode.h:255
SDLK_PAGEDOWN
@ SDLK_PAGEDOWN
Definition SDL_keycode.h:152
SDLK_o
@ SDLK_o
Definition SDL_keycode.h:116
SDLK_MAIL
@ SDLK_MAIL
Definition SDL_keycode.h:296
SDLK_RIGHT
@ SDLK_RIGHT
Definition SDL_keycode.h:153
SDLK_COLON
@ SDLK_COLON
Definition SDL_keycode.h:84
SDLK_AMPERSAND
@ SDLK_AMPERSAND
Definition SDL_keycode.h:64
SDLK_F15
@ SDLK_F15
Definition SDL_keycode.h:181
SDLK_HELP
@ SDLK_HELP
Definition SDL_keycode.h:192
SDLK_l
@ SDLK_l
Definition SDL_keycode.h:113
SDLK_KP_TAB
@ SDLK_KP_TAB
Definition SDL_keycode.h:235
SDLK_KP_MEMCLEAR
@ SDLK_KP_MEMCLEAR
Definition SDL_keycode.h:262
SDLK_APP1
@ SDLK_APP1
Definition SDL_keycode.h:317
SDLK_KP_DBLVERTICALBAR
@ SDLK_KP_DBLVERTICALBAR
Definition SDL_keycode.h:253
SDLK_KP_GREATER
@ SDLK_KP_GREATER
Definition SDL_keycode.h:247
SDLK_KP_DBLAMPERSAND
@ SDLK_KP_DBLAMPERSAND
Definition SDL_keycode.h:249
SDLK_KP_DECIMAL
@ SDLK_KP_DECIMAL
Definition SDL_keycode.h:274
SDLK_RGUI
@ SDLK_RGUI
Definition SDL_keycode.h:285
SDLK_AC_FORWARD
@ SDLK_AC_FORWARD
Definition SDL_keycode.h:302
SDLK_CANCEL
@ SDLK_CANCEL
Definition SDL_keycode.h:211
SDLK_QUESTION
@ SDLK_QUESTION
Definition SDL_keycode.h:89
SDLK_RIGHTPAREN
@ SDLK_RIGHTPAREN
Definition SDL_keycode.h:67
SDLK_4
@ SDLK_4
Definition SDL_keycode.h:78
SDLK_ENDCALL
@ SDLK_ENDCALL
Definition SDL_keycode.h:326
SDLK_RETURN
@ SDLK_RETURN
Definition SDL_keycode.h:54
SDLK_KP_LEFTBRACE
@ SDLK_KP_LEFTBRACE
Definition SDL_keycode.h:233
SDLK_KP_DIVIDE
@ SDLK_KP_DIVIDE
Definition SDL_keycode.h:159
SDLK_KP_MULTIPLY
@ SDLK_KP_MULTIPLY
Definition SDL_keycode.h:160
SDLK_SELECT
@ SDLK_SELECT
Definition SDL_keycode.h:194
SDLK_2
@ SDLK_2
Definition SDL_keycode.h:76
SDLK_KP_CLEAR
@ SDLK_KP_CLEAR
Definition SDL_keycode.h:270
SDL_SCANCODE_TO_KEYCODE
#define SDL_SCANCODE_TO_KEYCODE(X)
Definition SDL_keycode.h:48
SDL_SCANCODE_END
@ SDL_SCANCODE_END
Definition SDL_scancode.h:174
SDL_SCANCODE_OUT
@ SDL_SCANCODE_OUT
Definition SDL_scancode.h:275
SDL_SCANCODE_KP_OCTAL
@ SDL_SCANCODE_KP_OCTAL
Definition SDL_scancode.h:324
SDL_SCANCODE_KP_CLEARENTRY
@ SDL_SCANCODE_KP_CLEARENTRY
Definition SDL_scancode.h:322
SDL_SCANCODE_BRIGHTNESSUP
@ SDL_SCANCODE_BRIGHTNESSUP
Definition SDL_scancode.h:384
SDL_SCANCODE_KP_EXCLAM
@ SDL_SCANCODE_KP_EXCLAM
Definition SDL_scancode.h:312
SDL_SCANCODE_KP_DECIMAL
@ SDL_SCANCODE_KP_DECIMAL
Definition SDL_scancode.h:325
SDL_SCANCODE_F15
@ SDL_SCANCODE_F15
Definition SDL_scancode.h:217
SDL_SCANCODE_F12
@ SDL_SCANCODE_F12
Definition SDL_scancode.h:164
SDL_SCANCODE_KP_E
@ SDL_SCANCODE_KP_E
Definition SDL_scancode.h:297
SDL_SCANCODE_KP_PLUS
@ SDL_SCANCODE_KP_PLUS
Definition SDL_scancode.h:186
SDL_SCANCODE_F4
@ SDL_SCANCODE_F4
Definition SDL_scancode.h:156
SDL_SCANCODE_KP_GREATER
@ SDL_SCANCODE_KP_GREATER
Definition SDL_scancode.h:303
SDL_SCANCODE_CAPSLOCK
@ SDL_SCANCODE_CAPSLOCK
Definition SDL_scancode.h:151
SDL_SCANCODE_F2
@ SDL_SCANCODE_F2
Definition SDL_scancode.h:154
SDL_SCANCODE_KP_MINUS
@ SDL_SCANCODE_KP_MINUS
Definition SDL_scancode.h:185
SDL_SCANCODE_KP_00
@ SDL_SCANCODE_KP_00
Definition SDL_scancode.h:281
SDL_SCANCODE_F6
@ SDL_SCANCODE_F6
Definition SDL_scancode.h:158
SDL_SCANCODE_KP_0
@ SDL_SCANCODE_KP_0
Definition SDL_scancode.h:197
SDL_SCANCODE_KP_B
@ SDL_SCANCODE_KP_B
Definition SDL_scancode.h:294
SDL_SCANCODE_F11
@ SDL_SCANCODE_F11
Definition SDL_scancode.h:163
SDL_SCANCODE_CANCEL
@ SDL_SCANCODE_CANCEL
Definition SDL_scancode.h:270
SDL_SCANCODE_KP_PERIOD
@ SDL_SCANCODE_KP_PERIOD
Definition SDL_scancode.h:198
SDL_SCANCODE_KP_F
@ SDL_SCANCODE_KP_F
Definition SDL_scancode.h:298
SDL_SCANCODE_KP_LEFTPAREN
@ SDL_SCANCODE_KP_LEFTPAREN
Definition SDL_scancode.h:287
SDL_SCANCODE_F24
@ SDL_SCANCODE_F24
Definition SDL_scancode.h:226
SDL_SCANCODE_AUDIOMUTE
@ SDL_SCANCODE_AUDIOMUTE
Definition SDL_scancode.h:360
SDL_SCANCODE_CALCULATOR
@ SDL_SCANCODE_CALCULATOR
Definition SDL_scancode.h:364
SDL_SCANCODE_CUT
@ SDL_SCANCODE_CUT
Definition SDL_scancode.h:234
SDL_SCANCODE_KP_VERTICALBAR
@ SDL_SCANCODE_KP_VERTICALBAR
Definition SDL_scancode.h:306
SDL_SCANCODE_KP_HEXADECIMAL
@ SDL_SCANCODE_KP_HEXADECIMAL
Definition SDL_scancode.h:326
SDL_SCANCODE_KP_COMMA
@ SDL_SCANCODE_KP_COMMA
Definition SDL_scancode.h:245
SDL_SCANCODE_KP_SPACE
@ SDL_SCANCODE_KP_SPACE
Definition SDL_scancode.h:310
SDL_SCANCODE_KP_BACKSPACE
@ SDL_SCANCODE_KP_BACKSPACE
Definition SDL_scancode.h:292
SDL_SCANCODE_CLEARAGAIN
@ SDL_SCANCODE_CLEARAGAIN
Definition SDL_scancode.h:277
SDL_SCANCODE_RGUI
@ SDL_SCANCODE_RGUI
Definition SDL_scancode.h:335
SDL_SCANCODE_F10
@ SDL_SCANCODE_F10
Definition SDL_scancode.h:162
SDL_SCANCODE_F3
@ SDL_SCANCODE_F3
Definition SDL_scancode.h:155
SDL_SCANCODE_KP_AMPERSAND
@ SDL_SCANCODE_KP_AMPERSAND
Definition SDL_scancode.h:304
SDL_SCANCODE_KP_COLON
@ SDL_SCANCODE_KP_COLON
Definition SDL_scancode.h:308
SDL_SCANCODE_KP_RIGHTPAREN
@ SDL_SCANCODE_KP_RIGHTPAREN
Definition SDL_scancode.h:288
SDL_SCANCODE_KP_D
@ SDL_SCANCODE_KP_D
Definition SDL_scancode.h:296
SDL_SCANCODE_F1
@ SDL_SCANCODE_F1
Definition SDL_scancode.h:153
SDL_SCANCODE_KP_EQUALS
@ SDL_SCANCODE_KP_EQUALS
Definition SDL_scancode.h:214
SDL_SCANCODE_F21
@ SDL_SCANCODE_F21
Definition SDL_scancode.h:223
SDL_SCANCODE_KP_6
@ SDL_SCANCODE_KP_6
Definition SDL_scancode.h:193
SDL_SCANCODE_KP_HASH
@ SDL_SCANCODE_KP_HASH
Definition SDL_scancode.h:309
SDL_SCANCODE_KP_TAB
@ SDL_SCANCODE_KP_TAB
Definition SDL_scancode.h:291
SDL_SCANCODE_KP_7
@ SDL_SCANCODE_KP_7
Definition SDL_scancode.h:194
SDL_SCANCODE_AC_REFRESH
@ SDL_SCANCODE_AC_REFRESH
Definition SDL_scancode.h:371
SDL_SCANCODE_KP_9
@ SDL_SCANCODE_KP_9
Definition SDL_scancode.h:196
SDL_SCANCODE_EXSEL
@ SDL_SCANCODE_EXSEL
Definition SDL_scancode.h:279
SDL_SCANCODE_VOLUMEUP
@ SDL_SCANCODE_VOLUMEUP
Definition SDL_scancode.h:239
SDL_SCANCODE_APP2
@ SDL_SCANCODE_APP2
Definition SDL_scancode.h:394
SDL_SCANCODE_CRSEL
@ SDL_SCANCODE_CRSEL
Definition SDL_scancode.h:278
SDL_SCANCODE_ENDCALL
@ SDL_SCANCODE_ENDCALL
Definition SDL_scancode.h:426
SDL_SCANCODE_NUMLOCKCLEAR
@ SDL_SCANCODE_NUMLOCKCLEAR
Definition SDL_scancode.h:181
SDL_SCANCODE_PRINTSCREEN
@ SDL_SCANCODE_PRINTSCREEN
Definition SDL_scancode.h:166
SDL_SCANCODE_KP_XOR
@ SDL_SCANCODE_KP_XOR
Definition SDL_scancode.h:299
SDL_SCANCODE_POWER
@ SDL_SCANCODE_POWER
Definition SDL_scancode.h:211
SDL_SCANCODE_MAIL
@ SDL_SCANCODE_MAIL
Definition SDL_scancode.h:363
SDL_SCANCODE_KP_3
@ SDL_SCANCODE_KP_3
Definition SDL_scancode.h:190
SDL_SCANCODE_SCROLLLOCK
@ SDL_SCANCODE_SCROLLLOCK
Definition SDL_scancode.h:167
SDL_SCANCODE_EJECT
@ SDL_SCANCODE_EJECT
Definition SDL_scancode.h:390
SDL_SCANCODE_AUDIOPREV
@ SDL_SCANCODE_AUDIOPREV
Definition SDL_scancode.h:357
SDL_SCANCODE_PAUSE
@ SDL_SCANCODE_PAUSE
Definition SDL_scancode.h:168
SDL_SCANCODE_KBDILLUMTOGGLE
@ SDL_SCANCODE_KBDILLUMTOGGLE
Definition SDL_scancode.h:387
SDL_SCANCODE_KP_000
@ SDL_SCANCODE_KP_000
Definition SDL_scancode.h:282
SDL_SCANCODE_HELP
@ SDL_SCANCODE_HELP
Definition SDL_scancode.h:228
SDL_SCANCODE_PAGEDOWN
@ SDL_SCANCODE_PAGEDOWN
Definition SDL_scancode.h:175
SDL_SCANCODE_LSHIFT
@ SDL_SCANCODE_LSHIFT
Definition SDL_scancode.h:329
SDL_SCANCODE_AUDIOSTOP
@ SDL_SCANCODE_AUDIOSTOP
Definition SDL_scancode.h:358
SDL_SCANCODE_STOP
@ SDL_SCANCODE_STOP
Definition SDL_scancode.h:231
SDL_SCANCODE_CURRENCYSUBUNIT
@ SDL_SCANCODE_CURRENCYSUBUNIT
Definition SDL_scancode.h:286
SDL_SCANCODE_LCTRL
@ SDL_SCANCODE_LCTRL
Definition SDL_scancode.h:328
SDL_SCANCODE_F16
@ SDL_SCANCODE_F16
Definition SDL_scancode.h:218
SDL_SCANCODE_F22
@ SDL_SCANCODE_F22
Definition SDL_scancode.h:224
SDL_SCANCODE_DISPLAYSWITCH
@ SDL_SCANCODE_DISPLAYSWITCH
Definition SDL_scancode.h:385
SDL_SCANCODE_KP_MEMCLEAR
@ SDL_SCANCODE_KP_MEMCLEAR
Definition SDL_scancode.h:315
SDL_SCANCODE_LGUI
@ SDL_SCANCODE_LGUI
Definition SDL_scancode.h:331
SDL_SCANCODE_KP_LESS
@ SDL_SCANCODE_KP_LESS
Definition SDL_scancode.h:302
SDL_SCANCODE_AC_STOP
@ SDL_SCANCODE_AC_STOP
Definition SDL_scancode.h:370
SDL_SCANCODE_OPER
@ SDL_SCANCODE_OPER
Definition SDL_scancode.h:276
SDL_SCANCODE_KP_MEMSUBTRACT
@ SDL_SCANCODE_KP_MEMSUBTRACT
Definition SDL_scancode.h:317
SDL_SCANCODE_KP_A
@ SDL_SCANCODE_KP_A
Definition SDL_scancode.h:293
SDL_SCANCODE_AC_SEARCH
@ SDL_SCANCODE_AC_SEARCH
Definition SDL_scancode.h:366
SDL_SCANCODE_DECIMALSEPARATOR
@ SDL_SCANCODE_DECIMALSEPARATOR
Definition SDL_scancode.h:284
SDL_SCANCODE_F19
@ SDL_SCANCODE_F19
Definition SDL_scancode.h:221
SDL_SCANCODE_EXECUTE
@ SDL_SCANCODE_EXECUTE
Definition SDL_scancode.h:227
SDL_SCANCODE_KP_LEFTBRACE
@ SDL_SCANCODE_KP_LEFTBRACE
Definition SDL_scancode.h:289
SDL_SCANCODE_MENU
@ SDL_SCANCODE_MENU
Definition SDL_scancode.h:229
SDL_SCANCODE_RALT
@ SDL_SCANCODE_RALT
Definition SDL_scancode.h:334
SDL_SCANCODE_MUTE
@ SDL_SCANCODE_MUTE
Definition SDL_scancode.h:238
SDL_SCANCODE_SYSREQ
@ SDL_SCANCODE_SYSREQ
Definition SDL_scancode.h:269
SDL_SCANCODE_KP_PERCENT
@ SDL_SCANCODE_KP_PERCENT
Definition SDL_scancode.h:301
SDL_SCANCODE_F17
@ SDL_SCANCODE_F17
Definition SDL_scancode.h:219
SDL_SCANCODE_RETURN2
@ SDL_SCANCODE_RETURN2
Definition SDL_scancode.h:273
SDL_SCANCODE_KP_MEMADD
@ SDL_SCANCODE_KP_MEMADD
Definition SDL_scancode.h:316
SDL_SCANCODE_KP_PLUSMINUS
@ SDL_SCANCODE_KP_PLUSMINUS
Definition SDL_scancode.h:320
SDL_SCANCODE_THOUSANDSSEPARATOR
@ SDL_SCANCODE_THOUSANDSSEPARATOR
Definition SDL_scancode.h:283
SDL_SCANCODE_KP_ENTER
@ SDL_SCANCODE_KP_ENTER
Definition SDL_scancode.h:187
SDL_SCANCODE_AC_BACK
@ SDL_SCANCODE_AC_BACK
Definition SDL_scancode.h:368
SDL_SCANCODE_FIND
@ SDL_SCANCODE_FIND
Definition SDL_scancode.h:237
SDL_SCANCODE_KP_MEMSTORE
@ SDL_SCANCODE_KP_MEMSTORE
Definition SDL_scancode.h:313
SDL_SCANCODE_PAGEUP
@ SDL_SCANCODE_PAGEUP
Definition SDL_scancode.h:172
SDL_SCANCODE_COMPUTER
@ SDL_SCANCODE_COMPUTER
Definition SDL_scancode.h:365
SDL_SCANCODE_AUDIOPLAY
@ SDL_SCANCODE_AUDIOPLAY
Definition SDL_scancode.h:359
SDL_SCANCODE_F23
@ SDL_SCANCODE_F23
Definition SDL_scancode.h:225
SDL_SCANCODE_CALL
@ SDL_SCANCODE_CALL
Definition SDL_scancode.h:425
SDL_SCANCODE_KP_MEMRECALL
@ SDL_SCANCODE_KP_MEMRECALL
Definition SDL_scancode.h:314
SDL_SCANCODE_KP_AT
@ SDL_SCANCODE_KP_AT
Definition SDL_scancode.h:311
SDL_SCANCODE_KP_1
@ SDL_SCANCODE_KP_1
Definition SDL_scancode.h:188
SDL_SCANCODE_AC_BOOKMARKS
@ SDL_SCANCODE_AC_BOOKMARKS
Definition SDL_scancode.h:372
SDL_SCANCODE_KP_MEMMULTIPLY
@ SDL_SCANCODE_KP_MEMMULTIPLY
Definition SDL_scancode.h:318
SDL_SCANCODE_DOWN
@ SDL_SCANCODE_DOWN
Definition SDL_scancode.h:178
SDL_SCANCODE_COPY
@ SDL_SCANCODE_COPY
Definition SDL_scancode.h:235
SDL_SCANCODE_RIGHT
@ SDL_SCANCODE_RIGHT
Definition SDL_scancode.h:176
SDL_SCANCODE_F7
@ SDL_SCANCODE_F7
Definition SDL_scancode.h:159
SDL_SCANCODE_WWW
@ SDL_SCANCODE_WWW
Definition SDL_scancode.h:362
SDL_SCANCODE_MODE
@ SDL_SCANCODE_MODE
Definition SDL_scancode.h:337
SDL_SCANCODE_ALTERASE
@ SDL_SCANCODE_ALTERASE
Definition SDL_scancode.h:268
SDL_SCANCODE_KP_2
@ SDL_SCANCODE_KP_2
Definition SDL_scancode.h:189
SDL_SCANCODE_KP_RIGHTBRACE
@ SDL_SCANCODE_KP_RIGHTBRACE
Definition SDL_scancode.h:290
SDL_SCANCODE_AGAIN
@ SDL_SCANCODE_AGAIN
Definition SDL_scancode.h:232
SDL_SCANCODE_KP_EQUALSAS400
@ SDL_SCANCODE_KP_EQUALSAS400
Definition SDL_scancode.h:246
SDL_SCANCODE_KP_MULTIPLY
@ SDL_SCANCODE_KP_MULTIPLY
Definition SDL_scancode.h:184
SDL_SCANCODE_KP_C
@ SDL_SCANCODE_KP_C
Definition SDL_scancode.h:295
SDL_SCANCODE_KP_POWER
@ SDL_SCANCODE_KP_POWER
Definition SDL_scancode.h:300
SDL_SCANCODE_AUDIOREWIND
@ SDL_SCANCODE_AUDIOREWIND
Definition SDL_scancode.h:405
SDL_SCANCODE_KP_DBLVERTICALBAR
@ SDL_SCANCODE_KP_DBLVERTICALBAR
Definition SDL_scancode.h:307
SDL_SCANCODE_APP1
@ SDL_SCANCODE_APP1
Definition SDL_scancode.h:393
SDL_SCANCODE_F9
@ SDL_SCANCODE_F9
Definition SDL_scancode.h:161
SDL_SCANCODE_F5
@ SDL_SCANCODE_F5
Definition SDL_scancode.h:157
SDL_SCANCODE_BRIGHTNESSDOWN
@ SDL_SCANCODE_BRIGHTNESSDOWN
Definition SDL_scancode.h:383
SDL_SCANCODE_UP
@ SDL_SCANCODE_UP
Definition SDL_scancode.h:179
SDL_SCANCODE_LEFT
@ SDL_SCANCODE_LEFT
Definition SDL_scancode.h:177
SDL_SCANCODE_AUDIONEXT
@ SDL_SCANCODE_AUDIONEXT
Definition SDL_scancode.h:356
SDL_SCANCODE_KBDILLUMDOWN
@ SDL_SCANCODE_KBDILLUMDOWN
Definition SDL_scancode.h:388
SDL_SCANCODE_KP_BINARY
@ SDL_SCANCODE_KP_BINARY
Definition SDL_scancode.h:323
SDL_SCANCODE_SELECT
@ SDL_SCANCODE_SELECT
Definition SDL_scancode.h:230
SDL_SCANCODE_APPLICATION
@ SDL_SCANCODE_APPLICATION
Definition SDL_scancode.h:210
SDL_SCANCODE_KP_4
@ SDL_SCANCODE_KP_4
Definition SDL_scancode.h:191
SDL_SCANCODE_HOME
@ SDL_SCANCODE_HOME
Definition SDL_scancode.h:171
SDL_SCANCODE_F14
@ SDL_SCANCODE_F14
Definition SDL_scancode.h:216
SDL_SCANCODE_KP_CLEAR
@ SDL_SCANCODE_KP_CLEAR
Definition SDL_scancode.h:321
SDL_SCANCODE_AUDIOFASTFORWARD
@ SDL_SCANCODE_AUDIOFASTFORWARD
Definition SDL_scancode.h:406
SDL_SCANCODE_KBDILLUMUP
@ SDL_SCANCODE_KBDILLUMUP
Definition SDL_scancode.h:389
SDL_SCANCODE_F8
@ SDL_SCANCODE_F8
Definition SDL_scancode.h:160
SDL_SCANCODE_LALT
@ SDL_SCANCODE_LALT
Definition SDL_scancode.h:330
SDL_SCANCODE_KP_8
@ SDL_SCANCODE_KP_8
Definition SDL_scancode.h:195
SDL_SCANCODE_PASTE
@ SDL_SCANCODE_PASTE
Definition SDL_scancode.h:236
SDL_SCANCODE_RCTRL
@ SDL_SCANCODE_RCTRL
Definition SDL_scancode.h:332
SDL_SCANCODE_F20
@ SDL_SCANCODE_F20
Definition SDL_scancode.h:222
SDL_SCANCODE_KP_5
@ SDL_SCANCODE_KP_5
Definition SDL_scancode.h:192
SDL_SCANCODE_UNDO
@ SDL_SCANCODE_UNDO
Definition SDL_scancode.h:233
SDL_SCANCODE_KP_DBLAMPERSAND
@ SDL_SCANCODE_KP_DBLAMPERSAND
Definition SDL_scancode.h:305
SDL_SCANCODE_CLEAR
@ SDL_SCANCODE_CLEAR
Definition SDL_scancode.h:271
SDL_SCANCODE_AC_HOME
@ SDL_SCANCODE_AC_HOME
Definition SDL_scancode.h:367
SDL_SCANCODE_VOLUMEDOWN
@ SDL_SCANCODE_VOLUMEDOWN
Definition SDL_scancode.h:240
SDL_SCANCODE_SOFTRIGHT
@ SDL_SCANCODE_SOFTRIGHT
Definition SDL_scancode.h:421
SDL_SCANCODE_SLEEP
@ SDL_SCANCODE_SLEEP
Definition SDL_scancode.h:391
SDL_SCANCODE_KP_DIVIDE
@ SDL_SCANCODE_KP_DIVIDE
Definition SDL_scancode.h:183
SDL_SCANCODE_PRIOR
@ SDL_SCANCODE_PRIOR
Definition SDL_scancode.h:272
SDL_SCANCODE_F18
@ SDL_SCANCODE_F18
Definition SDL_scancode.h:220
SDL_SCANCODE_F13
@ SDL_SCANCODE_F13
Definition SDL_scancode.h:215
SDL_SCANCODE_CURRENCYUNIT
@ SDL_SCANCODE_CURRENCYUNIT
Definition SDL_scancode.h:285
SDL_SCANCODE_SOFTLEFT
@ SDL_SCANCODE_SOFTLEFT
Definition SDL_scancode.h:417
SDL_SCANCODE_MEDIASELECT
@ SDL_SCANCODE_MEDIASELECT
Definition SDL_scancode.h:361
SDL_SCANCODE_SEPARATOR
@ SDL_SCANCODE_SEPARATOR
Definition SDL_scancode.h:274
SDL_SCANCODE_RSHIFT
@ SDL_SCANCODE_RSHIFT
Definition SDL_scancode.h:333
SDL_SCANCODE_INSERT
@ SDL_SCANCODE_INSERT
Definition SDL_scancode.h:169
SDL_SCANCODE_AC_FORWARD
@ SDL_SCANCODE_AC_FORWARD
Definition SDL_scancode.h:369
SDL_SCANCODE_KP_MEMDIVIDE
@ SDL_SCANCODE_KP_MEMDIVIDE
Definition SDL_scancode.h:319

## SDL_Keymod

enum SDL_Keymod

Enumeration of valid key mods (possibly OR'd together).

Enumerator
KMOD_NONE |
KMOD_LSHIFT |
KMOD_RSHIFT |
KMOD_LCTRL |
KMOD_RCTRL |
KMOD_LALT |
KMOD_RALT |
KMOD_LGUI |
KMOD_RGUI |
KMOD_NUM |
KMOD_CAPS |
KMOD_MODE |
KMOD_SCROLL |
KMOD_CTRL |
KMOD_SHIFT |
KMOD_ALT |
KMOD_GUI |
KMOD_RESERVED |

Definition at line 332 of file SDL_keycode.h.

{
KMOD_NONE = 0x0000,
KMOD_LSHIFT = 0x0001,
KMOD_RSHIFT = 0x0002,
KMOD_LCTRL = 0x0040,
KMOD_RCTRL = 0x0080,
KMOD_LALT = 0x0100,
KMOD_RALT = 0x0200,
KMOD_LGUI = 0x0400,
KMOD_RGUI = 0x0800,
KMOD_NUM = 0x1000,
KMOD_CAPS = 0x2000,
KMOD_MODE = 0x4000,
KMOD_SCROLL = 0x8000,
KMOD_CTRL = KMOD_LCTRL | KMOD_RCTRL,
KMOD_SHIFT = KMOD_LSHIFT | KMOD_RSHIFT,
KMOD_ALT = KMOD_LALT | KMOD_RALT,
KMOD_GUI = KMOD_LGUI | KMOD_RGUI,
KMOD_RESERVED = KMOD_SCROLL /* This is for source-level compatibility with SDL 2.0.0. */
} SDL_Keymod;
SDL_Keymod
SDL_Keymod
Definition SDL_keycode.h:333
KMOD_GUI
@ KMOD_GUI
Definition SDL_keycode.h:351
KMOD_MODE
@ KMOD_MODE
Definition SDL_keycode.h:345
KMOD_SHIFT
@ KMOD_SHIFT
Definition SDL_keycode.h:349
KMOD_RALT
@ KMOD_RALT
Definition SDL_keycode.h:340
KMOD_LSHIFT
@ KMOD_LSHIFT
Definition SDL_keycode.h:335
KMOD_RESERVED
@ KMOD_RESERVED
Definition SDL_keycode.h:353
KMOD_LGUI
@ KMOD_LGUI
Definition SDL_keycode.h:341
KMOD_CAPS
@ KMOD_CAPS
Definition SDL_keycode.h:344
KMOD_LALT
@ KMOD_LALT
Definition SDL_keycode.h:339
KMOD_RCTRL
@ KMOD_RCTRL
Definition SDL_keycode.h:338
KMOD_NONE
@ KMOD_NONE
Definition SDL_keycode.h:334
KMOD_RGUI
@ KMOD_RGUI
Definition SDL_keycode.h:342
KMOD_LCTRL
@ KMOD_LCTRL
Definition SDL_keycode.h:337
KMOD_SCROLL
@ KMOD_SCROLL
Definition SDL_keycode.h:346
KMOD_RSHIFT
@ KMOD_RSHIFT
Definition SDL_keycode.h:336
KMOD_ALT
@ KMOD_ALT
Definition SDL_keycode.h:350
KMOD_NUM
@ KMOD_NUM
Definition SDL_keycode.h:343
KMOD_CTRL
@ KMOD_CTRL
Definition SDL_keycode.h:348