universal serial bus hid usage tables

Universal Serial Bus HID Usage Tables
10 Keyboard/Keypad Page (0x07)
Usage ID
(Dec)
Usage ID
(Hex)
Usage Name Ref: Typical AT-101
Position
PC AT Mac UNIX BOOT
0 0 Reserved (no event indicated)9 N/A Ö Ö Ö 4/101/104
1 1 Keyboard ErrorRollOver9 N/A Ö Ö Ö 4/101/104
2 2 Keyboard POSTFail9 N/A Ö Ö Ö 4/101/104
3 3 Keyboard ErrorUndefined9 N/A Ö Ö Ö 4/101/104
4 4 Keyboard a and A4 31 Ö Ö Ö 4/101/104
5 5 Keyboard b and B 50 Ö Ö Ö 4/101/104
6 6 Keyboard c and C4 48 Ö Ö Ö 4/101/104
7 7 Keyboard d and D 33 Ö Ö Ö 4/101/104
8 8 Keyboard e and E 19 Ö Ö Ö 4/101/104
9 9 Keyboard f and F 34 Ö Ö Ö 4/101/104
10 0A Keyboard g and G 35 Ö Ö Ö 4/101/104
11 0B Keyboard h and H 36 Ö Ö Ö 4/101/104
12 0C Keyboard i and I 24 Ö Ö Ö 4/101/104
13 0D Keyboard j and J 37 Ö Ö Ö 4/101/104
14 0E Keyboard k and K 38 Ö Ö Ö 4/101/104
15 0F Keyboard l and L 39 Ö Ö Ö 4/101/104
16 10 Keyboard m and M4 52 Ö Ö Ö 4/101/104
17 11 Keyboard n and N 51 Ö Ö Ö 4/101/104
18 12 Keyboard o and O4 25 Ö Ö Ö 4/101/104
19 13 Keyboard p and P4 26 Ö Ö Ö 4/101/104
20 14 Keyboard q and Q4 17 Ö Ö Ö 4/101/104
21 15 Keyboard r and R 20 Ö Ö Ö 4/101/104
22 16 Keyboard s and S4 32 Ö Ö Ö 4/101/104
23 17 Keyboard t and T 21 Ö Ö Ö 4/101/104
24 18 Keyboard u and U 23 Ö Ö Ö 4/101/104
25 19 Keyboard v and V 49 Ö Ö Ö 4/101/104
26 1A Keyboard w and W4 18 Ö Ö Ö 4/101/104
27 1B Keyboard x and X4 47 Ö Ö Ö 4/101/104
28 1C Keyboard y and Y4 22 Ö Ö Ö 4/101/104
29 1D Keyboard z and Z4 46 Ö Ö Ö 4/101/104
30 1E Keyboard 1 and !4 2 Ö Ö Ö 4/101/104
31 1F Keyboard 2 and @4 3 Ö Ö Ö 4/101/104
32 20 Keyboard 3 and #4 4 Ö Ö Ö 4/101/104
33 21 Keyboard 4 and $4 5 Ö Ö Ö 4/101/104
34 22 Keyboard 5 and %4 6 Ö Ö Ö 4/101/104
35 23 Keyboard 6 and ^4 7 Ö Ö Ö 4/101/104
36 24 Keyboard 7 and &4 8 Ö Ö Ö 4/101/104
37 25 Keyboard 8 and *4 9 Ö Ö Ö 4/101/104
38 26 Keyboard 9 and (4 10 Ö Ö Ö 4/101/104
39 27 Keyboard 0 and )4 11 Ö Ö Ö 4/101/104
40 28 Keyboard Return (ENTER)5 43 Ö Ö Ö 4/101/104
41 29 Keyboard ESCAPE 110 Ö Ö Ö 4/101/104
Usage ID
(Dec)
Usage ID
(Hex)
Usage Name Ref: Typical AT-101
Position
PC AT Mac UNIX BOOT
42 2A Keyboard DELETE (Backspace)13 15 Ö Ö Ö 4/101/104
43 2B Keyboard Tab 16 Ö Ö Ö 4/101/104
44 2C Keyboard Spacebar 61 Ö Ö Ö 4/101/104
45 2D Keyboard - and (underscore)4 12 Ö Ö Ö 4/101/104
46 2E Keyboard = and +4 13 Ö Ö Ö 4/101/104
47 2F Keyboard [ and {4 27 Ö Ö Ö 4/101/104
48 30 Keyboard ] and }4 28 Ö Ö Ö 4/101/104
49 31 Keyboard \ and | 29 Ö Ö Ö 4/101/104
50 32 Keyboard Non-US # and ~2 42 Ö Ö Ö 4/101/104
51 33 Keyboard ; and :4 40 Ö Ö Ö 4/101/104
52 34 Keyboard ‘ and “4 41 Ö Ö Ö 4/101/104
53 35 Keyboard Grave Accent and Tilde4 1 Ö Ö Ö 4/101/104
54 36 Keyboard, and <4 53 Ö Ö Ö 4/101/104
55 37 Keyboard . and >4 54 Ö Ö Ö 4/101/104
56 38 Keyboard / and ?4 55 Ö Ö Ö 4/101/104
57 39 Keyboard Caps Lock11 30 Ö Ö Ö 4/101/104
58 3A Keyboard F1 112 Ö Ö Ö 4/101/104
59 3B Keyboard F2 113 Ö Ö Ö 4/101/104
60 3C Keyboard F3 114 Ö Ö Ö 4/101/104
61 3D Keyboard F4 115 Ö Ö Ö 4/101/104
62 3E Keyboard F5 116 Ö Ö Ö 4/101/104
63 3F Keyboard F6 117 Ö Ö Ö 4/101/104
64 40 Keyboard F7 118 Ö Ö Ö 4/101/104
65 41 Keyboard F8 119 Ö Ö Ö 4/101/104
66 42 Keyboard F9 120 Ö Ö Ö 4/101/104
67 43 Keyboard F10 121 Ö Ö Ö 4/101/104
68 44 Keyboard F11 122 Ö Ö Ö 101/104
69 45 Keyboard F12 123 Ö Ö Ö 101/104
70 46 Keyboard PrintScreen1 124 Ö Ö Ö 101/104
71 47 Keyboard Scroll Lock11 125 Ö Ö Ö 4/101/104
72 48 Keyboard Pause1 126 Ö Ö Ö 101/104
73 49 Keyboard Insert1 75 Ö Ö Ö 101/104
74 4A Keyboard Home1 80 Ö Ö Ö 101/104
75 4B Keyboard PageUp1 85 Ö Ö Ö 101/104
76 4C Keyboard Delete Forward1;14 76 Ö Ö Ö 101/104
77 4D Keyboard End1 81 Ö Ö Ö 101/104
78 4E Keyboard PageDown1 86 Ö Ö Ö 101/104
79 4F Keyboard RightArrow1 89 Ö Ö Ö 101/104
80 50 Keyboard LeftArrow1 79 Ö Ö Ö 101/104
81 51 Keyboard DownArrow1 84 Ö Ö Ö 101/104
82 52 Keyboard UpArrow1 83 Ö Ö Ö 101/104
83 53 Keypad Num Lock and Clear11 90 Ö Ö Ö 101/104
Usage ID
(Dec)
Usage ID
(Hex)
Usage Name Ref: Typical AT-101
Position
PC AT Mac UNIX BOOT
84 54 Keypad /1 95 Ö Ö Ö 101/104
85 55 Keypad * 100 Ö Ö Ö 4/101/104
86 56 Keypad - 105 Ö Ö Ö 4/101/104
87 57 Keypad + 106 Ö Ö Ö 4/101/104
88 58 Keypad ENTER5 108 Ö Ö Ö 101/104
89 59 Keypad 1 and End 93 Ö Ö Ö 4/101/104
90 5A Keypad 2 and Down Arrow 98 Ö Ö Ö 4/101/104
91 5B Keypad 3 and PageDn 103 Ö Ö Ö 4/101/104
92 5C Keypad 4 and Left Arrow 92 Ö Ö Ö 4/101/104
93 5D Keypad 5 97 Ö Ö Ö 4/101/104
94 5E Keypad 6 and Right Arrow 102 Ö Ö Ö 4/101/104
95 5F Keypad 7 and Home 91 Ö Ö Ö 4/101/104
96 60 Keypad 8 and Up Arrow 96 Ö Ö Ö 4/101/104
97 61 Keypad 9 and PageUp 101 Ö Ö Ö 4/101/104
98 62 Keypad 0 and Insert 99 Ö Ö Ö 4/101/104
99 63 Keypad . and Delete 104 Ö Ö Ö 4/101/104
100 64 Keyboard Non-US \ and |3;6 45 Ö Ö Ö 4/101/104
101 65 Keyboard Application10 129 Ö   Ö 104
102 66 Keyboard Power9     Ö Ö  
103 67 Keypad =     Ö    
104 68 Keyboard F13     Ö    
105 69 Keyboard F14     Ö    
106 6A Keyboard F15     Ö    
107 6B Keyboard F16          
108 6C Keyboard F17          
109 6D Keyboard F18          
110 6E Keyboard F19          
111 6F Keyboard F20          
112 70 Keyboard F21          
113 71 Keyboard F22          
114 72 Keyboard F23          
Usage ID
(Dec)
Usage ID
(Hex)
Usage Name Ref: Typical AT-101
Position
PC AT Mac UNIX BOOT
115 73 Keyboard F24          
116 74 Keyboard Execute       Ö  
117 75 Keyboard Help       Ö  
118 76 Keyboard Menu       Ö  
119 77 Keyboard Select       Ö  
120 78 Keyboard Stop       Ö  
121 79 Keyboard Again       Ö  
122 7A Keyboard Undo       Ö  
123 7B Keyboard Cut       Ö  
124 7C Keyboard Copy       Ö  
125 7D Keyboard Paste       Ö  
126 7E Keyboard Find       Ö  
127 7F Keyboard Mute       Ö  
128 80 Keyboard Volume Up       Ö  
129 81 Keyboard Volume Down       Ö  
130 82 Keyboard Locking Caps Lock12       Ö  
131 83 Keyboard Locking Num Lock12       Ö  
132 84 Keyboard Locking Scroll Lock12       Ö  
133 85 Keypad Comma27 107        
134 86 Keypad Equal Sign29          
135 87 Keyboard International115,28          
136 88 Keyboard International216          
137 89 Keyboard International317          
138 8A Keyboard International418          
139 8B Keyboard International519          
140 8C Keyboard International620          
141 8D Keyboard International721          
142 8E Keyboard International822          
143 8F Keyboard International922          
144 90 Keyboard LANG125          
145 91 Keyboard LANG226          
146 92 Keyboard LANG330          
147 93 Keyboard LANG431          
148 94 Keyboard LANG532          
149 95 Keyboard LANG68          
150 96 Keyboard LANG78          
151 97 Keyboard LANG88          
152 98 Keyboard LANG98          
153 99 Keyboard Alternate Erase7          
154 9A Keyboard SysReq/Attention1          
155 9B Keyboard Cancel          
156 9C Keyboard Clear          
157 9D Keyboard Prior          
158 9E Keyboard Return          
159 9F Keyboard Separator          
160 A0 Keyboard Out          
161 A1 Keyboard Oper          
162 A2 Keyboard Clear/Again          
163 A3 Keyboard CrSel/Props          
164 A4 Keyboard ExSel          
165-175 A5-CF Reserved          
Usage ID
(Dec)
Usage ID
(Hex)
Usage Name Ref: Typical AT-101
Position
PC AT Mac UNIX BOOT
176 B0 Keypad 00          
177 B1 Keypad 000          
178 B2 Thousands Separator 33          
179 B3 Decimal Separator 33          
180 B4 Currency Unit 34          
181 B5 Currency Sub-unit 34          
182 B6 Keypad (          
183 B7 Keypad )          
184 B8 Keypad {          
185 B9 Keypad }          
186 BA Keypad Tab          
187 BB Keypad Backspace          
188 BC Keypad A          
189 BD Keypad B          
190 BE Keypad C          
191 BF Keypad D          
192 C0 Keypad E          
193 C1 Keypad F          
194 C2 Keypad XOR          
195 C3 Keypad ^          
196 C4 Keypad %          
197 C5 Keypad <          
198 C6 Keypad >          
199 C7 Keypad &          
200 C8 Keypad &&          
201 C9 Keypad |          
202 CA Keypad ||          
203 CB Keypad :          
204 CC Keypad #          
205 CD Keypad Space          
206 CE Keypad @          
207 CF Keypad !          
208 D0 Keypad Memory Store          
209 D1 Keypad Memory Recall          
210 D2 Keypad Memory Clear          
211 D3 Keypad Memory Add          
212 D4 Keypad Memory Subtract          
213 D5 Keypad Memory Multiply          
214 D6 Keypad Memory Divide          
215 D7 Keypad +/-          
216 D8 Keypad Clear          
217 D9 Keypad Clear Entry          
218 DA Keypad Binary          
219 DB Keypad Octal          
220 DC Keypad Decimal          
221 DD Keypad Hexadecimal          
222-223 DE-DF Reserved          
224 E0 Keyboard LeftControl 58 Ö Ö Ö  4/101/104
225 E1 Keyboard LeftShift 44 Ö Ö Ö  4/101/104
226 E2 Keyboard LeftAlt 60 Ö Ö Ö  4/101/104
227 E3 Keyboard Left GUI10;23 127 Ö Ö Ö  104
228 E4 Keyboard RightControl 64 Ö Ö Ö  101/104
229 E5 Keyboard RightShift 57 Ö Ö Ö  4/101/104
230 E6 Keyboard RightAlt 62 Ö Ö Ö  101/104
231 E7 Keyboard Right GUI10;24 128 Ö Ö Ö  104
232-65535 E8-FFFF Reserved          

 Footnotes 1-15, 20-34
1 Usage of keys is not modified by the state of the Control, Alt, Shift or Num Lock keys. That is, a key does not send extra
codes to compensate for the state of any Control, Alt, Shift or Num Lock keys.
2 Typical language mappings: US: \| Belg: μ`£ FrCa: <}> Dan:’* Dutch: <> Fren:*μ Ger: #’ Ital: ù§ LatAm: }`] Nor:,*
Span: }Ç Swed: ,* Swiss: $£ UK: #~.
3 Typical language mappings: Belg:<\> FrCa:«°» Dan:<\> Dutch:]|[ Fren:<> Ger:<|> Ital:<> LatAm:<> Nor:<> Span:<>
Swed:<|> Swiss:<\> UK:\| Brazil: \|.
4 Typically remapped for other languages in the host system.
5 Keyboard Enter and Keypad Enter generate different Usage codes.
6 Typically near the Left-Shift key in AT-102 implementations.
7 Example, Erase-Eaze™ key.
8 Reserved for language-specific functions, such as Front End Processors and Input Method Editors.
9 Reserved for typical keyboard status or keyboard errors. Sent as a member of the keyboard array. Not a physical key.
10 Windows key for Windows 95, and “Compose.”
11 Implemented as a non-locking key; sent as member of an array.
12 Implemented as a locking key; sent as a toggle button. Available for legacy support; however, most systems should use the
non-locking version of this key.
13 Backs up the cursor one position, deleting a character as it goes.
14 Deletes one character without changing position.
15-20 See additional foot notes below.
21 Toggle Double-Byte/Single-Byte mode.
22 Undefined, available for other Front End Language Processors.
23 Windowing environment key, examples are Microsoft Left Win key, Mac Left Apple key, Sun Left Meta key
24 Windowing environment key, examples are Microsoft® RIGHT WIN key, Macintosh® RIGHT APPLE key, Sun® RIGHT
META key.
25 Hangul/English toggle key. This usage is used as an input method editor control key on a Korean language keyboard.
26 Hanja conversion key. This usage is used as an input method editor control key on a Korean language keyboard.
27 Keypad Comma is the appropriate usage for the Brazilian keypad period (.) key. This represents the closest possible
match, and system software should do the correct mapping based on the current locale setting.
28 Keyboard International1 should be identified via footnote as the appropriate usage for the Brazilian forward-slash (/) and
question-mark (?) key. This usage should also be renamed to either "Keyboard Non-US / and ?" or to "Keyboard
International1" now that it's become clear that it does not only apply to Kanji keyboards anymore.

29 Used on AS/400 keyboards.
30 Defines the Katakana key for Japanese USB word-processing keyboards.
31 Defines the Hiragana key for Japanese USB word-processing keyboards.
32 Usage 0x94 (Keyboard LANG5) "Defines the Zenkaku/Hankaku key for Japanese USB word-processing keyboards.
33 The symbol displayed will depend on the current locale settings of the operating system. For example, the US thousands
separator would be a comma, and the decimal separator would be a period.
34 The symbol displayed will depend on the current locale settings of the operating system. For example the US currency
unit would be $ and the sub-unit would be ¢. 

相关文章: