|
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... | |
Public Member Functions inherited from TimedXyzData | |
| TimedXyzData () | |
| Constructor. More... | |
| TimedXyzData (const quint64 ×tamp, int x, int y, int z) | |
| Constructor. More... | |
Public Member Functions inherited from TimedData | |
| 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... | |
Public Attributes inherited from TimedXyzData | |
| int | x_ |
| X value. More... | |
| int | y_ |
| Y value. More... | |
| int | z_ |
| Z value. More... | |
Public Attributes inherited from TimedData | |
| 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.