Find which keyboard keys usually correspond to the values 0 to 255 of the deprecated and inconsistent e.which, e.keyCode and e.charCode KeyboardEvent properties in the table below:

Key CodeKey Description
0Unidentified key
1
2
3
4
5
6
7
8Backspace
9Tab
10
11
12Clear
13Enter
14
15
16Shift
17Control
18Alt
19Pause/Break
20Caps Lock
21
22
23
24
25
26
27Escape
28
29
30
31
32Space Bar
33Page Up
34Page Down
35End
36Home
37Left Arrow
38Up Arrow
39Right Arrow
40Down Arrow
41Select
42Print
43Execute
44Print Screen / Snapshot
45Insert
46Delete
47Help
480
491
502
513
524
535
546
557
568
579
58
59
60
61
62
63
64
65A
66B
67C
68D
69E
70F
71G
72H
73I
74J
75K
76L
77M
78N
79O
80P
81Q
82R
83S
84T
85U
86V
87W
88X
89Y
90Z
91Left Window/Meta/OS Key
92Right Window/Meta/OS Key
93Context Menu
94
95
96Numpad 0
97Numpad 1
98Numpad 2
99Numpad 3
100Numpad 4
101Numpad 5
102Numpad 6
103Numpad 7
104Numpad 8
105Numpad 9
106Multiply
107Add
108Keypad Enter
109Subtract
110Decimal Point
111Divide
112F1
113F2
114F3
115F4
116F5
117F6
118F7
119F8
120F9
121F10
122F11
123F12
124F13
125F14
126F15
127F16
128F17
129F18
130F19
131F20
132F21
133F22
134F23
135F24
136F25
137F26
138F27
139F28
140F29
141F30
142F31
143F32
144Num Lock
145Scroll Lock
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166Navigate/Page Back
167Navigate/Page Forward
168Reload/Refresh Page
169
170
171
172
173
174Audio Volume Down
175Audio Volume Up
176
177
178
179
180
181
182
183
184
185
186Semi-colon
187Equal Sign
188Comma
189Dash
190Period
191Forward Slash
192Grave Accent
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219Open Bracket
220Back Slash
221Close Bracket
222Single Quote
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255

Double-click a value to copy.

Double-click a value to copy. Check out the complete event log on the console (F12).

Show less

Double-click a value to copy. Check out the complete event log on the console (F12).

Show more