typedef struct _HID_COLLECTION { uint32_t data; uint16_t usagePage; uint8_t firstUsageItem; uint8_t usageItems; uint8_t firstReportItem; uint8_t reportItems; uint8_t parent; uint8_t firstChild; uint8_t nextSibling; } HID_COLLECTION;
HID Collection Details
This structure contains information about each collection encountered in the report descriptor.
Members |
Description |
uint32_t data; |
Collection raw data |
uint16_t usagePage; |
Usage page associated with current level of collection |
uint8_t firstUsageItem; |
Index of First Usage Item in the current collection |
uint8_t usageItems; |
Number of Usage Items in the current collection |
uint8_t firstReportItem; |
Index of First report Item in the current collection |
uint8_t reportItems; |
Number of report Items in the current collection |
uint8_t parent; |
Index to Parent collection |
uint8_t firstChild; |
Index to next child collection in the report descriptor |
uint8_t nextSibling; |
Index to next child collection in the report descriptor |
MLA - USB Library Help Version : 2.16
![]() |