HID report descriptor short item data.
|
Data Fields |
| union { |
| struct { |
| unsigned int: 28 |
| int unit_exponent: 4 |
| } | |
| int logical_maximum |
| int logical_minimum |
| int physical_maximum |
| int physical_minimum |
| unsigned int report_count |
| unsigned int report_id |
| unsigned int report_size |
| struct { |
| enum | { HID_UNIT_LUMINOUS_INTENSITY_NONE = 0x0,
HID_UNIT_LUMINOUS_INTENSITY_CANDELA = 0x1
} |
| enum | { HID_UNIT_CURRENT_NONE = 0x0,
HID_UNIT_CURRENT_AMPERE = 0x1
} |
| enum | { HID_UNIT_TEMPERATURE_NONE = 0x0,
HID_UNIT_TEMPERATURE_KELVIN = 0x1,
HID_UNIT_TEMPERATURE_FAHRENHEIT = 0x3
} |
| enum | { HID_UNIT_TIME_NONE = 0x0,
HID_UNIT_TIME_SECONDS = 0x1
} |
| enum | { HID_UNIT_MASS_NONE = 0x0,
HID_UNIT_MASS_GRAM = 0x1,
HID_UNIT_MASS_SLUG = 0x3
} |
| enum | {
HID_UNIT_LENGTH_NONE = 0x0,
HID_UNIT_LENGTH_CENTIMETER = 0x1,
HID_UNIT_LENGTH_RADIANS = 0x2,
HID_UNIT_LENGTH_INCH = 0x3,
HID_UNIT_LENGTH_DEGREES = 0x4
} |
| enum | {
HID_UNIT_SYSTEM_NONE = 0x0,
HID_UNIT_SYSTEM_SI_LINEAR = 0x1,
HID_UNIT_SYSTEM_SI_ROTATION = 0x2,
HID_UNIT_SYSTEM_ENGLISH_LINEAR = 0x3,
HID_UNIT_SYSTEM_ENGLISH_ROTATION = 0x4
} |
| enum hid_short_item_data_t:: { ... } :: current |
| unsigned int: 4 |
| enum hid_short_item_data_t:: { ... } :: length |
| enum hid_short_item_data_t:: { ... } :: luminous_intensity |
| enum hid_short_item_data_t:: { ... } :: mass |
| enum hid_short_item_data_t:: { ... } :: system |
| enum hid_short_item_data_t:: { ... } :: temperature |
| enum hid_short_item_data_t:: { ... } :: time |
| } unit |
| unsigned int usage_page |
| } | global |
| union { |
| enum | { HID_DELIMITER_OPEN_SET = 0x01,
HID_DELIMITER_CLOSE_SET = 0x00
} |
| enum hid_short_item_data_t:: { ... } delimiter |
| unsigned int designator_index |
| unsigned int designator_maximum |
| unsigned int designator_minimum |
| unsigned int string_index |
| unsigned int string_maximum |
| unsigned int string_minimum |
| unsigned int usage |
| unsigned int usage_maximum |
| unsigned int usage_minimum |
| } | local |
| union { |
| enum | {
HID_COLLECTION_PHYSICAL = 0x00,
HID_COLLECTION_APPLICATION = 0x01,
HID_COLLECTION_LOGICAL = 0x02,
HID_COLLECTION_REPORT = 0x03,
HID_COLLECTION_NAMED_ARRAY = 0x04,
HID_COLLECTION_USAGE_SWITCH = 0x05,
HID_COLLECTION_USAGE_MODIFIER = 0x06
} |
| enum hid_short_item_data_t:: { ... } collection |
| struct { |
| unsigned int buffered_bytes: 1 |
| unsigned int constant: 1 |
| unsigned int: 23 |
| unsigned int no_preferred: 1 |
| unsigned int non_linear: 1 |
| unsigned int null_state: 1 |
| unsigned int relative: 1 |
| unsigned int variable: 1 |
| unsigned int volatile_: 1 |
| unsigned int wrap: 1 |
| } feature |
| struct { |
| unsigned int buffered_bytes: 1 |
| unsigned int constant: 1 |
| unsigned int: 23 |
| unsigned int no_preferred: 1 |
| unsigned int non_linear: 1 |
| unsigned int null_state: 1 |
| unsigned int relative: 1 |
| unsigned int variable: 1 |
| unsigned int wrap: 1 |
| } input |
| struct { |
| unsigned int buffered_bytes: 1 |
| unsigned int constant: 1 |
| unsigned int: 23 |
| unsigned int no_preferred: 1 |
| unsigned int non_linear: 1 |
| unsigned int null_state: 1 |
| unsigned int relative: 1 |
| unsigned int variable: 1 |
| unsigned int volatile_: 1 |
| unsigned int wrap: 1 |
| } output |
| } | main |
| unsigned long | value |