SDL_keycode.h
Go to the documentation of this file.
/*
Simple DirectMedia Layer
Copyright (C) 1997-2018 Sam Lantinga <slouken@libsdl.org>
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
arising from the use of this software.
Permission is granted to anyone to use this software for any purpose,
including commercial applications, and to alter it and redistribute it
freely, subject to the following restrictions:
1. The origin of this software must not be misrepresented; you must not
claim that you wrote the original software. If you use this software
in a product, an acknowledgment in the product documentation would be
appreciated but is not required.
2. Altered source versions must be plainly marked as such, and must not be
misrepresented as being the original software.
3. This notice may not be removed or altered from any source distribution.
*/
/**
* \file SDL_keycode.h
*
* Defines constants which identify keyboard keys and modifiers.
*/
#ifndef SDL_keycode_h_
#define SDL_keycode_h_
#include "SDL_stdinc.h"
#include "SDL_scancode.h"
/**
* \brief 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
* always map to SDLK_0...SDLK_9, regardless of layout.
*/
typedef Sint32 SDL_Keycode;
#define SDLK_SCANCODE_MASK (1<<30)
#define SDL_SCANCODE_TO_KEYCODE(X) (X | SDLK_SCANCODE_MASK)
enum
{
SDLK_UNKNOWN = 0,
SDLK_RETURN = '\r',
SDLK_ESCAPE = '\033',
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 = '\177',
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)
};
/**
* \brief Enumeration of valid key mods (possibly OR'd together).
*/
typedef enum
{
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_RESERVED = 0x8000
} SDL_Keymod;
#define KMOD_CTRL (KMOD_LCTRL|KMOD_RCTRL)
#define KMOD_SHIFT (KMOD_LSHIFT|KMOD_RSHIFT)
#define KMOD_ALT (KMOD_LALT|KMOD_RALT)
#define KMOD_GUI (KMOD_LGUI|KMOD_RGUI)
#endif /* SDL_keycode_h_ */
/* vi: set ts=4 sw=4 expandtab: */
SDLK_OUT
Definition: SDL_keycode.h:214
SDLK_SLEEP
Definition: SDL_keycode.h:314
SDLK_g
Definition: SDL_keycode.h:106
SDLK_CLEARAGAIN
Definition: SDL_keycode.h:216
SDL_SCANCODE_AUDIONEXT
Definition: SDL_scancode.h:351
SDLK_BACKQUOTE
Definition: SDL_keycode.h:99
SDL_SCANCODE_F17
Definition: SDL_scancode.h:219
SDLK_KP_LEFTBRACE
Definition: SDL_keycode.h:231
SDL_SCANCODE_SEPARATOR
Definition: SDL_scancode.h:274
SDL_SCANCODE_WWW
Definition: SDL_scancode.h:357
SDL_SCANCODE_KP_GREATER
Definition: SDL_scancode.h:303
SDLK_COLON
Definition: SDL_keycode.h:84
SDLK_KP_C
Definition: SDL_keycode.h:237
SDLK_DELETE
Definition: SDL_keycode.h:148
SDLK_RGUI
Definition: SDL_keycode.h:283
SDLK_PERIOD
Definition: SDL_keycode.h:72
SDL_SCANCODE_AC_BOOKMARKS
Definition: SDL_scancode.h:367
SDL_SCANCODE_F13
Definition: SDL_scancode.h:215
SDL_SCANCODE_F10
Definition: SDL_scancode.h:162
SDLK_KP_MEMMULTIPLY
Definition: SDL_keycode.h:264
SDL_SCANCODE_KP_ENTER
Definition: SDL_scancode.h:187
SDLK_KP_DBLVERTICALBAR
Definition: SDL_keycode.h:251
SDLK_KP_HEXADECIMAL
Definition: SDL_keycode.h:273
SDLK_APPLICATION
Definition: SDL_keycode.h:174
SDL_SCANCODE_KP_PERIOD
Definition: SDL_scancode.h:198
SDLK_BACKSLASH
Definition: SDL_keycode.h:95
SDLK_UNDO
Definition: SDL_keycode.h:195
SDLK_KP_RIGHTPAREN
Definition: SDL_keycode.h:230
KMOD_LCTRL
Definition: SDL_keycode.h:330
SDL_SCANCODE_KP_MEMMULTIPLY
Definition: SDL_scancode.h:318
SDL_SCANCODE_BRIGHTNESSDOWN
Definition: SDL_scancode.h:378
SDLK_F17
Definition: SDL_keycode.h:181
SDLK_BACKSPACE
Definition: SDL_keycode.h:56
SDL_SCANCODE_UNDO
Definition: SDL_scancode.h:233
SDLK_KP_D
Definition: SDL_keycode.h:238
SDLK_KP_CLEARENTRY
Definition: SDL_keycode.h:269
SDL_SCANCODE_POWER
Definition: SDL_scancode.h:211
SDLK_VOLUMEUP
Definition: SDL_keycode.h:201
SDLK_MEDIASELECT
Definition: SDL_keycode.h:292
SDLK_KP_7
Definition: SDL_keycode.h:168
SDL_SCANCODE_KP_PLUSMINUS
Definition: SDL_scancode.h:320
SDL_SCANCODE_HELP
Definition: SDL_scancode.h:228
SDL_SCANCODE_KP_DECIMAL
Definition: SDL_scancode.h:325
SDLK_MENU
Definition: SDL_keycode.h:191
SDLK_q
Definition: SDL_keycode.h:116
SDL_SCANCODE_KP_AMPERSAND
Definition: SDL_scancode.h:304
SDL_SCANCODE_LEFT
Definition: SDL_scancode.h:177
SDLK_EQUALS
Definition: SDL_keycode.h:87
SDLK_MUTE
Definition: SDL_keycode.h:200
SDLK_KP_MEMSTORE
Definition: SDL_keycode.h:258
SDL_SCANCODE_SELECT
Definition: SDL_scancode.h:230
SDL_SCANCODE_AUDIOREWIND
Definition: SDL_scancode.h:400
SDLK_QUESTION
Definition: SDL_keycode.h:89
SDLK_RSHIFT
Definition: SDL_keycode.h:281
SDLK_KP_BACKSPACE
Definition: SDL_keycode.h:234
SDL_SCANCODE_VOLUMEDOWN
Definition: SDL_scancode.h:240
KMOD_RCTRL
Definition: SDL_keycode.h:331
SDLK_KP_LESS
Definition: SDL_keycode.h:244
SDL_SCANCODE_AGAIN
Definition: SDL_scancode.h:232
SDLK_PAGEUP
Definition: SDL_keycode.h:147
SDLK_ASTERISK
Definition: SDL_keycode.h:68
KMOD_RESERVED
Definition: SDL_keycode.h:339
SDL_SCANCODE_F7
Definition: SDL_scancode.h:159
SDLK_GREATER
Definition: SDL_keycode.h:88
SDL_SCANCODE_APP2
Definition: SDL_scancode.h:389
KMOD_LSHIFT
Definition: SDL_keycode.h:328
SDL_SCANCODE_F15
Definition: SDL_scancode.h:217
SDLK_HELP
Definition: SDL_keycode.h:190
SDLK_KP_EXCLAM
Definition: SDL_keycode.h:257
SDLK_KP_2
Definition: SDL_keycode.h:163
SDLK_F4
Definition: SDL_keycode.h:132
SDLK_a
Definition: SDL_keycode.h:100
SDL_SCANCODE_KP_8
Definition: SDL_scancode.h:195
SDL_SCANCODE_UP
Definition: SDL_scancode.h:179
SDL_SCANCODE_SCROLLLOCK
Definition: SDL_scancode.h:167
SDLK_k
Definition: SDL_keycode.h:110
SDL_SCANCODE_RETURN2
Definition: SDL_scancode.h:273
SDLK_KP_VERTICALBAR
Definition: SDL_keycode.h:249
SDLK_KP_AT
Definition: SDL_keycode.h:256
SDLK_h
Definition: SDL_keycode.h:107
SDLK_KP_3
Definition: SDL_keycode.h:164
SDLK_PASTE
Definition: SDL_keycode.h:198
SDL_SCANCODE_RIGHT
Definition: SDL_scancode.h:176
SDLK_MODE
Definition: SDL_keycode.h:285
SDLK_KP_CLEAR
Definition: SDL_keycode.h:268
SDL_SCANCODE_KP_D
Definition: SDL_scancode.h:296
SDLK_TAB
Definition: SDL_keycode.h:57
SDLK_0
Definition: SDL_keycode.h:74
SDLK_KP_HASH
Definition: SDL_keycode.h:254
SDLK_KP_AMPERSAND
Definition: SDL_keycode.h:246
SDLK_KP_COLON
Definition: SDL_keycode.h:253
SDLK_F16
Definition: SDL_keycode.h:180
SDLK_KBDILLUMTOGGLE
Definition: SDL_keycode.h:309
SDLK_STOP
Definition: SDL_keycode.h:193
SDLK_LALT
Definition: SDL_keycode.h:278
SDL_SCANCODE_PAGEDOWN
Definition: SDL_scancode.h:175
SDL_SCANCODE_F3
Definition: SDL_scancode.h:155
SDL_SCANCODE_DISPLAYSWITCH
Definition: SDL_scancode.h:380
SDL_SCANCODE_KP_CLEAR
Definition: SDL_scancode.h:321
SDLK_END
Definition: SDL_keycode.h:149
SDLK_RIGHT
Definition: SDL_keycode.h:151
SDLK_F20
Definition: SDL_keycode.h:184
SDLK_KP_9
Definition: SDL_keycode.h:170
SDL_SCANCODE_THOUSANDSSEPARATOR
Definition: SDL_scancode.h:283
SDL_SCANCODE_FIND
Definition: SDL_scancode.h:237
SDLK_COMPUTER
Definition: SDL_keycode.h:296
SDL_SCANCODE_KP_LEFTPAREN
Definition: SDL_scancode.h:287
SDLK_CALCULATOR
Definition: SDL_keycode.h:295
SDL_SCANCODE_KP_CLEARENTRY
Definition: SDL_scancode.h:322
SDLK_CARET
Definition: SDL_keycode.h:97
SDLK_SEPARATOR
Definition: SDL_keycode.h:213
SDL_SCANCODE_KP_MEMSTORE
Definition: SDL_scancode.h:313
SDL_SCANCODE_KP_BINARY
Definition: SDL_scancode.h:323
SDLK_SLASH
Definition: SDL_keycode.h:73
SDL_SCANCODE_KP_00
Definition: SDL_scancode.h:281
SDL_SCANCODE_KP_5
Definition: SDL_scancode.h:192
SDLK_KP_GREATER
Definition: SDL_keycode.h:245
SDL_SCANCODE_KP_RIGHTPAREN
Definition: SDL_scancode.h:288
SDLK_PERCENT
Definition: SDL_keycode.h:62
SDL_SCANCODE_KP_EQUALS
Definition: SDL_scancode.h:214
SDLK_F2
Definition: SDL_keycode.h:130
SDLK_CAPSLOCK
Definition: SDL_keycode.h:127
SDL_SCANCODE_PASTE
Definition: SDL_scancode.h:236
SDLK_F22
Definition: SDL_keycode.h:186
SDL_SCANCODE_SLEEP
Definition: SDL_scancode.h:386
SDLK_SCROLLLOCK
Definition: SDL_keycode.h:143
SDLK_i
Definition: SDL_keycode.h:108
SDL_SCANCODE_KP_AT
Definition: SDL_scancode.h:311
SDL_SCANCODE_CANCEL
Definition: SDL_scancode.h:270
SDL_Keycode
Sint32 SDL_Keycode
The SDL virtual key representation.
Definition: SDL_keycode.h:45
SDLK_KP_PLUSMINUS
Definition: SDL_keycode.h:267
SDLK_AUDIOMUTE
Definition: SDL_keycode.h:291
SDLK_AC_HOME
Definition: SDL_keycode.h:298
SDL_SCANCODE_KP_MEMSUBTRACT
Definition: SDL_scancode.h:317
SDL_SCANCODE_MUTE
Definition: SDL_scancode.h:238
SDLK_RETURN
Definition: SDL_keycode.h:54
SDL_SCANCODE_F9
Definition: SDL_scancode.h:161
SDLK_3
Definition: SDL_keycode.h:77
SDL_SCANCODE_CAPSLOCK
Definition: SDL_scancode.h:151
KMOD_NONE
Definition: SDL_keycode.h:327
SDLK_CANCEL
Definition: SDL_keycode.h:209
SDLK_RCTRL
Definition: SDL_keycode.h:280
SDL_SCANCODE_CALCULATOR
Definition: SDL_scancode.h:359
SDL_SCANCODE_VOLUMEUP
Definition: SDL_scancode.h:239
SDLK_KP_B
Definition: SDL_keycode.h:236
SDL_SCANCODE_EXECUTE
Definition: SDL_scancode.h:227
SDLK_SEMICOLON
Definition: SDL_keycode.h:85
SDLK_KP_ENTER
Definition: SDL_keycode.h:161
SDL_SCANCODE_F18
Definition: SDL_scancode.h:220
SDLK_PLUS
Definition: SDL_keycode.h:69
SDL_SCANCODE_F16
Definition: SDL_scancode.h:218
SDL_SCANCODE_KP_6
Definition: SDL_scancode.h:193
SDLK_d
Definition: SDL_keycode.h:103
SDL_SCANCODE_F5
Definition: SDL_scancode.h:157
SDLK_PAGEDOWN
Definition: SDL_keycode.h:150
SDL_SCANCODE_LALT
Definition: SDL_scancode.h:330
SDLK_KP_A
Definition: SDL_keycode.h:235
SDLK_KP_BINARY
Definition: SDL_keycode.h:270
SDLK_KP_MINUS
Definition: SDL_keycode.h:159
SDL_SCANCODE_KBDILLUMTOGGLE
Definition: SDL_scancode.h:382
SDLK_KP_PERIOD
Definition: SDL_keycode.h:172
SDLK_CUT
Definition: SDL_keycode.h:196
SDLK_LEFTBRACKET
Definition: SDL_keycode.h:94
SDL_SCANCODE_KP_EXCLAM
Definition: SDL_scancode.h:312
SDLK_MINUS
Definition: SDL_keycode.h:71
SDLK_QUOTEDBL
Definition: SDL_keycode.h:60
SDLK_s
Definition: SDL_keycode.h:118
SDLK_AUDIOPLAY
Definition: SDL_keycode.h:290
SDLK_KP_SPACE
Definition: SDL_keycode.h:255
SDLK_AC_SEARCH
Definition: SDL_keycode.h:297
KMOD_RGUI
Definition: SDL_keycode.h:335
SDLK_1
Definition: SDL_keycode.h:75
SDL_SCANCODE_COMPUTER
Definition: SDL_scancode.h:360
SDLK_DISPLAYSWITCH
Definition: SDL_keycode.h:308
SDLK_LEFTPAREN
Definition: SDL_keycode.h:66
SDL_SCANCODE_STOP
Definition: SDL_scancode.h:231
SDLK_AUDIOFASTFORWARD
Definition: SDL_keycode.h:319
SDLK_F24
Definition: SDL_keycode.h:188
SDLK_DOLLAR
Definition: SDL_keycode.h:63
SDLK_c
Definition: SDL_keycode.h:102
SDL_SCANCODE_KP_1
Definition: SDL_scancode.h:188
SDLK_F21
Definition: SDL_keycode.h:185
SDLK_BRIGHTNESSUP
Definition: SDL_keycode.h:307
SDL_SCANCODE_F21
Definition: SDL_scancode.h:223
SDLK_RALT
Definition: SDL_keycode.h:282
SDLK_n
Definition: SDL_keycode.h:113
SDLK_j
Definition: SDL_keycode.h:109
SDLK_BRIGHTNESSDOWN
Definition: SDL_keycode.h:305
SDLK_KP_COMMA
Definition: SDL_keycode.h:203
SDL_SCANCODE_KP_POWER
Definition: SDL_scancode.h:300
SDL_SCANCODE_F24
Definition: SDL_scancode.h:226
SDLK_x
Definition: SDL_keycode.h:123
SDL_SCANCODE_KP_HASH
Definition: SDL_scancode.h:309
SDLK_SYSREQ
Definition: SDL_keycode.h:208
SDLK_u
Definition: SDL_keycode.h:120
SDLK_o
Definition: SDL_keycode.h:114
SDL_SCANCODE_DECIMALSEPARATOR
Definition: SDL_scancode.h:284
SDLK_F12
Definition: SDL_keycode.h:140
SDLK_MAIL
Definition: SDL_keycode.h:294
SDL_SCANCODE_F14
Definition: SDL_scancode.h:216
SDLK_POWER
Definition: SDL_keycode.h:175
SDL_SCANCODE_MAIL
Definition: SDL_scancode.h:358
SDL_SCANCODE_PAUSE
Definition: SDL_scancode.h:168
SDL_SCANCODE_KP_MULTIPLY
Definition: SDL_scancode.h:184
SDLK_KP_MULTIPLY
Definition: SDL_keycode.h:158
SDLK_HOME
Definition: SDL_keycode.h:146
SDL_SCANCODE_KP_PERCENT
Definition: SDL_scancode.h:301
SDL_SCANCODE_KP_9
Definition: SDL_scancode.h:196
SDL_SCANCODE_F20
Definition: SDL_scancode.h:222
SDL_SCANCODE_AC_BACK
Definition: SDL_scancode.h:363
KMOD_CAPS
Definition: SDL_keycode.h:337
KMOD_MODE
Definition: SDL_keycode.h:338
SDLK_b
Definition: SDL_keycode.h:101
SDLK_PAUSE
Definition: SDL_keycode.h:144
SDLK_5
Definition: SDL_keycode.h:79
SDLK_AMPERSAND
Definition: SDL_keycode.h:64
SDLK_F5
Definition: SDL_keycode.h:133
SDLK_KP_MEMSUBTRACT
Definition: SDL_keycode.h:262
KMOD_NUM
Definition: SDL_keycode.h:336
SDL_SCANCODE_KP_7
Definition: SDL_scancode.h:194
SDL_SCANCODE_KP_RIGHTBRACE
Definition: SDL_scancode.h:290
SDLK_AC_REFRESH
Definition: SDL_keycode.h:302
SDLK_y
Definition: SDL_keycode.h:124
SDLK_KP_F
Definition: SDL_keycode.h:240
SDL_SCANCODE_SYSREQ
Definition: SDL_scancode.h:269
SDL_scancode.h
SDLK_KP_TAB
Definition: SDL_keycode.h:233
SDLK_THOUSANDSSEPARATOR
Definition: SDL_keycode.h:222
SDL_SCANCODE_TO_KEYCODE
#define SDL_SCANCODE_TO_KEYCODE(X)
Definition: SDL_keycode.h:48
SDLK_r
Definition: SDL_keycode.h:117
SDLK_EXSEL
Definition: SDL_keycode.h:218
SDL_SCANCODE_CURRENCYUNIT
Definition: SDL_scancode.h:285
SDL_SCANCODE_KP_PLUS
Definition: SDL_scancode.h:186
SDLK_KP_DECIMAL
Definition: SDL_keycode.h:272
SDL_SCANCODE_KP_HEXADECIMAL
Definition: SDL_scancode.h:326
SDLK_AGAIN
Definition: SDL_keycode.h:194
SDLK_AUDIONEXT
Definition: SDL_keycode.h:287
SDL_SCANCODE_OUT
Definition: SDL_scancode.h:275
SDL_SCANCODE_KP_4
Definition: SDL_scancode.h:191
SDL_SCANCODE_KP_0
Definition: SDL_scancode.h:197
SDLK_AUDIOREWIND
Definition: SDL_keycode.h:318
SDLK_APP1
Definition: SDL_keycode.h:315
SDLK_LCTRL
Definition: SDL_keycode.h:276
SDLK_KP_5
Definition: SDL_keycode.h:166
SDL_SCANCODE_KP_LESS
Definition: SDL_scancode.h:302
SDLK_RIGHTPAREN
Definition: SDL_keycode.h:67
SDL_SCANCODE_KBDILLUMUP
Definition: SDL_scancode.h:384
SDL_SCANCODE_F11
Definition: SDL_scancode.h:163
SDLK_KP_6
Definition: SDL_keycode.h:167
SDL_SCANCODE_APP1
Definition: SDL_scancode.h:388
SDLK_F6
Definition: SDL_keycode.h:134
SDLK_KP_PLUS
Definition: SDL_keycode.h:160
SDL_SCANCODE_LCTRL
Definition: SDL_scancode.h:328
SDL_SCANCODE_KP_EQUALSAS400
Definition: SDL_scancode.h:246
SDL_SCANCODE_KP_COLON
Definition: SDL_scancode.h:308
SDL_SCANCODE_KP_OCTAL
Definition: SDL_scancode.h:324
SDLK_e
Definition: SDL_keycode.h:104
SDLK_KP_00
Definition: SDL_keycode.h:220
SDLK_F8
Definition: SDL_keycode.h:136
SDL_SCANCODE_KP_DIVIDE
Definition: SDL_scancode.h:183
SDLK_F23
Definition: SDL_keycode.h:187
SDL_SCANCODE_CUT
Definition: SDL_scancode.h:234
SDLK_EXCLAIM
Definition: SDL_keycode.h:59
SDLK_AUDIOPREV
Definition: SDL_keycode.h:288
SDLK_OPER
Definition: SDL_keycode.h:215
Sint32
int32_t Sint32
Definition: SDL_stdinc.h:175
SDLK_KP_0
Definition: SDL_keycode.h:171
SDL_SCANCODE_LSHIFT
Definition: SDL_scancode.h:329
SDLK_PRINTSCREEN
Definition: SDL_keycode.h:142
SDLK_t
Definition: SDL_keycode.h:119
SDL_SCANCODE_CLEAR
Definition: SDL_scancode.h:271
SDL_SCANCODE_KP_F
Definition: SDL_scancode.h:298
SDL_Keymod
SDL_Keymod
Enumeration of valid key mods (possibly OR&#39;d together).
Definition: SDL_keycode.h:325
SDL_SCANCODE_COPY
Definition: SDL_scancode.h:235
SDLK_KP_MEMRECALL
Definition: SDL_keycode.h:259
SDL_SCANCODE_KP_C
Definition: SDL_scancode.h:295
SDL_SCANCODE_KP_SPACE
Definition: SDL_scancode.h:310
SDL_SCANCODE_KP_LEFTBRACE
Definition: SDL_scancode.h:289
SDLK_KP_PERCENT
Definition: SDL_keycode.h:243
SDL_SCANCODE_KP_MEMADD
Definition: SDL_scancode.h:316
SDLK_KP_XOR
Definition: SDL_keycode.h:241
SDLK_m
Definition: SDL_keycode.h:112
SDL_SCANCODE_AC_STOP
Definition: SDL_scancode.h:365
SDLK_KP_MEMDIVIDE
Definition: SDL_keycode.h:266
SDL_SCANCODE_KP_A
Definition: SDL_scancode.h:293
SDL_SCANCODE_KP_XOR
Definition: SDL_scancode.h:299
SDLK_KP_OCTAL
Definition: SDL_keycode.h:271
SDLK_LEFT
Definition: SDL_keycode.h:152
SDLK_CRSEL
Definition: SDL_keycode.h:217
SDLK_AT
Definition: SDL_keycode.h:90
SDL_SCANCODE_EJECT
Definition: SDL_scancode.h:385
SDLK_F18
Definition: SDL_keycode.h:182
SDLK_KBDILLUMDOWN
Definition: SDL_keycode.h:311
SDL_SCANCODE_KP_TAB
Definition: SDL_scancode.h:291
SDLK_KP_POWER
Definition: SDL_keycode.h:242
SDL_SCANCODE_AUDIOMUTE
Definition: SDL_scancode.h:355
SDL_SCANCODE_OPER
Definition: SDL_scancode.h:276
SDLK_F19
Definition: SDL_keycode.h:183
SDLK_CLEAR
Definition: SDL_keycode.h:210
SDL_SCANCODE_KP_E
Definition: SDL_scancode.h:297
SDL_SCANCODE_KP_COMMA
Definition: SDL_scancode.h:245
SDLK_2
Definition: SDL_keycode.h:76
SDL_SCANCODE_CURRENCYSUBUNIT
Definition: SDL_scancode.h:286
SDL_SCANCODE_KP_DBLAMPERSAND
Definition: SDL_scancode.h:305
SDLK_f
Definition: SDL_keycode.h:105
SDLK_v
Definition: SDL_keycode.h:121
SDLK_8
Definition: SDL_keycode.h:82
SDLK_UNKNOWN
Definition: SDL_keycode.h:52
SDL_SCANCODE_NUMLOCKCLEAR
Definition: SDL_scancode.h:181
SDLK_KP_4
Definition: SDL_keycode.h:165
SDLK_COPY
Definition: SDL_keycode.h:197
SDLK_SELECT
Definition: SDL_keycode.h:192
SDL_SCANCODE_MEDIASELECT
Definition: SDL_scancode.h:356
SDLK_KP_000
Definition: SDL_keycode.h:221
KMOD_LGUI
Definition: SDL_keycode.h:334
SDLK_COMMA
Definition: SDL_keycode.h:70
SDLK_RIGHTBRACKET
Definition: SDL_keycode.h:96
SDLK_AUDIOSTOP
Definition: SDL_keycode.h:289
SDL_SCANCODE_KP_DBLVERTICALBAR
Definition: SDL_scancode.h:307
SDLK_F1
Definition: SDL_keycode.h:129
SDLK_AC_FORWARD
Definition: SDL_keycode.h:300
SDLK_DOWN
Definition: SDL_keycode.h:153
SDL_SCANCODE_KP_BACKSPACE
Definition: SDL_scancode.h:292
SDLK_LESS
Definition: SDL_keycode.h:86
SDL_stdinc.h
SDL_SCANCODE_F8
Definition: SDL_scancode.h:160
SDLK_F15
Definition: SDL_keycode.h:179
SDLK_F7
Definition: SDL_keycode.h:135
KMOD_LALT
Definition: SDL_keycode.h:332
SDL_SCANCODE_AUDIOSTOP
Definition: SDL_scancode.h:353
SDLK_DECIMALSEPARATOR
Definition: SDL_keycode.h:224
SDLK_F11
Definition: SDL_keycode.h:139
SDLK_LSHIFT
Definition: SDL_keycode.h:277
SDL_SCANCODE_LGUI
Definition: SDL_scancode.h:331
SDLK_F3
Definition: SDL_keycode.h:131
SDL_SCANCODE_F23
Definition: SDL_scancode.h:225
SDLK_UNDERSCORE
Definition: SDL_keycode.h:98
SDLK_NUMLOCKCLEAR
Definition: SDL_keycode.h:156
SDLK_6
Definition: SDL_keycode.h:80
SDL_SCANCODE_RGUI
Definition: SDL_scancode.h:335
SDL_SCANCODE_AC_REFRESH
Definition: SDL_scancode.h:366
SDL_SCANCODE_APPLICATION
Definition: SDL_scancode.h:210
KMOD_RALT
Definition: SDL_keycode.h:333
SDLK_p
Definition: SDL_keycode.h:115
SDL_SCANCODE_KP_B
Definition: SDL_scancode.h:294
SDL_SCANCODE_F2
Definition: SDL_scancode.h:154
SDL_SCANCODE_KP_000
Definition: SDL_scancode.h:282
SDLK_F10
Definition: SDL_keycode.h:138
SDLK_F9
Definition: SDL_keycode.h:137
SDL_SCANCODE_CLEARAGAIN
Definition: SDL_scancode.h:277
SDL_SCANCODE_AUDIOFASTFORWARD
Definition: SDL_scancode.h:401
SDLK_FIND
Definition: SDL_keycode.h:199
SDL_SCANCODE_KP_MEMDIVIDE
Definition: SDL_scancode.h:319
SDLK_UP
Definition: SDL_keycode.h:154
SDLK_7
Definition: SDL_keycode.h:81
SDLK_AC_BACK
Definition: SDL_keycode.h:299
SDL_SCANCODE_PAGEUP
Definition: SDL_scancode.h:172
SDL_SCANCODE_INSERT
Definition: SDL_scancode.h:169
SDL_SCANCODE_DOWN
Definition: SDL_scancode.h:178
SDLK_F14
Definition: SDL_keycode.h:178
SDLK_ALTERASE
Definition: SDL_keycode.h:207
SDL_SCANCODE_F1
Definition: SDL_scancode.h:153
SDL_SCANCODE_F6
Definition: SDL_scancode.h:158
SDLK_KP_DIVIDE
Definition: SDL_keycode.h:157
SDLK_9
Definition: SDL_keycode.h:83
SDLK_PRIOR
Definition: SDL_keycode.h:211
SDLK_KBDILLUMUP
Definition: SDL_keycode.h:312
SDL_SCANCODE_END
Definition: SDL_scancode.h:174
SDL_SCANCODE_AC_HOME
Definition: SDL_scancode.h:362
SDLK_HASH
Definition: SDL_keycode.h:61
SDL_SCANCODE_MODE
Definition: SDL_scancode.h:337
SDL_SCANCODE_BRIGHTNESSUP
Definition: SDL_scancode.h:379
SDLK_AC_BOOKMARKS
Definition: SDL_keycode.h:303
SDLK_VOLUMEDOWN
Definition: SDL_keycode.h:202
SDLK_KP_EQUALS
Definition: SDL_keycode.h:176
SDLK_F13
Definition: SDL_keycode.h:177
SDL_SCANCODE_PRIOR
Definition: SDL_scancode.h:272
SDLK_INSERT
Definition: SDL_keycode.h:145
SDL_SCANCODE_F12
Definition: SDL_scancode.h:164
SDLK_z
Definition: SDL_keycode.h:125
SDLK_ESCAPE
Definition: SDL_keycode.h:55
SDL_SCANCODE_CRSEL
Definition: SDL_scancode.h:278
SDL_SCANCODE_F19
Definition: SDL_scancode.h:221
SDLK_KP_RIGHTBRACE
Definition: SDL_keycode.h:232
SDL_SCANCODE_KP_MEMCLEAR
Definition: SDL_scancode.h:315
SDLK_QUOTE
Definition: SDL_keycode.h:65
SDLK_KP_MEMCLEAR
Definition: SDL_keycode.h:260
SDL_SCANCODE_KP_3
Definition: SDL_scancode.h:190
SDLK_LGUI
Definition: SDL_keycode.h:279
SDLK_l
Definition: SDL_keycode.h:111
SDLK_EJECT
Definition: SDL_keycode.h:313
SDLK_KP_MEMADD
Definition: SDL_keycode.h:261
SDL_SCANCODE_F4
Definition: SDL_scancode.h:156
KMOD_RSHIFT
Definition: SDL_keycode.h:329
SDLK_CURRENCYUNIT
Definition: SDL_keycode.h:226
SDLK_EXECUTE
Definition: SDL_keycode.h:189
SDL_SCANCODE_EXSEL
Definition: SDL_scancode.h:279
SDL_SCANCODE_KP_MEMRECALL
Definition: SDL_scancode.h:314
SDL_SCANCODE_AC_SEARCH
Definition: SDL_scancode.h:361
SDL_SCANCODE_AUDIOPLAY
Definition: SDL_scancode.h:354
SDL_SCANCODE_KP_2
Definition: SDL_scancode.h:189
SDL_SCANCODE_F22
Definition: SDL_scancode.h:224
SDL_SCANCODE_ALTERASE
Definition: SDL_scancode.h:268
SDL_SCANCODE_KBDILLUMDOWN
Definition: SDL_scancode.h:383
SDLK_KP_8
Definition: SDL_keycode.h:169
SDLK_SPACE
Definition: SDL_keycode.h:58
SDL_SCANCODE_RALT
Definition: SDL_scancode.h:334
SDL_SCANCODE_PRINTSCREEN
Definition: SDL_scancode.h:166
SDLK_CURRENCYSUBUNIT
Definition: SDL_keycode.h:227
SDL_SCANCODE_AUDIOPREV
Definition: SDL_scancode.h:352
SDL_SCANCODE_KP_VERTICALBAR
Definition: SDL_scancode.h:306
SDLK_RETURN2
Definition: SDL_keycode.h:212
SDLK_KP_DBLAMPERSAND
Definition: SDL_keycode.h:247
SDLK_AC_STOP
Definition: SDL_keycode.h:301
SDL_SCANCODE_AC_FORWARD
Definition: SDL_scancode.h:364
SDLK_KP_E
Definition: SDL_keycode.h:239
SDLK_WWW
Definition: SDL_keycode.h:293
SDL_SCANCODE_RSHIFT
Definition: SDL_scancode.h:333
SDL_SCANCODE_RCTRL
Definition: SDL_scancode.h:332
SDL_SCANCODE_KP_MINUS
Definition: SDL_scancode.h:185
SDLK_APP2
Definition: SDL_keycode.h:316
SDLK_KP_LEFTPAREN
Definition: SDL_keycode.h:229
SDLK_w
Definition: SDL_keycode.h:122
SDLK_4
Definition: SDL_keycode.h:78
SDLK_KP_EQUALSAS400
Definition: SDL_keycode.h:204
SDL_SCANCODE_MENU
Definition: SDL_scancode.h:229
SDL_SCANCODE_HOME
Definition: SDL_scancode.h:171
SDLK_KP_1
Definition: SDL_keycode.h:162