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. More... | |
TouchData (TimedXyzData timedXyzData, int object, FingerState state) | |
Constructor. More... | |
![]() | |
TimedXyzData () | |
Constructor. More... | |
TimedXyzData (const quint64 ×tamp, int x, int y, int z) | |
Constructor. More... | |
![]() | |
TimedData (const quint64 ×tamp) | |
Constructor. More... | |
Public Attributes | |
int | object_ |
Touch event source (which finger), 1,2,... More... | |
FingerState | state_ |
Touch event finger state. More... | |
![]() | |
int | x_ |
X value. More... | |
int | y_ |
Y value. More... | |
int | z_ |
Z value. More... | |
![]() | |
quint64 | timestamp_ |
monotonic time (microsec) More... | |
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.
Enumerator | |
---|---|
FingerStateNotPresent | Finger not present. |
FingerStateAccurate | Coordinates are accurate. |
FingerStateInaccurate | Coordinates are either accurate or mirrored. |
Definition at line 41 of file touchdata.h.
|
inline |
|
inline |
Constructor.
timedXyzData | contained data. |
object | event source. |
state | event state. |
Definition at line 62 of file touchdata.h.
int TouchData::object_ |
Touch event source (which finger), 1,2,...
Definition at line 47 of file touchdata.h.
FingerState TouchData::state_ |
Touch event finger state.
Definition at line 48 of file touchdata.h.