KeyCode

Keys that can be pressed on a keyboard. Notably, numpad keys are missing right now.

ValueDescription
aThe A key.
bThe B key.
cThe C key.
dThe D key.
eThe E key.
fThe F key.
gThe G key.
hThe H key.
iThe I key.
jThe J key.
kThe K key.
lThe L key.
mThe M key.
nThe N key.
oThe O key.
pThe P key.
qThe Q key.
rThe R key.
sThe S key.
tThe T key.
uThe U key.
vThe V key.
wThe W key.
xThe X key.
yThe Y key.
zThe Z key.
0The 0 key.
1The 1 key.
2The 2 key.
3The 3 key.
4The 4 key.
5The 5 key.
6The 6 key.
7The 7 key.
8The 8 key.
9The 9 key.
spaceThe space bar.
returnThe enter key.
tabThe tab key.
escapeThe escape key.
backspaceThe backspace key.
upThe up arrow key.
downThe down arrow key.
leftThe left arrow key.
rightThe right arrow key.
homeThe home key.
endThe end key.
pageupThe page up key.
pagedownThe page down key.
insertThe insert key.
deleteThe delete key.
f1The F1 key.
f2The F2 key.
f3The F3 key.
f4The F4 key.
f5The F5 key.
f6The F6 key.
f7The F7 key.
f8The F8 key.
f9The F9 key.
f10The F10 key.
f11The F11 key.
f12The F12 key.
`The backtick/backquote/grave accent key.
-The dash/hyphen/minus key.
=The equal sign key.
[The left bracket key.
]The right bracket key.
\The backslash key.
;The semicolon key.
'The single quote key.
,The comma key.
.The period key.
/The slash key.
lctrlThe left control key.
lshiftThe left shift key.
laltThe left alt key.
lguiThe left OS key (windows, command, super).
rctrlThe right control key.
rshiftThe right shift key.
raltThe right alt key.
rguiThe right OS key (windows, command, super).
capslockThe caps lock key.
scrolllockThe scroll lock key.
numlockThe numlock key.

See also