Lightweight USB stack  1.0
hid_usage_led.h
1 /* This file is the part of the LUS32 project
2  *
3  * Copyright ©2016 Dmitry Filimonchuk <dmitrystu[at]gmail[dot]com>
4  *
5  * Licensed under the Apache License, Version 2.0 (the "License");
6  * you may not use this file except in compliance with the License.
7  * You may obtain a copy of the License at
8  * http://www.apache.org/licenses/LICENSE-2.0
9  * Unless required by applicable law or agreed to in writing, software
10  * distributed under the License is distributed on an "AS IS" BASIS,
11  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12  * See the License for the specific language governing permissions and
13  * limitations under the License.
14  */
15 
16 #ifndef _USB_HID_USAGE_LED_H_
17 #define _USB_HID_USAGE_LED_H_
18 
26 #define HID_PAGE_LED 0x08
27 
28 #define HID_LED_NUM_LOCK 0x01
29 #define HID_LED_CAPS_LOCK 0x02
30 #define HID_LED_SCROLL_LOCK 0x03
31 #define HID_LED_COMPOSE 0x04
32 #define HID_LED_KANA 0x05
33 #define HID_LED_POWER 0x06
34 #define HID_LED_SHIFT 0x07
35 #define HID_LED_DO_NOT_DISTURB 0x08
36 #define HID_LED_MUTE 0x09
37 #define HID_LED_TONE_ENABLE 0x0A
38 #define HID_LED_HIGH_CUT_FILTER 0x0B
39 #define HID_LED_LOW_CUT_FILTER 0x0C
40 #define HID_LED_EQUALIZER_ENABLE 0x0D
41 #define HID_LED_SOUND_FIELD_ON 0x0E
42 #define HID_LED_SURROUND_ON 0x0F
43 #define HID_LED_REPEAT 0x10
44 #define HID_LED_STEREO 0x11
45 #define HID_LED_SAMPLING_RATE_DETECT 0x12
46 #define HID_LED_SPINNING 0x13
47 #define HID_LED_CAV 0x14
48 #define HID_LED_CLV 0x15
49 #define HID_LED_REC_FORMAT_DETECT 0x16
50 #define HID_LED_OFF_HOOK 0x17
51 #define HID_LED_RING 0x18
52 #define HID_LED_MESSAGE_WAITING 0x19
53 #define HID_LED_DATA_MODE 0x1A
54 #define HID_LED_BATTERY_OPERATION 0x1B
55 #define HID_LED_BATTERY_OK 0x1C
56 #define HID_LED_BATTERY_LOW 0x1D
57 #define HID_LED_SPEAKER 0x1E
58 #define HID_LED_HEADSET 0x1F
59 #define HID_LED_HOLD 0x20
60 #define HID_LED_MICROPHONE 0x21
61 #define HID_LED_COVERAGE 0x22
62 #define HID_LED_NIGHT_MODE 0x23
63 #define HID_LED_SEND_CALLS 0x24
64 #define HID_LED_CALL_PICKUP 0x25
65 #define HID_LED_CONFERENCE 0x26
66 #define HID_LED_STANDBY 0x27
67 #define HID_LED_CAMERA_ON 0x28
68 #define HID_LED_CAMERA_OFF 0x29
69 #define HID_LED_ONLINE 0x2A
70 #define HID_LED_OFFLINE 0x2B
71 #define HID_LED_BUSY 0x2C
72 #define HID_LED_READY 0x2D
73 #define HID_LED_PAPER_OUT 0x2E
74 #define HID_LED_PAPER_JAM 0x2F
75 #define HID_LED_REMOTE 0x30
76 #define HID_LED_FORWARD 0x31
77 #define HID_LED_REVERSE 0x32
78 #define HID_LED_STOP 0x33
79 #define HID_LED_REWIND 0x34
80 #define HID_LED_FAST_FORWARD 0x35
81 #define HID_LED_PLAY 0x36
82 #define HID_LED_PAUSE 0x37
83 #define HID_LED_RECORD 0x38
84 #define HID_LED_ERROR 0x39
85 #define HID_LED_USAGE_SELECTED_IND 0x3A
86 #define HID_LED_USAGE_INUSE_IND 0x3B
87 #define HID_LED_USAGE_MULTIMODE_IND 0x3C
88 #define HID_LED_INDICATOR_ON 0x3D
89 #define HID_LED_INDICATOR_FLASH 0x3E
90 #define HID_LED_INDICATOR_SLOW_BLINK 0x3F
91 #define HID_LED_INDICATOR_FAST_BLINK 0x40
92 #define HID_LED_INDICATOR_OFF 0x41
93 #define HID_LED_FLASH_ON_TIME 0x42
94 #define HID_LED_SLOW_BLINK_ON_TIME 0x43
95 #define HID_LED_SLOW_BLINK_OFF_TIME 0x44
96 #define HID_LED_FAST_BLINK_ON_TIME 0x45
97 #define HID_LED_FAST_BLINK_OFF_TIME 0x46
98 #define HID_LED_USAGE_INDICATOR_COLOR 0x47
99 #define HID_LED_INDICATOR_RED 0x48
100 #define HID_LED_INDICATOR_GREEN 0x49
101 #define HID_LED_INDICATOR_AMBER 0x4A
102 #define HID_LED_GENERIC_INDICATOR 0x4B
103 #define HID_LED_SYSTEM_SUSPEND 0x4C
104 #define HID_LED_EXT_POWER_CONNECTED 0x4D
105 
106 #endif
107