dispatchDigitizerEvent
Dispatch tablet events without orientation
Declaration
virtual void dispatchDigitizerEvent(
AbsoluteTime timeStamp,
UInt32 transducerID,
DigitizerTransducerType type,
bool inRange,
UInt32 buttonState,
IOFixed x,
IOFixed y,
IOFixed z = 0,
IOFixed tipPressure = 0,
IOFixed auxPressure = 0,
IOFixed twist = 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.
- options:
Additional options to be used when dispatching event.
Overview
This is meant to be used with transducers without any orientation.