Index
Enum KeyCode
Package: @altmp/altv-types
Syntax
Fields
Key0
Key1
Key2
Key3
Key4
Key5
Key6
Key7
Key8
Key9
Backspace
Tab
Clear
Enter
Return
Escape
Space
Left
Up
Right
Down
Delete
Insert
Home
End
PageUp
PageDown
CapsLock
Shift
Alt
Ctrl
-
=
,
;
.
/
`
~
'
[
]
\
KpMultiply
KpAdd
KpSubtract
KpDecimal
KpDivide
A
B
C
D
E
F
G
H
I
J
K
L
M
N
O
P
Q
R
S
T
U
V
W
X
Y
Z
F1
F2
F3
F4
F5
F6
F7
F8
F9
F10
F11
F12
F13
F14
F15
F16
F17
F18
F19
F20
Numpad0
Numpad1
Numpad2
Numpad3
Numpad4
Numpad5
Numpad6
Numpad7
Numpad8
Numpad9
MouseLeft
MouseRight
MouseMiddle
Name |
Description |
Field Value |
Key0 |
|
48 |
Key1 |
|
49 |
Key2 |
|
50 |
Key3 |
|
51 |
Key4 |
|
52 |
Key5 |
|
53 |
Key6 |
|
54 |
Key7 |
|
55 |
Key8 |
|
56 |
Key9 |
|
57 |
Backspace |
|
8 |
Tab |
|
9 |
Clear |
|
12 |
Enter |
|
13 |
Return |
|
13 |
Escape |
|
27 |
Space |
|
32 |
Left |
|
37 |
Up |
|
38 |
Right |
|
39 |
Down |
|
40 |
Delete |
|
46 |
Insert |
|
45 |
Home |
|
36 |
End |
|
35 |
PageUp |
|
33 |
PageDown |
|
34 |
CapsLock |
|
20 |
Shift |
|
16 |
Alt |
|
18 |
Ctrl |
|
17 |
- |
|
189 |
= |
|
187 |
, |
|
188 |
; |
|
186 |
. |
|
190 |
/ |
|
191 |
` |
|
192 |
~ |
|
192 |
' |
|
222 |
[ |
|
219 |
] |
|
221 |
\ |
|
220 |
KpMultiply |
|
106 |
KpAdd |
|
107 |
KpSubtract |
|
109 |
KpDecimal |
|
110 |
KpDivide |
|
111 |
A |
|
65 |
B |
|
66 |
C |
|
67 |
D |
|
68 |
E |
|
69 |
F |
|
70 |
G |
|
71 |
H |
|
72 |
I |
|
73 |
J |
|
74 |
K |
|
75 |
L |
|
76 |
M |
|
77 |
N |
|
78 |
O |
|
79 |
P |
|
80 |
Q |
|
81 |
R |
|
82 |
S |
|
83 |
T |
|
84 |
U |
|
85 |
V |
|
86 |
W |
|
87 |
X |
|
88 |
Y |
|
89 |
Z |
|
90 |
F1 |
|
112 |
F2 |
|
113 |
F3 |
|
114 |
F4 |
|
115 |
F5 |
|
116 |
F6 |
|
117 |
F7 |
|
118 |
F8 |
|
119 |
F9 |
|
120 |
F10 |
|
121 |
F11 |
|
122 |
F12 |
|
123 |
F13 |
|
124 |
F14 |
|
125 |
F15 |
|
126 |
F16 |
|
127 |
F17 |
|
128 |
F18 |
|
129 |
F19 |
|
130 |
F20 |
|
131 |
Numpad0 |
|
96 |
Numpad1 |
|
97 |
Numpad2 |
|
98 |
Numpad3 |
|
99 |
Numpad4 |
|
100 |
Numpad5 |
|
101 |
Numpad6 |
|
102 |
Numpad7 |
|
103 |
Numpad8 |
|
104 |
Numpad9 |
|
105 |
MouseLeft |
|
1 |
MouseRight |
|
2 |
MouseMiddle |
|
4 |