sensorfw
|
Datatype for device touchscreen events. More...
#include <touchdata.h>
Public Types | |
enum | FingerState { FingerStateNotPresent = 0, FingerStateAccurate, FingerStateInaccurate } |
Enumeration to handle synaptic multitouch driver accuracy. More... | |
Public Member Functions | |
TouchData () | |
Default Constructor. | |
TouchData (TimedXyzData timedXyzData, int object, FingerState state) | |
Constructor. | |
Public Attributes | |
int | object_ |
Touch event source (which finger), 1,2,... | |
FingerState | state_ |
Touch event finger state. |
Datatype for device touchscreen events.
Definition at line 34 of file touchdata.h.
Enumeration to handle synaptic multitouch driver accuracy.
On certain occasions the measured coordinates might be reversed on x/y axis.
FingerStateNotPresent |
Finger not present. |
FingerStateAccurate |
Coordinates are accurate. |
FingerStateInaccurate |
Coordinates are either accurate or mirrored. |
Definition at line 41 of file touchdata.h.
TouchData::TouchData | ( | ) | [inline] |
TouchData::TouchData | ( | TimedXyzData | timedXyzData, |
int | object, | ||
FingerState | state | ||
) | [inline] |
Constructor.
timedXyzData | contained data. |
object | event source. |
state | event state. |
Definition at line 62 of file touchdata.h.
Touch event source (which finger), 1,2,...
Definition at line 47 of file touchdata.h.
Touch event finger state.
Definition at line 48 of file touchdata.h.