0%

键盘code表

键盘code表,供自己查询,免去console.log出code,然后再写的麻烦。

KeyCode Table

数字键KeyCodeF1-F12KeyCode小键盘KeyCode
149F1112Numbpad 096
250F2113Numbpad197
351F3114Numbpad298
452F4115Numbpad399
553F5116Numbpad4100
654F6117Numbpad5101
755F7118Numbpad6102
856F8119Numbpad7103
957F9120Numbpad8104
F10121Numbpad9105
F11122Multiply(*)106
F12123Add(+)107
Enter108
Subtract(-)109
Decimal(.)110
Divide(/)111
字母KeyCode字母KeyCode其他键KeyCode其他键KeyCode
A65N78Backspace8Left Arrow37
B66O79Tab9Up Arrow38
C67P80Clear12Right Arrow39
D68Q81Enter13Down Arrow40
E69R82Shift16Insert45
F70S83Control17Delete46
G71T84Alt18Help47
H72U85Caps Lock20Num Lock144
I73V86Esc27;:186
J74W87Spacebar32=+187
K75X88Page Up33-_189
L76Y89Page Down34/?191
M77Z90End35~`192
Home36[{219
\|220
]}221
'''222
bulb