init(element:fromPhysicalValue:timestamp:)
Creates a HID element value from a physical value.
Declaration
init?<FloatingPointType>(element: HIDElement, fromPhysicalValue: FloatingPointType, timestamp: SuspendingClock.Instant) where FloatingPointType : BinaryFloatingPointParameters
- element:
The element associated with this value.
- timestamp:
The time that the value was created.
Discussion
The raw value and physical value are calculated; both must be valid.