typedef struct _HID_GLOBALS { uint16_t usagePage; int32_t logicalMinimum; int32_t logicalMaximum; int32_t physicalMinimum; int32_t physicalMaximum; int32_t unitExponent; int32_t unit; uint16_t reportIndex; uint8_t reportID; uint8_t reportsize; uint8_t reportCount; } HID_GLOBALS;
HID Global Item Information
This structure contains information about each Global Item of the report descriptor.
Members |
Description |
uint16_t usagePage; |
Specifies current Usage Page |
int32_t logicalMinimum; |
This is the minimum value that a variable or array item will report |
int32_t logicalMaximum; |
This is the maximum value that a variable or array item will report |
int32_t physicalMinimum; |
Minimum value for the physical extent of a variable item |
int32_t physicalMaximum; |
Maximum value for the physical extent of a variable item |
int32_t unitExponent; |
Value of the unit exponent in base 10 |
int32_t unit; |
Unit values |
uint16_t reportIndex; |
Conter to keep track of report being processed in the parser |
uint8_t reportID; |
Report ID. All the reports are preceded by a single byte report ID |
uint8_t reportsize; |
Size of current report in bytes |
uint8_t reportCount; |
This field determines number of fields in the report |
MLA - USB Library Help Version : 2.16
![]() |