2 * Copyright 2004-2010, Haiku Inc. All Rights Reserved.
3 * Distributed under the terms of the MIT License.
5 #ifndef _USB_HID_PAGE_KEYBOARD_H
6 #define _USB_HID_PAGE_KEYBOARD_H
10 * HID Usage Page 0x07: KEYBOARD
11 * HID Usage Tables Ver. 1.12
12 * http://www.usb.org/developers/devclass_docs/Hut1_12.pdf
17 B_HID_UID_KB_ERROR_ROLL_OVER
= 0x01,
18 B_HID_UID_KB_POST_FAIL
,
19 B_HID_UID_KB_ERROR_UNDEFINED
,
21 B_HID_UID_KB_a_AND_A
= 0x04,
48 B_HID_UID_KB_1_AND_EXCLAMATION_MARK
= 0x1e,
49 B_HID_UID_KB_2_AND_AT
,
50 B_HID_UID_KB_3_AND_HASH
,
51 B_HID_UID_KB_4_AND_DOLLAR
,
52 B_HID_UID_KB_5_AND_PERCENT
,
53 B_HID_UID_KB_6_AND_CIRCUMFLEX
,
54 B_HID_UID_KB_7_AND_AMPERSAND
,
55 B_HID_UID_KB_8_AND_ASTERISK
,
56 B_HID_UID_KB_9_AND_LPAREN
,
57 B_HID_UID_KB_0_AND_RPAREN
,
59 B_HID_UID_KB_ENTER
= 0x28,
63 B_HID_UID_KB_SPACEBAR
,
64 B_HID_UID_KB_DASH_AND_UNDERSCORE
,
65 B_HID_UID_KB_EQUAL_SIGN_AND_PLUS
,
66 B_HID_UID_KB_LBRACKET_AND_LBRACE
,
67 B_HID_UID_KB_RBRACKET_AND_RBRACE
,
68 B_HID_UID_KB_BACKSLASH_AND_PIPE
,
69 B_HID_UID_KB_NON_US_HASH_AND_TILDE
, // some notes
70 B_HID_UID_KB_SEMICOLON_AND_COLON
,
71 B_HID_UID_KB_APOSTROPHE_AND_QUOTATION_MARK
,
72 B_HID_UID_KB_GRAVE_ACCENT_AND_TILDE
,
73 B_HID_UID_KB_COMMA_AND_LCHEVRON
,
74 B_HID_UID_KB_PERIOD_AND_RCHEVRON
,
75 B_HID_UID_KB_SLASH_AND_QUESTION_MARK
,
76 B_HID_UID_KB_CAPS_LOCK
,
78 B_HID_UID_KB_F1
= 0x3a,
91 B_HID_UID_KB_PRINT_SCREEN
= 0x46,
92 B_HID_UID_KB_SCROLL_LOCK
,
97 B_HID_UID_KB_DELETE_FORWARD
,
99 B_HID_UID_KB_PAGE_DOWN
,
100 B_HID_UID_KB_RIGHT_ARROW
,
101 B_HID_UID_KB_LEFT_ARROW
,
102 B_HID_UID_KB_DOWN_ARROW
,
103 B_HID_UID_KB_UP_ARROW
,
104 B_HID_UID_KB_NUM_LOCK_AND_CLEAR
,
106 B_HID_UID_KP_DIVIDE
= 0x54,
107 B_HID_UID_KP_MULTIPLY
,
108 B_HID_UID_KP_SUBTRACT
,
111 B_HID_UID_KP_1_AND_END
,
112 B_HID_UID_KP_2_AND_DOWN_ARROW
,
113 B_HID_UID_KP_3_AND_PAGE_DOWN
,
114 B_HID_UID_KP_4_AND_LEFT_ARROW
,
116 B_HID_UID_KP_6_AND_RIGHT_ARROW
,
117 B_HID_UID_KP_7_AND_HOME
,
118 B_HID_UID_KP_8_AND_UP_ARROW
,
119 B_HID_UID_KP_9_AND_PAGE_UP
,
120 B_HID_UID_KP_0_AND_INSERT
,
121 B_HID_UID_KP_PERIOD_AND_DELETE
,
123 B_HID_UID_KB_NON_US_BACKSLASH_AND_PIPE
= 0x64,
124 B_HID_UID_KB_APPLICATION
,
127 B_HID_UID_KP_EQUAL_SIGN
= 0x67,
141 B_HID_UID_KB_EXECUTE
= 0x74,
153 B_HID_UID_KB_VOLUME_UP
,
154 B_HID_UID_KB_VOLUME_DOWN
,
155 B_HID_UID_KB_LOCKING_CAPS_LOCK
,
156 B_HID_UID_KB_LOCKING_NUM_LOCK
,
157 B_HID_UID_KB_LOCKING_SCROLL_LOCK
,
159 B_HID_UID_KP_COMMA
= 0x85,
160 B_HID_UID_KB_EQUAL_SIGN
,
162 B_HID_UID_KB_INTERNATIONAL_1
= 0x87,
163 B_HID_UID_KB_INTERNATIONAL_2
,
164 B_HID_UID_KB_INTERNATIONAL_3
,
165 B_HID_UID_KB_INTERNATIONAL_4
,
166 B_HID_UID_KB_INTERNATIONAL_5
,
167 B_HID_UID_KB_INTERNATIONAL_6
,
168 B_HID_UID_KB_INTERNATIONAL_7
,
169 B_HID_UID_KB_INTERNATIONAL_8
,
171 B_HID_UID_KB_LANG_1
= 0x90,
181 B_HID_UID_KB_ALTERNATE_ERASE
= 0x99,
182 B_HID_UID_KB_SYSREQ_ATTENTION
,
187 B_HID_UID_KB_SEPARATOR
,
190 B_HID_UID_KB_CLEAR_AGAIN
,
191 B_HID_UID_KB_CRSEL_PROPS
,
194 B_HID_UID_KB_00
= 0xb0,
196 B_HID_UID_KB_THOUSANDS_SEPARATOR
,
197 B_HID_UID_KB_DECIMAL_SEPARATOR
,
198 B_HID_UID_KB_CURRENCY_UNIT
,
199 B_HID_UID_KB_CURRENCY_SUBUNIT
,
201 B_HID_UID_KP_LPAREN
= 0xb6,
206 B_HID_UID_KP_BACKSPACE
,
214 B_HID_UID_KP_CIRCUMFLEX
,
215 B_HID_UID_KP_PERCENT
,
216 B_HID_UID_KP_LCHEVRON
,
217 B_HID_UID_KP_RCHEVRON
,
218 B_HID_UID_KP_AMPERSAND
,
219 B_HID_UID_KP_AMPERSAND2
,
226 B_HID_UID_KP_EXCLAMATION_MARK
,
227 B_HID_UID_KP_MEMORY_STORE
,
228 B_HID_UID_KP_MEMORY_RECALL
,
229 B_HID_UID_KP_MEMORY_CLEAR
,
230 B_HID_UID_KP_MEMORY_ADD
,
231 B_HID_UID_KP_MEMORY_SUBTRACT
,
232 B_HID_UID_KP_MEMORY_MULTIPLY
,
233 B_HID_UID_KP_MEMORY_DIVIDE
,
234 B_HID_UID_KP_PLUS_MINUS
,
236 B_HID_UID_KP_CLEAR_ENTRY
,
239 B_HID_UID_KP_DECIMAL
,
240 B_HID_UID_KP_HEXADECIMAL
,
242 B_HID_UID_KB_LEFT_CONTROL
= 0xe0,
243 B_HID_UID_KB_LEFT_SHIFT
,
244 B_HID_UID_KB_LEFT_ALT
,
245 B_HID_UID_KB_LEFT_GUI
,
246 B_HID_UID_KB_RIGHT_CONTROL
,
247 B_HID_UID_KB_RIGHT_SHIFT
,
248 B_HID_UID_KB_RIGHT_ALT
,
249 B_HID_UID_KB_RIGHT_GUI
253 #endif // _USB_HID_PAGE_KEYBOARD_H