|
sensorfw
|
Datatype for device tap events. More...
#include <tapdata.h>
Public Types | |
| enum | Direction { X = 0 , Y , Z , LeftRight , RightLeft , TopBottom , BottomTop , FaceBack , BackFace } |
| Direction of tap. More... | |
| enum | Type { DoubleTap = 0 , SingleTap } |
| Type of tap. More... | |
Public Member Functions | |
| TapData () | |
| Constructor. More... | |
| TapData (const quint64 ×tamp, Direction direction, Type type) | |
| Constructor. More... | |
Public Member Functions inherited from TimedData | |
| TimedData (const quint64 ×tamp) | |
| Constructor. More... | |
Public Attributes | |
| TapData::Direction | direction_ |
| Direction of tap. More... | |
| TapData::Type | type_ |
| Type of tap. More... | |
Public Attributes inherited from TimedData | |
| quint64 | timestamp_ |
| monotonic time (microsec) More... | |
Datatype for device tap events.
Contains enumerated values for different types of tap events.
| enum TapData::Direction |
Direction of tap.
The last six directions may not be supported depending on hardware.
| enum TapData::Type |
| TapData::Direction TapData::direction_ |
| TapData::Type TapData::type_ |