键盘码表:单键扫描码,ascii,组合键码

合集下载
  1. 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
  2. 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
  3. 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。

字母和空格按键的编码表
按键单键SHIFT CTRL ALT
扫描码ASCII码扫描码ASCII码扫描码ASCII码扫描码ASCII码
a 1E 61 1E 41 1E 01 1E 00
b 30 62 30 42 30 02 30 00
c 2E 63 2E 43 2E 03 2E 00
d 20 64 20 44 20 04 20 00
e 12 65 12 45 12 05 12 00
f 21 66 21 46 21 06 21 00
g 22 67 22 47 22 07 22 00
h 23 68 23 48 23 08 23 00
i 17 69 17 49 17 09 17 00 j 24 6A 24 4A 24 0A 24 00 k 25 6B 25 4B 25 0B 25 00 l 26 6C 26 4C 26 0C 26 00 m 32 6D 32 4D 32 0D 32 00 n 31 6E 31 4E 31 0E 31 00 o 18 6F 18 4F 18 0F 18 00 p 19 70 19 50 19 10 19 00 q 10 71 10 51 10 11 10 00 r 13 72 13 52 13 12 13 00 s 1F 73 1F 53 1F 13 1F 00 t 14 74 14 54 14 14 14 00 u 16 75 16 55 16 15 16 00 v 2F 76 2F 56 2F 16 2F 00 w 11 77 11 57 11 17 11 00 x 2D 78 2D 58 2D 18 2D 00 y 15 79 15 59 15 19 15 00 z 2C 7A 2C 5A 2C 1A 2C 00 SpaceBar 39 20 39 20 39 20 39 20
功能键和数字键盘的编码表·内容正文
按键单键SHIFT CTRL ALT
扫描码ASCII码扫描码ASCII码扫描码ASCII码扫描码ASCII码
F1 3B 00 54 00 5E 00 68 00 F2 3C 00 55 00 5F 00 69 00 F3 3D 00 56 00 60 00 6A 00 F4 3E 00 57 00 61 00 6B 00 F5 3F 00 58 00 62 00 6C 00 F6 40 00 59 00 63 00 6D 00 F7 41 00 5A 00 64 00 6E 00 F8 42 00 5B 00 65 00 6F 00 F9 43 00 5C 00 66 00 70 00 F10 44 00 5D 00 67 00 71 00 F11 85 00 87 00 89 00 8B 00 F12 86 00 88 00 8A 00 8C 00 键盘码表:单键扫描码,ascii,组合键码
数字键盘的编码表
按键单键SHIFT CTRL ALT
扫描码ASCII码扫描码ASCII码扫描码ASCII码扫描码ASCII码
Ins&0 52 00 52 30 92 00 00 End&1 4F 00 4F 31 75 00 00 01 ↓&2 50 00 50 32 91 00 00 02 PgDn&3 51 00 51 33 76 00 00 03 ←&4 4B 00 4B 34 73 00 00 04 5 4C 00 4C 35 8F 00 00 05 →&6 4D 00 4D 36 74 00 00 06 Home&7 47 00 47 37 77 00 00 07 ↑&8 48 00 48 38 8D 00 00 08 PgUp&9 49 00 49 39 84 00 00 09 + 4E 2B 4E 2B 90 00 4E 00 - 4A 2D 4A 2D 8E 00 4A 00 Del&'.' 53 00 53 2E 93 00 00 * 37 2A 37 2A 96 00 37 00
第一排数字键盘的编码表
按键单键SHIFT CTRL ALT
扫描码ASCII码扫描码ASCII码扫描码ASCII码扫描码ASCII码
`@~ 29 60 29 7E 00 29 00 1@! 02 31 02 21 00 78 00 2@@ 03 32 03 40 03 00 79 00 3@# 04 33 04 23 00 7A 00 4@$ 05 34 05 24 00 7B 00 5@% 06 35 06 25 00 7C 00 6@^ 07 36 07 5E 07 1E 7D 00 7@& 08 37 08 26 00 7E 00 8@* 09 38 09 2A 00 7F 00 9@( 0A 39 0A 38 00 80 00 0@) 0B 30 0B 29 00 81 00 -@_0C 2D 0C 5F 0C 1F 82 00 =@+0D 3D 0D 2B 00 83 00
操作、标号和附加按键等的编码表·内容正文
按键单键SHIFT CTRL ALT
扫描码ASCII码扫描码ASCII码扫描码ASCII码扫描码ASCII码
Esc 01 1B 01 1B 01 1B 01 00 Backspace 0E 08 0E 08 0E 7F 0E 00 Tab 0F 09 0F 00 94 00 A5 00 Enter 1C 0D 1C 0D 1C 0A 1C 00
标号按键的编码表
按键单键SHIFT CTRL ALT
扫描码ASCII码扫描码ASCII码扫描码ASCII码扫描码ASCII码
[@{ 1A 5B 1A 7B 1A 1B 1A 00
]@} 1B 5D 1B 7D 1B 1D 1B 00 ;@: 27 3B 27 3A 00 27 00 @" 28 27 28 22 00 28 00 \@| 2b 5C 2b 7C 2B 1C 2b 00 , @ < 33 2C 33 3C 00 33 00 . @> 34 2E 34 3E 00 34 00 / @ ? 35 2F 35 3F 00 35 00
、附加按键的编码表
按键单键SHIFT CTRL ALT
扫描码ASCII码扫描码ASCII码扫描码ASCII码扫描码ASCII码
Flash(/) E0 2F E0 2F 95 00 A4 00 Enter E0 0D E0 0D E0 0A A6 00 Home 47 E0 47 E0 77 E0 97 00 End 4F E0 4F E0 75 E0 9F 00 PageUp 49 E0 49 E0 84 E0 99 00 PageDown 51 E0 51 E0 76 E0 A1 00 DnArrow 50 E0 50 E0 91 E0 A0 00 LeftArrow 4B E0 4B E0 73 E0 9B 00 RightArrow 4D E0 4D E0 74 E0 9D 00 UpArrow 48 E0 48 E0 8D E0 98 00 Ins 52 E0 52 E0 92 E0 A2 00 Del 53 E0 53 E0 93 E0 A3 00
其它按键的扫描码
当这些键被按下时,BIOS并没有把它们的扫描码输入键盘缓冲区。

按键扫描码
CapsLock 3A
NumLock 45
ScrollLock 46
Shift(Left) 2A
Shift(Right) 36
Alt 38
Ctrl 1D
PrtScreen 37
HEX DEC keys | HEX DEC keys | HEX DEC keys | HEX DEC keys
------------------+-------------------+-------------------+-------------------- 03 3 nul | 0F 15 Shift-tab | 72 114 Ctrl-PrtSc|
------------------+-------------------+-------------------+--------------------
47 71 Home | | 77 119 Ctrl-Home | 8C 140 Alt-Home
48 72 Up | | 85 133 Ctrl-Up | 8D 141 Alt-Up
49 73 PgUp | | 84 132 Ctrl-PgUp | 8E 142 Alt-PgUp
4A 74 -(num) | | 86 134 Ctrl--(nu)| 8F 143 Alt--(num) 4B 75 Left | | 73 115 Ctrl-Left | 90 144 Alt-Left
4C 76 Center | | 87 135 Ctrl-Centr| 91 145 Alt-Center 4D 77 Right | | 74 116 Ctrl-Right| 92 146 Alt-Right 4E 78 +(num) | | 88 136 Ctrl-+(nu)| 93 147 Alt-+(num) 4F 79 End | | 75 117 Ctrl-End | 94 148 Alt-End
50 80 Down | | 89 137 Ctrl-Down | 95 149 Alt-Down
51 81 PgDn | | 76 118 Ctrl-PgDn | 96 150 Alt-PgDn
52 82 Ins | | 8A 138 Ctrl-Ins | 97 151 Alt-Ins
53 83 Del | | 8B 139 Ctrl-Del | 98 152 Alt-Del
------------------+-------------------+-------------------+-------------------- 3B 59 F1 | 54 84 Shift-F1 | 5E 94 Ctrl-F1 | 68 104 Alt-F1
3C 60 F2 | 55 85 Shift-F2 | 5F 95 Ctrl-F2 | 69 105 Alt-F2
3D 61 F3 | 56 86 Shift-F3 | 60 96 Ctrl-F3 | 6A 106 Alt-F3
3E 62 F4 | 57 87 Shift-F4 | 61 97 Ctrl-F4 | 6B 107 Alt-F4
3F 63 F5 | 58 88 Shift-F5 | 62 98 Ctrl-F5 | 6C 108 Alt-F5
40 64 F6 | 59 89 Shift-F6 | 63 99 Ctrl-F6 | 6D 109 Alt-F6
41 65 F7 | 5A 90 Shift-F7 | 64 100 Ctrl-F7 | 6E 110 Alt-F7
42 66 F8 | 5B 91 Shift-F8 | 65 101 Ctrl-F8 | 6F 111 Alt-F8
43 67 F9 | 5C 92 Shift-F9 | 66 102 Ctrl-F9 | 70 112 Alt-F9
44 68 F10 | 5D 93 Shift-F10 | 67 103 Ctrl-F10 | 71 113 Alt-F10
------------------+-------------------+-------------------+-------------------- 1E 30 Alt-A | 31 49 Alt-N | 78 120 Alt-1 |
30 48 Alt-B | 18 24 Alt-O | 79 121 Alt-2 |
2E 46 Alt-C | 19 25 Alt-P | 7A 122 Alt-3 |
20 32 Alt-D | 10 16 Alt-Q | 7B 123 Alt-4 |
12 18 Alt-E | 13 19 Alt-R | 7C 124 Alt-5 |
21 33 Alt-F | 1F 31 Alt-S | 7D 125 Alt-6 |
22 34 Alt-G | 14 20 Alt-T | 7E 126 Alt-7 |
23 35 Alt-H | 16 22 Alt-U | 7F 127 Alt-8 |
17 23 Alt-I | 2F 47 Alt-V | 80 128 Alt-9 |
24 36 Alt-J | 11 17 Alt-W | 81 129 Alt-0 |
25 37 Alt-K | 2D 45 Alt-X | 82 130 Alt-- |
26 38 Alt-L | 15 21 Alt-Y | 83 131 Alt-= |
32 50 Alt-M | 2C 44 Alt-Z | |。

相关文档
最新文档