Neonode zForce(TM) SDK

ReverseTouchActiveAreaMessage.h
Go to the documentation of this file.
1
8 #ifndef MESSAGE_REVERSETOUCHACTIVEAREAMESSAGE_REVERSETOUCHACTIVEAREAMESSAGE_H
9 #define MESSAGE_REVERSETOUCHACTIVEAREAMESSAGE_REVERSETOUCHACTIVEAREAMESSAGE_H 1
10
11 #ifndef ZFORCECOMMON_H
12 #error Please include "zForceCommon.h" before this file.
13 #endif // ZFORCECOMMON_H
14
21 struct ReverseTouchActiveAreaMessage
22 {
28 MessageType MessageType;
34 MessageGroup MessageGroup;
40 bool Error;
46 int ErrorCode;
52 uint64_t SerialNumber;
58 void ( * Destructor)(Message * self);
59 bool XIsReversed;
60 bool YIsReversed;
61 };
62
63 #ifdef __cplusplus
64 extern "C"
65 {
66 #endif // __cplusplus
67
83 DLLINTERNAL ReverseTouchActiveAreaMessage * ReverseTouchActiveAreaMessage_New (MessageGroup messageGroup, uint32_t size);
84
85 #ifdef __cplusplus
86 }
87 #endif // __cplusplus
88
89 #endif // MESSAGE_REVERSETOUCHACTIVEAREAMESSAGE_REVERSETOUCHACTIVEAREAMESSAGE_H
ReverseTouchActiveAreaMessage_New
DLLINTERNAL ReverseTouchActiveAreaMessage * ReverseTouchActiveAreaMessage_New(MessageGroup messageGroup, uint32_t size)
Internal constructor for ReverseTouchActiveAreaMessage.
Message
The main Message struct.
Definition: Message.h:21
ReverseTouchActiveAreaMessage
This structure represents a reverse touch active area message.
Definition: ReverseTouchActiveAreaMessage.h:22
ReverseTouchActiveAreaMessage::ErrorCode
int ErrorCode
Definition: ReverseTouchActiveAreaMessage.h:46
ReverseTouchActiveAreaMessage::YIsReversed
bool YIsReversed
True if the Y axis is reversed.
Definition: ReverseTouchActiveAreaMessage.h:60
ReverseTouchActiveAreaMessage::Destructor
void(* Destructor)(Message *self)
Definition: ReverseTouchActiveAreaMessage.h:58
ReverseTouchActiveAreaMessage::SerialNumber
uint64_t SerialNumber
Definition: ReverseTouchActiveAreaMessage.h:52
ReverseTouchActiveAreaMessage::XIsReversed
bool XIsReversed
True if the X axis is reversed.
Definition: ReverseTouchActiveAreaMessage.h:59
ReverseTouchActiveAreaMessage::MessageType
MessageType MessageType
Definition: ReverseTouchActiveAreaMessage.h:28
ReverseTouchActiveAreaMessage::Error
bool Error
Definition: ReverseTouchActiveAreaMessage.h:40
ReverseTouchActiveAreaMessage::MessageGroup
MessageGroup MessageGroup
Definition: ReverseTouchActiveAreaMessage.h:34
MessageGroup
MessageGroup
Enum describing the different groups a message can belong to.
Definition: zForceTypes.h:134
MessageType
MessageType
Enum describing the different message types that exists.
Definition: zForceTypes.h:104