Generic USB HID defines and helpers.  
More...
Generic USB HID defines and helpers. 
 | 
| file   | hid.h | 
|   | Definition for USB HID interfaces. 
  | 
|   | 
 | 
| 
#define  | USB_HID_SUBCLASS_NONE   0x0 | 
|   | 
| 
#define  | USB_HID_SUBCLASS_BOOT   0x1 | 
|   | 
 | 
| 
#define  | USB_HID_PROTOCOL_NONE   0x0 | 
|   | 
| 
#define  | USB_HID_PROTOCOL_KEYBOARD   0x1 | 
|   | 
| 
#define  | USB_HID_PROTOCOL_MOUSE   0x2 | 
|   | 
 | 
| 
#define  | USB_HID_DESCR_HID   0x21 | 
|   | 
| 
#define  | USB_HID_DESCR_REPORT   0x22 | 
|   | 
| 
#define  | USB_HID_DESCR_PHYSICAL   0x23 | 
|   | 
 | 
| 
#define  | USB_HID_REQUEST_GET_REPORT   0x01 | 
|   | 
| 
#define  | USB_HID_REQUEST_GET_IDLE   0x02 | 
|   | 
| 
#define  | USB_HID_REQUEST_GET_PROTOCOL   0x03 | 
|   | 
| 
#define  | USB_HID_REQUEST_SET_REPORT   0x09 | 
|   | 
| 
#define  | USB_HID_REQUEST_SET_IDLE   0x0a | 
|   | 
| 
#define  | USB_HID_REQUEST_SET_PROTOCOL   0x0b | 
|   |