41 .bDeviceSubClass = 0x00,
42 .bDeviceProtocol = 0x00,
43 .bMaxPacketSize0 = 64,
50 .bNumConfigurations = 1,
111 .bConfigurationValue = 1,
113 .bmAttributes = 0xC0,
119 .bInterfaceNumber = 0,
120 .bAlternateSetting = 0,
123 .bInterfaceSubClass = 0,
124 .nInterfaceProtocol = 0,
132 .bNumDescriptors = 1,
static const struct usb_device_desc device_desc
#define HID_TAG_GLOBAL_REPORT_ID
#define PIOS_USB_BOARD_VENDOR_ID
struct usb_endpoint_desc hid_out
APIs for PIOS_USBHOOK layer.
#define HID_TAG_LOCAL_USAGE
#define HID_TAG_GLOBAL_LOGICAL_MAX
USB HID layer functions header.
#define PIOS_USB_BOARD_DEVICE_VER
#define HID_LOCAL_ITEM_1(tag)
static const uint8_t hid_report_desc[36]
#define HID_TAG_MAIN_INPUT
#define HID_TAG_GLOBAL_REPORT_SIZE
USB_DESC_TYPE_CONFIGURATION
#define HID_GLOBAL_ITEM_2(tag)
void PIOS_USBHOOK_RegisterConfig(uint8_t config_id, const uint8_t *desc, uint16_t desc_size)
int32_t PIOS_USB_DESC_HID_ONLY_Init(void)
#define PIOS_USB_BOARD_PRODUCT_ID
#define HID_TAG_GLOBAL_LOGICAL_MIN
#define HID_GLOBAL_ITEM_1(tag)
void PIOS_USBHOOK_RegisterDevice(const uint8_t *desc, uint16_t desc_size)
#define HID_TAG_MAIN_COLLECTION
Defines the API to set up the HID-only USB descriptor config.
#define PIOS_USB_BOARD_HID_DATA_LENGTH
void PIOS_USB_HID_RegisterHidReport(const uint8_t *desc, uint16_t length)
#define HID_TAG_MAIN_OUTPUT
#define HID_MAIN_ITEM_1(tag)
const struct usb_config_hid_only config_hid_only
struct usb_interface_desc hid_if
void PIOS_USB_HID_RegisterHidDescriptor(const uint8_t *desc, uint16_t length)
#define HID_TAG_GLOBAL_REPORT_CNT
struct usb_configuration_desc config
struct usb_endpoint_desc hid_in
#define HID_TAG_MAIN_ENDCOLLECTION
#define HID_TAG_GLOBAL_USAGE_PAGE
#define HID_MAIN_ITEM_0(tag)