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. | |
TapData (const quint64 ×tamp, Direction direction, Type type) | |
Constructor. | |
Public Attributes | |
TapData::Direction | direction_ |
Direction of tap. | |
TapData::Type | type_ |
Type of tap. |
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::TapData | ( | ) | [inline] |
TapData::TapData | ( | const quint64 & | timestamp, |
Direction | direction, | ||
Type | type | ||
) | [inline] |