键盘代码表
键盘代码大全(完整)
00010010
18
12
DC2 (device control 2)
设备控制2
00010011
19
13
DC3 (device control 3)
设备控制3
00010100
20
14
DC4 (device control 4)
设备控制4
00010101
21
15
NAK (negative acknowledge)
27
'
00101000
40
28
(
00101001
41
29
)
00101010
42
2A
*
00101011
43
2B
+
00101100
44
2C
,
00101101
45
2D
-
00101110
46
2E
.
00101111
47
2F
/
00110000
48
30
0
续表
00110001
49
31
1
00110010
50
32
2
00110011
鼠标右键快捷键:VK_APPS (93)
Insert键: VK_INSERT (45)
Home键: VK_HOME (36)
Page Up: VK_PRIOR (33)
PageDown: VK_NEXT (34)
End键: VK_END (35)
Delete键: VK_DELETE (46)
方向键(←): VK_LEFT (37)
键盘代码大全
keycode 8 BackSpace BackSpace keycode 9 Tab Tabkeycode 12 Clearkeycode 13 Enterkeycode 16 Shift_Lkeycode 17 Control_Lkeycode 18 Alt_Lkeycode 19 Pausekeycode 20 Caps_Lockkeycode 27 Escape Escapekeycode 32 space spacekeycode 33 Priorkeycode 34 Nextkeycode 35 Endkeycode 36 Homekeycode 37 Leftkeycode 38 Upkeycode 39 Rightkeycode 40 Downkeycode 41 Selectkeycode 42 Printkeycode 43 Executekeycode 45 Insertkeycode 46 Deletekeycode 47 Helpkeycode 48 0 equal braceright keycode 49 1 exclam onesuperior keycode 50 2 quotedbl twosuperior keycode 51 3 section threesuperior keycode 52 4 dollarkeycode 53 5 percentkeycode 54 6 ampersandkeycode 55 7 slash braceleft keycode 56 8 parenleft bracketleft keycode 57 9 parenright bracketright keycode 65 a Akeycode 66 b Bkeycode 67 c Ckeycode 68 d Dkeycode 69 e E EuroSignkeycode 70 f Fkeycode 71 g Gkeycode 72 h Hkeycode 73 i Ikeycode 74 j Jkeycode 75 k Kkeycode 76 l Lkeycode 77 m M mukeycode 78 n Nkeycode 79 o Okeycode 80 p Pkeycode 81 q Q atkeycode 82 r Rkeycode 83 s Skeycode 84 t Tkeycode 85 u Ukeycode 86 v Vkeycode 87 w Wkeycode 88 x Xkeycode 89 y Ykeycode 90 z Zkeycode 96 KP_0 KP_0keycode 97 KP_1 KP_1keycode 98 KP_2 KP_2keycode 99 KP_3 KP_3keycode 100 KP_4 KP_4keycode 101 KP_5 KP_5keycode 102 KP_6 KP_6keycode 103 KP_7 KP_7keycode 104 KP_8 KP_8keycode 105 KP_9 KP_9keycode 106 KP_Multiply KP_Multiply keycode 107 KP_Add KP_Addkeycode 108 KP_Separator KP_Separator keycode 109 KP_Subtract KP_Subtract keycode 110 KP_Decimal KP_Decimal keycode 111 KP_Divide KP_Divide keycode 112 F1keycode 113 F2keycode 114 F3keycode 115 F4keycode 116 F5keycode 117 F6keycode 118 F7keycode 119 F8keycode 120 F9keycode 121 F10keycode 122 F11keycode 123 F12keycode 124 F13keycode 125 F14keycode 126 F15keycode 127 F16keycode 128 F17keycode 129 F18keycode 130 F19keycode 131 F20keycode 132 F21keycode 133 F22keycode 134 F23keycode 135 F24keycode 136 Num_Lockkeycode 137 Scroll_Lockkeycode 187 acute gravekeycode 188 comma semicolonkeycode 189 minus underscorekeycode 190 period colonkeycode 192 numbersign apostrophekeycode 210 plusminus hyphen macronkeycode 212 copyright registeredkeycode 213 guillemotleft guillemotright keycode 214 masculine ordfemininekeycode 215 ae AEkeycode 216 cent yenkeycode 217 questiondown exclamdownkeycode 218 onequarter onehalf threequarters keycode 220 less greater barkeycode 221 plus asterisk asciitilde keycode 227 multiply divisionkeycode 228 acircumflex Acircumflexkeycode 229 ecircumflex Ecircumflexkeycode 230 icircumflex Icircumflexkeycode 231 ocircumflex Ocircumflexkeycode 232 ucircumflex Ucircumflexkeycode 233 ntilde Ntildekeycode 234 yacute Yacutekeycode 235 oslash Oobliquekeycode 236 aring Aringkeycode 237 ccedilla Ccedillakeycode 238 thorn THORNkeycode 239 eth ETHkeycode 240 diaeresis cedilla currency keycode 241 agrave Agrave atilde Atilde keycode 242 egrave Egravekeycode 243 igrave Igravekeycode 244 ograve Ograve otilde Otilde keycode 245 ugrave Ugravekeycode 246 adiaeresis Adiaeresiskeycode 247 ediaeresis Ediaeresiskeycode 248 idiaeresis Idiaeresiskeycode 249 odiaeresis Odiaeresiskeycode 250 udiaeresis Udiaeresis keycode 251 ssharp question backslash keycode 252 asciicircum degree keycode 253 3 sterlingkeycode 254 Mode_switch。
键盘ASCII码值对照表
键盘ASCII码值对照表键盘ASCII码值对照表(转载至互联网)2009-11-05 11:200x1 鼠标左键0x2 鼠标右键0x3 CANCEL 键0x4 鼠标中键0x8 BACKSPACE 键0x9 TAB 键0xC CLEAR 键0xD ENTER 键0x10 SHIFT 键0x11 CTRL 键0x12 MENU 键0x13 PAUSE 键0x14 CAPS LOCK 键0x1B ESC 键0x20 SPACEBAR 键0x21 PAGE UP 键0x22 PAGE DOWN 键0x23 END 键0x24 HOME 键0x25 LEFT ARROW 键0x26 UP ARROW 键0x27 RIGHT ARROW 键0x28 DOWN ARROW 键0x29 SELECT 键0x2A PRINT SCREEN 键0x2B EXECUTE 键0x2C SNAPSHOT 键0x2D INSERT 键0x2E DELETE 键0x2F HELP 键0x90 NUM LOCK 键====================================大小写字母的 ASCII 码相同:值描述65 A 键66 B 键67 C 键68 D 键69 E 键70 F 键71 G 键73 I 键74 J 键75 K 键76 L 键77 M 键78 N 键79 O 键80 P 键81 Q 键82 R 键83 S 键84 T 键85 U 键86 V 键87 W 键88 X 键89 Y 键90 Z 键===================================0 至 9 键的 ASCII 码:值描述48 0 键49 1 键50 2 键51 3 键52 4 键53 5 键54 6 键55 7 键56 8 键57 9 键===================================下列常数代表数字键盘上的键:值描述0x60 0 键0x61 1 键0x62 2 键0x63 3 键0x64 4 键0x65 5 键0x66 6 键0x68 8 键0x69 9 键0x6A MULTIPLICATION SIGN (*) 键0x6B PLUS SIGN (+) 键0x6C ENTER 键0x6D MINUS SIGN (–) 键0x6E DECIMAL POINT (.) 键0x6F DIVISION SIGN (/) 键====================================下列常数代表功能键:值描述0x70 F1 键0x71 F2 键0x72 F3 键0x73 F4 键0x74 F5 键0x75 F6 键0x76 F7 键0x77 F8 键0x78 F9 键0x79 F10 键0x7A F11 键0x7B F12 键0x7C F13 键0x7D F14 键0x7E F15 键0x7F F16 键====================================ASCII 码对照表Char Dec Oct Hex | Char Dec Oct Hex | Char Dec Oct Hex | Char Dec Oct Hex-------------------------------------------------------------------------------------(nul) 0 0000 0x00 | (sp) 32 0040 0x20 | @ 64 0100 0x40 | ` 96 0140 0x60(soh) 1 0001 0x01 | ! 33 0041 0x21 | A 65 0101 0x41 | a 97 0141 0x61(stx) 2 0002 0x02 | " 34 0042 0x22 | B 66 0102 0x42 | b 98 0142 0x62(etx) 3 0003 0x03 | # 35 0043 0x23 | C 67 0103 0x43 | c 99 0143 0x63(eot) 4 0004 0x04 | $ 36 0044 0x24 | D 68 0104 0x44 | d 100 0144 0x64(enq) 5 0005 0x05 | % 37 0045 0x25 | E 69 0105 0x45 | e 101 0145 0x65(ack) 6 0006 0x06 | & 38 0046 0x26 | F 70 0106 0x46 | f 102 0146 0x66(bel) 7 0007 0x07 | ' 39 0047 0x27 | G 71 0107 0x47 | g 103 0147 0x67(bs) 8 0010 0x08 | ( 40 0050 0x28 | H 72 0110 0x48 | h 104 0150 0x68 (ht) 9 0011 0x09 | ) 41 0051 0x29 | I 73 0111 0x49 | i 105 0151 0x69 (nl) 10 0012 0x0a | * 42 0052 0x2a | J 74 0112 0x4a | j 106 0152 0x6a (vt) 11 0013 0x0b | + 43 0053 0x2b | K 75 0113 0x4b | k 107 0153 0x6b (np) 12 0014 0x0c | , 44 0054 0x2c | L 76 0114 0x4c | l 108 0154 0x6c (cr) 13 0015 0x0d | - 45 0055 0x2d | M 77 0115 0x4d | m 109 0155 0x6d (so) 14 0016 0x0e | . 46 0056 0x2e | N 78 0116 0x4e | n 110 0156 0x6e (si) 15 0017 0x0f | / 47 0057 0x2f | O 79 0117 0x4f | o 111 0157 0x6f (dle) 16 0020 0x10 | 0 48 0060 0x30 | P 80 0120 0x50 | p 112 0160 0x70 (dc1) 17 0021 0x11 | 1 49 0061 0x31 | Q 81 0121 0x51 | q 113 0161 0x71 (dc2) 18 0022 0x12 | 2 50 0062 0x32 | R 82 0122 0x52 | r 114 0162 0x72 (dc3) 19 0023 0x13 | 3 51 0063 0x33 | S 83 0123 0x53 | s 115 01630x73 (dc4) 20 0024 0x14 | 4 52 0064 0x34 | T 84 0124 0x54 | t 116 0164 0x74 (nak) 21 0025 0x15 | 5 53 0065 0x35 | U 85 0125 0x55 | u 117 0165 0x75 (syn) 22 0026 0x16 | 6 54 0066 0x36 | V 86 0126 0x56 | v 118 0166 0x76 (etb) 23 0027 0x17 | 7 55 0067 0x37 | W 87 0127 0x57 | w 119 0167 0x77 (can) 24 0030 0x18 | 8 56 0070 0x38 | X 88 0130 0x58 | x 120 0170 0x78 (em) 25 0031 0x19 | 9 57 0071 0x39 | Y 89 0131 0x59 | y 121 0171 0x79 (sub) 26 0032 0x1a | : 58 0072 0x3a | Z 90 0132 0x5a | z 122 0172 0x7a (esc) 27 0033 0x1b | ; 59 0073 0x3b | [ 91 0133 0x5b | { 123 0173 0x7b (fs) 28 0034 0x1c | < 60 0074 0x3c | \ 92 0134 0x5c | | 124 0174 0x7c (gs) 29 0035 0x1d | = 61 0075 0x3d | ] 93 0135 0x5d | } 125 0175 0x7d (rs) 30 0036 0x1e | > 62 0076 0x3e | ^ 94 0136 0x5e | ~ 126 0176 0x7e (us) 31 0037 0x1f | ? 63 0077 0x3f | _ 95 0137 0x5f | (del) 127 0177 0x7f ====================================常数值描述vbKeyLButton 1 鼠标左键vbKeyRButton 2 鼠标右键vbKeyCancel 3 CANCELvbKeyMButton 4 鼠标中键vbKeyBack 8 BACKSPACEvbKeyTab 9 TABvbKeyClear 12 CLEARvbKeyReturn 13 ENTERvbKeyShift 16 SHIFTvbKeyControl 17 CTRLvbKeyMenu 18 菜单键vbKeyPause 19 PAUSEvbKeyCapital 20 CAPS LOCKvbKeyEscape 27 ESCvbKeySpace 32 SPACEBARvbKeyPageUp 33 PAGEUPvbKeyPageDown 34 PAGEDOWN vbKeyEnd 35 END vbKeyHome 36 HOME vbKeyLeft 37 LEFT ARROW vbKeyUp 38 UP ARROW vbKeyRight 39 RIGHT ARROW vbKeyDown 40 DOWN ARROW vbKeySelect 41 SELECT vbKeyPrint 42 PRINT SCREEN vbKeyExecute 43 EXECUTE vbKeySnapshot 44 SNAP SHOT vbKeyInser 45 INS vbKeyDelete 46 DEL vbKeyHelp 47 HELP vbKeyNumlock 144 NUM LOCKvbKeyA 65 AvbKeyB 66 BvbKeyC 67 CvbKeyD 68 DvbKeyE 69 EvbKeyF 70 FvbKeyG 71 GvbKeyH 72 HvbKeyI 73 IvbKeyJ 74 JvbKeyK 75 KvbKeyL 76 LvbKeyM 77 MvbKeyN 78 NvbKeyO 79 OvbKeyP 80 PvbKeyQ 81 QvbKeyR 82 RvbKeyS 83 SvbKeyT 84 TvbKeyU 85 UvbKeyV 86 VvbKeyW 87 WvbKeyX 88 XvbKeyY 89 YvbKeyZ 90 ZvbKey0 48 0vbKey1 49 1vbKey2 50 2vbKey3 51 3vbKey4 52 4vbKey5 53 5vbKey6 54 6vbKey7 55 7vbKey8 56 8vbKey9 57 9数字小键盘上的键vbKeyNumpad0 96 0vbKeyNumpad1 97 1vbKeyNumpad2 98 2vbKeyNumpad3 99 3vbKeyNumpad4 100 4vbKeyNumpad5 101 5vbKeyNumpad6 102 6vbKeyNumpad7 103 7vbKeyNumpad8 104 8vbKeyNumpad9 105 9vbKeyMultiply 106 乘号(*)vbKeyAdd 107 加号(+)vbKeySeparator 108 ENTER(在数字小键盘上)vbKeySubtract 109 减号(-)vbKeyDecimal 110 小数点(.) vbKeyDivide 111 除号(/)功能键vbKeyF1 112 F1vbKeyF2 113 F2vbKeyF3 114 F3vbKeyF4 115 F4vbKeyF5 116 F5vbKeyF6 117 F6vbKeyF7 118 F7vbKeyF8 119 F8vbKeyF9 120 F9vbKeyF10 121 F10vbKeyF11 122 F11vbKeyF12 123 F12vbKeyF13 124 F13vbKeyF14 125 F14 vbKeyF15 126 F15。
键盘代码对应表
51 52 53 54 55 56 57 58 59 60 61 62 63
1101001 1101010 1101011 1101100 1101101 1101110 1101111 1110000 1110001 1110010 1110011 1110100 1110101 1110110 1110111 1111000 1111001 1111010 1111011 1111100 1111101 1111110 1111111
110011 110100 110101 110110 110111 111000 111001 111010 111011 111100 111101 111110 111111 1000000 1000001 1000010 1000011 1000100 1000101 1000110 1000111 1001000 1001001 1001010 1001011 1001100 1001101 1001110 1001111 1010000 1010001 1010010 1010011 1010100 1010101 1010110 1010111 1011000 1011001 1011010 1011011 1011100 1011101 1011110 1011111 1100000 1100001 1100010 1100011 1100100 1100101 1100110 1100111 1101000
s t u v w x y z { | } ~ del
33 34 35 36 37 38 39 3A 3B 3C 3D 3E 3F 40 41 42 43 44 45 46 47 48 49 4A 4B 4C 4D 4E 4F 50 51 52 53 54 55 56 57 58 59 5A 5B 5C 5D 5E 5F 60 61 62 63 64 65 66 67 68
键盘键与虚拟键码对照表
键盘键与虚拟键码对照表字母和数字键数字小键盘的键功能键其它键键键码键键码键键码键键码A 65 0 96 F1 112 Backspace 8B 66 1 97 F2 113 Tab 9C 67 2 98 F3 114 Clear 12D 68 3 99 F4 115 Enter 13E 69 4 100 F5 116 Shift 16F 70 5 101 F6 117 Control 17G 71 6 102 F7 118 Alt 18H 72 7 103 F8 119 Caps Lock 20I 73 8 104 F9 120 Esc 27J 74 9 105 F10 121 Spacebar 32K 75 * 106 F11 122 Page Up 33L 76 + 107 F12 123 Page Down 34 M 77 Enter 108 -- -- End 35N 78 - 109 -- -- Home 36 O 79 . 110 -- -- Left Arrow 37 P 80 / 111 -- -- Up Arrow 38 Q 81 -- -- -- -- Right Arrow 39 R 82 -- -- -- -- Down Arrow 40 S 83 -- -- -- -- Insert 45 T 84 -- -- -- -- Delete 46 U 85 -- -- -- -- Help 47 V 86 -- -- -- -- Num Lock 144 W 87X 88Y 89Z 900 481 492 503 514 525 536 547 558 569 570x1 鼠标左键0x2 鼠标右键0x3 CANCEL 键0x4 鼠标中键0x8 BACKSPACE 键0x9 TAB 键0xC CLEAR 键0xD ENTER 键0x10 SHIFT 键0x11 CTRL 键0x12 MENU 键0x13 PAUSE 键0x14 CAPS LOCK 键0x1B ESC 键0x20 SPACEBAR 键0x21 PAGE UP 键0x22 PAGE DOWN 键0x23 END 键0x24 HOME 键0x25 LEFT ARROW 键0x26 UP ARROW 键0x27 RIGHT ARROW 键0x28 DOWN ARROW 键0x29 Select 键0x2A PRINT SCREEN 键0x2B EXECUTE 键0x2C SNAPSHOT 键0x2D Insert 键0x2E Delete 键0x2F HELP 键0x90 NUM LOCK 键A 至 Z 键与 A – Z 字母的 ASCII 码相同:值描述65 A 键67 C 键68 D 键69 E 键70 F 键71 G 键72 H 键73 I 键74 J 键75 K 键76 L 键77 M 键78 N 键79 O 键80 P 键81 Q 键82 R 键83 S 键84 T 键85 U 键86 V 键87 W 键89 Y 键90 Z 键0 至 9 键与数字 0 – 9 的 ASCII 码相同:值描述48 0 键49 1 键50 2 键51 3 键52 4 键53 5 键54 6 键55 7 键56 8 键57 9 键下列常数代表数字键盘上的键:值描述0x60 0 键0x61 1 键0x62 2 键0x63 3 键0x64 4 键0x66 6 键0x67 7 键0x68 8 键0x69 9 键0x6A MULTIPLICATION SIGN (*) 键0x6B PLUS SIGN (+) 键0x6C ENTER 键0x6D MINUS SIGN (–) 键0x6E DECIMAL POINT (.) 键0x6F DIVISION SIGN (/) 键下列常数代表功能键:值描述0x70 F1 键0x71 F2 键0x72 F3 键0x73 F4 键0x74 F5 键0x75 F6 键0x76 F7 键0x77 F8 键0x78 F9 键0x7A F11 键0x7B F12 键0x7C F13 键0x7D F14 键0x7E F15 键0x7F F16 键0 None3 Cancel(Break)8 Back9 Tab13 Return16 ShiftKey17 ControlKey18 Menu19 Pause20 Capital(大小写) 27 Escape32 Space33 PageUp34 Next(PageDonw)35 End36 Home37 Left38 Up39 Right40 Down0-9 48-5745 Insert46 Delete65->90 A->Z91 LWin93 Apps96 105 NumPad0- 106 Multiply * 107 Add+108109 Subtract-110 Decimal . 111 Divide /112-123 F1-F12144 NumLock145 Scroll173 VolumeMute 174 VolumeDown 175 VolumeUp186 Oem1 ; 187 Oemplus =188 Oemcomma ,189 OemMinus -190 OemPeriod .191 OemQuestion / 192 Oemtilde `219 OemOpenBrackets [ 220 Oem5 \221 Oem6 ]222 Oem7 '。
键盘上各个3键位对应的ASCII码
键盘上各个3键位对应的ASCII码键盘上各键位所对应的ASCII码详单(键盘键位表)常数值描述vbKey LButton 0x1鼠标左键vbKey RButton 0x2 鼠标右键vbKey Cancel 0x3 CANCEL 键vbKey MButton 0x4鼠标中键vbKey Back 0x8 BACKSPACE 键vbKey Tab 0x9TAB 键vbKey Clear 0x C CLEAR 键vbKey Return 0x D ENTER 键vbKey Shift 0x10SHIFT 键vbKey Control 0x11CTRL 键vbKey Menu 0x12 MENU 键vbKey Pause 0x13PAUSE 键vbKey Capital 0x14 CAPS LOCK 键vbKey Escape 0x1B ESC 键vbKey Space 0x20SPACEBAR 键vbKey PageUp 0x21PAGE UP 键vbKey PageDown 0x22PAGE DOWN 键vbKey End 0x23 END 键vbKey Home 0x24HOME 键vbKey Left 0x25LEFT ARROW 键vbKey Up 0x26UP ARROW 键vbKey Right 0x27 RIGHT ARROW 键vbKey Down 0x28DOWN ARROW 键vbKey Select 0x29SELECT 键vbKey Print 0x2A PRINT SCREEN 键vbKey Execute 0x2B EXECUTE 键vbKey Snapshot 0x2C SNAPSHOT 键vbKey Insert 0x2D INSERT 键vbKey Delete 0x2E DELETE 键vbKey Help 0x2F HELP 键vbKey Numlock 0x90NUM LOCK 键A至Z 键与A-Z字母的ASCII 码相同:常数值描述vbKey A 65 A 键vbKey B 66 B 键vbKey C 67 C 键vbKey D 68 D 键vbKey E 69 E 键vbKey F 70 F 键vbKey G 71G 键vbKey H 72H 键vbKey I 73I 键vbKey J 74 J 键vbKey K 75 K 键vbKey L 76L 键vbKey M 77M 键vbKey N 78N 键vbKey O 79 O 键vbKey P 80P 键vbKey Q 81 Q 键vbKey R 82R 键vbKey S 83S 键vbKey T 84 T 键vbKey U 85 U 键vbKey V 86V 键vbKey W 87W 键vbKey X 88X 键vbKey Y 89 Y 键vbKey Z 90 Z 键0至9键与数字0-9的ASCII 码相同:常数值描述vbKey0 480 键vbKey1 49 1 键vbKey2 50 2 键vbKey3 51 3 键vbKey4 52 4 键vbKey5 53 5 键vbKey6 54 6 键vbKey7 557 键vbKey8 568 键vbKey9 579 键下列常数代表数字键盘上的键:常数值描述vbKey Numpad0 0x60键vbKey Numpad1 0x61 键vbKey Numpad2 0x62 2 键vbKey Numpad3 0x63键vbKey Numpad4 0x64键vbKey Numpad5 0x65键vbKey Numpad6 0x66键vbKey Numpad7 0x677 键vbKey Numpad8 0x68键vbKey Numpad9 0x69键vbKey Multiply 0x6A MULTIPLICATION SIGN (*) 键vbKey Add 0x6B PLUS SIGN (+) 键vbKey Separator 0x6C ENTER 键vbKey Subtract 0x6D MINUS SIGN (-) 键vbKey Decimal 0x6E DECIMAL POINT (.) 键vbKey Divide 0x6F DIVISION SIGN (/) 键下列常数代表功能键:常数值描述vbKey F1 0x70 F1 键vbKey F2 0x71 F2 键vbKey F3 0x72 F3 键vbKey F4 0x73 F4 键vbKey F5 0x74 F5 键vbKey F6 0x75 F6 键vbKey F7 0x76 F7 键vbKey F8 0x77 F8 键vbKey F9 0x78 F9 键vbKey F10 0x79 F10 键vbKey F11 0x7A F11 键vbKey F12 0x7B F12 键vbKey F13 0x7C F13 键vbKey F14 0x7D F14 键vbKey F15 0x7E F15 键vbKey F16 0x7F F16 键。
键盘对应代码
十六进制值
十进制值
对应按键
VK_LBUTTON 01 1 鼠标的左键
VK_RBUTTON 02 2
鼠标的右键
VK-CANCEL
03 3 Ctrl Break(通常不需要处理)
VK_MBUTTON
04 4 鼠标的中键(三按键鼠标)
VK_BACK
VK_F10 79 121 F10键
VK_F11 7A 122 F11键
VK_F12 7B 123 F12键
VK_NUMLOCK
90 144 NumLock键
VK_SCROLL
91 145 ScrollLock键
上面没有提到的:(都在大键盘)
VK_N 4E 78 N键
VK_O 4F 79 O键
VK_P 50 80 P键
VK_Q 51 81 Q键
VK_R 52 82 R键
VK_S 53 83 S键
VK_T 54 84 T键
VK_U 55 85 U键
VK_V 56 86 V键
VK_W 57 87 W键
PageUp键
VK_NEXT
22 34
PageDomw键
VK_END
23 35
End键
VK_HOME
24 36
Home键
VK_LEFT
25 37
LEFTARROW键(←)
VK_UP
26 38
UPARROW键(↑)
VK_RIGHT
VK_ADD
6B 107 数字键盘上的 键
VK_SEPARATOR
6C 108 Separator键
ASCII码表和键盘键码表(完整珍藏版)
ASCII码表和键盘键码表(完整珍藏版)表一:ASCII 码表(完整版)ASCII值字符ASCII值字符ASCII值字符ASCII值字符0NUT32(space)64@96、1SOH33!65A97a 2STX34”66B98b 3ETX35#67C99c4EOT36$68D100d 5ENQ37%69E101e6ACK38&70F102f7BEL39,71G103g 8BS40(72H104h 9HT41)73I105i 10LF42*74J106j 11VT43+75K107k 12FF44,76L108l 13CR45-77M109m 14SO46.78N110n 15SI47/79O111o 16DLE48080P112p 17DCI49181Q113q 18DC250282R114r 19DC351383X115s 20DC452484T116t 21NAK53585U117u 22SYN54686V118v 23TB55787W119w 24CAN56888X120x 25EM57989Y121y 26SUB58:90Z122z 27ESC59;91[123{ 28FS60<92/124| 29GS61=93]125} 30RS62>94^126~ 31US63? 95—127DEL 注:特殊控制字符所代表含义NUL 空VT 垂直制表SYN 空转同步HT 横向列表SOH 标题开始FF 走纸控制ETB 信息组传送结束LF 换行STX 正文开始CR 回车CAN 作废GS 组分隔符ETX 正文结束SO 移位输出EM 纸尽NAK 否定EOY 传输结束SI 移位输入SUB 换置US 单元分隔符ENQ 询问字符DLE 空格ESC 换码DEL 删除ACK 承认BS 退一格FS 文字分隔符RS 记录分隔符DC1 设备控制1DC2 设备控制2DC3 设备控制3DC4 设备控制4 BEL 报警表二:104键盘码表(完整版)控制键常数值健描述常数值健描述vbKeyLButton 1 鼠标左键vbKeyPageDown 34 PageDown 键vbKeyRButton 2 鼠标右键vbKeyEnd 35 End键vbKeyCancel 3 Cancel 键vbKeyHome 36Home 键vbKeyMButton 4 鼠标中键vbKeyLeft 37 左方向键vbKeyBack 8 Backspace健vbKeyUp 38 上方向键vbKeyTab 9 Tab 键vbKeyRight 39 右方向键vbKeyClear 12 Clear 键vbKeyDown 40 下方向键vbKeyReturn 13 Enter 键vbKeySelect 41 Select 键vbKeyShift 16 Shift键vbKeyPrint 42 Print Screen键vbKeyControl 17 Ctrl 键vbKeyExecute 43 Execute 键vbKeyMenu 18 菜单键vbKeySnapshot 44 Snap Shot键vbKeyPause 19 Pause 键vbKeyInser 45 Ins 键vbKeyCapital 20 Caps Lock 键vbKeyDelete 46 Del 键vbKeyEscape 27 Esc 键vbKeyHelp 47 Help 键vbKeySpace 32 Spacebar 键vbKeyNumlock 144 Num Lock 键vbKeyPageUp 33 Page Up字母按健字母区数字键常数(vbKeyA ~ vbKeyZ) <==>键码(65 ~ 90) <==>字母(A ~ Z)健可对照ASCII表常数(vbKey0 ~ vbKey9 ) <==>键码(48 ~ 57) <==>数字(0 ~ 9)健可对照ASCII表数字小键盘区按键F功能健常数值健描述常数值健描述vbKeyNumpad0 96 Num 0键vbKeyF1 112 F1键vbKeyNumpad1 97 Num 1键vbKeyF2 113 F2键vbKeyNumpad2 98 Num 2键vbKeyF3 114 F3键vbKeyNumpad3 99 Num 3键vbKeyF4 115 F4键vbKeyNumpad4 100 Num 4键vbKeyF5 116 F5键vbKeyNumpad5 101 Num 5键vbKeyF6 117 F6键vbKeyNumpad6 102 Num 6键vbKeyF7 118 F7键vbKeyNumpad7 103 Num 7键vbKeyF8 119 F8键vbKeyNumpad8 104 Num 8键vbKeyF9 120 F9键vbKeyNumpad9 105 Num 9键vbKeyF10 121 F10键vbKeyMultiply 106 (*) 键vbKeyF11 122 F11键vbKeyAdd 107 (+) 键vbKeyF12 123 F12键vbKeySeparator 108 Enter健vbKeyF13 124 F13键vbKeySubtract 109 (-) 键vbKeyF14 125 F14键vbKeyDecimal 110 (.) 键vbKeyF15 126 F15键vbKeyDivide 111 (/) 键vbKeyF16 127 F16键3、通过活动,使学生养成博览群书的好习惯。
键盘键与虚拟键码对照表
键盘键与虚拟键码对照表键盘键与虚拟键码对照表字母和数字键数字小键盘的键功能键其它键键键码键键码键键码键键码A650 96 F1 112 Backspace 8B661 97 F2 113Tab 9C67 2 98 F3 114Clear 12D683 99 F4 115Enter 13E69 4 100F5 116Shift16F70 5 101F6 117Control 17G71 6 102F7 118 Alt 18H72 7 103F8 119 Caps Lock 20I73 8 104F9 120Esc 27J74 9 105F10121Spacebar32K75 * 106F11122 Page Up33L76 + 107F12123 Page Down 34 M77 Enter 108-- --End 35 N78 - 109-- -- Home36 O79 . 110-- -- Left Arrow37 P80 / 111-- -- Up Arrow38Q81 -- ---- -- Right Arrow 39 R82 -- ---- -- Down Arrow 40 S83 -- ---- -- Insert 45 T84 -- ---- -- Delete 46 U85 -- ---- -- Help 47 V86 -- ---- -- Num Lock 144 W87X88Y89Z900481492503514525536547558569570x1 鼠标左键0x2 鼠标右键0x3 CANCEL 键0x4 鼠标中键0x8 BACKSPACE 键0x9 TAB 键0xC CLEAR 键0xD ENTER 键0x10 SHIFT 键0x11 CTRL 键0x12 MENU 键0x13 PAUSE 键0x14 CAPS LOCK 键0x1B ESC 键0x20 SPACEBAR 键0x21 PAGE UP 键0x22 PAGE DOWN 键0x23 END 键0x24 HOME 键0x25 LEFT ARROW 键0x26 UP ARROW 键0x27 RIGHT ARROW 键0x28 DOWN ARROW 键0x29 Select 键0x2A PRINT SCREEN 键0x2B EXECUTE 键0x2C SNAPSHOT 键0x2D Insert 键0x2E Delete 键0x2F HELP 键0x90 NUM LOCK 键A 至 Z 键与 A – Z 字母的 ASCII 码相同:值描述65 A 键66 B 键67 C 键68 D 键69 E 键70 F 键71 G 键72 H 键73 I 键74 J 键75 K 键76 L 键77 M 键78 N 键79 O 键80 P 键81 Q 键82 R 键83 S 键84 T 键85 U 键86 V 键87 W 键88 X 键89 Y 键90 Z 键0 至 9 键与数字 0 – 9 的 ASCII 码相同:48 0 键49 1 键50 2 键51 3 键52 4 键53 5 键54 6 键55 7 键56 8 键57 9 键下列常数代表数字键盘上的键:值描述0x60 0 键0x61 1 键0x62 2 键0x63 3 键0x64 4 键0x65 5 键0x66 6 键0x67 7 键0x68 8 键0x69 9 键0x6A MULTIPLICATION SIGN (*) 键0x6B PLUS SIGN (+) 键0x6C ENTER 键0x6D MINUS SIGN (–) 键0x6E DECIMAL POINT (.) 键0x6F DIVISION SIGN (/) 键下列常数代表功能键:0x70 F1 键0x71 F2 键0x72 F3 键0x73 F4 键0x74 F5 键0x75 F6 键0x76 F7 键0x77 F8 键0x78 F9 键0x79 F10 键0x7A F11 键0x7B F12 键0x7C F13 键0x7D F14 键0x7E F15 键0x7F F16 键0 None3 Cancel(Break)8 Back9 Tab13 Return16 ShiftKey17 ControlKey18 Menu19 Pause20 Capital(大小写) 27 Escape32 Space33 PageUp34 Next(PageDonw)35 End36 Home37 Left38 Up39 Right40 Down0-9 48-5745 Insert46 Delete65->90 A->Z91 LWin93 Apps96 105 NumPad0- 106 Multiply * 107 Add+ 108109 Subtract-110 Decimal .111 Divide /112-123 F1-F12144 NumLock145 Scroll173 VolumeMute174 VolumeDown175 VolumeUp186 Oem1 ;187 Oemplus =188 Oemcomma ,189 OemMinus -190 OemPeriod .191 OemQuestion /192 Oemtilde `219 OemOpenBrackets [ 220 Oem5 \221 Oem6 ] 222 Oem7 '。
键盘ASCII码值对照表
键盘ASCII码值对照表0x1 鼠标左键0x2 鼠标右键0x3 CANCEL 键0x4 鼠标中键0x8 BACKSPACE 键0x9 TAB 键0xC CLEAR 键0xD ENTER 键0x10 SHIFT 键0x11 CTRL 键0x12 MENU 键0x13 PAUSE 键0x14 CAPS LOCK 键0x1B ESC 键0x20 SPACEBAR 键0x21 PAGE UP 键0x22 PAGE DOWN 键0x23 END 键0x24 HOME 键0x25 LEFT ARROW 键0x26 UP ARROW 键0x27 RIGHT ARROW 键0x28 DOWN ARROW 键0x29 SELECT 键0x2A PRINT SCREEN 键0x2B EXECUTE 键0x2C SNAPSHOT 键0x2D INSERT 键0x2E DELETE 键0x2F HELP 键0x90 NUM LOCK 键====================================大小写字母的 ASCII 码相同:值描述65 A 键66 B 键67 C 键68 D 键69 E 键70 F 键71 G 键74 J 键75 K 键76 L 键77 M 键78 N 键79 O 键80 P 键81 Q 键82 R 键83 S 键84 T 键85 U 键86 V 键87 W 键88 X 键89 Y 键90 Z 键===================================0 至9 键的ASCII 码:值描述48 0 键49 1 键50 2 键51 3 键52 4 键53 5 键54 6 键55 7 键56 8 键57 9 键===================================下列常数代表数字键盘上的键:值描述0x60 0 键0x61 1 键0x62 2 键0x63 3 键0x64 4 键0x65 5 键0x66 6 键0x67 7 键0x6A MULTIPLICATION SIGN (*) 键0x6B PLUS SIGN (+) 键0x6C ENTER 键0x6D MINUS SIGN (–) 键0x6E DECIMAL POINT (.) 键0x6F DIVISION SIGN (/) 键====================================下列常数代表功能键:值描述0x70 F1 键0x71 F2 键0x72 F3 键0x73 F4 键0x74 F5 键0x75 F6 键0x76 F7 键0x77 F8 键0x78 F9 键0x79 F10 键0x7A F11 键0x7B F12 键0x7C F13 键0x7D F14 键0x7E F15 键0x7F F16 键====================================ASCII 码对照表Char Dec Oct Hex | Char Dec Oct Hex | Char Dec Oct Hex | Char Dec Oct Hex ------------------------------------------------------------------------------------- (nul) 0 0000 0x00 | (sp) 32 0040 0x20 | @ 64 0100 0x40 | ` 96 0140 0x60(soh) 1 0001 0x01 | ! 33 0041 0x21 | A 65 0101 0x41 | a 97 0141 0x61(stx) 2 0002 0x02 | " 34 0042 0x22 | B 66 0102 0x42 | b 98 0142 0x62(etx) 3 0003 0x03 | # 35 0043 0x23 | C 67 0103 0x43 | c 99 0143 0x63(eot) 4 0004 0x04 | $ 36 0044 0x24 | D 68 0104 0x44 | d 100 0144 0x64(enq) 5 0005 0x05 | % 37 0045 0x25 | E 69 0105 0x45 | e 101 0145 0x65(ack) 6 0006 0x06 | & 38 0046 0x26 | F 70 0106 0x46 | f 102 0146 0x66(bel) 7 0007 0x07 | ' 39 0047 0x27 | G 71 0107 0x47 | g 103 0147 0x67(bs) 8 0010 0x08 | ( 40 0050 0x28 | H 72 0110 0x48 | h 104 0150 0x68(ht) 9 0011 0x09 | ) 41 0051 0x29 | I 73 0111 0x49 | i 105 0151 0x69(nl) 10 0012 0x0a | * 42 0052 0x2a | J 74 0112 0x4a | j 106 0152 0x6a(vt) 11 0013 0x0b | + 43 0053 0x2b | K 75 0113 0x4b | k 107 0153 0x6b(np) 12 0014 0x0c | , 44 0054 0x2c | L 76 0114 0x4c | l 108 0154 0x6c(cr) 13 0015 0x0d | - 45 0055 0x2d | M 77 0115 0x4d | m 109 0155 0x6d(so) 14 0016 0x0e | . 46 0056 0x2e | N 78 0116 0x4e | n 110 0156 0x6e(si) 15 0017 0x0f | / 47 0057 0x2f | O 79 0117 0x4f | o 111 0157 0x6f(dle) 16 0020 0x10 | 0 48 0060 0x30 | P 80 0120 0x50 | p 112 0160 0x70 (dc1) 17 0021 0x11 | 1 49 0061 0x31 | Q 81 0121 0x51 | q 113 0161 0x71 (dc2) 18 0022 0x12 | 2 50 0062 0x32 | R 82 0122 0x52 | r 114 0162 0x72 (dc3) 19 0023 0x13 | 3 51 0063 0x33 | S 83 0123 0x53 | s 115 0163 0x73 (dc4) 20 0024 0x14 | 4 52 0064 0x34 | T 84 0124 0x54 | t 116 0164 0x74 (nak) 21 0025 0x15 | 5 53 0065 0x35 | U 85 0125 0x55 | u 117 0165 0x75 (syn) 22 0026 0x16 | 6 54 0066 0x36 | V 86 0126 0x56 | v 118 0166 0x76 (etb) 23 0027 0x17 | 7 55 0067 0x37 | W 87 0127 0x57 | w 119 0167 0x77 (can) 24 0030 0x18 | 8 56 0070 0x38 | X 88 0130 0x58 | x 120 0170 0x78 (em) 25 0031 0x19 | 9 57 0071 0x39 | Y 89 0131 0x59 | y 121 0171 0x79(sub) 26 0032 0x1a | : 58 0072 0x3a | Z 90 0132 0x5a | z 122 0172 0x7a(esc) 27 0033 0x1b | ; 59 0073 0x3b | [ 91 0133 0x5b | { 123 0173 0x7b(fs) 28 0034 0x1c | < 60 0074 0x3c | \ 92 0134 0x5c | | 124 0174 0x7c(gs) 29 0035 0x1d | = 61 0075 0x3d | ] 93 0135 0x5d | } 125 0175 0x7d(rs) 30 0036 0x1e | > 62 0076 0x3e | ^ 94 0136 0x5e | ~ 126 0176 0x7e(us) 31 0037 0x1f | ? 63 0077 0x3f | _ 95 0137 0x5f | (del) 127 0177 0x7f====================================常数值描述vbKeyLButton 1 鼠标左键vbKeyRButton 2 鼠标右键vbKeyCancel 3 CANCELvbKeyMButton 4 鼠标中键vbKeyBack 8 BACKSPACEvbKeyTab 9 TABvbKeyClear 12 CLEARvbKeyReturn 13 ENTERvbKeyShift 16 SHIFTvbKeyControl 17 CTRLvbKeyMenu 18 菜单键vbKeyPause 19 PAUSEvbKeyCapital 20 CAPS LOCKvbKeyEscape 27 ESCvbKeySpace 32 SPACEBARvbKeyPageUp 33 PAGEUPvbKeyPageDown 34 PAGEDOWNvbKeyEnd 35 ENDvbKeyHome 36 HOMEvbKeyLeft 37 LEFT ARROWvbKeyUp 38 UP ARROW vbKeyRight 39 RIGHT ARROW vbKeyDown 40 DOWN ARROW vbKeySelect 41 SELECT vbKeyPrint 42 PRINT SCREEN vbKeyExecute 43 EXECUTE vbKeySnapshot 44 SNAP SHOT vbKeyInser 45 INSvbKeyDelete 46 DELvbKeyHelp 47 HELP vbKeyNumlock 144 NUM LOCKvbKeyA 65 AvbKeyB 66 BvbKeyC 67 CvbKeyD 68 DvbKeyE 69 EvbKeyF 70 FvbKeyG 71 GvbKeyH 72 HvbKeyI 73 IvbKeyJ 74 JvbKeyK 75 KvbKeyL 76 LvbKeyM 77 MvbKeyN 78 NvbKeyO 79 OvbKeyP 80 PvbKeyQ 81 QvbKeyR 82 RvbKeyS 83 SvbKeyT 84 TvbKeyU 85 UvbKeyV 86 VvbKeyW 87 WvbKeyX 88 XvbKeyY 89 YvbKeyZ 90 ZvbKey0 48 0vbKey1 49 1vbKey2 50 2vbKey3 51 3vbKey4 52 4vbKey5 53 5vbKey6 54 6vbKey7 55 7vbKey8 56 8vbKey9 57 9数字小键盘上的键vbKeyNumpad0 96 0vbKeyNumpad1 97 1vbKeyNumpad2 98 2vbKeyNumpad3 99 3vbKeyNumpad4 100 4vbKeyNumpad5 101 5vbKeyNumpad6 102 6vbKeyNumpad7 103 7vbKeyNumpad8 104 8vbKeyNumpad9 105 9vbKeyMultiply 106 乘号(*)vbKeyAdd 107 加号(+) vbKeySeparator 108 ENTER(在数字小键盘上)vbKeySubtract 109 减号(-)vbKeyDecimal 110 小数点(.)vbKeyDivide 111 除号(/)功能键vbKeyF1 112 F1vbKeyF2 113 F2vbKeyF3 114 F3vbKeyF4 115 F4vbKeyF5 116 F5vbKeyF6 117 F6vbKeyF7 118 F7vbKeyF8 119 F8vbKeyF9 120 F9vbKeyF10 121 F10vbKeyF11 122 F11vbKeyF12 123 F12vbKeyF13 124 F13vbKeyF14 125 F14vbKeyF15 126 F15vbKeyF16 127 F16。
键盘值码表,键盘代码表,ASCII 码表,二进制、八进制、十六进制表,进制转换方法
键盘值码表,键盘代码表,ASCII码表,二进制、八进制、十六进制表,进制转换方法键盘值码表:键盘代码表:可在代码中的任何地方用下列常数代替实际值:(0x指16进制,delete键的ascii码值是0x2e,也即十进制的4646))常数:键值:描述vbKeyLButton0x1鼠标左键vbKeyRButton0x2鼠标右键vbKeyCancel0x3CANCEL键vbKeyMButton0x4鼠标中键vbKeyBack0x8BACKSPACE键vbKeyTab0x9TAB键vbKeyClear0xC CLEAR键vbKeyReturn0xD ENTER键vbKeyShift0x10SHIFT键vbKeyControl0x11CTRL键vbKeyMenu0x12MENU键vbKeyPause0x13PAUSE键vbKeyCapital0x14CAPS LOCK键vbKeyEscape0x1B ESC键vbKeySpace0x20SPACEBAR键vbKeyPageUp0x21PAGE UP键vbKeyPageDown0x22PAGE DOWN键vbKeyEnd0x23END键vbKeyHome0x24HOME键vbKeyLeft0x25LEFT ARROW键vbKeyUp0x26UP ARROW键vbKeyRight0x27RIGHT ARROW键vbKeyDown0x28DOWN ARROW键vbKeySelect0x29SELECT键vbKeyPrint0x2A PRINT SCREEN键vbKeyExecute0x2B EXECUTE键vbKeySnapshot0x2C SNAPSHOT键vbKeyInsert0x2D INSERT键vbKeyDelete0x2E DELETE键vbKeyHelp0x2F HELP键vbKeyNumlock0x90NUM LOCK键A至Z键与A–Z字母的ASCII码相同:vbKeyA65A键vbKeyB66B键vbKeyC67C键vbKeyD68D键vbKeyE69E键vbKeyF70F键vbKeyG71G键vbKeyH72H键vbKeyI73I键vbKeyJ74J键vbKeyK75K键vbKeyL76L键vbKeyM77M键vbKeyN78N键vbKeyO79O键vbKeyP80P键vbKeyQ81Q键vbKeyR82R键vbKeyS83S键vbKeyT84T键vbKeyU85U键vbKeyV86V键vbKeyW87W键vbKeyX88X键vbKeyY89Y键vbKeyZ90Z键0至9键与数字0–9的ASCII码相同:vbKeyNumpad00x600键vbKeyNumpad10x611键vbKeyNumpad20x622键vbKeyNumpad30x633键vbKeyNumpad40x644键vbKeyNumpad50x655键vbKeyNumpad60x666键vbKeyNumpad70x677键vbKeyNumpad80x688键vbKeyNumpad90x699键vbKeyMultiply0x6A MULTIPLICATION SIGN(*)键vbKeyAdd0x6B PLUS SIGN(+)键vbKeySeparator0x6C ENTER键vbKeySubtract0x6D MINUS SIGN(–)键vbKeyDecimal0x6E DECIMAL POINT(.)键vbKeyDivide0x6F DIVISION SIGN(/)键下列常数代表功能键:vbKeyF10x70F1键vbKeyF20x71F2键vbKeyF30x72F3键vbKeyF40x73F4键vbKeyF50x74F5键vbKeyF60x75F6键vbKeyF70x76F7键vbKeyF80x77F8键vbKeyF90x78F9键vbKeyF100x79F10键vbKeyF110x7A F11键vbKeyF120x7B F12键vbKeyF130x7C F13键vbKeyF140x7D F14键vbKeyF150x7E F15键vbKeyF160x7F F16键ASCII码表:ASCII值控制字符ASCII值控制字符ASCII值控制字符ASCII值控制字符0NUT32(space)64@96、1SOH33!65A97a2STX34”66B98b3ETX35#67C99c4EOT36$68D100d5ENQ37%69E101e6ACK38&70F102f7BEL39,71G103g8BS40(72H104h 9HT41)73I105i 10LF42*74J106j 11VT43+75K107k 12FF44,76L108l 13CR45-77M109m 14SO46.78N110n 15SI47/79O111o 16DLE48080P112p 17DCI49181Q113q 18DC250282R114r 19DC351383X115s 20DC452484T116t 21NAK53585U117u 22SYN54686V118v 23TB55787W119w 24CAN56888X120x 25EM57989Y121y 26SUB58:90Z122z 27ESC59;91[123{ 28FS60<92/124| 29GS61=93]125} 30RS62>94^126~ 31US63?95—127DEL NUL空VT垂直制表SYN空转同步SOH标题开始FF走纸控制ETB信息组传送结束STX正文开始CR回车CAN作废ETX正文结束SO移位输出EM纸尽EOY传输结束SI移位输入SUB换置ENQ询问字符DLE空格ESC换码ACK承认DC1设备控制1FS文字分隔符BEL报警DC2设备控制2GS组分隔符BS退一格DC3设备控制3RS记录分隔符HT横向列表DC4设备控制4US单元分隔符LF换行NAK否定DEL删除二进制、八进制、十六进制表:十进制二进制八进制十六进制00000B0Q0H10001B1Q1H20010B2Q2H30011B3Q3H40100B4Q4H50101B5Q5H60110B6Q6H70111B7Q7H81000B10Q8H91001B11Q9H101010B12Q AH111011B13Q BH121100B14Q CH131101B15Q DH141110B16Q EH151111B17Q FH其中,B是Binary的缩写,用来表示二进制;O是Octal的缩写,用来表示八进制(为了Decimal l 避免与“0”混淆,则写成Q);H是Hexadecimal的缩写,用来表示十六进制;D是Decima 的缩写,用来表示十进制。
键盘代码大全(完整)
113
4b
75
K
14
0c
12
ff
114
4c
76
L
15
0d
13
er
115
4d
77
M
16
0e
14
so
116
4e
78
N
17
0f
15
si
117
4f
79
O
20
10
16
dle
120
50
80
P
21
11
17
dc1
121
51
81
Q
22
12
18
dc2
122
52
82
R
23
13
19
dc3
123
53
83
S
24
14
20
dc4
Bin
Dec
Hex
缩写/字符
解释
00000000
0
00
NUL(null)
空字符
00000001eadling)
标题开始
00000010
2
02
STX (start of text)
正文开始
00000011
3
03
ETX (end of text)
正文结束
00000100
方向键(↑): VK_UP (38)
方向键(→): VK_RIGHT (39)
方向键(↓): VK_DOWN (40)
F1键: VK_F1 (112)
F2键: VK_F2 (113)
F3键: VK_F3 (114)
常用键盘字符代码与十六进制的转换表
常用键盘字符代码与十六进制的转换表:Bin (十进制)Dec Hex 缩写/字符解释0000 0000 0 00 NUL (null)空字符0000 0001 1 01 SOH (start of handing) 标题开始0000 0010 2 02 STX (start of text)正文开始0000 0011 3 03 ETX (end of text)正文结束0000 0100 4 04 EOT (end of transmission) 传输结束0000 0101 5 05 ENQ (enquiry)请求0000 0110 6 06 ACK (acknowledge)收到通知0000 0111 7 07 BEL (bell)响铃0000 1000 8 08 BS (backspace)退格0000 1001 9 09 HT (horizontal tab)水平制表符0000 1010 10 0A LF (NL line feed, new line) 换行键0000 1011 11 0B VT (vertical tab)垂直制表符0000 1100 12 0C FF (NP form feed, new page) 换页键0000 1101 13 0D CR (carriage return)回车键0000 1110 14 0E SO (shift out)不用切换0000 1111 15 0F SI (shift in)启用切换0001 0000 16 10 DLE (data link escape) 数据链路转义0001 0001 17 11 DC1 (device control 1) 设备控制10001 0010 18 12 DC2 (device control 2) 设备控制20001 0011 19 13 DC3 (device control 3) 设备控制30001 0100 20 14 DC4 (device control 4) 设备控制40001 0101 21 15 NAK (negative acknowledge) 拒绝接收0001 0110 22 16 SYN (synchronous idle) 同步空闲0001 0111 23 17 ETB (end of trans. block) 传输块结束0001 1000 24 18 CAN (cancel)取消0001 1001 25 19 EM (end of medium)介质中断0001 1010 26 1A SUB (substitute)替补0001 1011 27 1B ESC (escape)溢出0001 1100 28 1C FS (file separator)文件分割符0001 1101 29 1D GS (group separator) 分组符0001 1110 30 1E RS (record separator) 记录分离符0001 1111 31 1F US (unit separator)单元分隔符0010 0000 32 20 空格0010 0001 33 21 !0010 0010 34 22 "0010 0011 35 23 #0010 0100 36 24 $0010 0101 37 25 %0010 0110 38 26 &0010 0111 39 27 '0010 1000 40 28 (0010 1001 41 29 )0010 1010 42 2A *0010 1011 43 2B +0010 1100 44 2C ,0010 1101 45 2D -0010 1110 46 2E .0010 1111 47 2F /0011 0000 48 30 00011 0010 50 32 2 0011 0011 51 33 3 0011 0100 52 34 4 0011 0101 53 35 5 0011 0110 54 36 6 0011 0111 55 37 7 0011 1000 56 38 8 0011 1001 57 39 9 0011 1010 58 3A : 0011 1011 59 3B ; 0011 1100 60 3C < 0011 1101 61 3D = 0011 1110 62 3E > 0011 1111 63 3F ? 0100 0000 64 40 @0100 0001 65 41 A 0100 0010 66 42 B 0100 0011 67 43 C 0100 0100 68 44 D 0100 0101 69 45 E 0100 0110 70 46 F 0100 0111 71 47 G 0100 1000 72 48 H 0100 1001 73 49 I 0100 1010 74 4A J 0100 1011 75 4B K 0100 1100 76 4C L 0100 1101 77 4D M 0100 1110 78 4E N 0100 1111 79 4F O 0101 0000 80 50 P 0101 0001 81 51 Q 0101 0010 82 52 R 0101 0011 83 53 S 0101 0100 84 54 T 0101 0101 85 55 U 0101 0110 86 56 V 0101 0111 87 57 W 0101 1000 88 58 X 0101 1001 89 59 Y0101 1011 91 5B [0101 1100 92 5C \0101 1101 93 5D ]0101 1110 94 5E ^0101 1111 95 5F _0110 0000 96 60 `0110 0001 97 61 a0110 0010 98 62 b0110 0011 99 63 c0110 0100 100 64 d0110 0101 101 65 e0110 0110 102 66 f0110 0111 103 67 g0110 1000 104 68 h0110 1001 105 69 i0110 1010 106 6A j0110 1011 107 6B k0110 1100 108 6C l0110 1101 109 6D m0110 1110 110 6E n0110 1111 111 6F o0111 0000 112 70 p0111 0001 113 71 q0111 0010 114 72 r0111 0011 115 73 s0111 0100 116 74 t0111 0101 117 75 u0111 0110 118 76 v0111 0111 119 77 w0111 1000 120 78 x0111 1001 121 79 y0111 1010 122 7A z0111 1011 123 7B {0111 1100 124 7C |0111 1101 125 7D }0111 1110 126 7E ~0111 1111 127 7F DEL (delete)。
- 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
- 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
- 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。
小键盘+:VK_ADD (107
小键盘/:VK_DIVIDE (111)
Pause Break键:VK_PAUSE (19)
Scroll Lock键:VK_SCROLL (145)
设备控制1
00010010
18
12
DC2 (device control 2)
设备控制2
00010011
19
13
DC3 (device control 3)
设备控制3
00010100
20
14
DC4 (device control 4)
设备控制4
00010101
21
15
NAK (negative acknowledge)
135
5d
93
]
36
1e
30
re
136
5e
94
^
37
1f
31
us
137
5f
95
_
40
20
32
sp
140
60
96
'
41
21
33
!
141
61
97
a
42
22
34
"
142
62
98
b
43
23
35
#
143
63
99
c
44
24
36
$
144
64
100
d
45
25
37
%
145
65
101
e
46
26
38
&
146
66
102
f
47
87
57
W
01011000
88
58
X
01011001
89
59
Y
01011010
90
5A
Z
01011011
91
5B
[
01011100
92
5C
\
01011101
93
5D
]
01011110
94
5E
^
01011111
95
5F
_
01100000
96
60
`
01100001
97
61
a
01100010
98
62
b
续表
75
4B
K
01001100
76
4C
L
01001101
77
4D
M
01001110
78
4E
N
01001111
79
4F
O
01010000
80
50
P
01010001
81
51
Q
01010010
82
52
R
01010011
83
53
S
01010100
84
54
T
01010101
85
55
U
01010110
86
56
V
01010111
51
33
3
00110100
52
34
4
00110101
53
35
5
00110110
54
36
6
00110111
55
37
7
00111000
56
38
8
00111001
57
39
9
00111010
58
3A
:
00111011
59
3B
;
00111100
60
3C
<
00111101
61
3D
=
00111110
62
3E
>
00111111
27
39
`
147
67
103
g
50
28
40
(
150
68
104
h
51
29
41
)
151
69
105
i
52
2a
42
*
152
6a
106
j
53
2b
43
+
153
6b
107
k
54
2c
44
,
154
6c
108
l
55
2d
45
-
155
6d
109
m
56
2e
46
.
156
6e
110
n
57
2f
47
/
157
6f
111
o
60
30
48
0
160
63
3F
?
01000000
64
40
@
01000001
65
41
A
01000010
66
42
B
01000011
67
43
C
01000100
68
44
D
01000101
69
45
E
01000110
70
46
F
01000111
71
47
G
01001000
72
48
H
01001001
73
49
I
01001010
74
4A
J
01001011
方向键(↑):VK_UP (38)
方向键(→):VK_RIGHT (39)
方向键(↓):VK_DOWN (40)
F1键:VK_F1 (112)
F2键:VK_F2 (113)
F3键:VK_F3 (114)
F4键:VK_F4 (115)
F5键:VK_F5 (116)
F6键:VK_F6 (117)
F7键:VK_F7 (118)
64
@
1
1
1
soh
101
41
65
A
2
2
2
stx
102
42
66
B
3
3
3
etx
103
43
67
C
4
4
4
eot
104
44
68
D
5
5
5
enq
105
45
69
E
6
6
6
ack
106
46
70
F
7
7
7
bel
107
47
71
G
10
8
8
bs
110
48
72
H
11
9
9
ht
111
49
73
I
12
0a
10
nl
112
4a
74
J
13
0b
11
Caps Lock键:VK_CAPITAL (20)
Shift键:VK_SHIFT (16)
Ctrl键:VK_CONTROL (17)
Alt键:VK_MENU (18)
空格键:VK_SPACE (32)
退格键:VK_BACK (8)
左徽标键:VK_LWIN (91)
右徽标键:VK_LWIN (92)
120
78
x
01111001
121
79
y
01111010
122
7A
z
01111011
123
7B
{
01111100
124
7C
|
01111101
125
7D
}
01111110
126
7E
~
01111111
127
7F
DEL(delete)
删除
八进制
十六进制
十进制
字符
八进制
十六进制
十进制
字符
0
0
0
nul
100
40
HT (horizontal tab)
水平制表符
00001010
10
0A
LF (NL line feed, new line)
换行键
00001011
11
0B
VT (vertical tab)
垂直制表符
00001100
12
0C
FF (NP form feed, new page)
换页键
00001101
鼠标右键快捷键:VK_APPS (93)
Insert键:VK_INSERT (45)
Home键:VK_HOME (36)
Page Up:VK_PRIOR (33)
PageDown:VK_NEXT (34)
End键:VK_END (35)
Delete键:VK_DELETE (46)
方向键(←):VK_LEFT (37)
记录分离符
00011111
31
1F
US (unit separator)