Keyboard key value table

Source: Internet
Author: User
Value description
0x1 left mouse button
0x2 right-click
0x3 cancel key
0x4 middle mouse buttons
0x8 backspace key
0x9 Tab key
0xc clear key
0xd enter
0x10 shift key
0x11 CTRL
0x12 menu key
0x13 pause key
0x14 Caps Lock key
0x1b ESC key
0x20 spacebar key
0x21 page up key
0x22 page down
0x23 end key
0x24 Home Key
0x25 left arrow key
0x26 up arrow key
0x27 right arrow key
0x28 down arrow key
0x29 select key
0x 2a Print Screen key
0x2b execute key
0x 2c Snapshot key
0x2d Insert key
0x2e delete key
0x 2f Help key
0x90 Num Lock key
The a-z key and a-Z letter have the same ASCII code:
Value description
65 Key
66 key B
67 C Key
68 d key
69 e key
70 f Key
71g Key
72 h key
73 I key
74 J key
75 K key
76 l Key
77 m Key
78 N key
79 o key
80 p key
81 Q key
82 r key
83 s key
84 t key
85 U key
86 V Key
87 W key
88 X key
89 y key
90 z key
The key 0 to 9 is the same as the ASCII code of the number 0-9:
Value description
48 0 keys
49 1 key
50 2 keys
51 3 key
52 4 keys
53 5 keys
54 6 keys
55 7 Keys
56 8 keys
57 9 Key
The following constants represent keys on the numeric keypad:
Value description
0x60 0 Key
0x61 1 key
0x62 2 keys
0x63 3 keys
0x64 4 Key
0x65 5 keys
0x66 6 keys
0x67 7 Keys
0x68 8 keys
0x69 9 Key
0x 6a Multiplication sign (*) Key
0x6b plus sign (+) Key
0x 6c Enter
0x6d minus sign (-) Key
0x6e decimal point (.) Key
0x 6f Division sign (/) Key
The following constants represent the function keys:
Value description
0x 70 f 1 key
0x 71 F 2 key
0x 72 f 3 key
0x 73 F 4 Key
0x 74 F 5 key
0x 75 F 6 keys
0x 76 F Key 7
0x 77 F 8 Key
0x 78 F 9 Key
0x 79 F 10 key
0x 7A F11 key
0x7b F12 key
0x 7c F13 key
0x7d F14 key
0x7e F15 key
0x 7f F16 key

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.