键盘 KeyCode 值
功能键 F1 ~ F12
按键 | KeyCode |
---|---|
F1 | 112 |
F2 | 113 |
F3 | 114 |
F4 | 115 |
F5 | 116 |
F6 | 117 |
F7 | 118 |
F8 | 119 |
F9 | 120 |
F10 | 121 |
F11 | 122 |
F12 | 123 |
数字键 0 ~ 9
按键 | KeyCode |
---|---|
0 | 48 |
1 | 49 |
2 | 50 |
3 | 51 |
4 | 52 |
5 | 53 |
6 | 54 |
7 | 55 |
8 | 56 |
9 | 57 |
字母键 A ~ Z
按键 | KeyCode |
---|---|
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 |
控制键
按键 | KeyCode |
---|---|
BackSpace | 8 |
Tab | 9 |
Clear | 12 |
Enter | 13 |
Shift | 16 |
Control | 17 |
Alt | 18 |
Pause | 19 |
Caps Lock | 20 |
Esc | 27 |
Spacebar | 32 |
Page Up | 33 |
Page Down | 34 |
End | 35 |
Home | 36 |
Left Arrow | 37 |
Up Arrow | 38 |
Right Arrow | 39 |
Down Arrow | 40 |
Print Screen | 44 |
Insert | 45 |
Delete | 46 |
ContextMenu | 93 |
Num Lock | 144 |
Scroll Lock | 145 |
;: | 186 |
=+ | 187 |
,< | 188 |
-_ | 189 |
.> | 190 |
/? | 191 |
`~ | 192 |
[{ | 219 |
/| | 220 |
]} | 221 |
'" | 222 |
数字键盘
按键 | KeyCode |
---|---|
0 | 96 |
1 | 97 |
2 | 98 |
3 | 99 |
4 | 100 |
5 | 101 |
6 | 102 |
7 | 103 |
8 | 104 |
9 | 105 |
* | 106 |
+ | 107 |
Enter | 108 |
- | 109 |
. | 110 |
/ | 111 |
0 条用户评论
0 / 300