Defines the keycode values for keys that are returned by KeyboardEvent.keyCode.
Important note: There is substantial divergence in how different browsers handle keycodes and their variants in different locales/keyboard layouts. We provide these constants to help make code processing keys more readable.
65
18
192
66
220
8
67
20
221
188
93
17
68
189
46
40
69
56
35
13
187
27
70
112
113
114
115
116
117
118
119
120
121
122
123
61
59
166
53
52
71
72
36
73
45
74
75
76
183
37
77
3
224
91
78
57
12
46
111
39
104
101
100
45
109
106
105
38
33
36
97
110
107
103
102
40
34
35
99
98
37
96
144
79
49
219
80
34
33
19
190
44
81
63
82
39
83
145
186
55
16
222
54
191
32
84
9
51
192
50
85
-1
38
86
87
229
224
0
91
92
88
89
90
48