Variable: keyCodes
const
keyCodes:object
Defined in: input/constants/key-codes.ts:1
Type declaration
a
a:
string
='KeyA'
altLeft
altLeft:
string
='AltLeft'
altRight
altRight:
string
='AltRight'
arrowDown
arrowDown:
string
='ArrowDown'
arrowLeft
arrowLeft:
string
='ArrowLeft'
arrowRight
arrowRight:
string
='ArrowRight'
arrowUp
arrowUp:
string
='ArrowUp'
b
b:
string
='KeyB'
backquote
backquote:
string
='Backquote'
backslash
backslash:
string
='Backslash'
backspace
backspace:
string
='Backspace'
bracketLeft
bracketLeft:
string
='BracketLeft'
bracketRight
bracketRight:
string
='BracketRight'
c
c:
string
='KeyC'
capsLock
capsLock:
string
='CapsLock'
comma
comma:
string
='Comma'
contextMenu
contextMenu:
string
='ContextMenu'
controlLeft
controlLeft:
string
='ControlLeft'
controlRight
controlRight:
string
='ControlRight'
d
d:
string
='KeyD'
delete
delete:
string
='Delete'
digit0
digit0:
string
='Digit0'
digit1
digit1:
string
='Digit1'
digit2
digit2:
string
='Digit2'
digit3
digit3:
string
='Digit3'
digit4
digit4:
string
='Digit4'
digit5
digit5:
string
='Digit5'
digit6
digit6:
string
='Digit6'
digit7
digit7:
string
='Digit7'
digit8
digit8:
string
='Digit8'
digit9
digit9:
string
='Digit9'
e
e:
string
='KeyE'
end
end:
string
='End'
enter
enter:
string
='Enter'
equal
equal:
string
='Equal'
escape
escape:
string
='Escape'
f
f:
string
='KeyF'
f1
f1:
string
='F1'
f10
f10:
string
='F10'
f11
f11:
string
='F11'
f12
f12:
string
='F12'
f2
f2:
string
='F2'
f3
f3:
string
='F3'
f4
f4:
string
='F4'
f5
f5:
string
='F5'
f6
f6:
string
='F6'
f7
f7:
string
='F7'
f8
f8:
string
='F8'
f9
f9:
string
='F9'
g
g:
string
='KeyG'
h
h:
string
='KeyH'
home
home:
string
='Home'
i
i:
string
='KeyI'
insert
insert:
string
='Insert'
j
j:
string
='KeyJ'
k
k:
string
='KeyK'
l
l:
string
='KeyL'
m
m:
string
='KeyM'
metaLeft
metaLeft:
string
='MetaLeft'
metaRight
metaRight:
string
='MetaRight'
minus
minus:
string
='Minus'
n
n:
string
='KeyN'
numLock
numLock:
string
='NumLock'
o
o:
string
='KeyO'
p
p:
string
='KeyP'
pageDown
pageDown:
string
='PageDown'
pageUp
pageUp:
string
='PageUp'
pause
pause:
string
='Pause'
period
period:
string
='Period'
printScreen
printScreen:
string
='PrintScreen'
q
q:
string
='KeyQ'
quote
quote:
string
='Quote'
r
r:
string
='KeyR'
s
s:
string
='KeyS'
scrollLock
scrollLock:
string
='ScrollLock'
semicolon
semicolon:
string
='Semicolon'
shiftLeft
shiftLeft:
string
='ShiftLeft'
shiftRight
shiftRight:
string
='ShiftRight'
slash
slash:
string
='Slash'
space
space:
string
='Space'
t
t:
string
='KeyT'
tab
tab:
string
='Tab'
u
u:
string
='KeyU'
v
v:
string
='KeyV'
w
w:
string
='KeyW'
x
x:
string
='KeyX'
y
y:
string
='KeyY'
z
z:
string
='KeyZ'