Unit ClassHIDSharp
Describes the units of a report value.
Inheritance Hierarchy

SystemObject
  HidSharp.ReportDescriptors.UnitsUnit

Namespace: HidSharp.ReportDescriptors.Units
Assembly: HidSharp (in HidSharp.dll) Version: 2.0.0-alpha
Syntax

public class Unit

The Unit type exposes the following members.

Constructors

  NameDescription
Public methodUnit
Initializes a new instance of the Unit class.
Top
Methods

  NameDescription
Public methodStatic memberDecodeExponent
Decodes an encoded HID unit exponent.
Public methodStatic memberEncodeExponent
Encodes an exponent in HID unit form.
Top
Properties

  NameDescription
Public propertyCurrentExponent
Gets or sets the exponent of the report value's units of current.
Public propertyCurrentUnit
Gets the units of current corresponding to System.
Public propertyLengthExponent
Gets or sets the exponent of the report value's units of length.
Public propertyLengthUnit
Gets the units of length corresponding to System.
Public propertyLuminousIntensityExponent
Gets or sets the exponent of the report value's units of luminous intensity.
Public propertyLuminousIntensityUnit
Gets the units of luminous intensity corresponding to System.
Public propertyMassExponent
Gets or sets the exponent of the report value's units of mass.
Public propertyMassUnit
Gets the units of mass corresponding to System.
Public propertySystem
Gets or sets the unit system.
Public propertyTemperatureExponent
Gets or sets the exponent of the report value's units of temperature.
Public propertyTemperatureUnit
Gets the units of temperature corresponding to System.
Public propertyTimeExponent
Gets or sets the exponent of the report value's units of time.
Public propertyTimeUnit
Gets the units of time corresponding to System.
Public propertyValue
Gets or sets the raw HID value describing the units.
Top
See Also

Reference