1 /***************************************************************************
3 * Open \______ \ ____ ____ | | _\_ |__ _______ ___
4 * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
5 * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
6 * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
10 * Copyright (C) 2009 by Tomer Shalev
12 * This program is free software; you can redistribute it and/or
13 * modify it under the terms of the GNU General Public License
14 * as published by the Free Software Foundation; either version 2
15 * of the License, or (at your option) any later version.
17 * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
18 * KIND, either express or implied.
20 ****************************************************************************/
21 #ifndef USB_HID_USAGE_TABLES_H
22 #define USB_HID_USAGE_TABLES_H
24 typedef enum usage_page
26 HID_USAGE_PAGE_UNDEFINED
= 0x00,
27 HID_USAGE_PAGE_GENERIC_DESKTOP_CONTROLS
= 0x01,
28 HID_USAGE_PAGE_SIMULATION_CONTROLS
= 0x02,
29 HID_USAGE_PAGE_VR_CONTROLS
= 0x03,
30 HID_USAGE_PAGE_SPORT_CONTROLS
= 0x04,
31 HID_USAGE_PAGE_GAME_CONTROLS
= 0x05,
32 HID_USAGE_PAGE_GENERIC_DEVICE_CONTROLS
= 0x06,
33 HID_USAGE_PAGE_KEYBOARD_KEYPAD
= 0x07,
34 HID_USAGE_PAGE_LEDS
= 0x08,
35 HID_USAGE_PAGE_BUTTON
= 0x09,
36 HID_USAGE_PAGE_ORDINAL
= 0x0A,
37 HID_USAGE_PAGE_TELEPHONY
= 0x0B,
38 HID_USAGE_PAGE_CONSUMER
= 0x0C,
39 HID_USAGE_PAGE_DIGITIZER
= 0x0D,
40 HID_USAGE_PAGE_PID_PAGE
= 0x0F,
41 HID_USAGE_PAGE_UNICODE
= 0x10,
42 HID_USAGE_PAGE_ALPHANUMERIC_DISPLAY
= 0x14,
43 HID_USAGE_PAGE_MEDICAL_INSTRUMENTS
= 0x40,
44 HID_USAGE_PAGE_BAR_CODE_SCANNER_PAGE
= 0x8C,
45 HID_USAGE_PAGE_SCALE_PAGE
= 0x8D,
46 HID_USAGE_PAGE_MAGNETIC_STRIPE_READING_DEVICES
= 0x8E,
47 HID_USAGE_PAGE_CAMERA_CONTROL_PAGE
= 0x90,
48 HID_USAGE_PAGE_ARCADE_PAGE
= 0x91,
51 /* Generic Desktop Page (0x01) */
52 #define HID_GENERIC_DESKTOP_UNDEFINED 0x00
53 #define HID_GENERIC_DESKTOP_POINTER 0x01
54 #define HID_GENERIC_DESKTOP_MOUSE 0x02
55 #define HID_GENERIC_DESKTOP_JOYSTICK 0x04
56 #define HID_GENERIC_DESKTOP_GAME_PAD 0x05
57 #define HID_GENERIC_DESKTOP_KEYBOARD 0x06
58 #define HID_GENERIC_DESKTOP_KEYPAD 0x07
59 #define HID_GENERIC_DESKTOP_MULTI_AXIS_CONTROLLER 0x08
60 #define HID_GENERIC_DESKTOP_TABLET_PC_SYSTEM_CONTROLS 0x09
61 #define HID_GENERIC_DESKTOP_X 0x30
62 #define HID_GENERIC_DESKTOP_Y 0x31
63 #define HID_GENERIC_DESKTOP_Z 0x32
64 #define HID_GENERIC_DESKTOP_RX 0x33
65 #define HID_GENERIC_DESKTOP_RY 0x34
66 #define HID_GENERIC_DESKTOP_RZ 0x35
67 #define HID_GENERIC_DESKTOP_SLIDER 0x36
68 #define HID_GENERIC_DESKTOP_DIAL 0x37
69 #define HID_GENERIC_DESKTOP_WHEEL 0x38
70 #define HID_GENERIC_DESKTOP_HAT_SWITCH 0x39
71 #define HID_GENERIC_DESKTOP_COUNTED_BUFFER 0x3A
72 #define HID_GENERIC_DESKTOP_BYTE_COUNT 0x3B
73 #define HID_GENERIC_DESKTOP_MOTION_WAKEUP 0x3C
74 #define HID_GENERIC_DESKTOP_START 0x3D
75 #define HID_GENERIC_DESKTOP_SELECT 0x3E
76 #define HID_GENERIC_DESKTOP_VX 0x40
77 #define HID_GENERIC_DESKTOP_VY 0x41
78 #define HID_GENERIC_DESKTOP_VZ 0x42
79 #define HID_GENERIC_DESKTOP_VBRX 0x43
80 #define HID_GENERIC_DESKTOP_VBRY 0x44
81 #define HID_GENERIC_DESKTOP_VBRZ 0x45
82 #define HID_GENERIC_DESKTOP_VNO 0x46
83 #define HID_GENERIC_DESKTOP_FEATURE_NOTIFICATION 0x47
84 #define HID_GENERIC_DESKTOP_RESOLUTION_MULTIPLIER 0x48
85 #define HID_GENERIC_DESKTOP_SYSTEM_CONTROL 0x80
86 #define HID_GENERIC_DESKTOP_SYSTEM_POWER_DOWN 0x81
87 #define HID_GENERIC_DESKTOP_SYSTEM_SLEEP 0x82
88 #define HID_GENERIC_DESKTOP_SYSTEM_WAKE_UP 0x83
89 #define HID_GENERIC_DESKTOP_SYSTEM_CONTEXT_MENU 0x84
90 #define HID_GENERIC_DESKTOP_SYSTEM_MAIN_MENU 0x85
91 #define HID_GENERIC_DESKTOP_SYSTEM_APP_MENU 0x86
92 #define HID_GENERIC_DESKTOP_SYSTEM_MENU_HELP 0x87
93 #define HID_GENERIC_DESKTOP_SYSTEM_MENU_EXIT 0x88
94 #define HID_GENERIC_DESKTOP_SYSTEM_MENU_SELECT 0x89
95 #define HID_GENERIC_DESKTOP_SYSTEM_MENU_RIGHT 0x8A
96 #define HID_GENERIC_DESKTOP_SYSTEM_MENU_LEFT 0x8B
97 #define HID_GENERIC_DESKTOP_SYSTEM_MENU_UP 0x8C
98 #define HID_GENERIC_DESKTOP_SYSTEM_MENU_DOWN 0x8D
99 #define HID_GENERIC_DESKTOP_SYSTEM_COLD_RESTART 0x8E
100 #define HID_GENERIC_DESKTOP_SYSTEM_WARM_RESTART 0x8F
101 #define HID_GENERIC_DESKTOP_D_PAD_UP 0x90
102 #define HID_GENERIC_DESKTOP_D_PAD_DOWN 0x91
103 #define HID_GENERIC_DESKTOP_D_PAD_RIGHT 0x92
104 #define HID_GENERIC_DESKTOP_D_PAD_LEFT 0x93
105 #define HID_GENERIC_DESKTOP_SYSTEM_DOCK 0xA0
106 #define HID_GENERIC_DESKTOP_SYSTEM_UNDOCK 0xA1
107 #define HID_GENERIC_DESKTOP_SYSTEM_SETUP 0xA2
108 #define HID_GENERIC_DESKTOP_SYSTEM_BREAK 0xA3
109 #define HID_GENERIC_DESKTOP_SYSTEM_DEBUGGER_BREAK 0xA4
110 #define HID_GENERIC_DESKTOP_APPLICATION_BREAK 0xA5
111 #define HID_GENERIC_DESKTOP_APPLICATION_DEBUGGER_BREAK 0xA6
112 #define HID_GENERIC_DESKTOP_SYSTEM_SPEAKER_MUTE 0xA7
113 #define HID_GENERIC_DESKTOP_SYSTEM_HIBERNATE 0xA8
114 #define HID_GENERIC_DESKTOP_SYSTEM_DISPLAY_INVERT 0xB0
115 #define HID_GENERIC_DESKTOP_SYSTEM_DISPLAY_INTERNAL 0xB1
116 #define HID_GENERIC_DESKTOP_SYSTEM_DISPLAY_EXTERNAL 0xB2
117 #define HID_GENERIC_DESKTOP_SYSTEM_DISPLAY_BOTH 0xB3
118 #define HID_GENERIC_DESKTOP_SYSTEM_DISPLAY_DUAL 0xB4
119 #define HID_GENERIC_DESKTOP_SYSTEM_DISPLAY_TOGGLE_INT_EXT 0xB5
120 #define HID_GENERIC_DESKTOP_SYSTEM_DISPLAY_SWAP_PRIMARY_SECONDARY 0xB6
121 #define HID_GENERIC_DESKTOP_SYSTEM_DISPLAY_LCD_AUTOSCALE 0xB7
123 /* Keyboard/Keypad Page (0x07) */
124 #define HID_KEYBOARD_RESERVED 0x00
125 #define HID_KEYBOARD_ERROR_ROLLOVER 0x01
126 #define HID_KEYBOARD_POSTFAIL 0x02
127 #define HID_KEYBOARD_ERROR_UNDEFINED 0x03
128 #define HID_KEYBOARD_A 0x04
129 #define HID_KEYBOARD_B 0x05
130 #define HID_KEYBOARD_C 0x06
131 #define HID_KEYBOARD_D 0x07
132 #define HID_KEYBOARD_E 0x08
133 #define HID_KEYBOARD_F 0x09
134 #define HID_KEYBOARD_G 0x0A
135 #define HID_KEYBOARD_H 0x0B
136 #define HID_KEYBOARD_I 0x0C
137 #define HID_KEYBOARD_J 0x0D
138 #define HID_KEYBOARD_K 0x0E
139 #define HID_KEYBOARD_L 0x0F
140 #define HID_KEYBOARD_M 0x10
141 #define HID_KEYBOARD_N 0x11
142 #define HID_KEYBOARD_O 0x12
143 #define HID_KEYBOARD_P 0x13
144 #define HID_KEYBOARD_Q 0x14
145 #define HID_KEYBOARD_R 0x15
146 #define HID_KEYBOARD_S 0x16
147 #define HID_KEYBOARD_T 0x17
148 #define HID_KEYBOARD_U 0x18
149 #define HID_KEYBOARD_V 0x19
150 #define HID_KEYBOARD_W 0x1A
151 #define HID_KEYBOARD_X 0x1B
152 #define HID_KEYBOARD_Y 0x1C
153 #define HID_KEYBOARD_Z 0x1D
154 #define HID_KEYBOARD_1 0x1E
155 #define HID_KEYBOARD_2 0x1F
156 #define HID_KEYBOARD_3 0x20
157 #define HID_KEYBOARD_4 0x21
158 #define HID_KEYBOARD_5 0x22
159 #define HID_KEYBOARD_6 0x23
160 #define HID_KEYBOARD_7 0x24
161 #define HID_KEYBOARD_8 0x25
162 #define HID_KEYBOARD_9 0x26
163 #define HID_KEYBOARD_0 0x27
164 #define HID_KEYBOARD_RETURN 0x28
165 #define HID_KEYBOARD_ESCAPE 0x29
166 #define HID_KEYBOARD_DELETE 0x2A
167 #define HID_KEYBOARD_TAB 0x2B
168 #define HID_KEYBOARD_SPACEBAR 0x2C
169 #define HID_KEYBOARD_COMMA 0x36
170 #define HID_KEYBOARD_DOT 0x37
171 #define HID_KEYBOARD_F1 0x3A
172 #define HID_KEYBOARD_F2 0x3B
173 #define HID_KEYBOARD_F3 0x3C
174 #define HID_KEYBOARD_F4 0x3D
175 #define HID_KEYBOARD_F5 0x3E
176 #define HID_KEYBOARD_F6 0x3F
177 #define HID_KEYBOARD_F7 0x40
178 #define HID_KEYBOARD_F8 0x41
179 #define HID_KEYBOARD_F9 0x42
180 #define HID_KEYBOARD_F10 0x43
181 #define HID_KEYBOARD_F11 0x44
182 #define HID_KEYBOARD_F12 0x45
183 #define HID_KEYBOARD_PRINT_SCREEN 0x46
184 #define HID_KEYBOARD_SCROLL_LOCK 0x47
185 #define HID_KEYBOARD_PAUSE 0x48
186 #define HID_KEYBOARD_INSERT 0x49
187 #define HID_KEYBOARD_HOME 0x4A
188 #define HID_KEYBOARD_PAGE_UP 0x4B
189 #define HID_KEYBOARD_DELETE_FORWARD 0x4C
190 #define HID_KEYBOARD_END 0x4D
191 #define HID_KEYBOARD_PAGE_DOWN 0x4E
192 #define HID_KEYBOARD_RIGHT_ARROW 0x4F
193 #define HID_KEYBOARD_LEFT_ARROW 0x50
194 #define HID_KEYBOARD_DOWN_ARROW 0x51
195 #define HID_KEYBOARD_UP_ARROW 0x52
196 #define HID_KEYPAD_NUM_LOCK_AND_CLEAR 0x53
197 #define HID_KEYPAD_SLASH 0x54
198 #define HID_KEYPAD_ASTERISK 0x55
199 #define HID_KEYPAD_MINUS 0x56
200 #define HID_KEYPAD_PLUS 0x57
201 #define HID_KEYPAD_ENTER 0x58
202 #define HID_KEYPAD_1_AND_END 0x59
203 #define HID_KEYPAD_2_AND_DOWN_ARROW 0x5A
204 #define HID_KEYPAD_3_AND_PAGE_DOWN 0x5B
205 #define HID_KEYPAD_4_AND_LEFT_ARROW 0x5C
206 #define HID_KEYPAD_5 0x5D
207 #define HID_KEYPAD_6_AND_RIGHT_ARROW 0x5E
208 #define HID_KEYPAD_7_AND_HOME 0x5F
209 #define HID_KEYPAD_8_AND_UP_ARROW 0x60
210 #define HID_KEYPAD_9_AND_PAGE_UP 0x61
211 #define HID_KEYPAD_0_AND_INSERT 0x62
212 #define HID_KEYPAD_PERIOD_AND_DELETE 0x63
213 #define HID_KEYBOARD_APPLICATION 0x65
214 #define HID_KEYBOARD_POWER 0x66
215 #define HID_KEYPAD_EQUAL 0x67
216 #define HID_KEYBOARD_F13 0x68
217 #define HID_KEYBOARD_F14 0x69
218 #define HID_KEYBOARD_F15 0x6A
219 #define HID_KEYBOARD_F16 0x6B
220 #define HID_KEYBOARD_F17 0x6C
221 #define HID_KEYBOARD_F18 0x6D
222 #define HID_KEYBOARD_F19 0x6E
223 #define HID_KEYBOARD_F20 0x6F
224 #define HID_KEYBOARD_F21 0x70
225 #define HID_KEYBOARD_F22 0x71
226 #define HID_KEYBOARD_F23 0x72
227 #define HID_KEYBOARD_F24 0x73
228 #define HID_KEYBOARD_EXECUTE 0x74
229 #define HID_KEYBOARD_HELP 0x75
230 #define HID_KEYBOARD_MENU 0x76
231 #define HID_KEYBOARD_SELECT 0x77
232 #define HID_KEYBOARD_STOP 0x78
233 #define HID_KEYBOARD_AGAIN 0x79
234 #define HID_KEYBOARD_UNDO 0x7A
235 #define HID_KEYBOARD_CUT 0x7B
236 #define HID_KEYBOARD_COPY 0x7C
237 #define HID_KEYBOARD_PASTE 0x7D
238 #define HID_KEYBOARD_FIND 0x7E
239 #define HID_KEYBOARD_MUTE 0x7F
240 #define HID_KEYBOARD_VOLUME_UP 0x80
241 #define HID_KEYBOARD_VOLUME_DOWN 0x81
242 #define HID_KEYBOARD_LOCKING_CAPS_LOCK 0x82
243 #define HID_KEYBOARD_LOCKING_NUM_LOCK 0x83
244 #define HID_KEYBOARD_LOCKING_SCROLL_LOCK 0x84
245 #define HID_KEYPAD_COMMA 0x85
246 #define HID_KEYPAD_EQUAL_SIGN 0x86
247 #define HID_KEYBOARD_EX_SEL 0xA4
248 #define HID_KEYBOARD_LEFT_CONTROL 0xE0
249 #define HID_KEYBOARD_LEFT_SHIFT 0xE1
250 #define HID_KEYBOARD_LEFT_ALT 0xE2
251 #define HID_KEYBOARD_LEFT_GUI 0xE3
252 #define HID_KEYBOARD_RIGHT_CONTROL 0xE4
253 #define HID_KEYBOARD_RIGHT_SHIFT 0xE5
254 #define HID_KEYBOARD_RIGHT_ALT 0xE6
255 #define HID_KEYBOARD_RIGHT_GUI 0xE7
257 /* LED Page (0x08) */
258 #define HID_LED_UNDEFINED 0x00
259 #define HID_LED_NUM_LOCK 0x01
260 #define HID_LED_CAPS_LOCK 0x02
261 #define HID_LED_SCROLL_LOCK 0x03
262 #define HID_LED_COMPOSE 0x04
263 #define HID_LED_KANA 0x05
264 #define HID_LED_POWER 0x06
265 #define HID_LED_SHIFT 0x07
266 #define HID_LED_DO_NOT_DISTURB 0x08
267 #define HID_LED_MUTE 0x09
268 #define HID_LED_TONE_ENABLE 0x0A
269 #define HID_LED_HIGH_CUT_FILTER 0x0B
270 #define HID_LED_LOW_CUT_FILTER 0x0C
271 #define HID_LED_EQUALIZER_ENABLE 0x0D
272 #define HID_LED_SOUND_FIELD_ON 0x0E
273 #define HID_LED_SURROUND_ON 0x0F
274 #define HID_LED_REPEAT 0x10
275 #define HID_LED_STEREO 0x11
276 #define HID_LED_SAMPLING_RATE_DETECT 0x12
277 #define HID_LED_SPINNING 0x13
278 #define HID_LED_CAV 0x14
279 #define HID_LED_CLV 0x15
280 #define HID_LED_RECORDING_FORMAT_DETECT 0x16
281 #define HID_LED_OFF_HOOK 0x17
282 #define HID_LED_RING 0x18
283 #define HID_LED_MESSAGE_WAITING 0x19
284 #define HID_LED_DATA_MODE 0x1A
285 #define HID_LED_BATTERY_OPERATION 0x1B
286 #define HID_LED_BATTERY_OK 0x1C
287 #define HID_LED_BATTERY_LOW 0x1D
288 #define HID_LED_SPEAKER 0x1E
289 #define HID_LED_HEAD_SET 0x1F
290 #define HID_LED_HOLD 0x20
291 #define HID_LED_MICROPHONE 0x21
292 #define HID_LED_COVERAGE 0x22
293 #define HID_LED_NIGHT_MODE 0x23
294 #define HID_LED_SEND_CALLS 0x24
295 #define HID_LED_CALL_PICKUP 0x25
296 #define HID_LED_CONFERENCE 0x26
297 #define HID_LED_STAND_BY 0x27
298 #define HID_LED_CAMERA_ON 0x28
299 #define HID_LED_CAMERA_OFF 0x29
300 #define HID_LED_ON_LINE 0x2A
301 #define HID_LED_OFF_LINE 0x2B
302 #define HID_LED_BUSY 0x2C
303 #define HID_LED_READY 0x2D
304 #define HID_LED_PAPER_OUT 0x2E
305 #define HID_LED_PAPER_JAM 0x2F
306 #define HID_LED_REMOTE 0x30
307 #define HID_LED_FORWARD 0x31
308 #define HID_LED_REVERSE 0x32
309 #define HID_LED_STOP 0x33
310 #define HID_LED_REWIND 0x34
311 #define HID_LED_FAST_FORWARD 0x35
312 #define HID_LED_PLAY 0x36
313 #define HID_LED_PAUSE 0x37
314 #define HID_LED_RECORD 0x38
315 #define HID_LED_ERROR 0x39
316 #define HID_LED_USAGE_SELECTED_INDICATOR 0x3A
317 #define HID_LED_USAGE_IN_USE_INDICATOR 0x3B
318 #define HID_LED_USAGE_MULTI_MODE_INDICATOR 0x3C
319 #define HID_LED_INDICATOR_ON 0x3D
320 #define HID_LED_INDICATOR_FLASH 0x3E
321 #define HID_LED_INDICATOR_SLOW_BLINK 0x3F
322 #define HID_LED_INDICATOR_FAST_BLINK 0x40
323 #define HID_LED_INDICATOR_OFF 0x41
324 #define HID_LED_FLASH_ON_TIME 0x42
325 #define HID_LED_SLOW_BLINK_ON_TIME 0x43
326 #define HID_LED_SLOW_BLINK_OFF_TIME 0x44
327 #define HID_LED_FAST_BLINK_ON_TIME 0x45
328 #define HID_LED_FAST_BLINK_OFF_TIME 0x46
329 #define HID_LED_USAGE_INDICATOR_COLOR 0x47
330 #define HID_LED_INDICATOR_RED 0x48
331 #define HID_LED_INDICATOR_GREEN 0x49
332 #define HID_LED_INDICATOR_AMBER 0x4A
333 #define HID_LED_GENERIC_INDICATOR 0x4B
334 #define HID_LED_SYSTEM_SUSPEND 0x4C
335 #define HID_LED_EXTERNAL_POWER_CONNECTED 0x4D
337 /* Consumer Page (0x0C) */
338 #define HID_CONSUMER_USAGE_UNASSIGNED 0x00
339 #define HID_CONSUMER_USAGE_CONSUMER_CONTROL 0x1
340 #define HID_CONSUMER_USAGE_NUMERIC_KEY_PAD 0x2
341 #define HID_CONSUMER_USAGE_PROGRAMMABLE_BUTTONS 0x3
342 #define HID_CONSUMER_USAGE_MICROPHONE 0x4
343 #define HID_CONSUMER_USAGE_HEADPHONE 0x5
344 #define HID_CONSUMER_USAGE_GRAPHIC_EQUALIZER 0x6
345 #define HID_CONSUMER_USAGE_PLUS_10 0x20
346 #define HID_CONSUMER_USAGE_PLUS_100 0x21
347 #define HID_CONSUMER_USAGE_AM_PM 0x22
348 #define HID_CONSUMER_USAGE_POWER 0x30
349 #define HID_CONSUMER_USAGE_RESET 0x31
350 #define HID_CONSUMER_USAGE_SLEEP 0x32
351 #define HID_CONSUMER_USAGE_SLEEP_AFTER 0x33
352 #define HID_CONSUMER_USAGE_SLEEP_MODE 0x34
353 #define HID_CONSUMER_USAGE_ILLUMINATION 0x35
354 #define HID_CONSUMER_USAGE_FUNCTION_BUTTONS 0x36
355 #define HID_CONSUMER_USAGE_MENU 0x40
356 #define HID_CONSUMER_USAGE_MENU_PICK 0x41
357 #define HID_CONSUMER_USAGE_MENU_UP 0x42
358 #define HID_CONSUMER_USAGE_MENU_DOWN 0x43
359 #define HID_CONSUMER_USAGE_MENU_LEFT 0x44
360 #define HID_CONSUMER_USAGE_MENU_RIGHT 0x45
361 #define HID_CONSUMER_USAGE_MENU_ESCAPE 0x46
362 #define HID_CONSUMER_USAGE_MENU_VALUE_INCREASE 0x47
363 #define HID_CONSUMER_USAGE_MENU_VALUE_DECREASE 0x48
364 #define HID_CONSUMER_USAGE_DATA_ON_SCREEN 0x60
365 #define HID_CONSUMER_USAGE_CLOSED_CAPTION 0x61
366 #define HID_CONSUMER_USAGE_CLOSED_CAPTION_SELECT 0x62
367 #define HID_CONSUMER_USAGE_VCR_TV 0x63
368 #define HID_CONSUMER_USAGE_BROADCAST_MODE 0x64
369 #define HID_CONSUMER_USAGE_SNAPSHOT 0x65
370 #define HID_CONSUMER_USAGE_STILL 0x66
371 #define HID_CONSUMER_USAGE_SELECTION 0x80
372 #define HID_CONSUMER_USAGE_ASSIGN_SELECTION 0x81
373 #define HID_CONSUMER_USAGE_MODE_STEP 0x82
374 #define HID_CONSUMER_USAGE_RECALL_LAST 0x83
375 #define HID_CONSUMER_USAGE_ENTER_CHANNEL 0x84
376 #define HID_CONSUMER_USAGE_ORDER_MOVIE 0x85
377 #define HID_CONSUMER_USAGE_CHANNEL 0x86
378 #define HID_CONSUMER_USAGE_MEDIA_SELECTION 0x87
379 #define HID_CONSUMER_USAGE_MEDIA_SELECT_COMPUTER 0x88
380 #define HID_CONSUMER_USAGE_MEDIA_SELECT_TV 0x89
381 #define HID_CONSUMER_USAGE_MEDIA_SELECT_WWW 0x8A
382 #define HID_CONSUMER_USAGE_MEDIA_SELECT_DVD 0x8B
383 #define HID_CONSUMER_USAGE_MEDIA_SELECT_TELEPHONE 0x8C
384 #define HID_CONSUMER_USAGE_MEDIA_SELECT_PROGRAM_GUIDE 0x8D
385 #define HID_CONSUMER_USAGE_MEDIA_SELECT_VIDEO_PHONE 0x8E
386 #define HID_CONSUMER_USAGE_MEDIA_SELECT_GAMES 0x8F
387 #define HID_CONSUMER_USAGE_MEDIA_SELECT_MESSAGES 0x90
388 #define HID_CONSUMER_USAGE_MEDIA_SELECT_CD 0x91
389 #define HID_CONSUMER_USAGE_MEDIA_SELECT_VCR 0x92
390 #define HID_CONSUMER_USAGE_MEDIA_SELECT_TUNER 0x93
391 #define HID_CONSUMER_USAGE_QUIT 0x94
392 #define HID_CONSUMER_USAGE_HELP 0x95
393 #define HID_CONSUMER_USAGE_MEDIA_SELECT_TAPE 0x96
394 #define HID_CONSUMER_USAGE_MEDIA_SELECT_CABLE 0x97
395 #define HID_CONSUMER_USAGE_MEDIA_SELECT_SATELLITE 0x98
396 #define HID_CONSUMER_USAGE_MEDIA_SELECT_SECURITY 0x99
397 #define HID_CONSUMER_USAGE_MEDIA_SELECT_HOME 0x9A
398 #define HID_CONSUMER_USAGE_MEDIA_SELECT_CALL 0x9B
399 #define HID_CONSUMER_USAGE_CHANNEL_INCREMENT 0x9C
400 #define HID_CONSUMER_USAGE_CHANNEL_DECREMENT 0x9D
401 #define HID_CONSUMER_USAGE_MEDIA_SELECT_SAP 0x9E
402 #define HID_CONSUMER_USAGE_VCR_PLUS 0xA0
403 #define HID_CONSUMER_USAGE_ONCE 0xA1
404 #define HID_CONSUMER_USAGE_DAILY 0xA2
405 #define HID_CONSUMER_USAGE_WEEKLY 0xA3
406 #define HID_CONSUMER_USAGE_MONTHLY 0xA4
407 #define HID_CONSUMER_USAGE_PLAY 0xB0
408 #define HID_CONSUMER_USAGE_PAUSE 0xB1
409 #define HID_CONSUMER_USAGE_RECORD 0xB2
410 #define HID_CONSUMER_USAGE_FAST_FORWARD 0xB3
411 #define HID_CONSUMER_USAGE_REWIND 0xB4
412 #define HID_CONSUMER_USAGE_SCAN_NEXT_TRACK 0xB5
413 #define HID_CONSUMER_USAGE_SCAN_PREVIOUS_TRACK 0xB6
414 #define HID_CONSUMER_USAGE_STOP 0xB7
415 #define HID_CONSUMER_USAGE_EJECT 0xB8
416 #define HID_CONSUMER_USAGE_RANDOM_PLAY 0xB9
417 #define HID_CONSUMER_USAGE_SELECT_DISC 0xBA
418 #define HID_CONSUMER_USAGE_ENTER_DISC 0xBB
419 #define HID_CONSUMER_USAGE_REPEAT 0xBC
420 #define HID_CONSUMER_USAGE_TRACKING 0xBD
421 #define HID_CONSUMER_USAGE_TRACK_NORMAL 0xBE
422 #define HID_CONSUMER_USAGE_SLOW_TRACKING 0xBF
423 #define HID_CONSUMER_USAGE_FRAME_FORWARD 0xC0
424 #define HID_CONSUMER_USAGE_FRAME_BACK 0xC1
425 #define HID_CONSUMER_USAGE_MARK 0xC2
426 #define HID_CONSUMER_USAGE_CLEAR_MARK 0xC3
427 #define HID_CONSUMER_USAGE_REPEAT_FROM_MARK 0xC4
428 #define HID_CONSUMER_USAGE_RETURN_TO_MARK 0xC5
429 #define HID_CONSUMER_USAGE_SEARCH_MARK_FORWARD 0xC6
430 #define HID_CONSUMER_USAGE_SEARCH_MARK_BACKWARDS 0xC7
431 #define HID_CONSUMER_USAGE_COUNTER_RESET 0xC8
432 #define HID_CONSUMER_USAGE_SHOW_COUNTER 0xC9
433 #define HID_CONSUMER_USAGE_TRACKING_INCREMENT 0xCA
434 #define HID_CONSUMER_USAGE_TRACKING_DECREMENT 0xCB
435 #define HID_CONSUMER_USAGE_STOP_EJECT 0xCC
436 #define HID_CONSUMER_USAGE_PLAY_PAUSE 0xCD
437 #define HID_CONSUMER_USAGE_PLAY_SKIP 0xCE
438 #define HID_CONSUMER_USAGE_VOLUME 0xE0
439 #define HID_CONSUMER_USAGE_BALANCE 0xE1
440 #define HID_CONSUMER_USAGE_MUTE 0xE2
441 #define HID_CONSUMER_USAGE_BASS 0xE3
442 #define HID_CONSUMER_USAGE_TREBLE 0xE4
443 #define HID_CONSUMER_USAGE_BASS_BOOST 0xE5
444 #define HID_CONSUMER_USAGE_SURROUND_MODE 0xE6
445 #define HID_CONSUMER_USAGE_LOUDNESS 0xE7
446 #define HID_CONSUMER_USAGE_MPX 0xE8
447 #define HID_CONSUMER_USAGE_VOLUME_INCREMENT 0xE9
448 #define HID_CONSUMER_USAGE_VOLUME_DECREMENT 0xEA
449 #define HID_CONSUMER_USAGE_SPEED_SELECT 0xF0
450 #define HID_CONSUMER_USAGE_PLAYBACK_SPEED 0xF1
451 #define HID_CONSUMER_USAGE_STANDARD_PLAY 0xF2
452 #define HID_CONSUMER_USAGE_LONG_PLAY 0xF3
453 #define HID_CONSUMER_USAGE_EXTENDED_PLAY 0xF4
454 #define HID_CONSUMER_USAGE_SLOW 0xF5
455 #define HID_CONSUMER_USAGE_FAN_ENABLE 0x100
456 #define HID_CONSUMER_USAGE_FAN_SPEED 0x101
457 #define HID_CONSUMER_USAGE_LIGHT_ENABLE 0x102
458 #define HID_CONSUMER_USAGE_LIGHT_ILLUMINATION_LEVEL 0x103
459 #define HID_CONSUMER_USAGE_CLIMATE_CONTROL_ENABLE 0x104
460 #define HID_CONSUMER_USAGE_ROOM_TEMPERATURE 0x105
461 #define HID_CONSUMER_USAGE_SECURITY_ENABLE 0x106
462 #define HID_CONSUMER_USAGE_FIRE_ALARM 0x107
463 #define HID_CONSUMER_USAGE_POLICE_ALARM 0x108
464 #define HID_CONSUMER_USAGE_PROXIMITY 0x109
465 #define HID_CONSUMER_USAGE_MOTION 0x10A
466 #define HID_CONSUMER_USAGE_DURESS_ALARM 0x10B
467 #define HID_CONSUMER_USAGE_HOLDUP_ALARM 0x10C
468 #define HID_CONSUMER_USAGE_MEDICAL_ALARM 0x10D
469 #define HID_CONSUMER_USAGE_BALANCE_RIGHT 0x150
470 #define HID_CONSUMER_USAGE_BALANCE_LEFT 0x151
471 #define HID_CONSUMER_USAGE_BASS_INCREMENT 0x152
472 #define HID_CONSUMER_USAGE_BASS_DECREMENT 0x153
473 #define HID_CONSUMER_USAGE_TREBLE_INCREMENT 0x154
474 #define HID_CONSUMER_USAGE_TREBLE_DECREMENT 0x155
475 #define HID_CONSUMER_USAGE_SPEAKER_SYSTEM 0x160
476 #define HID_CONSUMER_USAGE_CHANNEL_LEFT 0x161
477 #define HID_CONSUMER_USAGE_CHANNEL_RIGHT 0x162
478 #define HID_CONSUMER_USAGE_CHANNEL_CENTER 0x163
479 #define HID_CONSUMER_USAGE_CHANNEL_FRONT 0x164
480 #define HID_CONSUMER_USAGE_CHANNEL_CENTER_FRONT 0x165
481 #define HID_CONSUMER_USAGE_CHANNEL_SIDE 0x166
482 #define HID_CONSUMER_USAGE_CHANNEL_SURROUND 0x167
483 #define HID_CONSUMER_USAGE_CHANNEL_LOW_FREQUENCY_ENHANCEMENT 0x168
484 #define HID_CONSUMER_USAGE_CHANNEL_TOP 0x169
485 #define HID_CONSUMER_USAGE_CHANNEL_UNKNOWN 0x16A
486 #define HID_CONSUMER_USAGE_SUB_CHANNEL 0x170
487 #define HID_CONSUMER_USAGE_SUB_CHANNEL_INCREMENT 0x171
488 #define HID_CONSUMER_USAGE_SUB_CHANNEL_DECREMENT 0x172
489 #define HID_CONSUMER_USAGE_ALTERNATE_AUDIO_INCREMENT 0x173
490 #define HID_CONSUMER_USAGE_ALTERNATE_AUDIO_DECREMENT 0x174
491 #define HID_CONSUMER_USAGE_APPLICATION_LAUNCH_BUTTONS 0x180
492 #define HID_CONSUMER_USAGE_AL_LAUNCH_BUTTON_CONFIGURATION_TOOL 0x181
493 #define HID_CONSUMER_USAGE_AL_PROGRAMMABLE_BUTTON_CONFIGUARTION 0x182
494 #define HID_CONSUMER_USAGE_AL_CONSUMER_CONTROL_CONFIGURATION 0x183
495 #define HID_CONSUMER_USAGE_AL_WORD_PROCESSOR 0x184
496 #define HID_CONSUMER_USAGE_AL_TEXT_EDITOR 0x185
497 #define HID_CONSUMER_USAGE_AL_SPREADSHEET 0x186
498 #define HID_CONSUMER_USAGE_AL_GRAPHICS_EDITOR 0x187
499 #define HID_CONSUMER_USAGE_AL_PRESENTATION_APP 0x188
500 #define HID_CONSUMER_USAGE_AL_DATABASE_APP 0x189
501 #define HID_CONSUMER_USAGE_AL_EMAIL_READER 0x18A
502 #define HID_CONSUMER_USAGE_AL_NEWSREADER 0x18B
503 #define HID_CONSUMER_USAGE_AL_VOICEMAIL 0x18C
504 #define HID_CONSUMER_USAGE_AL_CONTACTS_ADDRESS_BOOK 0x18D
505 #define HID_CONSUMER_USAGE_AL_CALENDAR_SCHEDULE 0x18E
506 #define HID_CONSUMER_USAGE_AL_TASK_PROJECT_MANAGER 0x18F
507 #define HID_CONSUMER_USAGE_AL_LOG_JOURNAL_TIMECARD 0x190
508 #define HID_CONSUMER_USAGE_AL_CHECKBOOK_FINANCE 0x191
509 #define HID_CONSUMER_USAGE_AL_CALCULATOR 0x192
510 #define HID_CONSUMER_USAGE_AL_A_V_CAPTURE_PLAYBACK 0x193
511 #define HID_CONSUMER_USAGE_AL_LOCAL_MACHINE_BROWSER 0x194
512 #define HID_CONSUMER_USAGE_AL_LAN_WAN_BROWSER 0x195
513 #define HID_CONSUMER_USAGE_AL_INTERNET_BROWSER 0x196
514 #define HID_CONSUMER_USAGE_AL_REMOTE_NETWORKING_ISP_CONNECT 0x197
515 #define HID_CONSUMER_USAGE_AL_NETWORK_CONFERENCE 0x198
516 #define HID_CONSUMER_USAGE_AL_NETWORK_CHAT 0x199
517 #define HID_CONSUMER_USAGE_AL_TELEPHONY_DIALER 0x19A
518 #define HID_CONSUMER_USAGE_AL_LOGON 0x19B
519 #define HID_CONSUMER_USAGE_AL_LOGOFF 0x19C
520 #define HID_CONSUMER_USAGE_AL_LOGON_LOGOFF 0x19D
521 #define HID_CONSUMER_USAGE_AL_TERMINAL_LOCK_SCREENSAVER 0x19E
522 #define HID_CONSUMER_USAGE_AL_CONTROL_PANEL 0x19F
523 #define HID_CONSUMER_USAGE_AL_COMMAND_LINE_PROCESSOR_RUN 0x1A0
524 #define HID_CONSUMER_USAGE_AL_PROCESS_TASK_MANAGER 0x1A1
525 #define HID_CONSUMER_USAGE_AL_SELECT_TASK_APPLICATION 0x1A2
526 #define HID_CONSUMER_USAGE_AL_NEXT_TASK_APPLICATION 0x1A3
527 #define HID_CONSUMER_USAGE_AL_PREVIOUS_TASK_APPLICATION 0x1A4
528 #define HID_CONSUMER_USAGE_AL_PREEMPTIVE_HALT_TASK_APPLICATION 0x1A5
529 #define HID_CONSUMER_USAGE_AL_INTEGRATED_HELP_CENTER 0x1A6
530 #define HID_CONSUMER_USAGE_AL_DOCUMENTS 0x1A7
531 #define HID_CONSUMER_USAGE_AL_THESAURUS 0x1A8
532 #define HID_CONSUMER_USAGE_AL_DICTIONARY 0x1A9
533 #define HID_CONSUMER_USAGE_AL_DESKTOP 0x1AA
534 #define HID_CONSUMER_USAGE_AL_SPELL_CHECK 0x1AB
535 #define HID_CONSUMER_USAGE_AL_GRAMMAR_CHECK 0x1AC
536 #define HID_CONSUMER_USAGE_AL_WIRELESS_STATUS 0x1AD
537 #define HID_CONSUMER_USAGE_AL_KEYBOARD_LAYOUT 0x1AE
538 #define HID_CONSUMER_USAGE_AL_VIRUS_PROTECTION 0x1AF
539 #define HID_CONSUMER_USAGE_AL_ENCRYPTION 0x1B0
540 #define HID_CONSUMER_USAGE_AL_SCREEN_SAVER 0x1B1
541 #define HID_CONSUMER_USAGE_AL_ALARMS 0x1B2
542 #define HID_CONSUMER_USAGE_AL_CLOCK 0x1B3
543 #define HID_CONSUMER_USAGE_AL_FILE_BROWSER 0x1B4
544 #define HID_CONSUMER_USAGE_AL_POWER_STATUS 0x1B5
545 #define HID_CONSUMER_USAGE_AL_IMAGE_BROWSER 0x1B6
546 #define HID_CONSUMER_USAGE_AL_AUDIO_BROWSER 0x1B7
547 #define HID_CONSUMER_USAGE_AL_MOVIE_BROWSER 0x1B8
548 #define HID_CONSUMER_USAGE_AL_DIGITAL_RIGHTS_MANAGER 0x1B9
549 #define HID_CONSUMER_USAGE_AL_DIGITAL_WALLET 0x1BA
550 #define HID_CONSUMER_USAGE_AL_INSTANT_MESSAGING 0x1BC
551 #define HID_CONSUMER_USAGE_AL_OEM_FEATURES_TIPS_TUTORIAL_BROWSER 0x1BD
552 #define HID_CONSUMER_USAGE_AL_OEM_HELP 0x1BE
553 #define HID_CONSUMER_USAGE_AL_ONLINE_COMMUNITY 0x1BF
554 #define HID_CONSUMER_USAGE_AL_ONLINE_SHOPPING_BROWSER 0x1C1
555 #define HID_CONSUMER_USAGE_AL_ENTERTAINMENT_CONTENT_BROWSER 0x1C0
556 #define HID_CONSUMER_USAGE_AL_SMARTCARD_INFORMATION_HELP 0x1C2
557 #define HID_CONSUMER_USAGE_AL_MARKET_MONITOR_FINANCE_BROWSER 0x1C3
558 #define HID_CONSUMER_USAGE_AL_CUSTOMIZED_CORPORATE_NEWS_BROWSER 0x1C4
559 #define HID_CONSUMER_USAGE_AL_RESEARCH_SEARCH_BROWSER 0x1C6
560 #define HID_CONSUMER_USAGE_AL_ONLINE_ACTIVITY_BROWSER 0x1C5
561 #define HID_CONSUMER_USAGE_AL_AUDIO_PLAYER 0x1C7
562 #define HID_CONSUMER_USAGE_GENERIC_GUI_APPLICATION_CONTROLS 0x200
563 #define HID_CONSUMER_USAGE_AC_NEW 0x201
564 #define HID_CONSUMER_USAGE_AC_OPEN 0x202
565 #define HID_CONSUMER_USAGE_AC_CLOSE 0x203
566 #define HID_CONSUMER_USAGE_AC_EXIT 0x204
567 #define HID_CONSUMER_USAGE_AC_MAXIMIZE 0x205
568 #define HID_CONSUMER_USAGE_AC_MINIMIZE 0x206
569 #define HID_CONSUMER_USAGE_AC_SAVE 0x207
570 #define HID_CONSUMER_USAGE_AC_PRINT 0x208
571 #define HID_CONSUMER_USAGE_AC_PROPERTIES 0x209
572 #define HID_CONSUMER_USAGE_AC_UNDO 0x21A
573 #define HID_CONSUMER_USAGE_AC_COPY 0x21B
574 #define HID_CONSUMER_USAGE_AC_CUT 0x21C
575 #define HID_CONSUMER_USAGE_AC_PASTE 0x21D
576 #define HID_CONSUMER_USAGE_AC_SELECT_ALL 0x21E
577 #define HID_CONSUMER_USAGE_AC_FIND 0x21F
578 #define HID_CONSUMER_USAGE_AC_FIND_AND_REPLACE 0x220
579 #define HID_CONSUMER_USAGE_AC_SEARCH 0x221
580 #define HID_CONSUMER_USAGE_AC_GO_TO 0x222
581 #define HID_CONSUMER_USAGE_AC_HOME 0x223
582 #define HID_CONSUMER_USAGE_AC_BACK 0x224
583 #define HID_CONSUMER_USAGE_AC_FORWARD 0x225
584 #define HID_CONSUMER_USAGE_AC_STOP 0x226
585 #define HID_CONSUMER_USAGE_AC_REFRESH 0x227
586 #define HID_CONSUMER_USAGE_AC_PREVIOUS_LINK 0x228
587 #define HID_CONSUMER_USAGE_AC_NEXT_LINK 0x229
588 #define HID_CONSUMER_USAGE_AC_BOOKMARKS 0x22A
589 #define HID_CONSUMER_USAGE_AC_HISTORY 0x22B
590 #define HID_CONSUMER_USAGE_AC_SUBSCRIPTIONS 0x22C
591 #define HID_CONSUMER_USAGE_AC_ZOOM_IN 0x22D
592 #define HID_CONSUMER_USAGE_AC_ZOOM_OUT 0x22E
593 #define HID_CONSUMER_USAGE_AC_ZOOM 0x22F
594 #define HID_CONSUMER_USAGE_AC_FULL_SCREEN_VIEW 0x230
595 #define HID_CONSUMER_USAGE_AC_NORMAL_VIEW 0x231
596 #define HID_CONSUMER_USAGE_AC_VIEW_TOGGLE 0x232
597 #define HID_CONSUMER_USAGE_AC_SCROLL_UP 0x233
598 #define HID_CONSUMER_USAGE_AC_SCROLL_DOWN 0x234
599 #define HID_CONSUMER_USAGE_AC_SCROLL 0x235
600 #define HID_CONSUMER_USAGE_AC_PAN_LEFT 0x236
601 #define HID_CONSUMER_USAGE_AC_PAN_RIGHT 0x237
602 #define HID_CONSUMER_USAGE_AC_PAN 0x238
603 #define HID_CONSUMER_USAGE_AC_NEW_WINDOW 0x239
604 #define HID_CONSUMER_USAGE_AC_TILE_HORIZONTALLY 0x23A
605 #define HID_CONSUMER_USAGE_AC_TILE_VERTICALLY 0x23B
606 #define HID_CONSUMER_USAGE_AC_FORMAT 0x23C
607 #define HID_CONSUMER_USAGE_AC_EDIT 0x23D
608 #define HID_CONSUMER_USAGE_AC_BOLD 0x23E
609 #define HID_CONSUMER_USAGE_AC_ITALICS 0x23F
610 #define HID_CONSUMER_USAGE_AC_UNDERLINE 0x240
611 #define HID_CONSUMER_USAGE_AC_STRIKETHROUGH 0x241
612 #define HID_CONSUMER_USAGE_AC_SUBSCRIPT 0x242
613 #define HID_CONSUMER_USAGE_AC_SUPERSCRIPT 0x243
614 #define HID_CONSUMER_USAGE_AC_ALL_CAPS 0x244
615 #define HID_CONSUMER_USAGE_AC_ROTATE 0x245
616 #define HID_CONSUMER_USAGE_AC_RESIZE 0x246
617 #define HID_CONSUMER_USAGE_AC_FLIP_HORIZONTAL 0x247
618 #define HID_CONSUMER_USAGE_AC_FLIP_VERTICAL 0x248
619 #define HID_CONSUMER_USAGE_AC_MIRROR_HORIZONTAL 0x249
620 #define HID_CONSUMER_USAGE_AC_MIRROR_VERTICAL 0x24A
621 #define HID_CONSUMER_USAGE_AC_FONT_SELECT 0x24B
622 #define HID_CONSUMER_USAGE_AC_FONT_COLOR 0x24C
623 #define HID_CONSUMER_USAGE_AC_FONT_SIZE 0x24D
624 #define HID_CONSUMER_USAGE_AC_JUSTIFY_LEFT 0x24E
625 #define HID_CONSUMER_USAGE_AC_JUSTIFY_CENTER_H 0x24F
626 #define HID_CONSUMER_USAGE_AC_JUSTIFY_RIGHT 0x250
627 #define HID_CONSUMER_USAGE_AC_JUSTIFY_BLOCK_H 0x251
628 #define HID_CONSUMER_USAGE_AC_JUSTIFY_TOP 0x252
629 #define HID_CONSUMER_USAGE_AC_JUSTIFY_CENTER_V 0x253
630 #define HID_CONSUMER_USAGE_AC_JUSTIFY_BOTTOM 0x254
631 #define HID_CONSUMER_USAGE_AC_JUSTIFY_BLOCK_V 0x255
632 #define HID_CONSUMER_USAGE_AC_INDENT_DECREASE 0x256
633 #define HID_CONSUMER_USAGE_AC_INDENT_INCREASE 0x257
634 #define HID_CONSUMER_USAGE_AC_NUMBERED_LIST 0x258
635 #define HID_CONSUMER_USAGE_AC_RESTART_NUMBERING 0x259
636 #define HID_CONSUMER_USAGE_AC_BULLETED_LIST 0x25A
637 #define HID_CONSUMER_USAGE_AC_PROMOTE 0x25B
638 #define HID_CONSUMER_USAGE_AC_DEMOTE 0x25C
639 #define HID_CONSUMER_USAGE_AC_YES 0x25D
640 #define HID_CONSUMER_USAGE_AC_NO 0x25E
641 #define HID_CONSUMER_USAGE_AC_CANCEL 0x25F
642 #define HID_CONSUMER_USAGE_AC_CATALOG 0x260
643 #define HID_CONSUMER_USAGE_AC_BUY_CHECKOUT 0x261
644 #define HID_CONSUMER_USAGE_AC_ADD_TO_CART 0x262
645 #define HID_CONSUMER_USAGE_AC_EXPAND 0x263
646 #define HID_CONSUMER_USAGE_AC_EXPAND_ALL 0x264
647 #define HID_CONSUMER_USAGE_AC_COLLAPSE 0x265
648 #define HID_CONSUMER_USAGE_AC_COLLAPSE_ALL 0x266
649 #define HID_CONSUMER_USAGE_AC_PRINT_PREVIEW 0x267
650 #define HID_CONSUMER_USAGE_AC_PASTE_SPECIAL 0x268
651 #define HID_CONSUMER_USAGE_AC_INSERT_MODE 0x269
652 #define HID_CONSUMER_USAGE_AC_DELETE 0x26A
653 #define HID_CONSUMER_USAGE_AC_LOCK 0x26B
654 #define HID_CONSUMER_USAGE_AC_UNLOCK 0x26C
655 #define HID_CONSUMER_USAGE_AC_PROTECT 0x26D
656 #define HID_CONSUMER_USAGE_AC_UNPROTECT 0x26E
657 #define HID_CONSUMER_USAGE_AC_ATTACH_COMMENT 0x26F
658 #define HID_CONSUMER_USAGE_AC_DELETE_COMMENT 0x270
659 #define HID_CONSUMER_USAGE_AC_VIEW_COMMENT 0x271
660 #define HID_CONSUMER_USAGE_AC_SELECT_WORD 0x272
661 #define HID_CONSUMER_USAGE_AC_SELECT_SENTENCE 0x273
662 #define HID_CONSUMER_USAGE_AC_SELECT_PARAGRAPH 0x274
663 #define HID_CONSUMER_USAGE_AC_SELECT_COLUMN 0x275
664 #define HID_CONSUMER_USAGE_AC_SELECT_ROW 0x276
665 #define HID_CONSUMER_USAGE_AC_SELECT_TABLE 0x277
666 #define HID_CONSUMER_USAGE_AC_SELECT_OBJECT 0x278
667 #define HID_CONSUMER_USAGE_AC_REDO_REPEAT 0x279
668 #define HID_CONSUMER_USAGE_AC_SORT 0x27A
669 #define HID_CONSUMER_USAGE_AC_SORT_ASCENDING 0x27B
670 #define HID_CONSUMER_USAGE_AC_SORT_DESCENDING 0x27C
671 #define HID_CONSUMER_USAGE_AC_FILTER 0x27D
672 #define HID_CONSUMER_USAGE_AC_SET_CLOCK 0x27E
673 #define HID_CONSUMER_USAGE_AC_VIEW_CLOCK 0x27F
674 #define HID_CONSUMER_USAGE_AC_SELECT_TIME_ZONE 0x280
675 #define HID_CONSUMER_USAGE_AC_EDIT_TIME_ZONES 0x281
676 #define HID_CONSUMER_USAGE_AC_SET_ALARM 0x282
677 #define HID_CONSUMER_USAGE_AC_CLEAR_ALARM 0x283
678 #define HID_CONSUMER_USAGE_AC_SNOOZE_ALARM 0x284
679 #define HID_CONSUMER_USAGE_AC_RESET_ALARM 0x285
680 #define HID_CONSUMER_USAGE_AC_SYNCHRONIZE 0x286
681 #define HID_CONSUMER_USAGE_AC_SEND_RECEIVE 0x287
682 #define HID_CONSUMER_USAGE_AC_SEND_TO 0x288
683 #define HID_CONSUMER_USAGE_AC_REPLY 0x289
684 #define HID_CONSUMER_USAGE_AC_REPLY_ALL 0x28A
685 #define HID_CONSUMER_USAGE_AC_FORWARD_MSG 0x28B
686 #define HID_CONSUMER_USAGE_AC_SEND 0x28C
687 #define HID_CONSUMER_USAGE_AC_ATTACH_FILE 0x28D
688 #define HID_CONSUMER_USAGE_AC_UPLOAD 0x28E
689 #define HID_CONSUMER_USAGE_AC_DOWNLOAD_SAVE_TARGET_AS 0x28F
690 #define HID_CONSUMER_USAGE_AC_SET_BORDERS 0x290
691 #define HID_CONSUMER_USAGE_AC_INSERT_ROW 0x291
692 #define HID_CONSUMER_USAGE_AC_INSERT_COLUMN 0x292
693 #define HID_CONSUMER_USAGE_AC_INSERT_FILE 0x293
694 #define HID_CONSUMER_USAGE_AC_INSERT_PICTURE 0x294
695 #define HID_CONSUMER_USAGE_AC_INSERT_OBJECT 0x295
696 #define HID_CONSUMER_USAGE_AC_INSERT_SYMBOL 0x296
697 #define HID_CONSUMER_USAGE_AC_SAVE_AND_CLOSE 0x297
698 #define HID_CONSUMER_USAGE_AC_RENAME 0x298
699 #define HID_CONSUMER_USAGE_AC_MERGE 0x299
700 #define HID_CONSUMER_USAGE_AC_SPLIT 0x29A
701 #define HID_CONSUMER_USAGE_AC_DISRIBUTE_HORIZONTALLY 0x29B
702 #define HID_CONSUMER_USAGE_AC_DISTRIBUTE_VERTICALLY 0x29C
704 #ifdef HAVE_USB_HID_MOUSE
705 /* Mouse defines (custom made - Rockbox specific) */
706 #define HID_MOUSE_NONE 0x00
707 #define HID_MOUSE_UP 0x01
708 #define HID_MOUSE_UP_REP 0x02
709 #define HID_MOUSE_DOWN 0x03
710 #define HID_MOUSE_DOWN_REP 0x04
711 #define HID_MOUSE_LEFT 0x05
712 #define HID_MOUSE_LEFT_REP 0x06
713 #define HID_MOUSE_RIGHT 0x07
714 #define HID_MOUSE_RIGHT_REP 0x08
715 #define HID_MOUSE_LDRAG_UP 0x09
716 #define HID_MOUSE_LDRAG_UP_REP 0x0A
717 #define HID_MOUSE_LDRAG_DOWN 0x0B
718 #define HID_MOUSE_LDRAG_DOWN_REP 0x0C
719 #define HID_MOUSE_LDRAG_LEFT 0x0D
720 #define HID_MOUSE_LDRAG_LEFT_REP 0x0E
721 #define HID_MOUSE_LDRAG_RIGHT 0x0F
722 #define HID_MOUSE_LDRAG_RIGHT_REP 0x10
723 #define HID_MOUSE_RDRAG_UP 0x11
724 #define HID_MOUSE_RDRAG_UP_REP 0x12
725 #define HID_MOUSE_RDRAG_DOWN 0x13
726 #define HID_MOUSE_RDRAG_DOWN_REP 0x14
727 #define HID_MOUSE_RDRAG_LEFT 0x15
728 #define HID_MOUSE_RDRAG_LEFT_REP 0x16
729 #define HID_MOUSE_RDRAG_RIGHT 0x17
730 #define HID_MOUSE_RDRAG_RIGHT_REP 0x18
731 #define HID_MOUSE_SCROLL_UP 0x19
732 #define HID_MOUSE_SCROLL_DOWN 0x1A
733 #define HID_MOUSE_BUTTON_LEFT 0x1B
734 #define HID_MOUSE_BUTTON_LEFT_REL 0x1C
735 #define HID_MOUSE_BUTTON_RIGHT 0x1D
736 #define HID_MOUSE_BUTTON_RIGHT_REL 0x1E
737 #endif /* HAVE_USB_HID_MOUSE */