|
Wixel SDK
|
Go to the documentation of this file.
9 #ifndef USB_HID_CONSTANTS_H_
10 #define USB_HID_CONSTANTS_H_
13 #define LED_NUM_LOCK 0
14 #define LED_CAPS_LOCK 1
15 #define LED_SCROLL_LOCK 2
20 #define LED_DO_NOT_DISTURB 7
23 #define MODIFIER_CONTROL_LEFT 0
24 #define MODIFIER_SHIFT_LEFT 1
25 #define MODIFIER_ALT_LEFT 2
26 #define MODIFIER_GUI_LEFT 3
27 #define MODIFIER_CONTROL_RIGHT 4
28 #define MODIFIER_SHIFT_RIGHT 5
29 #define MODIFIER_ALT_RIGHT 6
30 #define MODIFIER_GUI_RIGHT 7
71 #define KEY_RETURN 0x28
72 #define KEY_ESCAPE 0x29
73 #define KEY_BACKSPACE 0x2A
75 #define KEY_SPACE 0x2C
76 #define KEY_MINUS 0x2D
77 #define KEY_EQUAL 0x2E
78 #define KEY_BRACKET_LEFT 0x2F
79 #define KEY_BRACKET_RIGHT 0x30
80 #define KEY_BACKSLASH 0x31
81 #define KEY_EUROPE_1 0x32
82 #define KEY_SEMICOLON 0x33
83 #define KEY_APOSTROPHE 0x34
84 #define KEY_GRAVE 0x35
85 #define KEY_COMMA 0x36
86 #define KEY_PERIOD 0x37
87 #define KEY_SLASH 0x38
88 #define KEY_CAPS_LOCK 0x39
101 #define KEY_PRINT_SCREEN 0x46
102 #define KEY_SCROLL_LOCK 0x47
103 #define KEY_PAUSE 0x48
104 #define KEY_INSERT 0x49
105 #define KEY_HOME 0x4A
106 #define KEY_PAGE_UP 0x4B
107 #define KEY_DELETE 0x4C
109 #define KEY_PAGE_DOWN 0x4E
110 #define KEY_ARROW_RIGHT 0x4F
111 #define KEY_ARROW_LEFT 0x50
112 #define KEY_ARROW_DOWN 0x51
113 #define KEY_ARROW_UP 0x52
114 #define KEY_NUM_LOCK 0x53
115 #define KEY_KEYPAD_DIVIDE 0x54
116 #define KEY_KEYPAD_MULTIPLY 0x55
117 #define KEY_KEYPAD_SUBTRACT 0x56
118 #define KEY_KEYPAD_ADD 0x57
119 #define KEY_KEYPAD_ENTER 0x58
120 #define KEY_KEYPAD_1 0x59
121 #define KEY_KEYPAD_2 0x5A
122 #define KEY_KEYPAD_3 0x5B
123 #define KEY_KEYPAD_4 0x5C
124 #define KEY_KEYPAD_5 0x5D
125 #define KEY_KEYPAD_6 0x5E
126 #define KEY_KEYPAD_7 0x5F
127 #define KEY_KEYPAD_8 0x60
128 #define KEY_KEYPAD_9 0x61
129 #define KEY_KEYPAD_0 0x62
130 #define KEY_KEYPAD_DECIMAL 0x63
131 #define KEY_EUROPE_2 0x64
132 #define KEY_APPLICATION 0x65
133 #define KEY_POWER 0x66
134 #define KEY_KEYPAD_EQUAL 0x67
138 #define KEY_CONTROL_LEFT 0xE0
139 #define KEY_SHIFT_LEFT 0xE1
140 #define KEY_ALT_LEFT 0xE2
141 #define KEY_GUI_LEFT 0xE3
142 #define KEY_CONTROL_RIGHT 0xE4
143 #define KEY_SHIFT_RIGHT 0xE5
144 #define KEY_ALT_RIGHT 0xE6
145 #define KEY_GUI_RIGHT 0xE7
148 #define MOUSE_BUTTON_LEFT 0
149 #define MOUSE_BUTTON_RIGHT 1
150 #define MOUSE_BUTTON_MIDDLE 2