Contents

unit

The HID specification compliant unit code for this element.

Declaration

var unit: UInt32?

Discussion

The unit code specifies the physical units for the physical value, such as Seconds or Amperes.

See the HID specification for more details: https://www.usb.org/hid.