Neonode zForce(TM) SDK

- Main Page
- Modules
- Classes
- Files

- File List
- File Members

TouchMessage.h
Go to the documentation of this file.
1
9 #ifndef MESSAGE_TOUCHMESSAGE_TOUCHMESSAGE_H
10 #define MESSAGE_TOUCHMESSAGE_TOUCHMESSAGE_H
11
12 #ifndef ZFORCECOMMON_H
13 #error Please include "zForceCommon.h" before this file.
14 #endif // ZFORCECOMMON_H
15
21 struct TouchMessage
22 {
23 Message;
24 uint32_t Id;
25 TouchEvent Event;
26 CartesianCoordinates;
27 uint32_t SizeX;
28 bool HasSizeX;
29 uint32_t SizeY;
30 bool HasSizeY;
31 uint32_t SizeZ;
32 bool HasSizeZ;
33 TouchOrientation Orientation;
34 bool HasOrientation;
35 uint32_t Confidence;
36 bool HasConfidence;
37 uint32_t Pressure;
38 bool HasPressure;
39 uint64_t Timestamp;
40 bool HasTimestamp;
41 };
42
58 DLLINTERNAL TouchMessage * TouchMessage_New (MessageGroup messageGroup,
59 uint32_t size);
60
61 #endif // MESSAGE_TOUCHMESSAGE_TOUCHMESSAGE_H
62
TouchMessage::Orientation
TouchOrientation Orientation
Orientation of the object.
Definition: TouchMessage.h:33
TouchMessage::HasSizeZ
bool HasSizeZ
Is the size reported for Z?
Definition: TouchMessage.h:32
TouchMessage::HasTimestamp
bool HasTimestamp
Is Timestamp reported?
Definition: TouchMessage.h:40
TouchMessage::Pressure
uint32_t Pressure
Pressure of the object.
Definition: TouchMessage.h:37
TouchMessage::Confidence
uint32_t Confidence
Detection confidence.
Definition: TouchMessage.h:35
TouchMessage::HasSizeX
bool HasSizeX
Is the size reported for X?
Definition: TouchMessage.h:28
TouchMessage::HasOrientation
bool HasOrientation
Is Orientation reported?
Definition: TouchMessage.h:34
TouchMessage_New
DLLINTERNAL TouchMessage * TouchMessage_New(MessageGroup messageGroup, uint32_t size)
Internal constructor for TouchMessage.
TouchMessage
This structure represents a touch message.
Definition: TouchMessage.h:21
TouchMessage::HasConfidence
bool HasConfidence
Is Confidence reported?
Definition: TouchMessage.h:36
TouchMessage::HasSizeY
bool HasSizeY
Is the size reported for Y?
Definition: TouchMessage.h:30
TouchOrientation
TouchOrientation
Enum describing what orientation touches are generated in.
Definition: zForceTypes.h:154
MessageGroup
MessageGroup
Enum describing the different groups a message can belong to.
Definition: zForceTypes.h:107
TouchEvent
TouchEvent
Enum describing what state a touch can be in.
Definition: zForceTypes.h:142
TouchMessage::SizeY
uint32_t SizeY
Size of the object on the Y axis.
Definition: TouchMessage.h:29
TouchMessage::HasPressure
bool HasPressure
Is Pressure reported?
Definition: TouchMessage.h:38
TouchMessage::Event
TouchEvent Event
Event of the Touch.
Definition: TouchMessage.h:25
TouchMessage::SizeZ
uint32_t SizeZ
Size of the object on the Z axis.
Definition: TouchMessage.h:31
TouchMessage::Message
Message
Base Message.
Definition: TouchMessage.h:23
TouchMessage::SizeX
uint32_t SizeX
Size of the object on the X axis.
Definition: TouchMessage.h:27
TouchMessage::CartesianCoordinates
CartesianCoordinates
X, Y, Z coordinates.
Definition: TouchMessage.h:26
TouchMessage::Timestamp
uint64_t Timestamp
Message timestamp.
Definition: TouchMessage.h:39
TouchMessage::Id
uint32_t Id
Id of the Touch.
Definition: TouchMessage.h:24