dispatchDigitizerEventWithPolarOrientation
Dispatch tablet events with polar orientation
Declaration
virtual void dispatchDigitizerEventWithPolarOrientation(
AbsoluteTime timeStamp,
UInt32 transducerID,
DigitizerTransducerType type,
bool inRange,
UInt32 buttonState,
IOFixed x,
IOFixed y,
IOFixed z = 0,
IOFixed tipPressure = 0, // 0.0-1.0 in 16:16 fixed
IOFixed tanPressure = 0, // 0.0-1.0 in 16:16 fixed
IOFixed twist = 0,
IOFixed altitude = 0,
IOFixed azimuth = 0,
IOOptionBits options = 0 );Parameters
- timeStamp:
AbsoluteTime representing origination of event
- ID:
ID of the transducer generating the event
- type:
Type of the transducer generating the event
- inRange:
Details whether the transducer is in promitity to digitizer surface
- buttonState:
Button mask where bit0 is the primary button, bit1 secondary and so forth
- x:
Absolute location of transducer along the x-axis from 0.0 to 1.0 in 16:16 fixed point.
- y:
Absolute location of transducer along the y-axis from 0.0 to 1.0 in 16:16 fixed point.
- z:
Absolute location of transducer along the z-axis from 0.0 to 1.0 in 16:16 fixed point. This is typically used to determine the distance between the transducer and surface
- tipPressure:
Absolute pressure exerted on surface by tip from 0.0 to 1.0 in 16:16 fixed point.
- auxPressure:
Absolute pressure exerted on transducer from 0.0 to 1.0 in 16:16 fixed point.
- twist:
Absolute clockwise rotation along the transducer's major axis from 0.0 to 360.0 degrees in 16:16 fixed point.
- altitude:
Specifies angle with the X-Y plane thorugh a signed, semicircular range. Positive values specify an angle downward and toward the positive Z axis. Value is represented in degrees from -180.0 to 180.0 in 16:16 fixed point.
- azimuth:
Counter clockwise rotation of the cursor around the Z-axis through a full circular range. Value is represented in degrees from 0.0 to 360.0 in 16:16 fixed point.
- options:
Additional options to be used when dispatching event.
Overview
This is meant to be used with transducers that leverage polar orientation