Ultibo API
C/C++ API for Ultibo Core
Loading...
Searching...
No Matches
_HID_USAGE Struct Reference

#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_USAGEaliases
 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_REPORTreport
 The report this usage belongs to.

Field Documentation

◆ page

uint16_t page

The usage page this usage refers to.

◆ usage

uint16_t usage

The usage within the usage page.

◆ count

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).

◆ index

uint32_t index

The index of this usage in the report (First usage is 0).

◆ stringindex

uint32_t stringindex

The string index for this usage.

◆ stringcount

uint32_t stringcount

The total number of sequential string index values where string index represents the minimum value or 1 for a single string.

◆ designatorindex

uint32_t designatorindex

The designator index for this usage.

◆ designatorcount

uint32_t designatorcount

The total number of sequential designator index values where designator index represents the minimum value or 1 for a single designator.

◆ logicalminimum

int32_t logicalminimum

The logical minimum value for this usage.

◆ logicalmaximum

int32_t logicalmaximum

The logical maximum value for this usage.

◆ physicalminimum

int32_t physicalminimum

The physical minimum value for this usage (in Units).

◆ physicalmaximum

int32_t physicalmaximum

The physical maximum value for this usage (in Units).

◆ unittype

uint32_t unittype

The unit type for this usage.

◆ unitexponent

uint32_t unitexponent

The unit exponent index for this usage.

◆ aliases

HID_USAGE* aliases

The list of aliased usages for this control (See Delimiters in Section 6.2.2.8).

◆ aliascount

uint32_t aliascount

The number of aliased usages contained for this control.

◆ report

HID_REPORT* report

The report this usage belongs to.


The documentation for this struct was generated from the following file: