Generic USB HID defines and helpers.  
More...
Generic USB HID defines and helpers. 
|  | 
| file | hid.h | 
|  | Definition for USB HID interfaces. 
 | 
|  | 
◆ USB_HID_COUNTRY_CODE_NOTSUPPORTED
      
        
          | #define USB_HID_COUNTRY_CODE_NOTSUPPORTED   0x00 | 
      
 
USB HID country codes. 
Definition at line 71 of file hid.h.
 
 
◆ USB_HID_DESCR_HID
      
        
          | #define USB_HID_DESCR_HID   0x21 | 
      
 
Definition at line 63 of file hid.h.
 
 
◆ USB_HID_DESCR_PHYSICAL
      
        
          | #define USB_HID_DESCR_PHYSICAL   0x23 | 
      
 
Definition at line 65 of file hid.h.
 
 
◆ USB_HID_DESCR_REPORT
      
        
          | #define USB_HID_DESCR_REPORT   0x22 | 
      
 
Definition at line 64 of file hid.h.
 
 
◆ USB_HID_PROTOCOL_KEYBOARD
      
        
          | #define USB_HID_PROTOCOL_KEYBOARD   0x1 | 
      
 
Definition at line 55 of file hid.h.
 
 
◆ USB_HID_PROTOCOL_MOUSE
      
        
          | #define USB_HID_PROTOCOL_MOUSE   0x2 | 
      
 
Definition at line 56 of file hid.h.
 
 
◆ USB_HID_PROTOCOL_NONE
      
        
          | #define USB_HID_PROTOCOL_NONE   0x0 | 
      
 
Definition at line 54 of file hid.h.
 
 
◆ USB_HID_REQUEST_GET_IDLE
      
        
          | #define USB_HID_REQUEST_GET_IDLE   0x02 | 
      
 
Definition at line 78 of file hid.h.
 
 
◆ USB_HID_REQUEST_GET_PROTOCOL
      
        
          | #define USB_HID_REQUEST_GET_PROTOCOL   0x03 | 
      
 
Definition at line 79 of file hid.h.
 
 
◆ USB_HID_REQUEST_GET_REPORT
      
        
          | #define USB_HID_REQUEST_GET_REPORT   0x01 | 
      
 
Definition at line 77 of file hid.h.
 
 
◆ USB_HID_REQUEST_SET_IDLE
      
        
          | #define USB_HID_REQUEST_SET_IDLE   0x0a | 
      
 
Definition at line 81 of file hid.h.
 
 
◆ USB_HID_REQUEST_SET_PROTOCOL
      
        
          | #define USB_HID_REQUEST_SET_PROTOCOL   0x0b | 
      
 
Definition at line 82 of file hid.h.
 
 
◆ USB_HID_REQUEST_SET_REPORT
      
        
          | #define USB_HID_REQUEST_SET_REPORT   0x09 | 
      
 
Definition at line 80 of file hid.h.
 
 
◆ USB_HID_SUBCLASS_BOOT
      
        
          | #define USB_HID_SUBCLASS_BOOT   0x1 | 
      
 
Definition at line 47 of file hid.h.
 
 
◆ USB_HID_SUBCLASS_NONE
      
        
          | #define USB_HID_SUBCLASS_NONE   0x0 | 
      
 
Definition at line 46 of file hid.h.
 
 
◆ USB_HID_VERSION_BCD
      
        
          | #define USB_HID_VERSION_BCD   0x0110 | 
      
 
USB HID version in BCD. 
Definition at line 40 of file hid.h.
 
 
◆ USB_TYPE_DESCRIPTOR_HID
      
        
          | #define USB_TYPE_DESCRIPTOR_HID   0x21 | 
      
 
USB HID type descriptor. 
Definition at line 35 of file hid.h.
 
 
◆ USBUS_HID_EP_IN_REQUIRED_NUMOF
      
        
          | #define USBUS_HID_EP_IN_REQUIRED_NUMOF   1 | 
      
 
Number of IN EPs required for the HID interface. 
Definition at line 88 of file hid.h.
 
 
◆ USBUS_HID_EP_OUT_REQUIRED_NUMOF
      
        
          | #define USBUS_HID_EP_OUT_REQUIRED_NUMOF   1 | 
      
 
Number of Out EPs required for the HID interface. 
Definition at line 93 of file hid.h.