Skip to content

KeyCode

Released in v0.1.1-alpha / Last updated in v0.1.1-alpha

Description

KeyCodes corresponding to physical keys on the keyboard.
Numerical keycodes begin with a "D" (Eg. D0, D1)

Properties

Name Description
Space Spacebar
Apostrophe '
Comma ,
Minus -
Period .
Slash /
D0 0
D1 1
D2 2
D3 3
D4 4
D5 5
D6 6
D7 7
D8 8
D9 9
Semicolon ;
Equal =
A A
B B
C C
D D
E E
F F
G G
H H
I I
J J
K K
L L
M M
N N
O O
P P
Q Q
R R
S S
T T
U U
V V
W W
X X
Y Y
Z Z
LeftBracket [
Backslash \
RightBracket ]
GraveAccent `
World1 non-US #1
World2 non-US #2
Escape Esc key
Enter Enter key
Tab Tab key
Backspace Backspace key
Insert Insert key
Delete Delete key
Right Right arrow
Left Left arrow
Down Down arrow
Up Up arrow
PageUp PageUp key
PageDown PageDown key
Home Home key
End End key
CapsLock CapsLock key
ScrollLock ScrollLock key
NumLock NumLock key
PrintScreen PrintScreen key
Pause Pause key
F1 F1
F2 F2
F3 F3
F4 F4
F5 F5
F6 F6
F7 F7
F8 F8
F9 F9
F10 F10
F11 F11
F12 F12
F13 F13
F14 F14
F15 F15
F16 F16
F17 F17
F18 F18
F19 F19
F20 F20
F21 F21
F22 F22
F23 F23
F24 F24
F25 F25
KP0 Keypad 0
KP1 Keypad 1
KP2 Keypad 2
KP3 Keypad 3
KP4 Keypad 4
KP5 Keypad 5
KP6 Keypad 6
KP7 Keypad 7
KP8 Keypad 8
KP9 Keypad 9
KPDecimal Keypad Decimal
KPDivide Keypad Divide
KPMultiply Keypad Multiply
KPSubtract Keypad Subtract
KPAdd Keypad Add
KPEnter Keypad Enter
KPEqual Keypad Equal
LeftShift Left Shift
LeftControl Left Control
LeftAlt Left Alt
LeftSuper Left Super
RightShift Right Shift
RightControl Right Control
RightAlt Right Alt
RightSuper Right Super
Menu Menu