8 #define ZFORCETYPES_H 1
10 #ifdef COMPILING_ZFORCE_SDK
11 typedef struct zForceHandler zForceHandler;
14 typedef struct zForce zForce;
107 OperationModesMessageType,
108 ResolutionMessageType,
109 TouchActiveAreaMessageType,
111 DetectedObjectSizeRestrictionMessageType,
112 NumberOfTrackedObjectsMessageType,
113 FingerFrequencyMessageType,
114 IdleFrequencyMessageType,
115 ReverseTouchActiveAreaMessageType,
116 McuUniqueIdentifierMessageType,
118 HidDisplaySizeMessageType,
120 ReflectiveEdgeFilterMessageType,
121 MergeTouchesMessageType,
122 TouchModeMessageType,
123 FloatingProtectionMessageType,
124 SnappingFilterMessageType,
125 DoubleClickPreventionMessageType,
126 HighestValidMessageType = DoubleClickPreventionMessageType
138 HighestValidMessageGroup = Notification
struct TransportEntry TransportEntry
Definition: Transport.h:33
Struct representing a AirDevice.
Definition: AirDevice.h:23
Struct representing a coordinate.
Definition: zForceTypes.h:206
bool HasY
Is set to true if the coordinate system has a Y axis.
Definition: zForceTypes.h:210
uint32_t X
X axis value.
Definition: zForceTypes.h:207
uint32_t Z
Z axis value.
Definition: zForceTypes.h:211
bool HasZ
Is set to true if the coordinate system has a Z axis.
Definition: zForceTypes.h:212
uint32_t Y
Y axis value.
Definition: zForceTypes.h:209
bool HasX
Is set to true if the coordinate system has a X axis.
Definition: zForceTypes.h:208
The main Connection struct.
Definition: Connection.h:66
Struct representing a CoreDevice.
Definition: CoreDevice.h:23
Struct containing the DataFrame information.
Definition: DataFrame.h:25
This structure represents a detected object size restriction message.
Definition: DetectedObjectSizeRestrictionMessage.h:22
Device base class.
Definition: Device.h:26
This structure represents a disable message.
Definition: DisableMessage.h:21
This structure represents a double-click prevention message.
Definition: DoubleClickPreventionMessage.h:21
This structure represents an enable message.
Definition: EnableMessage.h:22
This structure represents a finger frequency message.
Definition: FingerFrequencyMessage.h:21
This structure represents a FlipXY Message.
Definition: FlipXYMessage.h:21
This structure represents a floating protection message.
Definition: FloatingProtectionMessage.h:21
This structure represents a HID Display Size Message.
Definition: HidDisplaySizeMessage.h:21
This structure represents an idle frequency message.
Definition: IdleFrequencyMessage.h:21
Struct representing a LightingDevice.
Definition: LightingDevice.h:24
This structure represents an mcu unique identifier message.
Definition: McuUniqueIdentifierMessage.h:21
This structure represents a merge touches message.
Definition: MergeTouchesMessage.h:22
The main Message struct.
Definition: Message.h:21
This structure represents a number of tracked objects message.
Definition: NumberOfTrackedObjectsMessage.h:21
This structure represents an offset message.
Definition: OffsetMessage.h:21
This structure represents a operation mode message.
Definition: OperationModesMessage.h:24
Struct representing a PlusDevice.
Definition: PlusDevice.h:23
This structure represents the base class of all protocol definitions.
Definition: Protocol.h:28
This structure represents a operation mode message.
Definition: ReflectiveEdgeFilterMessage.h:23
This structure represents a resolution message.
Definition: ResolutionMessage.h:21
This structure represents a reverse touch active area message.
Definition: ReverseTouchActiveAreaMessage.h:22
This structure represents whether the Touch Active Area coordinates are reversed or not.
Definition: zForceTypes.h:242
bool XIsReversed
True if the X axis is reversed.
Definition: zForceTypes.h:243
bool YIsReversed
True if the Y axis is reversed.
Definition: zForceTypes.h:244
Struct representing a SensorDevice, a meta device.
Definition: SensorDevice.h:25
This structure represents an snapping filter message.
Definition: SnappingFilterMessage.h:21
Struct containing the StreamingDataFrame information.
Definition: StreamingDataFrame.h:25
This structure represents a touch active area message.
Definition: TouchActiveAreaMessage.h:22
This structure represents the Touch Active Area of a sensor.
Definition: zForceTypes.h:224
bool HasX
True if the coordinate system has a X axis.
Definition: zForceTypes.h:227
uint32_t UpperBoundX
End of the Touch Active Area X axis.
Definition: zForceTypes.h:226
uint32_t LowerBoundX
Start of the Touch Active Area X axis.
Definition: zForceTypes.h:225
uint32_t UpperBoundY
End of the Touch Active Area Y axis.
Definition: zForceTypes.h:229
bool HasY
True if the coordinate system has a Y axis.
Definition: zForceTypes.h:230
uint32_t LowerBoundY
Start of the Touch Active Area Y axis.
Definition: zForceTypes.h:228
This structure represents a touch message.
Definition: TouchMessage.h:21
This structure represents a touch mode message.
Definition: TouchModeMessage.h:21
Transport struct. This structure represents the base class of all Transport definitions.
Definition: Transport.h:43
MessageGroup
Enum describing the different groups a message can belong to.
Definition: zForceTypes.h:134
TouchModes
Enum describing what touch mode a device can be in.
Definition: zForceTypes.h:191
@ ClickOnTouchTouchMode
Touch Mode is set to Click on Touch.
Definition: zForceTypes.h:193
@ NormalTouchMode
Touch Mode is set to Normal.
Definition: zForceTypes.h:192
struct ProtocolEntry ProtocolEntry
Definition: zForceTypes.h:34
MessageAction
Enum describing the action of a message.
Definition: zForceTypes.h:146
@ SetAction
Set information on device.
Definition: zForceTypes.h:148
@ GetAction
Get information from device.
Definition: zForceTypes.h:147
MessageType
Enum describing the different message types that exists.
Definition: zForceTypes.h:104
TouchEvent
Enum describing what state a touch can be in.
Definition: zForceTypes.h:170
@ GhostEvent
Ghost touch detected.
Definition: zForceTypes.h:175
@ UpEvent
The Touch object is no longer detected.
Definition: zForceTypes.h:173
@ InvalidEvent
Invalid Touch event reported by Device.
Definition: zForceTypes.h:174
@ MoveEvent
The Touch object is moving.
Definition: zForceTypes.h:172
@ DownEvent
New Touch object detected.
Definition: zForceTypes.h:171
DeviceType
Enum describing the different device types that exists.
Definition: zForceTypes.h:90
OperationModes
Enum describing the OperationModes that a sensor can operate in.
Definition: zForceTypes.h:155
@ NoOperationMode
No Mode set.
Definition: zForceTypes.h:156
@ HighestValidOperationMode
Special value used for error checking.
Definition: zForceTypes.h:163
@ DetectionMode
Detection Mode (Touch).
Definition: zForceTypes.h:157
@ DetectionHidMode
Detection Mode for Hid Devices.
Definition: zForceTypes.h:160
@ SignalsMode
Signals Mode.
Definition: zForceTypes.h:158
@ GesturesMode
Definition: zForceTypes.h:161
@ LedLevelsMode
Led Levels Mode.
Definition: zForceTypes.h:159
TouchOrientation
Enum describing what orientation touches are generated in.
Definition: zForceTypes.h:182
@ LandscapeOrientation
Object is in Landscape orientation.
Definition: zForceTypes.h:184
@ PortraitOrientation
Object is in Portrait orientation.
Definition: zForceTypes.h:183