keycode 在键盘上每一个按键对应的码

合集下载

pb下keycode键码对照表

pb下keycode键码对照表
Keycode对照表
字母和数字键的键码值(keyCode)
按键 键码 按键 键码 按键 键码 按键 键码
A 65 J 74 S 83 1 49
B 66 K 75 T 84 2 50
C 67 L 76 U 85 3 51
D 68 M 77 V 86 4 52
E 69 N 78 W 87 5 53
Clear 12 Page Up 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
浏览器 172
邮件 180
搜索 170
收藏 171
posted on 2007-04-19 21:10 鱼有所思 阅读(3377) 评论(49) 编辑 收藏 引用 网摘 所属
0 96 8 104 F1 112 F7 118
1 97 9 105 F2 113 F8 119
2 98 * 106 F3 114 F9 120
3 99 + 107 F4 115 F10 121
4 100 Enter 108 F5 116 F11 122
5 101 - 109 F6 117 F12 123
F 70 O 79 X 88 6 54
G 71 P 80 Y 89 7 55
H 72 Q 81 Z 90 8 56
I 73 R 82 0 48 9 57

KEYCode 与ASCII charCode对照表

KEYCode 与ASCII charCode对照表

Keycode对照表ASCII(A merican S tandard C ode for I nformation I nterchange ,美国信息互换标准代码)是基于罗马字母表的一套电脑编码系统。

它主要用于显示现代英语和其他西欧语言。

它是现今最通用的单字节编码系统,并等同于国际标准ISO 646 。

Binary Decimal Hex 缩写名称/意义0000 0000 0 00 NUL 空字符(Null)0000 0001 1 01 SOH 标题开始0000 0010 2 02 STX 正文开始0000 0011 3 03 ETX 正文结束0000 0100 4 04 EOT 传输结束0000 0101 5 05 ENQ 请求0000 0110 6 06 ACK 收到通知0000 0111 7 07 BEL 响铃0000 1000 8 08 BS 退格0000 1001 9 09 HT 水平制表符0000 1010 10 0A LF 换行键0000 1011 11 0B VT 垂直制表符0000 1100 12 0C FF 换页键0000 1101 13 0D CR 回车键0000 1110 14 0E SO 不用切换(Shift键)0000 1111 15 0F SI 启用切换(Shift键)0001 0000 16 10 DLE 数据通讯换码0001 0001 17 11 DC1 XON Device Control 1 0001 0010 18 12 DC2 Device Control 20001 0011 19 13 DC3 XOFF Device Control 3 0001 0100 20 14 DC4 Device Control 40001 0101 21 15 NAK 拒绝接收0001 0110 22 16 SYN 同步空闲0001 0111 23 17 ETB End of Trans. Block0001 1000 24 18 CAN 取消0001 1001 25 19 EM 介质中断0001 1010 26 1A SUB Substitute0001 1011 27 1B ESC 溢出0001 1100 28 1C FS 文件分割符0001 1101 29 1D GS 分组符0001 1110 30 1E RS 记录分离符0001 1111 31 1F US 单元分隔符ASC II编码表ASCII码介绍目前计算机中用得最广泛的字符集及其编码,是由美国国家标准局(ANSI)制定的ASCII码(American Standard Code for Information Interchange,美国标准信息交换码),它已被国际标准化组织(ISO)定为国际标准,称为ISO 646标准。

c#Keycode键盘对应数字的列表

c#Keycode键盘对应数字的列表

c#Keycode键盘对应数字的列表Keycode 键盘对应数字的列表--------------------------------------------------------------------------------c#: Keycode 键盘对应数字的列表keycode 0 =keycode 1 =keycode 2 =keycode 3 =keycode 4 =keycode 5 =keycode 6 =keycode 7 =keycode 8 = BackSpace BackSpacekeycode 9 = Tab T abkeycode 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_Lock keycode 21 =keycode 22 =keycode 23 =keycode 24 =keycode 25 =keycode 26 =keycode 27 = Escape Escape keycode 28 =keycode 29 =keycode 30 =keycode 31 =keycode 32 = space space keycode 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 braceright keycode 49 = 1 exclam onesuperiorkeycode 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 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_Subtractkeycode 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 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 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 asciitildekeycode 222 =keycode 223 =keycode 224 =keycode 225 =keycode 226 =keycode 227 = multiply divisionkeycode 228 = acircumflex Acircumflexkeycode 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 Idiaeresis keycode 249 = odiaeresis Odiaeresis keycode 250 = udiaeresis Udiaeresis keycode 251 = ssharp question backslash keycode 252 = asciicircum degree keycode 253 = 3 sterlingkeycode 254 = Mode_switch。

键盘对应数字-keycode值大全

键盘对应数字-keycode值大全

键盘对应数字-keycode值大event.keycode值大全 1 keycode 8 = BackSpace BackSpace 2 keycode 9 = Tab Tab 3 keycode 12 = Clear 4 keycode 13 = Enter 5 keycode 16 = Shift_L 6 keycode 17 = Control_L 7 keycode 18 = Alt_L 8 keycode 19 = Pause 9 keycode 20 = Caps_Lock 10 keyevent.keycode值大全1 keycode 8 = BackSpace BackSpace2 keycode 9 = Tab Tab3 keycode 12 = Clear4 keycode 13 = Enter5 keycode 16 = Shift_L6 keycode 17 = Control_L7 keycode 18 = Alt_L8 keycode 19 = Pause9 keycode 20 = Caps_Lock10 keycode 27 = Escape Escape11 keycode 32 = space space12 keycode 33 = Prior13 keycode 34 = Next14 keycode 35 = End15 keycode 36 = Home17 keycode 38 = Up18 keycode 39 = Right19 keycode 40 = Down20 keycode 41 = Select21 keycode 42 = Print22 keycode 43 = Execute23 keycode 45 = Insert24 keycode 46 = Delete25 keycode 47 = Help26 keycode 48 = 0 equal braceright27 keycode 49 = 1 exclam onesuperior28 keycode 50 = 2 quotedbl twosuperior29 keycode 51 = 3 section threesuperior30 keycode 52 = 4 dollar31 keycode 53 = 5 percent32 keycode 54 = 6 ampersand33 keycode 55 = 7 slash braceleft34 keycode 56 = 8 parenleft bracketleft35 keycode 57 = 9 parenright bracketright36 keycode 65 = a A37 keycode 66 = b B39 keycode 68 = d D40 keycode 69 = e E EuroSign41 keycode 70 = f F4243 keycode 71 = g G44 keycode 72 = h H45 keycode 73 = i I46 keycode 74 = j J47 keycode 75 = k K48 keycode 76 = l L49 keycode 77 = m M mu50 keycode 78 = n N51 keycode 79 = o O52 keycode 80 = p P53 keycode 81 = q Q at54 keycode 82 = r R55 keycode 83 = s S56 keycode 84 = t T57 keycode 85 = u U58 keycode 86 = v V59 keycode 87 = w W61 keycode 89 = y Y62 keycode 90 = z Z63 keycode 96 = KP_0 KP_064 keycode 97 = KP_1 KP_165 keycode 98 = KP_2 KP_266 keycode 99 = KP_3 KP_367 keycode 100 = KP_4 KP_468 keycode 101 = KP_5 KP_569 keycode 102 = KP_6 KP_670 keycode 103 = KP_7 KP_771 keycode 104 = KP_8 KP_872 keycode 105 = KP_9 KP_973 keycode 106 = KP_Multiply KP_Multiply74 keycode 107 = KP_Add KP_Add7576 keycode 108 = KP_Separator KP_Separator77 keycode 109 = KP_Subtract KP_Subtract78 keycode 110 = KP_Decimal KP_Decimal79 keycode 111 = KP_Divide KP_Divide80 keycode 112 = F181 keycode 113 = F283 keycode 115 = F4848586 keycode 116 = F587 keycode 117 = F688 keycode 118 = F789 keycode 119 = F890 keycode 120 = F991 keycode 121 = F1092 keycode 122 = F1193 keycode 123 = F1294 keycode 124 = F1395 keycode 125 = F1496 keycode 126 = F1597 keycode 127 = F1698 keycode 128 = F1799 keycode 129 = F18 100 keycode 130 = F19 101 keycode 131 = F20 102 keycode 132 = F21 103 keycode 133 = F22104 keycode 134 = F23105 keycode 135 = F24106 keycode 136 = Num_Lock107 keycode 137 = Scroll_Lock108 keycode 187 = acute grave109 keycode 188 = comma semicolon110 keycode 189 = minus underscore111 keycode 190 = period colon112 keycode 192 = numbersign apostrophe113 keycode 210 = plusminus hyphen macron114 keycode 211 =115 keycode 212 = copyright registered116 keycode 213 = guillemotleft guillemotright117 keycode 214 = masculine ordfeminine118 keycode 215 = ae AE119 keycode 216 = cent yen120 keycode 217 = questiondown exclamdown121 keycode 218 = onequarter onehalf threequarters 122 keycode 220 = less greater bar123 keycode 221 = plus asterisk asciitilde124 keycode 227 = multiply division125126 keycode 228 = acircumflex Acircumflex 127 keycode 229 = ecircumflex Ecircumflex 128 keycode 230 = icircumflex Icircumflex 129 keycode 231 = ocircumflex Ocircumflex 130 keycode 232 = ucircumflex Ucircumflex 131 keycode 233 = ntilde Ntilde132 keycode 234 = yacute Yacute133 keycode 235 = oslash Ooblique134 keycode 236 = aring Aring135 keycode 237 = ccedilla Ccedilla136 keycode 238 = thorn THORN137 keycode 239 = eth ETH138 keycode 240 = diaeresis cedilla currency 139 keycode 241 = agrave Agrave atilde Atilde 140 keycode 242 = egrave Egrave141 keycode 243 = igrave Igrave142 keycode 244 = ograve Ograve otilde Otilde 143 keycode 245 = ugrave Ugrave144 keycode 246 = adiaeresis Adiaeresis145 keycode 247 = ediaeresis Ediaeresis146 keycode 248 = idiaeresis Idiaeresis147 keycode 249 = odiaeresis Odiaeresis148 keycode 250 = udiaeresis Udiaeresis149 keycode 251 = ssharp question backslash150 keycode 252 = asciicircum degree151 keycode 253 = 3 sterling152 keycode 254 = Mode_switch153154 使用event对象的keyCode属性判断输入的键值155 eg:if(event.keyCode==13)alert(“enter!”); 156 键值对应表157 A0X65 U 0X85158 B0X66V0X86159 C0X67W0X87160 D0X68X 0X88161 E0X69Y0X89162 F0X70Z0X90163 G0X7100X48164 H0X7210X49165 I 0X7320X50166 J 0X74 3 0X51167 K0X75 4 0X52168 L0X76 5 0X53169 M0X7760X54170 N0X78 7 0X55171 O0X79 8 0X56172 P0X80 9 0X57173 Q0X81ESC0X1B174 R0X82CTRL 0X11175 S0X83SHIFT0X10176 T0X84ENTER0XD177178如果要使用组合键,则可以利用event.ctrlKey,event.shiftKey,event .altKey判断是否按下了ctrl键、shift 键以及alt键转自:经典文章网() - 详文链接:/zonghe/biancheng/65.html。

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

键盘数字对应的ASCII码(keycode码)
keycode 53 = 5 percent
keycode 54 = 6 ampersand
keycode 55 = 7 slash braceleft
keycode 56 = 8 parenleft bracketleft
keycode 57 = 9 parenright bracketright
keycode 48 = 0 equal braceright
keycode 49 = 1 exclam onesuperior
keycode 50 = 2 quotedbl twosuperior
keycode 51 = 3 section threesuperior
keycode 52 = 4 dollar
keycode 40 = Down
keycode 41 = Select(未知)
keycode 42 = Print(PrintScreen键)
keycode 43 = Execute(未知)
keycode 45 = Insert
keycode 46 = Delete
keycode 47 = Help(未知)
keycode 65 = a A
keycode 66 = b B
keycode 67 = c C
keycode 68 = d D
keycode 69 = e E EuroSign
keycode 70 = f F
keycode 71 = g G
keycode 72 = h H
keycode 247 = ediaeresis Ediaeresis(未知)
keycode 248 = idiaeresis Idiaeresis(未知)

键盘对应数字-keycode值大全资料

键盘对应数字-keycode值大全资料

键盘对应数字-keycode值大event.keycode值大全 1 keycode 8 = BackSpace BackSpace 2 keycode 9 = Tab Tab 3 keycode 12 = Clear 4 keycode 13 = Enter 5 keycode 16 = Shift_L 6 keycode 17 = Control_L 7 keycode 18 = Alt_L 8 keycode 19 = Pause 9 keycode 20 = Caps_Lock 10 keyevent.keycode值大全1 keycode 8 = BackSpace BackSpace2 keycode 9 = Tab Tab3 keycode 12 = Clear4 keycode 13 = Enter5 keycode 16 = Shift_L6 keycode 17 = Control_L7 keycode 18 = Alt_L8 keycode 19 = Pause9 keycode 20 = Caps_Lock10 keycode 27 = Escape Escape11 keycode 32 = space space12 keycode 33 = Prior13 keycode 34 = Next14 keycode 35 = End15 keycode 36 = Home17 keycode 38 = Up18 keycode 39 = Right19 keycode 40 = Down20 keycode 41 = Select21 keycode 42 = Print22 keycode 43 = Execute23 keycode 45 = Insert24 keycode 46 = Delete25 keycode 47 = Help26 keycode 48 = 0 equal braceright27 keycode 49 = 1 exclam onesuperior28 keycode 50 = 2 quotedbl twosuperior29 keycode 51 = 3 section threesuperior30 keycode 52 = 4 dollar31 keycode 53 = 5 percent32 keycode 54 = 6 ampersand33 keycode 55 = 7 slash braceleft34 keycode 56 = 8 parenleft bracketleft35 keycode 57 = 9 parenright bracketright36 keycode 65 = a A37 keycode 66 = b B39 keycode 68 = d D40 keycode 69 = e E EuroSign41 keycode 70 = f F4243 keycode 71 = g G44 keycode 72 = h H45 keycode 73 = i I46 keycode 74 = j J47 keycode 75 = k K48 keycode 76 = l L49 keycode 77 = m M mu50 keycode 78 = n N51 keycode 79 = o O52 keycode 80 = p P53 keycode 81 = q Q at54 keycode 82 = r R55 keycode 83 = s S56 keycode 84 = t T57 keycode 85 = u U58 keycode 86 = v V59 keycode 87 = w W61 keycode 89 = y Y62 keycode 90 = z Z63 keycode 96 = KP_0 KP_064 keycode 97 = KP_1 KP_165 keycode 98 = KP_2 KP_266 keycode 99 = KP_3 KP_367 keycode 100 = KP_4 KP_468 keycode 101 = KP_5 KP_569 keycode 102 = KP_6 KP_670 keycode 103 = KP_7 KP_771 keycode 104 = KP_8 KP_872 keycode 105 = KP_9 KP_973 keycode 106 = KP_Multiply KP_Multiply74 keycode 107 = KP_Add KP_Add7576 keycode 108 = KP_Separator KP_Separator77 keycode 109 = KP_Subtract KP_Subtract78 keycode 110 = KP_Decimal KP_Decimal79 keycode 111 = KP_Divide KP_Divide80 keycode 112 = F181 keycode 113 = F283 keycode 115 = F4848586 keycode 116 = F587 keycode 117 = F688 keycode 118 = F789 keycode 119 = F890 keycode 120 = F991 keycode 121 = F1092 keycode 122 = F1193 keycode 123 = F1294 keycode 124 = F1395 keycode 125 = F1496 keycode 126 = F1597 keycode 127 = F1698 keycode 128 = F1799 keycode 129 = F18 100 keycode 130 = F19 101 keycode 131 = F20 102 keycode 132 = F21 103 keycode 133 = F22104 keycode 134 = F23105 keycode 135 = F24106 keycode 136 = Num_Lock107 keycode 137 = Scroll_Lock108 keycode 187 = acute grave109 keycode 188 = comma semicolon110 keycode 189 = minus underscore111 keycode 190 = period colon112 keycode 192 = numbersign apostrophe113 keycode 210 = plusminus hyphen macron114 keycode 211 =115 keycode 212 = copyright registered116 keycode 213 = guillemotleft guillemotright117 keycode 214 = masculine ordfeminine118 keycode 215 = ae AE119 keycode 216 = cent yen120 keycode 217 = questiondown exclamdown121 keycode 218 = onequarter onehalf threequarters 122 keycode 220 = less greater bar123 keycode 221 = plus asterisk asciitilde124 keycode 227 = multiply division125126 keycode 228 = acircumflex Acircumflex 127 keycode 229 = ecircumflex Ecircumflex 128 keycode 230 = icircumflex Icircumflex 129 keycode 231 = ocircumflex Ocircumflex 130 keycode 232 = ucircumflex Ucircumflex 131 keycode 233 = ntilde Ntilde132 keycode 234 = yacute Yacute133 keycode 235 = oslash Ooblique134 keycode 236 = aring Aring135 keycode 237 = ccedilla Ccedilla136 keycode 238 = thorn THORN137 keycode 239 = eth ETH138 keycode 240 = diaeresis cedilla currency 139 keycode 241 = agrave Agrave atilde Atilde 140 keycode 242 = egrave Egrave141 keycode 243 = igrave Igrave142 keycode 244 = ograve Ograve otilde Otilde 143 keycode 245 = ugrave Ugrave144 keycode 246 = adiaeresis Adiaeresis145 keycode 247 = ediaeresis Ediaeresis146 keycode 248 = idiaeresis Idiaeresis147 keycode 249 = odiaeresis Odiaeresis148 keycode 250 = udiaeresis Udiaeresis149 keycode 251 = ssharp question backslash150 keycode 252 = asciicircum degree151 keycode 253 = 3 sterling152 keycode 254 = Mode_switch153154 使用event对象的keyCode属性判断输入的键值155 eg:if(event.keyCode==13)alert(“enter!”); 156 键值对应表157 A0X65 U 0X85158 B0X66V0X86159 C0X67W0X87160 D0X68X 0X88161 E0X69Y0X89162 F0X70Z0X90163 G0X7100X48164 H0X7210X49165 I 0X7320X50166 J 0X74 3 0X51167 K0X75 4 0X52168 L0X76 5 0X53169 M0X7760X54170 N0X78 7 0X55171 O0X79 8 0X56172 P0X80 9 0X57173 Q0X81ESC0X1B174 R0X82CTRL 0X11175 S0X83SHIFT0X10176 T0X84ENTER0XD177178如果要使用组合键,则可以利用event.ctrlKey,event.shiftKey,event .altKey判断是否按下了ctrl键、shift 键以及alt键转自:经典文章网() - 详文链接:/zonghe/biancheng/65.html用VB编写键盘任意组合键(包括2、3、4键组合)在一些程序中,有一些快捷方式(如:Shift键最小化、ESC键退出、Ctrl+S存盘、Alt+x退出等等)。

(整理)键盘对应数字-keycode值大全

(整理)键盘对应数字-keycode值大全

键盘对应数字-keycode值大event.keycode值大全 1 keycode 8 = BackSpace BackSpace 2 keycode 9 = Tab Tab 3 keycode 12 = Clear 4 keycode 13 = Enter 5 keycode 16 = Shift_L 6 keycode 17 = Control_L 7 keycode 18 = Alt_L 8 keycode 19 = Pause 9 keycode 20 = Caps_Lock 10 keyevent.keycode值大全1 keycode 8 = BackSpace BackSpace2 keycode 9 = Tab Tab3 keycode 12 = Clear4 keycode 13 = Enter5 keycode 16 = Shift_L6 keycode 17 = Control_L7 keycode 18 = Alt_L8 keycode 19 = Pause9 keycode 20 = Caps_Lock10 keycode 27 = Escape Escape11 keycode 32 = space space12 keycode 33 = Prior13 keycode 34 = Next14 keycode 35 = End15 keycode 36 = Home17 keycode 38 = Up18 keycode 39 = Right19 keycode 40 = Down20 keycode 41 = Select21 keycode 42 = Print22 keycode 43 = Execute23 keycode 45 = Insert24 keycode 46 = Delete25 keycode 47 = Help26 keycode 48 = 0 equal braceright27 keycode 49 = 1 exclam onesuperior28 keycode 50 = 2 quotedbl twosuperior29 keycode 51 = 3 section threesuperior30 keycode 52 = 4 dollar31 keycode 53 = 5 percent32 keycode 54 = 6 ampersand33 keycode 55 = 7 slash braceleft34 keycode 56 = 8 parenleft bracketleft35 keycode 57 = 9 parenright bracketright36 keycode 65 = a A37 keycode 66 = b B39 keycode 68 = d D40 keycode 69 = e E EuroSign41 keycode 70 = f F4243 keycode 71 = g G44 keycode 72 = h H45 keycode 73 = i I46 keycode 74 = j J47 keycode 75 = k K48 keycode 76 = l L49 keycode 77 = m M mu50 keycode 78 = n N51 keycode 79 = o O52 keycode 80 = p P53 keycode 81 = q Q at54 keycode 82 = r R55 keycode 83 = s S56 keycode 84 = t T57 keycode 85 = u U58 keycode 86 = v V59 keycode 87 = w W61 keycode 89 = y Y62 keycode 90 = z Z63 keycode 96 = KP_0 KP_064 keycode 97 = KP_1 KP_165 keycode 98 = KP_2 KP_266 keycode 99 = KP_3 KP_367 keycode 100 = KP_4 KP_468 keycode 101 = KP_5 KP_569 keycode 102 = KP_6 KP_670 keycode 103 = KP_7 KP_771 keycode 104 = KP_8 KP_872 keycode 105 = KP_9 KP_973 keycode 106 = KP_Multiply KP_Multiply74 keycode 107 = KP_Add KP_Add7576 keycode 108 = KP_Separator KP_Separator77 keycode 109 = KP_Subtract KP_Subtract78 keycode 110 = KP_Decimal KP_Decimal79 keycode 111 = KP_Divide KP_Divide80 keycode 112 = F181 keycode 113 = F283 keycode 115 = F4848586 keycode 116 = F587 keycode 117 = F688 keycode 118 = F789 keycode 119 = F890 keycode 120 = F991 keycode 121 = F1092 keycode 122 = F1193 keycode 123 = F1294 keycode 124 = F1395 keycode 125 = F1496 keycode 126 = F1597 keycode 127 = F1698 keycode 128 = F1799 keycode 129 = F18 100 keycode 130 = F19 101 keycode 131 = F20 102 keycode 132 = F21 103 keycode 133 = F22104 keycode 134 = F23105 keycode 135 = F24106 keycode 136 = Num_Lock107 keycode 137 = Scroll_Lock108 keycode 187 = acute grave109 keycode 188 = comma semicolon110 keycode 189 = minus underscore111 keycode 190 = period colon112 keycode 192 = numbersign apostrophe113 keycode 210 = plusminus hyphen macron114 keycode 211 =115 keycode 212 = copyright registered116 keycode 213 = guillemotleft guillemotright117 keycode 214 = masculine ordfeminine118 keycode 215 = ae AE119 keycode 216 = cent yen120 keycode 217 = questiondown exclamdown121 keycode 218 = onequarter onehalf threequarters 122 keycode 220 = less greater bar123 keycode 221 = plus asterisk asciitilde124 keycode 227 = multiply division125126 keycode 228 = acircumflex Acircumflex 127 keycode 229 = ecircumflex Ecircumflex 128 keycode 230 = icircumflex Icircumflex 129 keycode 231 = ocircumflex Ocircumflex 130 keycode 232 = ucircumflex Ucircumflex 131 keycode 233 = ntilde Ntilde132 keycode 234 = yacute Yacute133 keycode 235 = oslash Ooblique134 keycode 236 = aring Aring135 keycode 237 = ccedilla Ccedilla136 keycode 238 = thorn THORN137 keycode 239 = eth ETH138 keycode 240 = diaeresis cedilla currency 139 keycode 241 = agrave Agrave atilde Atilde 140 keycode 242 = egrave Egrave141 keycode 243 = igrave Igrave142 keycode 244 = ograve Ograve otilde Otilde 143 keycode 245 = ugrave Ugrave144 keycode 246 = adiaeresis Adiaeresis145 keycode 247 = ediaeresis Ediaeresis146 keycode 248 = idiaeresis Idiaeresis147 keycode 249 = odiaeresis Odiaeresis148 keycode 250 = udiaeresis Udiaeresis149 keycode 251 = ssharp question backslash150 keycode 252 = asciicircum degree151 keycode 253 = 3 sterling152 keycode 254 = Mode_switch153154 使用event对象的keyCode属性判断输入的键值155 eg:if(event.keyCode==13)alert(“enter!”); 156 键值对应表157 A0X65 U 0X85158 B0X66V0X86159 C0X67W0X87160 D0X68X 0X88161 E0X69Y0X89162 F0X70Z0X90163 G0X7100X48164 H0X7210X49165 I 0X7320X50166 J 0X74 3 0X51167 K0X75 4 0X52168 L0X76 5 0X53169 M0X7760X54170 N0X78 7 0X55171 O0X79 8 0X56172 P0X80 9 0X57173 Q0X81ESC0X1B174 R0X82CTRL 0X11175 S0X83SHIFT0X10176 T0X84ENTER0XD177178如果要使用组合键,则可以利用event.ctrlKey,event.shiftKey,event .altKey判断是否按下了ctrl键、shift 键以及alt键转自:经典文章网() - 详文链接:/zonghe/biancheng/65.html用VB编写键盘任意组合键(包括2、3、4键组合)在一些程序中,有一些快捷方式(如:Shift键最小化、ESC键退出、Ctrl+S存盘、Alt+x退出等等)。

Android Kecode对照表

Android Kecode对照表

KEYCODE_SPACE
空格键
小键盘
KEYCODE_NUMPAD_0 KEYCODE_NUMPAD_1 KEYCODE_NUMPAD_2 KEYCODE_NUMPAD_3 KEYCODE_NUMPAD_4 KEYCODE_NUMPAD_5 KEYCODE_NUMPAD_6 KEYCODE_NUMPAD_7 KEYCODE_NUMPAD_8 KEYCODE_NUMPAD_9 KEYCODE_NUMPAD_ADD KEYCODE_NUMPAD_SUBTRACT KEYCODE_NUMPAD_MULTIPLY KEYCODE_NUMPAD_DIVIDE KEYCODE_NUMPAD_EQUALS KEYCODE_NUMPAD_COMMA KEYCODE_NUMPAD_DOT KEYCODE_NUMPAD_LEFT_PAREN KEYCODE_NUMPAD_RIGHT_PAREN KEYCODE_NUMPAD_ENTER 小键盘按键'0' 小键盘按键'1' 小键盘按键'2' 小键盘按键'3' 小键盘按键'4' 小键盘按键'5' 小键盘按键'6' 小键盘按键'7' 小键盘按键'8' 小键盘按键'9' 小键盘按键'+' 小键盘按键'-' 小键盘按键'*' 小键盘按键'/' 小键盘按键'=' 小键盘按键',' 小键盘按键'.' 小键盘按键'(' 小键盘按键')' 小键盘按键回车
按键'5' 按键'6' 按键'7' 按键'8' 按键'9' 按键'A' 按键'B' 按键'C' 按键'D' 按键'E' 按键'F' 按键'G' 按键'H' 按键'I' 按键'J' 按键'K' 按键'L' 按键'M' 按键'N' 按键'O' 按键'P' 按键'Q' 按键'R' 按键'S' 按键'T' 按键'U' 按键'V' 按键'W' 按键'X' 按键'Y' 按键'Z'

键盘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 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 121 = F10 keycode 122 = F11 keycode 123 = F12 keycode 124 = F13 keycode 125 = F14 keycode 126 = F15 keycode 127 = F16 keycode 128 = F17 keycode 129 = F18 keycode 130 = F19 keycode 131 = F20 keycode 132 = F21 keycode 133 = F22 keycode 134 = F23 keycode 135 = F24 keycode 136 = Num_Lock keycode 137 = Scroll_Lock keycode 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 183 =keycode 184 =keycode 185 =keycode 186 =keycode 187 = acute gravekeycode 188 = comma semicolonkeycode 189 = minus underscorekeycode 190 = period colonkeycode 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 currencykeycode 245 = ugrave Ugravekeycode 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 sterlingkeycode 254 = Mode_switch。

Javascript keyCode 键盘键及鼠标值表大全

Javascript keyCode 键盘键及鼠标值表大全
Javascript keyCode 键盘键及鼠标值表大全 0 keycode 1 鼠标左键 0 keycode 2 鼠标右键 0 keycode 3 CANCEL 键 0 keycode 4 鼠标中键 keycode 0 = keycode 1 = keycode 2 = keycode 3 = keycode 4 = keycode 5 = keycode 6 = keycode 7 = keycode 8 = BackSpace BackSpace keycode 9 = Tab Tab keycode 10 = keycode 11 = keycode 12 = Clear keycode 13 = Enter keycode 14 = keycode 15 = keycode 16 = Shift_L keycode 17 = Control_L keycode 18 = Alt_L keycode 19 = Pause keycode 20 = Caps_Lock keycode 21 = keycode 22 = keycode 23 = keycode 24 = keycode 25 = keycode 26 = keycode 27 = Escape Escape keycode 28 = keycode 29 = keycode 30 = keycode 31 = keycode 32 = space space keycode 33 = Prior keycode 34 = Next keycode 35 = End keycode 36 = Home keycode 37 = Left keycode 38 = Up
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 对象的 keyCode 属性判断输入的键值 eg:if(event.keyCode==13)alert("enter!"); 键值对应表 A 0X65 U 0X85 B 0X66 V 0X86 C 0X67 W 0X87 D 0X68 X 0X88 E 0X69 Y 0X89 F 0X70 Z 0X90 G 0X71 0 0X48 H 0X72 1 0X49 I 0X73 2 0X50 J 0X74 3 0X51 K 0X75 4 0X52 L 0X76 5 0X53 M 0X77 6 0X54 N 0X78 7 0X55 O 0X79 8 0X56 P 0X80 9 0X57 Q 0X81 ESC 0X1B R 0X82 CTRL 0X11 S 0X83 SHIFT 0X10 T 0X84 ENTER 0XD 如果要使用组合 键,则可以利用 event.ctrlKey,event.shiftKey,event .altKey 判断 是否按下了 ctrl 键、 shift 键以 及 alt 键

键盘按键keyCode大全,js页面快捷键

键盘按键keyCode大全,js页面快捷键

键码
8 9 12 13 16 17 18 20
控 制 键 键 码 值 (keyCode)
按键
键码
按键
Esc
27
Right Arrow
Spacebar
32
Down Arrow
Page Up
33
Insert
Page Down
34
Delete
End
35
Num Lock
Home
36
;:
Left Arrow
37
博客园 用户登录 代码改变世界 密码登录 短信登录 忘记登录用户名 忘记密码 记住我 登录 第三方登录/注册 没有账户, 立即注册
键盘按键 keyCode大全 ,js页面快捷键
字 母 和 数 字 键 的 键 码 值 (keyCode)
按键
键码
按键
键码
按键
键码
按键
键码
A
65
J
74
S
83
1
49
B
66
K
75
=+
Up A
键码
39 40 45 46 144 186 187
按键
-_ .> /? `~ [{ /| ]}
键码
189 190 191 192 219 220 221
另附上一段代码
1 //页面初始化函数
2 $(function() {
3 //设置快捷键
4 $('body').keyup(function() {
5
// 先判断焦点是不是在文本框中或者下拉框
6
if (document.activeElement.localName != "input" && document.activeElement.localName != "select" ) {
  1. 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
  2. 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
  3. 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。

keycode keycode keycode keycode keycode keycode keycode keycode keycode keycode keycode keycode keycode keycode keycode keycode keycode keycode keycode keycode keycode keycode keycode keycode keycode keycode keycode keycode keycode keycode keycode keycode keycode keycode keycode keycode keycode keycode keycode keycode keycode keycode keycode keycode
plusminus hyphen macron copyright registered guillemotleft guillemotright masculine ordfeminine ae AE
keycode keycode keycode keycode keycode keycode keycode keycode keycode keycode keycode keycode keycode keycode keycode keycode keycode keycode keycode keycode keycode keycode keycode
= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
acute grave comma semicolon minus underscore period colon numbersign apostrophe
171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215
a b c d e f g h i j k l m n o p q r
A B C D E EuroSign F G H I J K L M mu N O P Q at R
keycode keycode keycode keycode keycode keycode keycode keycode keycode keycode keycode keycode keycode keycode keycode keycode keycode keycode keycode keycode keycode keycode keycode keycode keycode keycode keycode keycode keycode keycode keycode keycode keycode keycode keycode keycode keycode keycode keycode keycode keycode keycode keycode keycode keycode
39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82
= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
83 = s S 84 = t T 85 = u U 86 = v V 87 = w W 88 = x X 89 = y Y 90 = z Z 91 = 92 = 93 = 94 = 95 = 96 = KP_0 KP_0 97 = KP_1 KP_1 98 = KP_2 KP_2 99 = KP_3 KP_3 100 = KP_4 KP_4 101 = KP_5 KP_5 102 = KP_6 KP_6 103 = KP_7 KP_7 104 = KP_8 KP_8 105 = KP_9 KP_9 106 = KP_Multiply KP_Multiply 107 = KP_Add KP_Add 108 = KP_Separator KP_Separator 109 = KP_Subtract KP_Subtract 110 = KP_Decimal KP_Decimal 111 = KP_Divide KP_Divide 112 = F1 113 = F2 114 = F3 115 = F4 116 = F5 117 = F6 118 = F7 119 = F8 120 = F9 121 = F10 122 = F11 123 = F12 124 = F13 125 = F14 126 = F15 127 = F16
127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171
keycode keycode keycode keycode keycode keycode keycode keycode keycode keycode keycode keycode keycode keycode keycode keycode keycode keycode keycode keycode keycode keycode keycode keycode keycode keycode keycode keycode keycode keycode keycode keycode keycode keycode keycode keycode keycode keycode keycode keycode keycode keycode keycode keycode keycode
215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237
= = = = = = = = = = = = = = = = = = = = = = =
ae AE cent yen questiondown exclamdown onequarter onehalf threequarters less greater bar plus asterisk asciitilde
keycode 在键盘上每一个按键对应的码 keycode如下 : keycode 0 = keycode 1 = keycode 2 = keycode 3 = keycode 4 = keycode 5 = keycode 6 = keycode 7 = keycode 8 = BackSpace BackSpace keycode 9 = Tab Tab keycode 10 = keycode 11 = keycode 12 = Clear keycode 13 = Enter keycode 14 = keycode 15 = keycode 16 = Shift_L keycode 17 = Control_L keycode 18 = Alt_L keycode 19 = Pause keycode 20 = Caps_Lock keycode 21 = keycode 22 = keycode 23 = keycode 24 = keycode 25 = keycode 26 = keycode 27 = Escape Escape keycode 28 = keycode 29 = keycode 30 = keycode 31 = keycode 32 = space space keycode 33 = Prior keycode 34 = Next keycode 35 = End keycode 36 = Home keycode 37 = Left keycode 38 = Up
Right Down Select Print Execute Insert Delete Help 0 equal braceright 1 exclam onesuperior 2 quotedbl twosuperior 3 section threesuperior 4 dollar 5 percent 6 ampersand 7 slash braceleft 8 parenleft bracketleft 9 parenright bracke acircumflex Acircumflex ecircumflex Ecircumflex icircumflex Icircumflex ocircumflex Ocircumflex ucircumflex Ucircumflex ntilde Ntilde yacute Yacute oslash Ooblique aring Aring ccedilla Ccedilla
= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
F16 F17 F18 F19 F20 F21 F22 F23 F24 Num_Lock Scroll_Lock
keycode keycode keycode keycode keycode keycode keycode keycode keycode keycode keycode keycode keycode keycode keycode keycode keycode keycode keycode keycode keycode keycode keycode keycode keycode keycode keycode keycode keycode keycode keycode keycode keycode keycode keycode keycode keycode keycode keycode keycode keycode keycode keycode keycode keycode
相关文档
最新文档