![]() |
Ultibo API
C/C++ API for Ultibo Core
|
#include <hid.h>
Data Fields | |
| uint16_t | page |
| The usage page this usage refers to. | |
| uint16_t | usage |
| The usage within the usage page. | |
| uint16_t | count |
| The total number of sequential usages where Usage represents the minimum value or 1 for a single usage (Usage range is from Usage to Usage + Count - 1). | |
| uint32_t | index |
| The index of this usage in the report (First usage is 0). | |
| uint32_t | stringindex |
| The string index for this usage. | |
| uint32_t | stringcount |
| The total number of sequential string index values where string index represents the minimum value or 1 for a single string. | |
| uint32_t | designatorindex |
| The designator index for this usage. | |
| uint32_t | designatorcount |
| The total number of sequential designator index values where designator index represents the minimum value or 1 for a single designator. | |
| int32_t | logicalminimum |
| The logical minimum value for this usage. | |
| int32_t | logicalmaximum |
| The logical maximum value for this usage. | |
| int32_t | physicalminimum |
| The physical minimum value for this usage (in Units). | |
| int32_t | physicalmaximum |
| The physical maximum value for this usage (in Units). | |
| uint32_t | unittype |
| The unit type for this usage. | |
| uint32_t | unitexponent |
| The unit exponent index for this usage. | |
| HID_USAGE * | aliases |
| The list of aliased usages for this control (See Delimiters in Section 6.2.2.8). | |
| uint32_t | aliascount |
| The number of aliased usages contained for this control. | |
| HID_REPORT * | report |
| The report this usage belongs to. | |
| uint16_t page |
The usage page this usage refers to.
| uint16_t usage |
The usage within the usage page.
| uint16_t count |
The total number of sequential usages where Usage represents the minimum value or 1 for a single usage (Usage range is from Usage to Usage + Count - 1).
| uint32_t index |
The index of this usage in the report (First usage is 0).
| uint32_t stringindex |
The string index for this usage.
| uint32_t stringcount |
The total number of sequential string index values where string index represents the minimum value or 1 for a single string.
| uint32_t designatorindex |
The designator index for this usage.
| uint32_t designatorcount |
The total number of sequential designator index values where designator index represents the minimum value or 1 for a single designator.
| int32_t logicalminimum |
The logical minimum value for this usage.
| int32_t logicalmaximum |
The logical maximum value for this usage.
| int32_t physicalminimum |
The physical minimum value for this usage (in Units).
| int32_t physicalmaximum |
The physical maximum value for this usage (in Units).
| uint32_t unittype |
The unit type for this usage.
| uint32_t unitexponent |
The unit exponent index for this usage.
| HID_USAGE* aliases |
The list of aliased usages for this control (See Delimiters in Section 6.2.2.8).
| uint32_t aliascount |
The number of aliased usages contained for this control.
| HID_REPORT* report |
The report this usage belongs to.