KeyCode enum

Keycodes.

SDL Docs

Inheritance

Constructors

KeyCode()
const

Values

unknown → const KeyCode

SDLK_UNKNOWN

return_ → const KeyCode

SDLK_RETURN

escape → const KeyCode

SDLK_ESCAPE

backspace → const KeyCode

SDLK_BACKSPACE

tab → const KeyCode

SDLK_TAB

space → const KeyCode

SDLK_SPACE

exclaim → const KeyCode

SDLK_EXCLAIM

quotedbl → const KeyCode

SDLK_QUOTEDBL

hash → const KeyCode

SDLK_HASH

percent → const KeyCode

SDLK_PERCENT

dollar → const KeyCode

SDLK_DOLLAR

ampersand → const KeyCode

SDLK_AMPERSAND

quote → const KeyCode

SDLK_QUOTE

leftparen → const KeyCode

SDLK_LEFTPAREN

rightparen → const KeyCode

SDLK_RIGHTPAREN

asterisk → const KeyCode

SDLK_ASTERISK

plus → const KeyCode

SDLK_PLUS

comma → const KeyCode

SDLK_COMMA

minus → const KeyCode

SDLK_MINUS

period → const KeyCode

SDLK_PERIOD

slash → const KeyCode

SDLK_SLASH

digit0 → const KeyCode

SDLK_0

digit1 → const KeyCode

SDLK_1

digit2 → const KeyCode

SDLK_2

digit3 → const KeyCode

SDLK_3

digit4 → const KeyCode

SDLK_4

digit5 → const KeyCode

SDLK_5

digit6 → const KeyCode

SDLK_6

digit7 → const KeyCode

SDLK_7

digit8 → const KeyCode

SDLK_8

digit9 → const KeyCode

SDLK_9

colon → const KeyCode

SDLK_COLON

semicolon → const KeyCode

SDLK_SEMICOLON

less → const KeyCode

SDLK_LESS

equals → const KeyCode

SDLK_EQUALS

greater → const KeyCode

SDLK_GREATER

question → const KeyCode

SDLK_QUESTION

at → const KeyCode

SDLK_AT

leftbracket → const KeyCode

SDLK_LEFTBRACKET

backslash → const KeyCode

SDLK_BACKSLASH

rightbracket → const KeyCode

SDLK_RIGHTBRACKET

caret → const KeyCode

SDLK_CARET

underscore → const KeyCode

SDLK_UNDERSCORE

backquote → const KeyCode

SDLK_BACKQUOTE

a → const KeyCode

SDLK_a

b → const KeyCode

SDLK_b

c → const KeyCode

SDLK_c

d → const KeyCode

SDLK_d

e → const KeyCode

SDLK_e

f → const KeyCode

SDLK_f

g → const KeyCode

SDLK_g

h → const KeyCode

SDLK_h

i → const KeyCode

SDLK_i

j → const KeyCode

SDLK_j

k → const KeyCode

SDLK_k

l → const KeyCode

SDLK_l

m → const KeyCode

SDLK_m

n → const KeyCode

SDLK_n

o → const KeyCode

SDLK_o

p → const KeyCode

SDLK_p

q → const KeyCode

SDLK_q

r → const KeyCode

SDLK_r

s → const KeyCode

SDLK_s

t → const KeyCode

SDLK_t

u → const KeyCode

SDLK_u

v → const KeyCode

SDLK_v

w → const KeyCode

SDLK_w

x → const KeyCode

SDLK_x

y → const KeyCode

SDLK_y

z → const KeyCode

SDLK_z

capslock → const KeyCode

SDLK_CAPSLOCK

f1 → const KeyCode

SDLK_F1

f2 → const KeyCode

SDLK_F2

f3 → const KeyCode

SDLK_F3

f4 → const KeyCode

SDLK_F4

f5 → const KeyCode

SDLK_F5

f6 → const KeyCode

SDLK_F6

f7 → const KeyCode

SDLK_F7

f8 → const KeyCode

SDLK_F8

f9 → const KeyCode

SDLK_F9

f10 → const KeyCode

SDLK_F10

f11 → const KeyCode

SDLK_F11

f12 → const KeyCode

SDLK_F12

printscreen → const KeyCode

SDLK_PRINTSCREEN

scrolllock → const KeyCode

SDLK_SCROLLLOCK

pause → const KeyCode

SDLK_PAUSE

insert → const KeyCode

SDLK_INSERT

home → const KeyCode

SDLK_HOME

pageup → const KeyCode

SDLK_PAGEUP

delete → const KeyCode

SDLK_DELETE

end → const KeyCode

SDLK_END

pagedown → const KeyCode

SDLK_PAGEDOWN

SDLK_RIGHT

left → const KeyCode

SDLK_LEFT

down → const KeyCode

SDLK_DOWN

up → const KeyCode

SDLK_UP

numlockclear → const KeyCode

SDLK_NUMLOCKCLEAR

kp_divide → const KeyCode

SDLK_KP_DIVIDE

kp_multiply → const KeyCode

SDLK_KP_MULTIPLY

kp_minus → const KeyCode

SDLK_KP_MINUS

kp_plus → const KeyCode

SDLK_KP_PLUS

kp_enter → const KeyCode

SDLK_KP_ENTER

kp_1 → const KeyCode

SDLK_KP_1

kp_2 → const KeyCode

SDLK_KP_2

kp_3 → const KeyCode

SDLK_KP_3

kp_4 → const KeyCode

SDLK_KP_4

kp_5 → const KeyCode

SDLK_KP_5

kp_6 → const KeyCode

SDLK_KP_6

kp_7 → const KeyCode

SDLK_KP_7

kp_8 → const KeyCode

SDLK_KP_8

kp_9 → const KeyCode

SDLK_KP_9

kp_0 → const KeyCode

SDLK_KP_0

kp_period → const KeyCode

SDLK_KP_PERIOD

application → const KeyCode

SDLK_APPLICATION

power → const KeyCode

SDLK_POWER

kp_equals → const KeyCode

SDLK_KP_EQUALS

f13 → const KeyCode

SDLK_F13

f14 → const KeyCode

SDLK_F14

f15 → const KeyCode

SDLK_F15

f16 → const KeyCode

SDLK_F16

f17 → const KeyCode

SDLK_F17

f18 → const KeyCode

SDLK_F18

f19 → const KeyCode

SDLK_F19

f20 → const KeyCode

SDLK_F20

f21 → const KeyCode

SDLK_F21

f22 → const KeyCode

SDLK_F22

f23 → const KeyCode

SDLK_F23

f24 → const KeyCode

SDLK_F24

execute → const KeyCode

SDLK_EXECUTE

help → const KeyCode

SDLK_HELP

SDLK_MENU

select → const KeyCode

SDLK_SELECT

stop → const KeyCode

SDLK_STOP

again → const KeyCode

SDLK_AGAIN

undo → const KeyCode

SDLK_UNDO

cut → const KeyCode

SDLK_CUT

copy → const KeyCode

SDLK_COPY

paste → const KeyCode

SDLK_PASTE

find → const KeyCode

SDLK_FIND

mute → const KeyCode

SDLK_MUTE

volumeup → const KeyCode

SDLK_VOLUMEUP

volumedown → const KeyCode

SDLK_VOLUMEDOWN

kp_comma → const KeyCode

SDLK_KP_COMMA

kp_equalsas400 → const KeyCode

SDLK_KP_EQUALSAS400

alterase → const KeyCode

SDLK_ALTERASE

sysreq → const KeyCode

SDLK_SYSREQ

cancel → const KeyCode

SDLK_CANCEL

clear → const KeyCode

SDLK_CLEAR

prior → const KeyCode

SDLK_PRIOR

return2 → const KeyCode

SDLK_RETURN2

separator → const KeyCode

SDLK_SEPARATOR

out → const KeyCode

SDLK_OUT

oper → const KeyCode

SDLK_OPER

clearagain → const KeyCode

SDLK_CLEARAGAIN

crsel → const KeyCode

SDLK_CRSEL

exsel → const KeyCode

SDLK_EXSEL

kp_00 → const KeyCode

SDLK_KP_00

kp_000 → const KeyCode

SDLK_KP_000

thousandsseparator → const KeyCode

SDLK_THOUSANDSSEPARATOR

decimalseparator → const KeyCode

SDLK_DECIMALSEPARATOR

currencyunit → const KeyCode

SDLK_CURRENCYUNIT

currencysubunit → const KeyCode

SDLK_CURRENCYSUBUNIT

kp_leftparen → const KeyCode

SDLK_KP_LEFTPAREN

kp_rightparen → const KeyCode

SDLK_KP_RIGHTPAREN

kp_leftbrace → const KeyCode

SDLK_KP_LEFTBRACE

kp_rightbrace → const KeyCode

SDLK_KP_RIGHTBRACE

kp_tab → const KeyCode

SDLK_KP_TAB

kp_backspace → const KeyCode

SDLK_KP_BACKSPACE

kp_a → const KeyCode

SDLK_KP_A

kp_b → const KeyCode

SDLK_KP_B

kp_c → const KeyCode

SDLK_KP_C

kp_d → const KeyCode

SDLK_KP_D

kp_e → const KeyCode

SDLK_KP_E

kp_f → const KeyCode

SDLK_KP_F

kp_xor → const KeyCode

SDLK_KP_XOR

kp_power → const KeyCode

SDLK_KP_POWER

kp_percent → const KeyCode

SDLK_KP_PERCENT

kp_less → const KeyCode

SDLK_KP_LESS

kp_greater → const KeyCode

SDLK_KP_GREATER

kp_ampersand → const KeyCode

SDLK_KP_AMPERSAND

kp_dblampersand → const KeyCode

SDLK_KP_DBLAMPERSAND

kp_verticalbar → const KeyCode

SDLK_KP_VERTICALBAR

kp_dblverticalbar → const KeyCode

SDLK_KP_DBLVERTICALBAR

kp_colon → const KeyCode

SDLK_KP_COLON

kp_hash → const KeyCode

SDLK_KP_HASH

kp_space → const KeyCode

SDLK_KP_SPACE

kp_at → const KeyCode

SDLK_KP_AT

kp_exclam → const KeyCode

SDLK_KP_EXCLAM

kp_memstore → const KeyCode

SDLK_KP_MEMSTORE

kp_memrecall → const KeyCode

SDLK_KP_MEMRECALL

kp_memclear → const KeyCode

SDLK_KP_MEMCLEAR

kp_memadd → const KeyCode

SDLK_KP_MEMADD

kp_memsubtract → const KeyCode

SDLK_KP_MEMSUBTRACT

kp_memmultiply → const KeyCode

SDLK_KP_MEMMULTIPLY

kp_memdivide → const KeyCode

SDLK_KP_MEMDIVIDE

kp_plusminus → const KeyCode

SDLK_KP_PLUSMINUS

kp_clear → const KeyCode

SDLK_KP_CLEAR

kp_clearentry → const KeyCode

SDLK_KP_CLEARENTRY

kp_binary → const KeyCode

SDLK_KP_BINARY

kp_octal → const KeyCode

SDLK_KP_OCTAL

kp_decimal → const KeyCode

SDLK_KP_DECIMAL

kp_hexadecimal → const KeyCode

SDLK_KP_HEXADECIMAL

lctrl → const KeyCode

SDLK_LCTRL

lshift → const KeyCode

SDLK_LSHIFT

lalt → const KeyCode

SDLK_LALT

lgui → const KeyCode

SDLK_LGUI

rctrl → const KeyCode

SDLK_RCTRL

rshift → const KeyCode

SDLK_RSHIFT

ralt → const KeyCode

SDLK_RALT

rgui → const KeyCode

SDLK_RGUI

mode → const KeyCode

SDLK_MODE

audionext → const KeyCode

SDLK_AUDIONEXT

audioprev → const KeyCode

SDLK_AUDIOPREV

audiostop → const KeyCode

SDLK_AUDIOSTOP

audioplay → const KeyCode

SDLK_AUDIOPLAY

audiomute → const KeyCode

SDLK_AUDIOMUTE

mediaselect → const KeyCode

SDLK_MEDIASELECT

www → const KeyCode

SDLK_WWW

mail → const KeyCode

SDLK_MAIL

calculator → const KeyCode

SDLK_CALCULATOR

computer → const KeyCode

SDLK_COMPUTER

SDLK_AC_SEARCH

ac_home → const KeyCode

SDLK_AC_HOME

ac_back → const KeyCode

SDLK_AC_BACK

ac_forward → const KeyCode

SDLK_AC_FORWARD

ac_stop → const KeyCode

SDLK_AC_STOP

ac_refresh → const KeyCode

SDLK_AC_REFRESH

ac_bookmarks → const KeyCode

SDLK_AC_BOOKMARKS

brightnessdown → const KeyCode

SDLK_BRIGHTNESSDOWN

brightnessup → const KeyCode

SDLK_BRIGHTNESSUP

displayswitch → const KeyCode

SDLK_DISPLAYSWITCH

kbdillumtoggle → const KeyCode

SDLK_KBDILLUMTOGGLE

kbdillumdown → const KeyCode

SDLK_KBDILLUMDOWN

kbdillumup → const KeyCode

SDLK_KBDILLUMUP

eject → const KeyCode

SDLK_EJECT

sleep → const KeyCode

SDLK_SLEEP

app1 → const KeyCode

SDLK_APP1

app2 → const KeyCode

SDLK_APP2

audiorewind → const KeyCode

SDLK_AUDIOREWIND

audiofastforward → const KeyCode

SDLK_AUDIOFASTFORWARD

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Constants

values → const List<KeyCode>
A constant List of the values in this enum, in order of their declaration.