Contents

getUnit

Returns the units that you use to interpret the element’s value.

Declaration

virtual uint32_t getUnit();

Return Value

Returns the element’s unit. The unit value is defined in the USB HID spec.

See Also

Accessing the Element’s Value