SDL_keycode.h File Reference
`#include <SDL3/SDL_stdinc.h>`
`#include <SDL3/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_EXTENDED_MASK (1u << 29)
#define | SDLK_SCANCODE_MASK (1u << 30)
#define | SDL_SCANCODE_TO_KEYCODE(X)
#define | SDLK_UNKNOWN 0x00000000u
#define | SDLK_RETURN 0x0000000du
#define | SDLK_ESCAPE 0x0000001bu
#define | SDLK_BACKSPACE 0x00000008u
#define | SDLK_TAB 0x00000009u
#define | SDLK_SPACE 0x00000020u
#define | SDLK_EXCLAIM 0x00000021u
#define | SDLK_DBLAPOSTROPHE 0x00000022u
#define | SDLK_HASH 0x00000023u
#define | SDLK_DOLLAR 0x00000024u
#define | SDLK_PERCENT 0x00000025u
#define | SDLK_AMPERSAND 0x00000026u
#define | SDLK_APOSTROPHE 0x00000027u
#define | SDLK_LEFTPAREN 0x00000028u
#define | SDLK_RIGHTPAREN 0x00000029u
#define | SDLK_ASTERISK 0x0000002au
#define | SDLK_PLUS 0x0000002bu
#define | SDLK_COMMA 0x0000002cu
#define | SDLK_MINUS 0x0000002du
#define | SDLK_PERIOD 0x0000002eu
#define | SDLK_SLASH 0x0000002fu
#define | SDLK_0 0x00000030u
#define | SDLK_1 0x00000031u
#define | SDLK_2 0x00000032u
#define | SDLK_3 0x00000033u
#define | SDLK_4 0x00000034u
#define | SDLK_5 0x00000035u
#define | SDLK_6 0x00000036u
#define | SDLK_7 0x00000037u
#define | SDLK_8 0x00000038u
#define | SDLK_9 0x00000039u
#define | SDLK_COLON 0x0000003au
#define | SDLK_SEMICOLON 0x0000003bu
#define | SDLK_LESS 0x0000003cu
#define | SDLK_EQUALS 0x0000003du
#define | SDLK_GREATER 0x0000003eu
#define | SDLK_QUESTION 0x0000003fu
#define | SDLK_AT 0x00000040u
#define | SDLK_LEFTBRACKET 0x0000005bu
#define | SDLK_BACKSLASH 0x0000005cu
#define | SDLK_RIGHTBRACKET 0x0000005du
#define | SDLK_CARET 0x0000005eu
#define | SDLK_UNDERSCORE 0x0000005fu
#define | SDLK_GRAVE 0x00000060u
#define | SDLK_A 0x00000061u
#define | SDLK_B 0x00000062u
#define | SDLK_C 0x00000063u
#define | SDLK_D 0x00000064u
#define | SDLK_E 0x00000065u
#define | SDLK_F 0x00000066u
#define | SDLK_G 0x00000067u
#define | SDLK_H 0x00000068u
#define | SDLK_I 0x00000069u
#define | SDLK_J 0x0000006au
#define | SDLK_K 0x0000006bu
#define | SDLK_L 0x0000006cu
#define | SDLK_M 0x0000006du
#define | SDLK_N 0x0000006eu
#define | SDLK_O 0x0000006fu
#define | SDLK_P 0x00000070u
#define | SDLK_Q 0x00000071u
#define | SDLK_R 0x00000072u
#define | SDLK_S 0x00000073u
#define | SDLK_T 0x00000074u
#define | SDLK_U 0x00000075u
#define | SDLK_V 0x00000076u
#define | SDLK_W 0x00000077u
#define | SDLK_X 0x00000078u
#define | SDLK_Y 0x00000079u
#define | SDLK_Z 0x0000007au
#define | SDLK_LEFTBRACE 0x0000007bu
#define | SDLK_PIPE 0x0000007cu
#define | SDLK_RIGHTBRACE 0x0000007du
#define | SDLK_TILDE 0x0000007eu
#define | SDLK_DELETE 0x0000007fu
#define | SDLK_PLUSMINUS 0x000000b1u
#define | SDLK_CAPSLOCK 0x40000039u
#define | SDLK_F1 0x4000003au
#define | SDLK_F2 0x4000003bu
#define | SDLK_F3 0x4000003cu
#define | SDLK_F4 0x4000003du
#define | SDLK_F5 0x4000003eu
#define | SDLK_F6 0x4000003fu
#define | SDLK_F7 0x40000040u
#define | SDLK_F8 0x40000041u
#define | SDLK_F9 0x40000042u
#define | SDLK_F10 0x40000043u
#define | SDLK_F11 0x40000044u
#define | SDLK_F12 0x40000045u
#define | SDLK_PRINTSCREEN 0x40000046u
#define | SDLK_SCROLLLOCK 0x40000047u
#define | SDLK_PAUSE 0x40000048u
#define | SDLK_INSERT 0x40000049u
#define | SDLK_HOME 0x4000004au
#define | SDLK_PAGEUP 0x4000004bu
#define | SDLK_END 0x4000004du
#define | SDLK_PAGEDOWN 0x4000004eu
#define | SDLK_RIGHT 0x4000004fu
#define | SDLK_LEFT 0x40000050u
#define | SDLK_DOWN 0x40000051u
#define | SDLK_UP 0x40000052u
#define | SDLK_NUMLOCKCLEAR 0x40000053u
#define | SDLK_KP_DIVIDE 0x40000054u
#define | SDLK_KP_MULTIPLY 0x40000055u
#define | SDLK_KP_MINUS 0x40000056u
#define | SDLK_KP_PLUS 0x40000057u
#define | SDLK_KP_ENTER 0x40000058u
#define | SDLK_KP_1 0x40000059u
#define | SDLK_KP_2 0x4000005au
#define | SDLK_KP_3 0x4000005bu
#define | SDLK_KP_4 0x4000005cu
#define | SDLK_KP_5 0x4000005du
#define | SDLK_KP_6 0x4000005eu
#define | SDLK_KP_7 0x4000005fu
#define | SDLK_KP_8 0x40000060u
#define | SDLK_KP_9 0x40000061u
#define | SDLK_KP_0 0x40000062u
#define | SDLK_KP_PERIOD 0x40000063u
#define | SDLK_APPLICATION 0x40000065u
#define | SDLK_POWER 0x40000066u
#define | SDLK_KP_EQUALS 0x40000067u
#define | SDLK_F13 0x40000068u
#define | SDLK_F14 0x40000069u
#define | SDLK_F15 0x4000006au
#define | SDLK_F16 0x4000006bu
#define | SDLK_F17 0x4000006cu
#define | SDLK_F18 0x4000006du
#define | SDLK_F19 0x4000006eu
#define | SDLK_F20 0x4000006fu
#define | SDLK_F21 0x40000070u
#define | SDLK_F22 0x40000071u
#define | SDLK_F23 0x40000072u
#define | SDLK_F24 0x40000073u
#define | SDLK_EXECUTE 0x40000074u
#define | SDLK_HELP 0x40000075u
#define | SDLK_MENU 0x40000076u
#define | SDLK_SELECT 0x40000077u
#define | SDLK_STOP 0x40000078u
#define | SDLK_AGAIN 0x40000079u
#define | SDLK_UNDO 0x4000007au
#define | SDLK_CUT 0x4000007bu
#define | SDLK_COPY 0x4000007cu
#define | SDLK_PASTE 0x4000007du
#define | SDLK_FIND 0x4000007eu
#define | SDLK_MUTE 0x4000007fu
#define | SDLK_VOLUMEUP 0x40000080u
#define | SDLK_VOLUMEDOWN 0x40000081u
#define | SDLK_KP_COMMA 0x40000085u
#define | SDLK_KP_EQUALSAS400 0x40000086u
#define | SDLK_ALTERASE 0x40000099u
#define | SDLK_SYSREQ 0x4000009au
#define | SDLK_CANCEL 0x4000009bu
#define | SDLK_CLEAR 0x4000009cu
#define | SDLK_PRIOR 0x4000009du
#define | SDLK_RETURN2 0x4000009eu
#define | SDLK_SEPARATOR 0x4000009fu
#define | SDLK_OUT 0x400000a0u
#define | SDLK_OPER 0x400000a1u
#define | SDLK_CLEARAGAIN 0x400000a2u
#define | SDLK_CRSEL 0x400000a3u
#define | SDLK_EXSEL 0x400000a4u
#define | SDLK_KP_00 0x400000b0u
#define | SDLK_KP_000 0x400000b1u
#define | SDLK_THOUSANDSSEPARATOR 0x400000b2u
#define | SDLK_DECIMALSEPARATOR 0x400000b3u
#define | SDLK_CURRENCYUNIT 0x400000b4u
#define | SDLK_CURRENCYSUBUNIT 0x400000b5u
#define | SDLK_KP_LEFTPAREN 0x400000b6u
#define | SDLK_KP_RIGHTPAREN 0x400000b7u
#define | SDLK_KP_LEFTBRACE 0x400000b8u
#define | SDLK_KP_RIGHTBRACE 0x400000b9u
#define | SDLK_KP_TAB 0x400000bau
#define | SDLK_KP_BACKSPACE 0x400000bbu
#define | SDLK_KP_A 0x400000bcu
#define | SDLK_KP_B 0x400000bdu
#define | SDLK_KP_C 0x400000beu
#define | SDLK_KP_D 0x400000bfu
#define | SDLK_KP_E 0x400000c0u
#define | SDLK_KP_F 0x400000c1u
#define | SDLK_KP_XOR 0x400000c2u
#define | SDLK_KP_POWER 0x400000c3u
#define | SDLK_KP_PERCENT 0x400000c4u
#define | SDLK_KP_LESS 0x400000c5u
#define | SDLK_KP_GREATER 0x400000c6u
#define | SDLK_KP_AMPERSAND 0x400000c7u
#define | SDLK_KP_DBLAMPERSAND 0x400000c8u
#define | SDLK_KP_VERTICALBAR 0x400000c9u
#define | SDLK_KP_DBLVERTICALBAR 0x400000cau
#define | SDLK_KP_COLON 0x400000cbu
#define | SDLK_KP_HASH 0x400000ccu
#define | SDLK_KP_SPACE 0x400000cdu
#define | SDLK_KP_AT 0x400000ceu
#define | SDLK_KP_EXCLAM 0x400000cfu
#define | SDLK_KP_MEMSTORE 0x400000d0u
#define | SDLK_KP_MEMRECALL 0x400000d1u
#define | SDLK_KP_MEMCLEAR 0x400000d2u
#define | SDLK_KP_MEMADD 0x400000d3u
#define | SDLK_KP_MEMSUBTRACT 0x400000d4u
#define | SDLK_KP_MEMMULTIPLY 0x400000d5u
#define | SDLK_KP_MEMDIVIDE 0x400000d6u
#define | SDLK_KP_PLUSMINUS 0x400000d7u
#define | SDLK_KP_CLEAR 0x400000d8u
#define | SDLK_KP_CLEARENTRY 0x400000d9u
#define | SDLK_KP_BINARY 0x400000dau
#define | SDLK_KP_OCTAL 0x400000dbu
#define | SDLK_KP_DECIMAL 0x400000dcu
#define | SDLK_KP_HEXADECIMAL 0x400000ddu
#define | SDLK_LCTRL 0x400000e0u
#define | SDLK_LSHIFT 0x400000e1u
#define | SDLK_LALT 0x400000e2u
#define | SDLK_LGUI 0x400000e3u
#define | SDLK_RCTRL 0x400000e4u
#define | SDLK_RSHIFT 0x400000e5u
#define | SDLK_RALT 0x400000e6u
#define | SDLK_RGUI 0x400000e7u
#define | SDLK_MODE 0x40000101u
#define | SDLK_SLEEP 0x40000102u
#define | SDLK_WAKE 0x40000103u
#define | SDLK_CHANNEL_INCREMENT 0x40000104u
#define | SDLK_CHANNEL_DECREMENT 0x40000105u
#define | SDLK_MEDIA_PLAY 0x40000106u
#define | SDLK_MEDIA_PAUSE 0x40000107u
#define | SDLK_MEDIA_RECORD 0x40000108u
#define | SDLK_MEDIA_FAST_FORWARD 0x40000109u
#define | SDLK_MEDIA_REWIND 0x4000010au
#define | SDLK_MEDIA_NEXT_TRACK 0x4000010bu
#define | SDLK_MEDIA_PREVIOUS_TRACK 0x4000010cu
#define | SDLK_MEDIA_STOP 0x4000010du
#define | SDLK_MEDIA_EJECT 0x4000010eu
#define | SDLK_MEDIA_PLAY_PAUSE 0x4000010fu
#define | SDLK_MEDIA_SELECT 0x40000110u
#define | SDLK_AC_NEW 0x40000111u
#define | SDLK_AC_OPEN 0x40000112u
#define | SDLK_AC_CLOSE 0x40000113u
#define | SDLK_AC_EXIT 0x40000114u
#define | SDLK_AC_SAVE 0x40000115u
#define | SDLK_AC_PRINT 0x40000116u
#define | SDLK_AC_PROPERTIES 0x40000117u
#define | SDLK_AC_SEARCH 0x40000118u
#define | SDLK_AC_HOME 0x40000119u
#define | SDLK_AC_BACK 0x4000011au
#define | SDLK_AC_FORWARD 0x4000011bu
#define | SDLK_AC_STOP 0x4000011cu
#define | SDLK_AC_REFRESH 0x4000011du
#define | SDLK_AC_BOOKMARKS 0x4000011eu
#define | SDLK_SOFTLEFT 0x4000011fu
#define | SDLK_SOFTRIGHT 0x40000120u
#define | SDLK_CALL 0x40000121u
#define | SDLK_ENDCALL 0x40000122u
#define | SDLK_LEFT_TAB 0x20000001u
#define | SDLK_LEVEL5_SHIFT 0x20000002u
#define | SDLK_MULTI_KEY_COMPOSE 0x20000003u
#define | SDLK_LMETA 0x20000004u
#define | SDLK_RMETA 0x20000005u
#define | SDLK_LHYPER 0x20000006u
#define | SDLK_RHYPER 0x20000007u
#define | SDL_KMOD_NONE 0x0000u
#define | SDL_KMOD_LSHIFT 0x0001u
#define | SDL_KMOD_RSHIFT 0x0002u
#define | SDL_KMOD_LEVEL5 0x0004u
#define | SDL_KMOD_LCTRL 0x0040u
#define | SDL_KMOD_RCTRL 0x0080u
#define | SDL_KMOD_LALT 0x0100u
#define | SDL_KMOD_RALT 0x0200u
#define | SDL_KMOD_LGUI 0x0400u
#define | SDL_KMOD_RGUI 0x0800u
#define | SDL_KMOD_NUM 0x1000u
#define | SDL_KMOD_CAPS 0x2000u
#define | SDL_KMOD_MODE 0x4000u
#define | SDL_KMOD_SCROLL 0x8000u
#define | SDL_KMOD_CTRL (SDL_KMOD_LCTRL | SDL_KMOD_RCTRL)
#define | SDL_KMOD_SHIFT (SDL_KMOD_LSHIFT | SDL_KMOD_RSHIFT)
#define | SDL_KMOD_ALT (SDL_KMOD_LALT | SDL_KMOD_RALT)
#define | SDL_KMOD_GUI (SDL_KMOD_LGUI | SDL_KMOD_RGUI)

## Typedefs

typedef Uint32 | SDL_Keycode
typedef Uint16 | SDL_Keymod

## Macro Definition Documentation

## SDL_KMOD_ALT

#define SDL_KMOD_ALT (SDL_KMOD_LALT | SDL_KMOD_RALT)

Any Alt key is down.

Definition at line 344 of file SDL_keycode.h.

## SDL_KMOD_CAPS

#define SDL_KMOD_CAPS 0x2000u

the Caps Lock key is down.

Definition at line 339 of file SDL_keycode.h.

## SDL_KMOD_CTRL

#define SDL_KMOD_CTRL (SDL_KMOD_LCTRL | SDL_KMOD_RCTRL)

Any Ctrl key is down.

Definition at line 342 of file SDL_keycode.h.

## SDL_KMOD_GUI

#define SDL_KMOD_GUI (SDL_KMOD_LGUI | SDL_KMOD_RGUI)

Any GUI key is down.

Definition at line 345 of file SDL_keycode.h.

## SDL_KMOD_LALT

#define SDL_KMOD_LALT 0x0100u

the left Alt key is down.

Definition at line 334 of file SDL_keycode.h.

## SDL_KMOD_LCTRL

#define SDL_KMOD_LCTRL 0x0040u

the left Ctrl (Control) key is down.

Definition at line 332 of file SDL_keycode.h.

## SDL_KMOD_LEVEL5

#define SDL_KMOD_LEVEL5 0x0004u

the Level 5 Shift key is down.

Definition at line 331 of file SDL_keycode.h.

## SDL_KMOD_LGUI

#define SDL_KMOD_LGUI 0x0400u

the left GUI key (often the Windows key) is down.

Definition at line 336 of file SDL_keycode.h.

## SDL_KMOD_LSHIFT

#define SDL_KMOD_LSHIFT 0x0001u

the left Shift key is down.

Definition at line 329 of file SDL_keycode.h.

## SDL_KMOD_MODE

#define SDL_KMOD_MODE 0x4000u

the !AltGr key is down.

Definition at line 340 of file SDL_keycode.h.

## SDL_KMOD_NONE

#define SDL_KMOD_NONE 0x0000u

no modifier is applicable.

Definition at line 328 of file SDL_keycode.h.

## SDL_KMOD_NUM

#define SDL_KMOD_NUM 0x1000u

the Num Lock key (may be located on an extended keypad) is down.

Definition at line 338 of file SDL_keycode.h.

## SDL_KMOD_RALT

#define SDL_KMOD_RALT 0x0200u

the right Alt key is down.

Definition at line 335 of file SDL_keycode.h.

## SDL_KMOD_RCTRL

#define SDL_KMOD_RCTRL 0x0080u

the right Ctrl (Control) key is down.

Definition at line 333 of file SDL_keycode.h.

## SDL_KMOD_RGUI

#define SDL_KMOD_RGUI 0x0800u

the right GUI key (often the Windows key) is down.

Definition at line 337 of file SDL_keycode.h.

## SDL_KMOD_RSHIFT

#define SDL_KMOD_RSHIFT 0x0002u

the right Shift key is down.

Definition at line 330 of file SDL_keycode.h.

## SDL_KMOD_SCROLL

#define SDL_KMOD_SCROLL 0x8000u

the Scroll Lock key is down.

Definition at line 341 of file SDL_keycode.h.

## SDL_KMOD_SHIFT

#define SDL_KMOD_SHIFT (SDL_KMOD_LSHIFT | SDL_KMOD_RSHIFT)

Any Shift key is down.

Definition at line 343 of file SDL_keycode.h.

## 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:62

Definition at line 63 of file SDL_keycode.h.

## SDLK_0

#define SDLK_0 0x00000030u

'0'

Definition at line 85 of file SDL_keycode.h.

## SDLK_1

#define SDLK_1 0x00000031u

'1'

Definition at line 86 of file SDL_keycode.h.

## SDLK_2

#define SDLK_2 0x00000032u

'2'

Definition at line 87 of file SDL_keycode.h.

## SDLK_3

#define SDLK_3 0x00000033u

'3'

Definition at line 88 of file SDL_keycode.h.

## SDLK_4

#define SDLK_4 0x00000034u

'4'

Definition at line 89 of file SDL_keycode.h.

## SDLK_5

#define SDLK_5 0x00000035u

'5'

Definition at line 90 of file SDL_keycode.h.

## SDLK_6

#define SDLK_6 0x00000036u

'6'

Definition at line 91 of file SDL_keycode.h.

## SDLK_7

#define SDLK_7 0x00000037u

'7'

Definition at line 92 of file SDL_keycode.h.

## SDLK_8

#define SDLK_8 0x00000038u

'8'

Definition at line 93 of file SDL_keycode.h.

## SDLK_9

#define SDLK_9 0x00000039u

'9'

Definition at line 94 of file SDL_keycode.h.

## SDLK_A

#define SDLK_A 0x00000061u

## SDLK_AC_BACK

#define SDLK_AC_BACK 0x4000011au

SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_AC_BACK)

Definition at line 304 of file SDL_keycode.h.

## SDLK_AC_BOOKMARKS

#define SDLK_AC_BOOKMARKS 0x4000011eu

SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_AC_BOOKMARKS)

Definition at line 308 of file SDL_keycode.h.

## SDLK_AC_CLOSE

#define SDLK_AC_CLOSE 0x40000113u

SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_AC_CLOSE)

Definition at line 297 of file SDL_keycode.h.

## SDLK_AC_EXIT

#define SDLK_AC_EXIT 0x40000114u

SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_AC_EXIT)

Definition at line 298 of file SDL_keycode.h.

## SDLK_AC_FORWARD

#define SDLK_AC_FORWARD 0x4000011bu

SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_AC_FORWARD)

Definition at line 305 of file SDL_keycode.h.

## SDLK_AC_HOME

#define SDLK_AC_HOME 0x40000119u

SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_AC_HOME)

Definition at line 303 of file SDL_keycode.h.

## SDLK_AC_NEW

#define SDLK_AC_NEW 0x40000111u

SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_AC_NEW)

Definition at line 295 of file SDL_keycode.h.

## SDLK_AC_OPEN

#define SDLK_AC_OPEN 0x40000112u

SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_AC_OPEN)

Definition at line 296 of file SDL_keycode.h.

## SDLK_AC_PRINT

#define SDLK_AC_PRINT 0x40000116u

SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_AC_PRINT)

Definition at line 300 of file SDL_keycode.h.

## SDLK_AC_PROPERTIES

#define SDLK_AC_PROPERTIES 0x40000117u

SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_AC_PROPERTIES)

Definition at line 301 of file SDL_keycode.h.

## SDLK_AC_REFRESH

#define SDLK_AC_REFRESH 0x4000011du

SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_AC_REFRESH)

Definition at line 307 of file SDL_keycode.h.

## SDLK_AC_SAVE

#define SDLK_AC_SAVE 0x40000115u

SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_AC_SAVE)

Definition at line 299 of file SDL_keycode.h.

## SDLK_AC_SEARCH

#define SDLK_AC_SEARCH 0x40000118u

SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_AC_SEARCH)

Definition at line 302 of file SDL_keycode.h.

## SDLK_AC_STOP

#define SDLK_AC_STOP 0x4000011cu

SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_AC_STOP)

Definition at line 306 of file SDL_keycode.h.

## SDLK_AGAIN

#define SDLK_AGAIN 0x40000079u

SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_AGAIN)

Definition at line 202 of file SDL_keycode.h.

## SDLK_ALTERASE

#define SDLK_ALTERASE 0x40000099u

SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_ALTERASE)

Definition at line 213 of file SDL_keycode.h.

## SDLK_AMPERSAND

#define SDLK_AMPERSAND 0x00000026u

'&'

Definition at line 75 of file SDL_keycode.h.

## SDLK_APOSTROPHE

#define SDLK_APOSTROPHE 0x00000027u

'\''

Definition at line 76 of file SDL_keycode.h.

## SDLK_APPLICATION

#define SDLK_APPLICATION 0x40000065u

SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_APPLICATION)

Definition at line 182 of file SDL_keycode.h.

## SDLK_ASTERISK

#define SDLK_ASTERISK 0x0000002au

'*'

Definition at line 79 of file SDL_keycode.h.

## SDLK_AT

#define SDLK_AT 0x00000040u

'@'

Definition at line 101 of file SDL_keycode.h.

## SDLK_B

#define SDLK_B 0x00000062u

'b'

Definition at line 109 of file SDL_keycode.h.

## SDLK_BACKSLASH

#define SDLK_BACKSLASH 0x0000005cu

'\'

Definition at line 103 of file SDL_keycode.h.

## SDLK_BACKSPACE

#define SDLK_BACKSPACE 0x00000008u

''

Definition at line 67 of file SDL_keycode.h.

## SDLK_C

#define SDLK_C 0x00000063u

'c'

Definition at line 110 of file SDL_keycode.h.

## SDLK_CALL

#define SDLK_CALL 0x40000121u

SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_CALL)

Definition at line 311 of file SDL_keycode.h.

## SDLK_CANCEL

#define SDLK_CANCEL 0x4000009bu

SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_CANCEL)

Definition at line 215 of file SDL_keycode.h.

## SDLK_CAPSLOCK

#define SDLK_CAPSLOCK 0x40000039u

SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_CAPSLOCK)

Definition at line 140 of file SDL_keycode.h.

## SDLK_CARET

#define SDLK_CARET 0x0000005eu

'^'

Definition at line 105 of file SDL_keycode.h.

## SDLK_CHANNEL_DECREMENT

#define SDLK_CHANNEL_DECREMENT 0x40000105u

SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_CHANNEL_DECREMENT)

Definition at line 283 of file SDL_keycode.h.

## SDLK_CHANNEL_INCREMENT

#define SDLK_CHANNEL_INCREMENT 0x40000104u

SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_CHANNEL_INCREMENT)

Definition at line 282 of file SDL_keycode.h.

## SDLK_CLEAR

#define SDLK_CLEAR 0x4000009cu

SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_CLEAR)

Definition at line 216 of file SDL_keycode.h.

## SDLK_CLEARAGAIN

#define SDLK_CLEARAGAIN 0x400000a2u

SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_CLEARAGAIN)

Definition at line 222 of file SDL_keycode.h.

## SDLK_COLON

#define SDLK_COLON 0x0000003au

':'

Definition at line 95 of file SDL_keycode.h.

## SDLK_COMMA

#define SDLK_COMMA 0x0000002cu

','

Definition at line 81 of file SDL_keycode.h.

## SDLK_COPY

#define SDLK_COPY 0x4000007cu

SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_COPY)

Definition at line 205 of file SDL_keycode.h.

## SDLK_CRSEL

#define SDLK_CRSEL 0x400000a3u

SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_CRSEL)

Definition at line 223 of file SDL_keycode.h.

## SDLK_CURRENCYSUBUNIT

#define SDLK_CURRENCYSUBUNIT 0x400000b5u

SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_CURRENCYSUBUNIT)

Definition at line 230 of file SDL_keycode.h.

## SDLK_CURRENCYUNIT

#define SDLK_CURRENCYUNIT 0x400000b4u

SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_CURRENCYUNIT)

Definition at line 229 of file SDL_keycode.h.

## SDLK_CUT

#define SDLK_CUT 0x4000007bu

SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_CUT)

Definition at line 204 of file SDL_keycode.h.

## SDLK_D

#define SDLK_D 0x00000064u

'd'

Definition at line 111 of file SDL_keycode.h.

## SDLK_DBLAPOSTROPHE

#define SDLK_DBLAPOSTROPHE 0x00000022u

'"'

Definition at line 71 of file SDL_keycode.h.

## SDLK_DECIMALSEPARATOR

#define SDLK_DECIMALSEPARATOR 0x400000b3u

SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_DECIMALSEPARATOR)

Definition at line 228 of file SDL_keycode.h.

## SDLK_DELETE

#define SDLK_DELETE 0x0000007fu

'\x7F'

Definition at line 138 of file SDL_keycode.h.

## SDLK_DOLLAR

#define SDLK_DOLLAR 0x00000024u

'$'

Definition at line 73 of file SDL_keycode.h.

## SDLK_DOWN

#define SDLK_DOWN 0x40000051u

SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_DOWN)

Definition at line 163 of file SDL_keycode.h.

## SDLK_E

#define SDLK_E 0x00000065u

'e'

Definition at line 112 of file SDL_keycode.h.

## SDLK_END

#define SDLK_END 0x4000004du

SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_END)

Definition at line 159 of file SDL_keycode.h.

## SDLK_ENDCALL

#define SDLK_ENDCALL 0x40000122u

SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_ENDCALL)

Definition at line 312 of file SDL_keycode.h.

## SDLK_EQUALS

#define SDLK_EQUALS 0x0000003du

'='

Definition at line 98 of file SDL_keycode.h.

## SDLK_ESCAPE

#define SDLK_ESCAPE 0x0000001bu

'\x1B'

Definition at line 66 of file SDL_keycode.h.

## SDLK_EXCLAIM

#define SDLK_EXCLAIM 0x00000021u

'!'

Definition at line 70 of file SDL_keycode.h.

## SDLK_EXECUTE

#define SDLK_EXECUTE 0x40000074u

SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_EXECUTE)

Definition at line 197 of file SDL_keycode.h.

## SDLK_EXSEL

#define SDLK_EXSEL 0x400000a4u

SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_EXSEL)

Definition at line 224 of file SDL_keycode.h.

## SDLK_EXTENDED_MASK

#define SDLK_EXTENDED_MASK (1u << 29)

Definition at line 61 of file SDL_keycode.h.

## SDLK_F

#define SDLK_F 0x00000066u

'f'

Definition at line 113 of file SDL_keycode.h.

## SDLK_F1

#define SDLK_F1 0x4000003au

SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_F1)

Definition at line 141 of file SDL_keycode.h.

## SDLK_F10

#define SDLK_F10 0x40000043u

SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_F10)

Definition at line 150 of file SDL_keycode.h.

## SDLK_F11

#define SDLK_F11 0x40000044u

SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_F11)

Definition at line 151 of file SDL_keycode.h.

## SDLK_F12

#define SDLK_F12 0x40000045u

SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_F12)

Definition at line 152 of file SDL_keycode.h.

## SDLK_F13

#define SDLK_F13 0x40000068u

SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_F13)

Definition at line 185 of file SDL_keycode.h.

## SDLK_F14

#define SDLK_F14 0x40000069u

SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_F14)

Definition at line 186 of file SDL_keycode.h.

## SDLK_F15

#define SDLK_F15 0x4000006au

SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_F15)

Definition at line 187 of file SDL_keycode.h.

## SDLK_F16

#define SDLK_F16 0x4000006bu

SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_F16)

Definition at line 188 of file SDL_keycode.h.

## SDLK_F17

#define SDLK_F17 0x4000006cu

SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_F17)

Definition at line 189 of file SDL_keycode.h.

## SDLK_F18

#define SDLK_F18 0x4000006du

SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_F18)

Definition at line 190 of file SDL_keycode.h.

## SDLK_F19

#define SDLK_F19 0x4000006eu

SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_F19)

Definition at line 191 of file SDL_keycode.h.

## SDLK_F2

#define SDLK_F2 0x4000003bu

SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_F2)

Definition at line 142 of file SDL_keycode.h.

## SDLK_F20

#define SDLK_F20 0x4000006fu

SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_F20)

Definition at line 192 of file SDL_keycode.h.

## SDLK_F21

#define SDLK_F21 0x40000070u

SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_F21)

Definition at line 193 of file SDL_keycode.h.

## SDLK_F22

#define SDLK_F22 0x40000071u

SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_F22)

Definition at line 194 of file SDL_keycode.h.

## SDLK_F23

#define SDLK_F23 0x40000072u

SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_F23)

Definition at line 195 of file SDL_keycode.h.

## SDLK_F24

#define SDLK_F24 0x40000073u

SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_F24)

Definition at line 196 of file SDL_keycode.h.

## SDLK_F3

#define SDLK_F3 0x4000003cu

SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_F3)

Definition at line 143 of file SDL_keycode.h.

## SDLK_F4

#define SDLK_F4 0x4000003du

SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_F4)

Definition at line 144 of file SDL_keycode.h.

## SDLK_F5

#define SDLK_F5 0x4000003eu

SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_F5)

Definition at line 145 of file SDL_keycode.h.

## SDLK_F6

#define SDLK_F6 0x4000003fu

SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_F6)

Definition at line 146 of file SDL_keycode.h.

## SDLK_F7

#define SDLK_F7 0x40000040u

SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_F7)

Definition at line 147 of file SDL_keycode.h.

## SDLK_F8

#define SDLK_F8 0x40000041u

SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_F8)

Definition at line 148 of file SDL_keycode.h.

## SDLK_F9

#define SDLK_F9 0x40000042u

SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_F9)

Definition at line 149 of file SDL_keycode.h.

## SDLK_FIND

#define SDLK_FIND 0x4000007eu

SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_FIND)

Definition at line 207 of file SDL_keycode.h.

## SDLK_G

#define SDLK_G 0x00000067u

'g'

Definition at line 114 of file SDL_keycode.h.

## SDLK_GRAVE

#define SDLK_GRAVE 0x00000060u

'`' */ #define SDLK_A /**< 'a'

Definition at line 107 of file SDL_keycode.h.

## SDLK_GREATER

#define SDLK_GREATER 0x0000003eu

'>'

Definition at line 99 of file SDL_keycode.h.

## SDLK_H

#define SDLK_H 0x00000068u

'h'

Definition at line 115 of file SDL_keycode.h.

## SDLK_HASH

#define SDLK_HASH 0x00000023u

'#'

Definition at line 72 of file SDL_keycode.h.

## SDLK_HELP

#define SDLK_HELP 0x40000075u

SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_HELP)

Definition at line 198 of file SDL_keycode.h.

## SDLK_HOME

#define SDLK_HOME 0x4000004au

SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_HOME)

Definition at line 157 of file SDL_keycode.h.

## SDLK_I

#define SDLK_I 0x00000069u

'i'

Definition at line 116 of file SDL_keycode.h.

## SDLK_INSERT

#define SDLK_INSERT 0x40000049u

SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_INSERT)

Definition at line 156 of file SDL_keycode.h.

## SDLK_J

#define SDLK_J 0x0000006au

'j'

Definition at line 117 of file SDL_keycode.h.

## SDLK_K

#define SDLK_K 0x0000006bu

'k'

Definition at line 118 of file SDL_keycode.h.

## SDLK_KP_0

#define SDLK_KP_0 0x40000062u

SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_0)

Definition at line 180 of file SDL_keycode.h.

## SDLK_KP_00

#define SDLK_KP_00 0x400000b0u

SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_00)

Definition at line 225 of file SDL_keycode.h.

## SDLK_KP_000

#define SDLK_KP_000 0x400000b1u

SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_000)

Definition at line 226 of file SDL_keycode.h.

## SDLK_KP_1

#define SDLK_KP_1 0x40000059u

SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_1)

Definition at line 171 of file SDL_keycode.h.

## SDLK_KP_2

#define SDLK_KP_2 0x4000005au

SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_2)

Definition at line 172 of file SDL_keycode.h.

## SDLK_KP_3

#define SDLK_KP_3 0x4000005bu

SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_3)

Definition at line 173 of file SDL_keycode.h.

## SDLK_KP_4

#define SDLK_KP_4 0x4000005cu

SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_4)

Definition at line 174 of file SDL_keycode.h.

## SDLK_KP_5

#define SDLK_KP_5 0x4000005du

SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_5)

Definition at line 175 of file SDL_keycode.h.

## SDLK_KP_6

#define SDLK_KP_6 0x4000005eu

SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_6)

Definition at line 176 of file SDL_keycode.h.

## SDLK_KP_7

#define SDLK_KP_7 0x4000005fu

SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_7)

Definition at line 177 of file SDL_keycode.h.

## SDLK_KP_8

#define SDLK_KP_8 0x40000060u

SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_8)

Definition at line 178 of file SDL_keycode.h.

## SDLK_KP_9

#define SDLK_KP_9 0x40000061u

SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_9)

Definition at line 179 of file SDL_keycode.h.

## SDLK_KP_A

#define SDLK_KP_A 0x400000bcu

SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_A)

Definition at line 237 of file SDL_keycode.h.

## SDLK_KP_AMPERSAND

#define SDLK_KP_AMPERSAND 0x400000c7u

SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_AMPERSAND)

Definition at line 248 of file SDL_keycode.h.

## SDLK_KP_AT

#define SDLK_KP_AT 0x400000ceu

SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_AT)

Definition at line 255 of file SDL_keycode.h.

## SDLK_KP_B

#define SDLK_KP_B 0x400000bdu

SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_B)

Definition at line 238 of file SDL_keycode.h.

## SDLK_KP_BACKSPACE

#define SDLK_KP_BACKSPACE 0x400000bbu

SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_BACKSPACE)

Definition at line 236 of file SDL_keycode.h.

## SDLK_KP_BINARY

#define SDLK_KP_BINARY 0x400000dau

SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_BINARY)

Definition at line 267 of file SDL_keycode.h.

## SDLK_KP_C

#define SDLK_KP_C 0x400000beu

SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_C)

Definition at line 239 of file SDL_keycode.h.

## SDLK_KP_CLEAR

#define SDLK_KP_CLEAR 0x400000d8u

SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_CLEAR)

Definition at line 265 of file SDL_keycode.h.

## SDLK_KP_CLEARENTRY

#define SDLK_KP_CLEARENTRY 0x400000d9u

SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_CLEARENTRY)

Definition at line 266 of file SDL_keycode.h.

## SDLK_KP_COLON

#define SDLK_KP_COLON 0x400000cbu

SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_COLON)

Definition at line 252 of file SDL_keycode.h.

## SDLK_KP_COMMA

#define SDLK_KP_COMMA 0x40000085u

SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_COMMA)

Definition at line 211 of file SDL_keycode.h.

## SDLK_KP_D

#define SDLK_KP_D 0x400000bfu

SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_D)

Definition at line 240 of file SDL_keycode.h.

## SDLK_KP_DBLAMPERSAND

#define SDLK_KP_DBLAMPERSAND 0x400000c8u

SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_DBLAMPERSAND)

Definition at line 249 of file SDL_keycode.h.

## SDLK_KP_DBLVERTICALBAR

#define SDLK_KP_DBLVERTICALBAR 0x400000cau

SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_DBLVERTICALBAR)

Definition at line 251 of file SDL_keycode.h.

## SDLK_KP_DECIMAL

#define SDLK_KP_DECIMAL 0x400000dcu

SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_DECIMAL)

Definition at line 269 of file SDL_keycode.h.

## SDLK_KP_DIVIDE

#define SDLK_KP_DIVIDE 0x40000054u

SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_DIVIDE)

Definition at line 166 of file SDL_keycode.h.

## SDLK_KP_E

#define SDLK_KP_E 0x400000c0u

SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_E)

Definition at line 241 of file SDL_keycode.h.

## SDLK_KP_ENTER

#define SDLK_KP_ENTER 0x40000058u

SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_ENTER)

Definition at line 170 of file SDL_keycode.h.

## SDLK_KP_EQUALS

#define SDLK_KP_EQUALS 0x40000067u

SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_EQUALS)

Definition at line 184 of file SDL_keycode.h.

## SDLK_KP_EQUALSAS400

#define SDLK_KP_EQUALSAS400 0x40000086u

SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_EQUALSAS400)

Definition at line 212 of file SDL_keycode.h.

## SDLK_KP_EXCLAM

#define SDLK_KP_EXCLAM 0x400000cfu

SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_EXCLAM)

Definition at line 256 of file SDL_keycode.h.

## SDLK_KP_F

#define SDLK_KP_F 0x400000c1u

SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_F)

Definition at line 242 of file SDL_keycode.h.

## SDLK_KP_GREATER

#define SDLK_KP_GREATER 0x400000c6u

SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_GREATER)

Definition at line 247 of file SDL_keycode.h.

## SDLK_KP_HASH

#define SDLK_KP_HASH 0x400000ccu

SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_HASH)

Definition at line 253 of file SDL_keycode.h.

## SDLK_KP_HEXADECIMAL

#define SDLK_KP_HEXADECIMAL 0x400000ddu

SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_HEXADECIMAL)

Definition at line 270 of file SDL_keycode.h.

## SDLK_KP_LEFTBRACE

#define SDLK_KP_LEFTBRACE 0x400000b8u

SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_LEFTBRACE)

Definition at line 233 of file SDL_keycode.h.

## SDLK_KP_LEFTPAREN

#define SDLK_KP_LEFTPAREN 0x400000b6u

SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_LEFTPAREN)

Definition at line 231 of file SDL_keycode.h.

## SDLK_KP_LESS

#define SDLK_KP_LESS 0x400000c5u

SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_LESS)

Definition at line 246 of file SDL_keycode.h.

## SDLK_KP_MEMADD

#define SDLK_KP_MEMADD 0x400000d3u

SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_MEMADD)

Definition at line 260 of file SDL_keycode.h.

## SDLK_KP_MEMCLEAR

#define SDLK_KP_MEMCLEAR 0x400000d2u

SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_MEMCLEAR)

Definition at line 259 of file SDL_keycode.h.

## SDLK_KP_MEMDIVIDE

#define SDLK_KP_MEMDIVIDE 0x400000d6u

SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_MEMDIVIDE)

Definition at line 263 of file SDL_keycode.h.

## SDLK_KP_MEMMULTIPLY

#define SDLK_KP_MEMMULTIPLY 0x400000d5u

SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_MEMMULTIPLY)

Definition at line 262 of file SDL_keycode.h.

## SDLK_KP_MEMRECALL

#define SDLK_KP_MEMRECALL 0x400000d1u

SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_MEMRECALL)

Definition at line 258 of file SDL_keycode.h.

## SDLK_KP_MEMSTORE

#define SDLK_KP_MEMSTORE 0x400000d0u

SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_MEMSTORE)

Definition at line 257 of file SDL_keycode.h.

## SDLK_KP_MEMSUBTRACT

#define SDLK_KP_MEMSUBTRACT 0x400000d4u

SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_MEMSUBTRACT)

Definition at line 261 of file SDL_keycode.h.

## SDLK_KP_MINUS

#define SDLK_KP_MINUS 0x40000056u

SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_MINUS)

Definition at line 168 of file SDL_keycode.h.

## SDLK_KP_MULTIPLY

#define SDLK_KP_MULTIPLY 0x40000055u

SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_MULTIPLY)

Definition at line 167 of file SDL_keycode.h.

## SDLK_KP_OCTAL

#define SDLK_KP_OCTAL 0x400000dbu

SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_OCTAL)

Definition at line 268 of file SDL_keycode.h.

## SDLK_KP_PERCENT

#define SDLK_KP_PERCENT 0x400000c4u

SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_PERCENT)

Definition at line 245 of file SDL_keycode.h.

## SDLK_KP_PERIOD

#define SDLK_KP_PERIOD 0x40000063u

SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_PERIOD)

Definition at line 181 of file SDL_keycode.h.

## SDLK_KP_PLUS

#define SDLK_KP_PLUS 0x40000057u

SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_PLUS)

Definition at line 169 of file SDL_keycode.h.

## SDLK_KP_PLUSMINUS

#define SDLK_KP_PLUSMINUS 0x400000d7u

SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_PLUSMINUS)

Definition at line 264 of file SDL_keycode.h.

## SDLK_KP_POWER

#define SDLK_KP_POWER 0x400000c3u

SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_POWER)

Definition at line 244 of file SDL_keycode.h.

## SDLK_KP_RIGHTBRACE

#define SDLK_KP_RIGHTBRACE 0x400000b9u

SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_RIGHTBRACE)

Definition at line 234 of file SDL_keycode.h.

## SDLK_KP_RIGHTPAREN

#define SDLK_KP_RIGHTPAREN 0x400000b7u

SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_RIGHTPAREN)

Definition at line 232 of file SDL_keycode.h.

## SDLK_KP_SPACE

#define SDLK_KP_SPACE 0x400000cdu

SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_SPACE)

Definition at line 254 of file SDL_keycode.h.

## SDLK_KP_TAB

#define SDLK_KP_TAB 0x400000bau

SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_TAB)

Definition at line 235 of file SDL_keycode.h.

## SDLK_KP_VERTICALBAR

#define SDLK_KP_VERTICALBAR 0x400000c9u

SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_VERTICALBAR)

Definition at line 250 of file SDL_keycode.h.

## SDLK_KP_XOR

#define SDLK_KP_XOR 0x400000c2u

SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_XOR)

Definition at line 243 of file SDL_keycode.h.

## SDLK_L

#define SDLK_L 0x0000006cu

'l'

Definition at line 119 of file SDL_keycode.h.

## SDLK_LALT

#define SDLK_LALT 0x400000e2u

SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_LALT)

Definition at line 273 of file SDL_keycode.h.

## SDLK_LCTRL

#define SDLK_LCTRL 0x400000e0u

SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_LCTRL)

Definition at line 271 of file SDL_keycode.h.

## SDLK_LEFT

#define SDLK_LEFT 0x40000050u

SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_LEFT)

Definition at line 162 of file SDL_keycode.h.

## SDLK_LEFT_TAB

#define SDLK_LEFT_TAB 0x20000001u

Extended key Left Tab

Definition at line 313 of file SDL_keycode.h.

## SDLK_LEFTBRACE

#define SDLK_LEFTBRACE 0x0000007bu

'{'

Definition at line 134 of file SDL_keycode.h.

## SDLK_LEFTBRACKET

#define SDLK_LEFTBRACKET 0x0000005bu

'['

Definition at line 102 of file SDL_keycode.h.

## SDLK_LEFTPAREN

#define SDLK_LEFTPAREN 0x00000028u

'('

Definition at line 77 of file SDL_keycode.h.

## SDLK_LESS

#define SDLK_LESS 0x0000003cu

'<'

Definition at line 97 of file SDL_keycode.h.

## SDLK_LEVEL5_SHIFT

#define SDLK_LEVEL5_SHIFT 0x20000002u

Extended key Level 5 Shift

Definition at line 314 of file SDL_keycode.h.

## SDLK_LGUI

#define SDLK_LGUI 0x400000e3u

SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_LGUI)

Definition at line 274 of file SDL_keycode.h.

## SDLK_LHYPER

#define SDLK_LHYPER 0x20000006u

Extended key Left Hyper

Definition at line 318 of file SDL_keycode.h.

## SDLK_LMETA

#define SDLK_LMETA 0x20000004u

Extended key Left Meta

Definition at line 316 of file SDL_keycode.h.

## SDLK_LSHIFT

#define SDLK_LSHIFT 0x400000e1u

SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_LSHIFT)

Definition at line 272 of file SDL_keycode.h.

## SDLK_M

#define SDLK_M 0x0000006du

'm'

Definition at line 120 of file SDL_keycode.h.

## SDLK_MEDIA_EJECT

#define SDLK_MEDIA_EJECT 0x4000010eu

SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_MEDIA_EJECT)

Definition at line 292 of file SDL_keycode.h.

## SDLK_MEDIA_FAST_FORWARD

#define SDLK_MEDIA_FAST_FORWARD 0x40000109u

SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_MEDIA_FAST_FORWARD)

Definition at line 287 of file SDL_keycode.h.

## SDLK_MEDIA_NEXT_TRACK

#define SDLK_MEDIA_NEXT_TRACK 0x4000010bu

SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_MEDIA_NEXT_TRACK)

Definition at line 289 of file SDL_keycode.h.

## SDLK_MEDIA_PAUSE

#define SDLK_MEDIA_PAUSE 0x40000107u

SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_MEDIA_PAUSE)

Definition at line 285 of file SDL_keycode.h.

## SDLK_MEDIA_PLAY

#define SDLK_MEDIA_PLAY 0x40000106u

SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_MEDIA_PLAY)

Definition at line 284 of file SDL_keycode.h.

## SDLK_MEDIA_PLAY_PAUSE

#define SDLK_MEDIA_PLAY_PAUSE 0x4000010fu

SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_MEDIA_PLAY_PAUSE)

Definition at line 293 of file SDL_keycode.h.

## SDLK_MEDIA_PREVIOUS_TRACK

#define SDLK_MEDIA_PREVIOUS_TRACK 0x4000010cu

SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_MEDIA_PREVIOUS_TRACK)

Definition at line 290 of file SDL_keycode.h.

## SDLK_MEDIA_RECORD

#define SDLK_MEDIA_RECORD 0x40000108u

SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_MEDIA_RECORD)

Definition at line 286 of file SDL_keycode.h.

## SDLK_MEDIA_REWIND

#define SDLK_MEDIA_REWIND 0x4000010au

SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_MEDIA_REWIND)

Definition at line 288 of file SDL_keycode.h.

## SDLK_MEDIA_SELECT

#define SDLK_MEDIA_SELECT 0x40000110u

SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_MEDIA_SELECT)

Definition at line 294 of file SDL_keycode.h.

## SDLK_MEDIA_STOP

#define SDLK_MEDIA_STOP 0x4000010du

SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_MEDIA_STOP)

Definition at line 291 of file SDL_keycode.h.

## SDLK_MENU

#define SDLK_MENU 0x40000076u

SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_MENU)

Definition at line 199 of file SDL_keycode.h.

## SDLK_MINUS

#define SDLK_MINUS 0x0000002du

'-'

Definition at line 82 of file SDL_keycode.h.

## SDLK_MODE

#define SDLK_MODE 0x40000101u

SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_MODE)

Definition at line 279 of file SDL_keycode.h.

## SDLK_MULTI_KEY_COMPOSE

#define SDLK_MULTI_KEY_COMPOSE 0x20000003u

Extended key Multi-key Compose

Definition at line 315 of file SDL_keycode.h.

## SDLK_MUTE

#define SDLK_MUTE 0x4000007fu

SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_MUTE)

Definition at line 208 of file SDL_keycode.h.

## SDLK_N

#define SDLK_N 0x0000006eu

'n'

Definition at line 121 of file SDL_keycode.h.

## SDLK_NUMLOCKCLEAR

#define SDLK_NUMLOCKCLEAR 0x40000053u

SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_NUMLOCKCLEAR)

Definition at line 165 of file SDL_keycode.h.

## SDLK_O

#define SDLK_O 0x0000006fu

'o'

Definition at line 122 of file SDL_keycode.h.

## SDLK_OPER

#define SDLK_OPER 0x400000a1u

SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_OPER)

Definition at line 221 of file SDL_keycode.h.

## SDLK_OUT

#define SDLK_OUT 0x400000a0u

SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_OUT)

Definition at line 220 of file SDL_keycode.h.

## SDLK_P

#define SDLK_P 0x00000070u

'p'

Definition at line 123 of file SDL_keycode.h.

## SDLK_PAGEDOWN

#define SDLK_PAGEDOWN 0x4000004eu

SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_PAGEDOWN)

Definition at line 160 of file SDL_keycode.h.

## SDLK_PAGEUP

#define SDLK_PAGEUP 0x4000004bu

SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_PAGEUP)

Definition at line 158 of file SDL_keycode.h.

## SDLK_PASTE

#define SDLK_PASTE 0x4000007du

SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_PASTE)

Definition at line 206 of file SDL_keycode.h.

## SDLK_PAUSE

#define SDLK_PAUSE 0x40000048u

SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_PAUSE)

Definition at line 155 of file SDL_keycode.h.

## SDLK_PERCENT

#define SDLK_PERCENT 0x00000025u

''

Definition at line 74 of file SDL_keycode.h.

## SDLK_PERIOD

#define SDLK_PERIOD 0x0000002eu

'.'

Definition at line 83 of file SDL_keycode.h.

## SDLK_PIPE

#define SDLK_PIPE 0x0000007cu

'|'

Definition at line 135 of file SDL_keycode.h.

## SDLK_PLUS

#define SDLK_PLUS 0x0000002bu

'+'

Definition at line 80 of file SDL_keycode.h.

## SDLK_PLUSMINUS

#define SDLK_PLUSMINUS 0x000000b1u

'\xB1'

Definition at line 139 of file SDL_keycode.h.

## SDLK_POWER

#define SDLK_POWER 0x40000066u

SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_POWER)

Definition at line 183 of file SDL_keycode.h.

## SDLK_PRINTSCREEN

#define SDLK_PRINTSCREEN 0x40000046u

SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_PRINTSCREEN)

Definition at line 153 of file SDL_keycode.h.

## SDLK_PRIOR

#define SDLK_PRIOR 0x4000009du

SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_PRIOR)

Definition at line 217 of file SDL_keycode.h.

## SDLK_Q

#define SDLK_Q 0x00000071u

'q'

Definition at line 124 of file SDL_keycode.h.

## SDLK_QUESTION

#define SDLK_QUESTION 0x0000003fu

'?'

Definition at line 100 of file SDL_keycode.h.

## SDLK_R

#define SDLK_R 0x00000072u

'r'

Definition at line 125 of file SDL_keycode.h.

## SDLK_RALT

#define SDLK_RALT 0x400000e6u

SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_RALT)

Definition at line 277 of file SDL_keycode.h.

## SDLK_RCTRL

#define SDLK_RCTRL 0x400000e4u

SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_RCTRL)

Definition at line 275 of file SDL_keycode.h.

## SDLK_RETURN

#define SDLK_RETURN 0x0000000du

'\r'

Definition at line 65 of file SDL_keycode.h.

## SDLK_RETURN2

#define SDLK_RETURN2 0x4000009eu

SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_RETURN2)

Definition at line 218 of file SDL_keycode.h.

## SDLK_RGUI

#define SDLK_RGUI 0x400000e7u

SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_RGUI)

Definition at line 278 of file SDL_keycode.h.

## SDLK_RHYPER

#define SDLK_RHYPER 0x20000007u

Extended key Right Hyper

Definition at line 319 of file SDL_keycode.h.

## SDLK_RIGHT

#define SDLK_RIGHT 0x4000004fu

SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_RIGHT)

Definition at line 161 of file SDL_keycode.h.

## SDLK_RIGHTBRACE

#define SDLK_RIGHTBRACE 0x0000007du

'}'

Definition at line 136 of file SDL_keycode.h.

## SDLK_RIGHTBRACKET

#define SDLK_RIGHTBRACKET 0x0000005du

']'

Definition at line 104 of file SDL_keycode.h.

## SDLK_RIGHTPAREN

#define SDLK_RIGHTPAREN 0x00000029u

')'

Definition at line 78 of file SDL_keycode.h.

## SDLK_RMETA

#define SDLK_RMETA 0x20000005u

Extended key Right Meta

Definition at line 317 of file SDL_keycode.h.

## SDLK_RSHIFT

#define SDLK_RSHIFT 0x400000e5u

SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_RSHIFT)

Definition at line 276 of file SDL_keycode.h.

## SDLK_S

#define SDLK_S 0x00000073u

's'

Definition at line 126 of file SDL_keycode.h.

## SDLK_SCANCODE_MASK

#define SDLK_SCANCODE_MASK (1u << 30)

Definition at line 62 of file SDL_keycode.h.

## SDLK_SCROLLLOCK

#define SDLK_SCROLLLOCK 0x40000047u

SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_SCROLLLOCK)

Definition at line 154 of file SDL_keycode.h.

## SDLK_SELECT

#define SDLK_SELECT 0x40000077u

SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_SELECT)

Definition at line 200 of file SDL_keycode.h.

## SDLK_SEMICOLON

#define SDLK_SEMICOLON 0x0000003bu

';'

Definition at line 96 of file SDL_keycode.h.

## SDLK_SEPARATOR

#define SDLK_SEPARATOR 0x4000009fu

SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_SEPARATOR)

Definition at line 219 of file SDL_keycode.h.

## SDLK_SLASH

#define SDLK_SLASH 0x0000002fu

'/'

Definition at line 84 of file SDL_keycode.h.

## SDLK_SLEEP

#define SDLK_SLEEP 0x40000102u

SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_SLEEP)

Definition at line 280 of file SDL_keycode.h.

## SDLK_SOFTLEFT

#define SDLK_SOFTLEFT 0x4000011fu

SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_SOFTLEFT)

Definition at line 309 of file SDL_keycode.h.

## SDLK_SOFTRIGHT

#define SDLK_SOFTRIGHT 0x40000120u

SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_SOFTRIGHT)

Definition at line 310 of file SDL_keycode.h.

## SDLK_SPACE

#define SDLK_SPACE 0x00000020u

' '

Definition at line 69 of file SDL_keycode.h.

## SDLK_STOP

#define SDLK_STOP 0x40000078u

SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_STOP)

Definition at line 201 of file SDL_keycode.h.

## SDLK_SYSREQ

#define SDLK_SYSREQ 0x4000009au

SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_SYSREQ)

Definition at line 214 of file SDL_keycode.h.

## SDLK_T

#define SDLK_T 0x00000074u

't'

Definition at line 127 of file SDL_keycode.h.

## SDLK_TAB

#define SDLK_TAB 0x00000009u

'\t'

Definition at line 68 of file SDL_keycode.h.

## SDLK_THOUSANDSSEPARATOR

#define SDLK_THOUSANDSSEPARATOR 0x400000b2u

SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_THOUSANDSSEPARATOR)

Definition at line 227 of file SDL_keycode.h.

## SDLK_TILDE

#define SDLK_TILDE 0x0000007eu

'~'

Definition at line 137 of file SDL_keycode.h.

## SDLK_U

#define SDLK_U 0x00000075u

'u'

Definition at line 128 of file SDL_keycode.h.

## SDLK_UNDERSCORE

#define SDLK_UNDERSCORE 0x0000005fu

'_'

Definition at line 106 of file SDL_keycode.h.

## SDLK_UNDO

#define SDLK_UNDO 0x4000007au

SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_UNDO)

Definition at line 203 of file SDL_keycode.h.

## SDLK_UNKNOWN

#define SDLK_UNKNOWN 0x00000000u

0

Definition at line 64 of file SDL_keycode.h.

## SDLK_UP

#define SDLK_UP 0x40000052u

SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_UP)

Definition at line 164 of file SDL_keycode.h.

## SDLK_V

#define SDLK_V 0x00000076u

'v'

Definition at line 129 of file SDL_keycode.h.

## SDLK_VOLUMEDOWN

#define SDLK_VOLUMEDOWN 0x40000081u

SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_VOLUMEDOWN)

Definition at line 210 of file SDL_keycode.h.

## SDLK_VOLUMEUP

#define SDLK_VOLUMEUP 0x40000080u

SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_VOLUMEUP)

Definition at line 209 of file SDL_keycode.h.

## SDLK_W

#define SDLK_W 0x00000077u

'w'

Definition at line 130 of file SDL_keycode.h.

## SDLK_WAKE

#define SDLK_WAKE 0x40000103u

SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_WAKE)

Definition at line 281 of file SDL_keycode.h.

## SDLK_X

#define SDLK_X 0x00000078u

'x'

Definition at line 131 of file SDL_keycode.h.

## SDLK_Y

#define SDLK_Y 0x00000079u

'y'

Definition at line 132 of file SDL_keycode.h.

## SDLK_Z

#define SDLK_Z 0x0000007au

'z'

Definition at line 133 of file SDL_keycode.h.

## Typedef Documentation

## SDL_Keycode

typedef Uint32 SDL_Keycode

# CategoryKeycode

Defines constants which identify keyboard keys and modifiers.

Please refer to the Best Keyboard Practices document for details on what this information means and how best to use it.

https://wiki.libsdl.org/SDL3/BestKeyboardPractices 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 by default to SDLK_0...SDLK_9 on AZERTY layouts.

Keys with the SDLK_EXTENDED_MASK bit set do not map to a scancode or Unicode code point.

Many common keycodes are listed below, but this list is not exhaustive.

Since
  This datatype is available since SDL 3.2.0.

See also
  SDL_HINT_KEYCODE_OPTIONS

Definition at line 59 of file SDL_keycode.h.

## SDL_Keymod

typedef Uint16 SDL_Keymod

Valid key modifiers (possibly OR'd together).

Since
  This datatype is available since SDL 3.2.0.

Definition at line 326 of file SDL_keycode.h.