键盘码对照

合集下载

键盘键码对照

键盘键码对照

键盘键码对照 1按键名(key)按键码(keyCode)2 Escape【退出键】273 F1 1124 F2 1135 F3 1146 F4 1157 F5 1168 F6 1179 F7 11810 F8 11911 F9 12012 F10 12113 F11 12214 F12 12315 ScrollLock【滚动锁定键】14516 Print【打印键,亦可截取整个屏幕,在画图、doc、ppt等粘贴】4217 Pause【暂停键】1918 `【反引号】19219 ~【波浪号】19220 ! 4921 @【艾特符,⼩⽼⿏,圈a,蜗⽜】5022 #【井号】5123 $【美元符,中⽂状态下是⼈民币符】5224 % 5325 ^【折⾳符】5426 &【and符,和,且】5527 *【星号】5628 ( 5729 ) 4830 -【减号,横杆】17331 + 613214933250343513545236553376543875539856409574104842 _【下划线】17343 = 6144 Backspace【←回退键】845 Tab【制表键】946 CapsLock【⇪字母⼤写锁】2047 Shift【⇧上档转换键或上档键】1648 q 8149 w 8750 e 6951 r 8252 t 8453 y 8954 u 8555 i 7356 o 7957 p 8058 [ 21959 ] 22160 Q 8161 W 8762 E 6963 R 8264 T 8465 Y 8966 U 8567 I 7368 O 7969 P 8070 { 21971 } 22172 a 6573 s 8374 d 6875 f 7076 g 7177 h 7278 j 7479 k 7580 l 7681 ;【分号】5982'【单引号】 22283 \【反斜杠】22084 A 6585 S 8386 D 6887 F 7088 G 7189 H 7290 J 7491 K 7592 L 7693 :【冒号】5994"【双引号】 22295 |【竖杠】22096 z 9097 x 8898 c 6799 v 86100 b 66101 n 78102 m 77103 ,【逗号】188104 .【句号】190105 /【斜杠】191106 Z 90107 X 88108 C 67109 V 86110 B 66111 N 78112 M 77113 <【⼩于号】188114 >【⼤于号】190115 ? 191116 Control【控制键】17117 OS【window键】91118 Alt【换挡键】18119【空格键】32120 ContextMenu【上下⽂菜单键,等价于⿏标右键】93121 Enter【↩回车键】13122 Insert【插⼊键】45123 Delete【删除键】46124 Home【起始键】36125 End【结束建】35126 PageUp【上页键】33127 PageDown【下页键】34128 ArrowUp【↑上移键】38129 ArrowRight【→右移键】39130 ArrowDown【↓下移键】40131 ArrowLeft【←左移键】37132以下是⼩键盘部分133 NumLock【数字锁定键】144134 / 111135 * 106136 - 109137 + 107138 Enter 13139096140 .【点】110141197142298143399144410014551011466102147710314881041499105内核源码,kernel/include/uapi/linux/input.h中如下定义:Linux下系统和windows下系统键值。

常用键盘ASCII码对照

常用键盘ASCII码对照

常用键盘ASCII码对照ASCII码——ASCII是美国标准信息交换码(American Standard Cord for Information Interchange)的英文字头缩写。

它使用7位二进制数表示一个字符,可给128个字符编码。

详见下表。

使用时每个字符占1个字节(最高1位置0)。

十进制编码缩写/字符解释0 NUL (null) 空字符1 SOH (start of handing) 标题开始2 STX (start of text) 正文开始3 ETX (end of text) 正文结束4 EOT (end of transmission) 传输结束5 ENQ (enquiry) 请求6 ACK (acknowledge) 收到通知7 BEL (bell) 响铃8 BS (backspace) 退格9 HT (horizontal tab) 水平制表符10 LF (NL line feed, new line) 换行键11 VT (vertical tab) 垂直制表符12 FF (NP form feed, new page) 换页键13 CR (carriage return) 回车键14 SO (shift out) 不用切换15 SI (shift in) 启用切换16 DLE (data link escape) 数据链路转义17 DC1 (device control 1) 设备控制118 DC2 (device control 2) 设备控制219 DC3 (device control 3) 设备控制320 DC4 (device control 4) 设备控制421 NAK (negative acknowledge) 拒绝接收22 SYN (synchronous idle) 同步空闲23 ETB (end of trans. block) 传输块结束24 CAN (cancel) 取消25 EM (end of medium) 介质中断26 SUB (substitute) 替补27 ESC (escape) 溢出28 FS (file separator) 文件分割符29 GS (group separator) 分组符30 RS (record separator) 记录分离符31 US (unit separator) 单元分隔符32 SPA(The blank space key)空格例题1、在下列字符中,其ASCII码值最小的一个是()。

键盘键与虚拟键码对照表

键盘键与虚拟键码对照表

键盘键与虚拟键码对照表键盘键与虚拟键码对照表字母和数字键数字小键盘的键功能键其它键键键码键键码键键码键键码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码(keycode码)

键盘数字对应的ASCII码(keycode码)

键盘数字对应的ASCII码(keycode码)keycode 1 = ⿏标左键keycode 2 = ⿏标右键keycode 3 = Cancelkeycode 4 = ⿏标中键keycode 8 = BackSpacekeycode 9 = Tabkeycode 12 = Clear(未知)keycode 13 = Enterkeycode 16 = Shift_Lkeycode 17 = Control_Lkeycode 18 = Alt_Lkeycode 19 = Pausekeycode 20 = Caps_Lockkeycode 27 = Escapekeycode 32 = spacekeycode 33 = Prior(PageUp键)keycode 34 = Next(PageDown键)keycode 35 = Endkeycode 36 = Homekeycode 37 = Leftkeycode 38 = Upkeycode 39 = Rightkeycode 40 = Downkeycode 41 = Select(未知)keycode 42 = Print(PrintScreen键)keycode 43 = Execute(未知)keycode 45 = Insertkeycode 46 = Deletekeycode 47 = Help(未知)keycode 48 = 0 equal bracerightkeycode 49 = 1 exclam onesuperiorkeycode 50 = 2 quotedbl twosuperiorkeycode 51 = 3 section threesuperiorkeycode 52 = 4 dollarkeycode 53 = 5 percentkeycode 54 = 6 ampersandkeycode 55 = 7 slash braceleftkeycode 56 = 8 parenleft bracketleftkeycode 57 = 9 parenright bracketrightkeycode 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_0(⼩键盘数字0)keycode 97 = KP_1 KP_1(⼩键盘数字1)keycode 98 = KP_2 KP_2(⼩键盘数字2)keycode 99 = KP_3 KP_3(⼩键盘数字3)keycode 100 = KP_4 KP_4(⼩键盘数字4)keycode 101 = KP_5 KP_5(⼩键盘数字5)keycode 102 = KP_6 KP_6(⼩键盘数字6)keycode 103 = KP_7 KP_7(⼩键盘数字7)keycode 104 = KP_8 KP_8(⼩键盘数字8)keycode 105 = KP_9 KP_9(⼩键盘数字9)keycode 106 = KP_Multiply KP_Multiply(⼩键盘乘)keycode 107 = KP_Add KP_Add(⼩键盘加)keycode 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_Lock(未知)keycode 187 = acute grave(未知)keycode 188 = comma semicolon(未知)(逗号分号)keycode 189 = minus underscore (减号下划线)keycode 190 = period colon (未知冒号)keycode 192 = numbersign apostrophe(未知单引号)keycode 210 = plusminus hyphen macron (未知 & ^)keycode 211 =keycode 212 = copyright registered(未知)keycode 213 = guillemotleft guillemotright(未知)keycode 214 = masculine ordfeminine(未知)keycode 215 = ae AE(未知)keycode 216 = cent yen(未知)keycode 217 = questiondown exclamdown(未知)keycode 218 = onequarter onehalf threequarters(未知)keycode 220 = less greater bar(⼩于号⼤于号未知)keycode 221 = plus asterisk asciitilde(加号星号未知)keycode 227 = multiply division(乘除)keycode 228 = acircumflex Acircumflex(未知)keycode 229 = ecircumflex Ecircumflex(未知)keycode 230 = icircumflex Icircumflex(未知)keycode 231 = ocircumflex Ocircumflex(未知)keycode 232 = ucircumflex Ucircumflex(未知)keycode 233 = ntilde Ntilde(未知)keycode 234 = yacute Yacute(未知)keycode 235 = oslash Ooblique(未知)keycode 236 = aring Aring(未知)keycode 237 = ccedilla Ccedilla(未知)keycode 238 = thorn THORN(未知)keycode 239 = eth ETH(未知)keycode 240 = diaeresis cedilla currency(未知)keycode 241 = agrave Agrave atilde Atilde(未知)keycode 242 = egrave Egrave(未知)keycode 243 = igrave Igrave(未知)keycode 244 = ograve Ograve otilde Otilde(未知)keycode 245 = ugrave Ugrave(未知)keycode 246 = adiaeresis Adiaeresis(未知)keycode 247 = ediaeresis Ediaeresis(未知)keycode 248 = idiaeresis Idiaeresis(未知)keycode 249 = odiaeresis Odiaeresis(未知)keycode 250 = udiaeresis Udiaeresis(未知)keycode 251 = ssharp question backslash(未知)keycode 252 = asciicircum degree(未知)keycode 253 = 3 sterling(未知)keycode 254 = Mode_switch(未知)如果要使⽤组合键,则可以利⽤event.ctrlKey,event.shiftKey,event .altKey值为true或false,判断是否按下了ctrl键、shift键以及alt键。

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

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

字母和空格按键的编码表按键单键SHIFT CTRL ALT扫描码ASCII码扫描码ASCII码扫描码ASCII码扫描码ASCII码a 1E 61 1E 41 1E 01 1E 00b 30 62 30 42 30 02 30 00c 2E 63 2E 43 2E 03 2E 00d 20 64 20 44 20 04 20 00e 12 65 12 45 12 05 12 00f 21 66 21 46 21 06 21 00g 22 67 22 47 22 07 22 00h 23 68 23 48 23 08 23 00i 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并没有把它们的扫描码输入键盘缓冲区。

键盘对应键码

键盘对应键码
以下代码~~可以解决以上问题~
/* = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = *\
| 事件:ue_dwnkey
return FAILURE
case keyuparrow!
return FAILURE
case keydownarrow!
return FAILURE
end choose
W 87 PrtSc 44
X 88
Y 89
Z 90
0 48
|
| 范围:public
|
WM_RBUTTONUP = 517;右键释放
WM_RBUTTOபைடு நூலகம்DBLCLK = 518;右键双击
WM_MBUTTONDOWN = 519;中键按下(3键鼠标 Only)
WM_MBUTTONUP = 520;中键释放(3键鼠标 Only)
WM_MBUTTONDBLCLK = 521;中键双击(3键鼠标 Only)
9 57
以下为windows的鼠标系统消息
WM_MOUSEMOVE = 512;鼠标移动
WM_LBUTTONDOWN = 513;左键按下
WM_LBUTTONUP = 514;左键释放
WM_LBUTTONDBLCLK = 515;左键双击
WM_RBUTTONDOWN = 516;右键按下
WM_MOUSEWHEEL = 522;中键滚轮滚动 (3键鼠标 Only)
这些事件一般都可以在控件或者窗口的other时间中进行捕捉~然后根据情况做相应的处理
2~还向大家贡献一个技巧~在DW里当击回车~转向键上~下时~DW里的记录也会随着滚动~如何解决这个问题?

键键盘按键码对照

键键盘按键码对照
33
Insert
45
/?
191
Enter
13
Page Down
34
Delete
46
`~
192
Shift
16
End
35
Num Lock
144
[{
219
Control
17
Home
36
。:
186
\|
220
Alt
18
Left Arrow
37
=+
187
]}
221
Cape Lock
20
Up Arrow
38
,<
188
Right Ctrl→163
Win→91
Alt→18
Letf Alt→164
Right Alt→165
空格键Space→32
Right Mouse→93
Enter→13
Macro→226
[ {→219
] }→221
。:→186
‘“→222
, <→188
. >→190
/ ?→191
★数字键盘区
数字键盘0→96
数字键盘1→97
数字键盘2→98
数字键盘3→99
数字键盘4→100
数字键盘5→101
数字键盘6→102
数字键盘7→103
数字键盘8→104
数字键盘9→105
Num Lock→144
/→111
*→106
-→109
+→107
Enter→13
.→110
★功能键区
F1→112
F2→113
F3→114

世界上最全的键盘码表:单键扫描码,ascii,组合键码扫描码,ascii

世界上最全的键盘码表:单键扫描码,ascii,组合键码扫描码,ascii

按键 F1 F2 F3 F4 F5 F6 F7 F8 F9 F10 F11 F12
功能键和数字键盘的编码表内容正文 功能键和数字键盘的编码表 内容正文 单键 SHIFT 扫描码 3B 3C 3D 3E 3F 40 41 42 43 44 85 86 数字键盘的编码表 ASCII码 00 00 00 00 00 00 00 00 00 00 00 00 扫描码 54 55 56 57 58 59 5A 5B 5C 5D 87 88 ASCII码 00 00 00 00 00 00 00 00 00 00 00 00
ALT 扫描码 1A 1B 27 28 2b 33 34 35
2B
、附加按键的编码表 按键 Flash(/) Enter Home End PageUp PageDown 单键 扫描码 E0 E0 47 4F 49 51 ASCII码 2F 0D E0 E0 E0 E0 SHIFT 扫描码 E0 E0 47 4F 49 51 ASCII码 2F 0D E0 E0 E0 E0 CTRL 扫描码 95 E0 77 75 84 76 ASCII码 00 0A E0 E0 E0 E0 ALT 扫描码 A4 A6 97 9F 99 A1
03
07
-@_ =@+
0C
操作、标号和附加按键等的编码表 内容正文 操作、标号和附加按键等的编码表内容正文 单键 SHIFT 按键 扫描码 ASCII码 扫描码 Esc 01 1B 01 Backspace 0E 08 0E Tab 0F 09 0F Enter 1C 0D 1C 标号按键的编码表 按键 [@{ ]@} ;@: @" \@| ,@< . @> /@? 单键 扫描码 1A 1B 27 28 2b 33 34 35 ASCII码 5B 5D 3B 27 5C 2C 2E 2F SHIFT 扫描码 1A 1B 27 28 2b 33 34 35

键盘ASCII码值对照表

键盘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 键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 键的 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 键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 键====================================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 0x610142 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 0x770170 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 ARROWvbKeyRight 39 RIGHT ARROWvbKeyDown 40 DOWN ARROWvbKeySelect 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 vbKeyF16 127 F16。

键盘KeyCode对照表

键盘KeyCode对照表

键盘KeyCode对照表键盘KeyCode对照表keycode 0 =keycode 1 =keycode 2 =keycode 3 =keycode 4 =keycode 5 =keycode 6 =keycode 7 =keycode 8 = BackSpace BackSpacekeycode 9 = Tab Tabkeycode 10 =keycode 11 =keycode 12 = Clearkeycode 13 = Enterkeycode 14 =keycode 15 =keycode 16 = Shift_Lkeycode 17 = Control_Lkeycode 18 = Alt_Lkeycode 19 = Pausekeycode 20 = Caps_Lockkeycode 21 =keycode 22 =keycode 23 =keycode 24 =keycode 25 =keycode 26 =keycode 27 = Escape Escapekeycode 28 =keycode 29 =keycode 30 =keycode 31 =keycode 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 44 =keycode 45 = Insertkeycode 46 = Deletekeycode 47 = Helpkeycode 48 = 0 equal bracerightkeycode 49 = 1 exclam onesuperiorkeycode 50 = 2 quotedbl twosuperiorkeycode 51 = 3 section threesuperiorkeycode 52 = 4 dollarkeycode 53 = 5 percentkeycode 54 = 6 ampersandkeycode 55 = 7 slash braceleftkeycode 56 = 8 parenleft bracketleftkeycode 57 = 9 parenright bracketrightkeycode 58 =keycode 59 =keycode 60 =keycode 61 =keycode 62 =keycode 63 =keycode 64 =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 91 =keycode 92 =keycode 93 =keycode 94 =keycode 95 =keycode 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_Add keycode 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 138 =keycode 139 =keycode 140 =keycode 141 =keycode 142 =keycode 143 =keycode 144 =keycode 145 =keycode 146 =keycode 147 =keycode 148 =keycode 149 =keycode 150 =keycode 151 =keycode 152 =keycode 153 =keycode 154 =keycode 155 =keycode 156 =keycode 157 =keycode 158 =keycode 159 =keycode 160 =keycode 161 =keycode 162 =keycode 163 =keycode 164 =keycode 165 =keycode 166 =keycode 167 =keycode 168 =keycode 169 =keycode 170 =keycode 171 =keycode 172 =keycode 173 =keycode 174 =keycode 175 =keycode 176 =keycode 177 =keycode 178 =keycode 179 =keycode 180 =keycode 181 =keycode 182 =keycode 183 =keycode 184 =keycode 185 =keycode 186 =keycode 187 = acute gravekeycode 188 = comma semicolon keycode 189 = minus underscore keycode 190 = period colon keycode 191 =keycode 192 = numbersign apostrophe keycode 193 =keycode 194 =keycode 195 =keycode 196 =keycode 197 =keycode 198 =keycode 199 =keycode 200 =keycode 201 =keycode 202 =keycode 203 =keycode 204 =keycode 205 =keycode 206 =keycode 207 =keycode 208 =keycode 209 =keycode 210 = plusminus hyphen macron keycode 211 =keycode 212 = copyright registeredkeycode 213 = guillemotleft guillemotright keycode 214 = masculine ordfeminine keycode 215 = ae AEkeycode 216 = cent yenkeycode 217 = questiondown exclamdown keycode 218 = onequarter onehalf threequarters keycode 219 =keycode 220 = less greater barkeycode 221 = plus asterisk asciitilde keycode 222 =keycode 223 =keycode 224 =keycode 225 =keycode 226 =keycode 227 = multiply divisionkeycode 228 = acircumflex Acircumflex keycode 229 = ecircumflex Ecircumflex keycode 230 = icircumflex Icircumflex keycode 231 = ocircumflex Ocircumflex keycode 232 = ucircumflex Ucircumflex keycode 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 Adiaeresis keycode 247 = ediaeresis Ediaeresis keycode 248 = idiaeresis Idiaeresiskeycode 249 = odiaeresis Odiaeresis keycode 250 = udiaeresis Udiaeresis keycode 251 = ssharp question backslash keycode 252 = asciicircum degreekeycode 253 = 3 sterlingkeycode 254 = Mode_switch。

键盘键与虚拟键码对照表

键盘键与虚拟键码对照表

键盘键与虚拟键码对照表键盘键与虚拟键码对照表字母和数字键数字⼩键盘的键功能键其它键键键码键键码键键码键键码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 1 8H 72 7 103 F8 119 Caps Lock 20I 73 8 104 F9 120 Esc 27 J 74 9 105 F10 121 Spacebar 32 K 75 * 106 F11 122 Page Up 33L 76 + 107 F12 123 Page Down 34M 77 Enter 108 -- -- End 3 5N 78 - 109 -- -- Home 3 6O 79 . 110 -- -- Left Arrow 37P 80 / 111 -- -- Up Arrow38Q 81 -- -- -- -- Right Arro w 39R 82 -- -- -- -- Down Arrow 40S 83 -- -- -- -- Insert45T 84 -- -- -- -- Delete46U 85 -- -- -- -- Help47V 86 -- -- -- -- Num Lock 144W 87X 880 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 键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 键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 码相同:值描述49 1 键50 2 键51 3 键52 4 键56 8 键57 9 键下列常数代表数字键盘上的键:值描述0x60 0 键0x61 1 键0x62 2 键0x63 3 键0x64 4 键0x65 5 键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 键0x77 F8 键0x78 F9 键0x79 F10 键0x7A F11 键0x7B F12 键0x7C F13 键0x7D F14 键3 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-F12173 VolumeMute174 VolumeDown175 VolumeUp186 Oem1 ; 187 Oemplus = 188 Oemcomma , 189 OemMinus -190 OemPeriod .191 OemQuestion /192 Oemtilde `219 OemOpenBrackets [220 Oem5 \ 221 Oem6 ] 222 Oem7 '。

keycode键盘按键-键码对应表

keycode键盘按键-键码对应表

按键 键码 按键 键码 按键 键码 按键 键码
0
96
8
1
97
9
2
98
*
3
99
+
104
F1 112 F7 118
105
F2 113 F8 119

106
F3 114 F9 120
107
F4 115 F10 121
4
100
Enter 108
F5 116 F11 122
5
101 -
109
F6 117 F12 123
6
102 .
110
7
103 /
111
控 制 键 键 码 值 (keyCode)
按键 键码 按键 键码 按键 键码 按键 键码
BackSpace 8
Tab
9
Esc
27 Right Arrow 39 -_ 189
Spacebar 32 Dw Arrow 40 .> 190
Clear Enter Shift Control
187 ]} 221 188 '" 222
多 媒 体 键 码 值 (keyCode)
按键 键码 按键 键码 按键 键码 按键 键码
音量加 175 音量减 174 停止 179 静音 173
浏览器 172 邮件 180 搜索 170 收藏 171
博客园 用户登录 代码改变世界 密码登录 短信登录 忘记登录用户名 忘记密码 记住我 登录 第三方登录/注册 没有账户, 立即注册
keycode键盘按键 -键码对应表
字 母 和 数 字 键 的 键 码 值 (keyCode)
按键 键码 按键 键码 按键 键码 按键 键码

键盘键与虚拟键码对照表

键盘键与虚拟键码对照表

键盘键与虚拟键码对照表键盘键与虚拟键码对照表字母和数字键数字小键盘的键功能键其它键键键码键键码键键码键键码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 1 8H 72 7 103 F8 119 Caps Lock 20I 73 8 104 F9 120 Esc 27 J 74 9 105 F10 121 Spacebar 32 K 75 * 106 F11 122 Page Up 33L 76 + 107 F12 123 Page Down 34M 77 Enter 108 -- -- End 3 5N 78 - 109 -- -- Home 3 6O 79 . 110 -- -- Left Arrow 37P 80 / 111 -- -- Up Arrow38Q 81 -- -- -- -- Right Arro w 39R 82 -- -- -- -- Down Arrow 40S 83 -- -- -- -- Insert45T 84 -- -- -- -- Delete46U 85 -- -- -- -- Help47V 86 -- -- -- -- Num Lock 144W 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 键66 B 键67 C 键68 D 键69 E 键70 F 键71 G 键72 H 键73 I 键74 J 键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 码相同:值描述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 键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 键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 '。

相关主题
  1. 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
  2. 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
  3. 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。
$42
66
B键
vk_C
$43
67
C键
vk_D
$44
68
D键
vk_E
$45
69
E键
vk_F
$46
70
F键
vk_G
$47
71
G键
vk_H
$48
72
H键
vk_I
$49
73
I键
vk_J
$4A
74
J键
vk_K
$4B
75
K键
vk_L
$4C
76
L键
vk_M
$4D
77
M键
vk_N
$4E
78
N键
vk_O
$4F
79
O键
数字键
vk_NumPad1
$61;
97
数字键
vk_NumPad2
$62;
98
数字键
vk_NumPad3
$63;
99
数字键
vk_NumPad4
$64;
100
数字键
vk_NumPad5
$65;
101
数字键
vk_NumPad6
$66;
102
数字键
vk_NumPad7
$67;
103
数字键
vk_NumPad8
130
F19键
vk_F20
$83;
131
F20键
vk_F21
$84;
132
F21键
vk_F22
$85;
133
F22键
vk_F23
$86;
134
F23键
vk_F24
$87;
135
F24键
88-8F 136-143未指定
vk_NumLock
$90;
144
Num Lock
vk_Scroll
$91;
145
Scroll Lock
F10键
vk_F11
$7A;
122
F11键
vk_F12
$7B;
123
F12键
vk_F13
$7C;
124
F13键
vk_F14
$7D;
125
F14键
vk_F15
$7E;
126
F15键
vk_F16
$7F;
127
F16键
vk_F17
$80;
128
F17键
vk_F18
$81;
129
F18键
vk_F19
$82;
$13;
19
Pause
vk_Capital
$14;
20
Caps Lock
15-19 21-25保留给Kanji使用
1A 26未定义
vk_Escape
$1B;
27
Esc
1C-1F 29-31保留给Kanji使用
vk_Space
$20;
32
SpaceBar(空格键)
vk_Prior
$21;
33
Page Up
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键
vk_X
$58
88
X键
vk_Y
$59
89
Y键
vk_Z
$5A
90
Z键
5B-5C 91-95未定义
vk_NumPad0
$60;
96
8
BackSpace键
vk_Tab
$09;
9
AB键
0A-0B 10-11未定义
vk_Clear
$0C;
12
Clear
vk_Return
$0D;13ຫໍສະໝຸດ Enter0E-0F 14-15未定义
vk_Shift
$10;
16
Shift
vk_Control
$11;
17
Ctrl
vk_Menu
$12;
18
Alt
vk_Pause
$68;
104
数字键
vk_NumPad9
$69;
105
数字键
vk_Multiply
$6A;
106
*键
vk_Add
$6B;
107
+键
vk_Separator
$6C;
108
Separator键
vk_Subtract
$6D;
109
--键
vk_Decimal
$6E;
110
.键
vk_Divide
$6F;
111
92-B9; 146-185未指定
BA-C0; 186-192 OEM自订
C1-DA; 193-218未指定
DB-E4; 219-228 OEM自订
E5 229未指定
E6 230 OEM自订
E7-E8; 231-232未指定
E9-F5; 233-245 OEM自订
F6-FE; 246-254未指定
vk_Next
$22;
34
Page Down
vk_End
$23;
35
End
vk_Home
$24;
36
Home
vk_Left
$25;
37
Left Arrow
vk_Up
$26;
38
Up Arrow
vk_Right
$27;
39
Right Arrow
vk_Down
$28;
40
Down Arrow
vk_Select
$35
53
5键
vk_6
$36
54
6键
vk_7
$37
55
7键
vk_8
$38
56
8键
vk_9
$39
57
9键
3A-40 58-64未定义
{ vk_A thru vk_Z are the same as their ASCII equivalents:'A' thru 'Z'}
vk_A
$41
65
A键
vk_B
$29;
41
Select
vk_Print
$2A;
42
OEM自订使用
vk_Execute
$2B;
43
Execute
vk_SnapShot
$2C;
44
Print Screen
{ vk_Copy $2C not used by keyboards }
vk_Insert
$2D;
45
Ins
vk_Delete
$2E;
46
Del
vk_Help
$2F;
47
Help
{ vk_0 thru vk_9 are the same as their ascii equivalents:'0' thru '9'}
vk_0
$30
48
0键
vk_1
$31
49
1键
vk_2
$32
50
2键
vk_3
$33
51
3键
vk_4
$34
52
4键
vk_5

十六进位
十进位
说明
vk_LButton
$01;
1
滑鼠左钮
vk_RButton
$02;
2
滑鼠右钮
vk_Cancel
$03;
3
Control-Break执行
vk_MButton
$04;
4
滑鼠中钮
05-07 5-7 { NOT contiguous with L & RBUTTON }
vk_Back
$08;
/键
vk_F1
$70;
112
F1键
vk_F2
$71;
113
F2键
vk_F3
$72;
114
F3键
vk_F4
$73;
115
F4键
vk_F5
$74;
116
F5键
vk_F6
$75;
117
F6键
vk_F7
$76;
118
F7键
vk_F8
$77;
119
F8键
vk_F9
$78;
120
F9键
vk_F10
$79;
121
相关文档
最新文档