https://segmentfault.com/a/1190000005828048

字母和数字键的键码值(keyCode)

A65J74S83149
B66K75T84250
C67L76U85351
D68M77V86452
E69N78W87553
F70O79X88654
G71P80Y89755
H72Q81Z90856
I73R82048957

数字键盘上的键的键码值(keyCode)

0968104
1979105
298*106
399+107
4100Enter108
5101-109
6102.110
7103/111

功能键键码值(keyCode)

F1112F7118
F2113F8119
F3114F9120
F4115F10121
F5116F11122
F6117F12123

控制键键码值(keyCode)

BackSpace8Esc27Right Arrow39-_189
Tab9Spacebar32Dw Arrow40.>190
Clear12Page Up33Insert45/?191
Enter13Page Down34Delete46`~192
Shift16End35Num Lock144[{219
Control17Home36;:186\|220
Alt18Left Arrow37=+187]}221
Cape Lock20Up Arrow38,<188'"222

多媒体键码值(keyCode)

音量加175
音量减174
停止179
静音173
浏览器172
邮件180
搜索170
收藏171
05-01 03:18