键盘的KeyCode一览
A?Z、0?9键盘KeyCode一览表
键 | keyCode |
0 | 48 |
1 | 49 |
2 | 50 |
3 | 51 |
4 | 52 |
5 | 53 |
6 | 54 |
7 | 55 |
8 | 56 |
9 | 57 |
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 |
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 |
F1~F15键盘KeyCode
键 | 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 |
F13 | 124 |
F14 | 125 |
F15 | 126 |
键 | keyCode |
BackSpace | 8 |
Tab | 9 |
Clear | 12 |
Enter | 13 |
Shift | 16 |
Ctrl | 17 |
Alt | 18 |
CapsLock | 20 |
Esc | 27 |
Space | 32 |
PageUp | 33 |
PageDown | 34 |
End | 35 |
Home | 36 |
← (左) | 37 |
↑ (上) | 38 |
→ (右) | 39 |
↓ (下) | 40 |
Insert | 45 |
Delete | 46 |
Help | 47 |
NumLock | 144 |
: * | 186 |
; + | 187 |
- = | 189 |
/ ? | 191 |
@ ` | 192 |
[ { | 219 |
\ | | 220 |
] } | 221 |
" ' | 222 |
键 | 定数 |
BackSpace | Keyboard.BACKSPACE |
CapsLock | Keyboard.CAPS_LOCK |
Control | Keyboard.CONTROL |
Delete | Keyboard.DELETE |
End | Keyboard.END |
Enter | Keyboard.ENTER |
Escape | Keyboard.ESCAPE |
F1 | Keyboard.F1 |
F2 | Keyboard.F2 |
F3 | Keyboard.F3 |
F4 | Keyboard.F4 |
F5 | Keyboard.F5 |
F6 | Keyboard.F6 |
F7 | Keyboard.F7 |
F8 | Keyboard.F8 |
F9 | Keyboard.F9 |
F10 | Keyboard.F10 |
F11 | Keyboard.F11 |
F12 | Keyboard.F12 |
F13 | Keyboard.F13 |
F14 | Keyboard.F14 |
F15 | Keyboard.F15 |
Home | Keyboard.HOME |
Insert | Keyboard.INSERT |
NUMPAD 0 | Keyboard.NUMPAD_0 |
NUMPAD 1 | Keyboard.NUMPAD_1 |
NUMPAD 2 | Keyboard.NUMPAD_2 |
NUMPAD 3 | Keyboard.NUMPAD_3 |
NUMPAD 4 | Keyboard.NUMPAD_4 |
NUMPAD 5 | Keyboard.NUMPAD_5 |
NUMPAD 6 | Keyboard.NUMPAD_6 |
NUMPAD 7 | Keyboard.NUMPAD_7 |
NUMPAD 8 | Keyboard.NUMPAD_8 |
NUMPAD 9 | Keyboard.NUMPAD_9 |
NUMPAD + | Keyboard.NUMPAD_ADD |
NUMPAD . | Keyboard.NUMPAD_DECIMAL |
NUMPAD / | Keyboard.NUMPAD_DIVIDE |
NUMPAD Enter | Keyboard.NUMPAD_ENTER |
NUMPAD * | Keyboard.NUMPAD_MULTIPLY |
NUMPAD - | Keyboard.NUMPAD_SUBTRACT |
Page Up | Keyboard.PAGE_UP |
Page Down | Keyboard.PAGE_DOWN |
Arrow Up | Keyboard.UP |
Arrow Down | Keyboard.DOWN |
Arrow Left | Keyboard.LEFT |
Arrow Right | Keyboard.RIGHT |
Shift | Keyboard.SHIFT |
Space | Keyboard.SPACE |
Tab | Keyboard.TAB |
Word教程网 | Excel教程网 | Dreamweaver教程网 | Fireworks教程网 | PPT教程网 | FLASH教程网 | PS教程网 |
HTML教程网 | DIV CSS教程网 | FLASH AS教程网 | ACCESS教程网 | SQL SERVER教程网 | C语言教程网 | JAVASCRIPT教程网 |
ASP教程网 | ASP.NET教程网 | CorelDraw教程网 |