xref: /haiku/headers/os/drivers/usb/USB_hid_page_led.h (revision b6ec842de4c268c02649990c58c1f891869ca285)
1 /*
2  * Copyright 2004-2010, Haiku Inc. All Rights Reserved.
3  * Distributed under the terms of the MIT License.
4  */
5 #ifndef _USB_HID_PAGE_LED_H
6 #define _USB_HID_PAGE_LED_H
7 
8 
9 /* Reference:
10  *		HID Usage Page 0x08: LED
11  *		HID Usage Tables Ver. 1.12
12  *		http://www.usb.org/developers/devclass_docs/Hut1_12.pdf
13  */
14 
15 // Usage IDs
16 enum {
17 	B_HID_UID_LED_NUM_LOCK = 0x01,
18 	B_HID_UID_LED_CAPS_LOCK,
19 	B_HID_UID_LED_SCROLL_LOCK,
20 	B_HID_UID_LED_COMPOSE,
21 	B_HID_UID_LED_KANA,
22 	B_HID_UID_LED_POWER,
23 	B_HID_UID_LED_SHIFT,
24 	B_HID_UID_LED_DO_NOT_DISTURB,
25 	B_HID_UID_LED_MUTE,
26 	B_HID_UID_LED_TONE_ENABLE,
27 	B_HID_UID_LED_HIGH_CUT_FILTER,
28 	B_HID_UID_LED_LOW_CUT_FILTER,
29 	B_HID_UID_LED_EQUALIZER_ENABLE,
30 	B_HID_UID_LED_SOUND_FIELD_ON,
31 	B_HID_UID_LED_SURROUND_ON,
32 	B_HID_UID_LED_REPEAT,
33 	B_HID_UID_LED_STEREO,
34 	B_HID_UID_LED_SAMPLING_RATE_DETECT,
35 	B_HID_UID_LED_SPINNING,
36 	B_HID_UID_LED_CAV,
37 	B_HID_UID_LED_CAL,
38 	B_HID_UID_LED_RECORDING_FORMAT_DETECT,
39 	B_HID_UID_LED_OFF_HOOK,
40 	B_HID_UID_LED_RING,
41 	B_HID_UID_LED_MESSAGE_WAITING,
42 	B_HID_UID_LED_DATA_MODE,
43 	B_HID_UID_LED_BATTERY_OPERATION,
44 	B_HID_UID_LED_BATTERY_OK,
45 	B_HID_UID_LED_BATTERY_LOW,
46 	B_HID_UID_LED_SPEAKER,
47 	B_HID_UID_LED_HEAD_SET,
48 	B_HID_UID_LED_HOLD,
49 	B_HID_UID_LED_MICROPHONE,
50 	B_HID_UID_LED_COVERAGE,
51 	B_HID_UID_LED_NIGHT_MODE,
52 	B_HID_UID_LED_SEND_CALLS,
53 	B_HID_UID_LED_CALL_PICKUP,
54 	B_HID_UID_LED_CONFERENCE,
55 	B_HID_UID_LED_STAND_BY,
56 	B_HID_UID_LED_CAMERA_ON,
57 	B_HID_UID_LED_CAMERA_OFF,
58 	B_HID_UID_LED_ON_LINE,
59 	B_HID_UID_LED_OFF_LINE,
60 	B_HID_UID_LED_BUSY,
61 	B_HID_UID_LED_READY,
62 	B_HID_UID_LED_PAPER_OUT,
63 	B_HID_UID_LED_PAPER_JAM,
64 	B_HID_UID_LED_REMOTE,
65 	B_HID_UID_LED_FORWARD,
66 	B_HID_UID_LED_REVERSE,
67 	B_HID_UID_LED_STOP,
68 	B_HID_UID_LED_REWIND,
69 	B_HID_UID_LED_FAST_FORWARD,
70 	B_HID_UID_LED_PLAY,
71 	B_HID_UID_LED_PAUSE,
72 	B_HID_UID_LED_RECORD,
73 	B_HID_UID_LED_ERROR,
74 	B_HID_UID_LED_USAGE_SELECTED_INDICATOR,
75 	B_HID_UID_LED_USAGE_IN_USE_INDICATOR,
76 	B_HID_UID_LED_USAGE_MULTI_MODE_INDICATOR,
77 	B_HID_UID_LED_INDICATOR_ON,
78 	B_HID_UID_LED_INDICATOR_FLASH,
79 	B_HID_UID_LED_INDICATOR_SLOW_BLINK,
80 	B_HID_UID_LED_INDICATOR_FAST_BLINK,
81 	B_HID_UID_LED_INDICATOR_OFF,
82 	B_HID_UID_LED_FLASH_ON_TIME,
83 	B_HID_UID_LED_SLOW_BLINK_ON_TIME,
84 	B_HID_UID_LED_SLOW_BLINK_OFF_TIME,
85 	B_HID_UID_LED_FAST_BLINK_ON_TIME,
86 	B_HID_UID_LED_FAST_BLINK_OFF_TIME,
87 	B_HID_UID_LED_USAGE_INDICATOR_COLOR,
88 	B_HID_UID_LED_USAGE_INDICATOR_RED,
89 	B_HID_UID_LED_USAGE_INDICATOR_GREEN,
90 	B_HID_UID_LED_USAGE_INDICATOR_AMBER,
91 	B_HID_UID_LED_GENERIC_INDICATOR,
92 	B_HID_UID_LED_SYSTEM_SUSPEND,
93 	B_HID_UID_LED_EXTERNAL_POWER_CONNECTED
94 };
95 
96 
97 #endif // _USB_HID_PAGE_LED_H
98