13 #if !defined(DEVICE_SENSORDEVICE_SENSORDEVICE_H) && !defined(CONTAINS_SENSORDEVICE) 15 #ifndef ZFORCECOMMON_H 16 #error Please include "zForceCommon.h" before this file. 17 #endif // ZFORCECOMMON_H 29 #endif // !defined(DEVICE_SENSORDEVICE_SENSORDEVICE_H) && !defined(CONTAINS_SENSORDEVICE) 30 #if !defined(DEVICE_SENSORDEVICE_SENSORDEVICE_H) || defined(CONTAINS_SENSORDEVICE) 31 #define CONTAINS_DEVICE 33 #undef CONTAINS_DEVICE 76 bool ( * SetEnable)(
SensorDevice *
self,
bool continuousMode, uint32_t numberOfMessages);
191 bool ( * SetResolution)(
SensorDevice *
self, uint32_t x,
bool xIsValid,
192 uint32_t y,
bool yIsValid,
193 uint32_t z,
bool zIsValid);
209 bool ( * GetReverseTouchActiveArea)(
SensorDevice *
self);
228 bool ( * SetReverseTouchActiveArea)(
SensorDevice *
self,
bool xIsReversed,
bool yIsReversed);
260 bool ( * SetFlipXY)(
SensorDevice *
self,
bool axesAreFlipped);
292 bool ( * SetReflectiveEdgeFilter)(
SensorDevice *
self,
bool isFilterOn);
324 bool ( * SetMergeTouches)(
SensorDevice *
self,
bool areTouchesMerged);
363 bool ( * SetTouchActiveArea)(
SensorDevice *
self, uint32_t lowerBoundaryX, uint32_t upperBoundaryX,
bool xIsValid,
364 uint32_t lowerBoundaryY, uint32_t upperBoundaryY,
bool yIsValid);
380 bool ( * GetDetectedObjectSizeRestriction)(
SensorDevice *
self);
401 bool ( * SetDetectedObjectSizeRestriction)(
SensorDevice *
self,
402 uint32_t minimumSize,
403 uint32_t maximumSize,
404 bool minimumSizeIsValid,
405 bool maximumSizeIsValid);
421 bool ( * GetNumberOfTrackedObjects) (
SensorDevice *
self);
438 bool ( * SetNumberOfTrackedObjects) (
SensorDevice *
self,
439 uint32_t numberOfTrackedObjects);
475 bool ( * SetOffset) (
SensorDevice *
self, uint32_t offsetX,
bool offsetXIsValid,
476 uint32_t offsetY,
bool offsetYIsValid);
512 bool ( * SetHidDisplaySize) (
SensorDevice *
self, uint32_t sizeX,
bool sizeXIsValid,
513 uint32_t sizeY,
bool sizeYIsValid);
552 uint32_t clickOnTouchTime,
bool clickOnTouchTimeIsValid,
553 uint32_t clickOnTouchRadius,
bool clickOnTouchRadiusIsValid);
589 bool ( * SetFloatingProtection) (
SensorDevice *
self,
bool enabled,
bool enabledIsValid,
590 uint32_t time,
bool timeIsValid);
592 #endif // !defined(DEVICE_SENSORDEVICE_SENSORDEVICE_H) || defined(CONTAINS_SENSORDEVICE) 593 #if !defined(DEVICE_SENSORDEVICE_SENSORDEVICE_H) && !defined(CONTAINS_SENSORDEVICE) 599 #endif // __cplusplus 620 #endif // __cplusplus 622 #define DEVICE_SENSORDEVICE_SENSORDEVICE_H 623 #endif // !defined(DEVICE_SENSORDEVICE_SENSORDEVICE_H) && !defined(CONTAINS_SENSORDEVICE) OperationModes
Enum describing the OperationModes that a sensor can operate in.
Definition: zForceTypes.h:149
TouchModes
Enum describing what touch mode a device can be in.
Definition: zForceTypes.h:185
The main Connection struct.
Definition: Connection.h:64
struct SensorDevice SensorDevice
Definition: zForceTypes.h:23
struct TouchActiveArea TouchActiveArea
Definition: zForceTypes.h:216
This structure represents whether the Touch Active Area coordinates are reversed or not...
Definition: zForceTypes.h:246
Struct representing a coordinate.
Definition: zForceTypes.h:200
DeviceType
Enum describing the different device types that exists.
Definition: zForceTypes.h:86
struct ReverseTouchActiveArea ReverseTouchActiveArea
Definition: zForceTypes.h:239
This structure represents the Touch Active Area of a sensor.
Definition: zForceTypes.h:223