Neonode zForce(TM) SDK
PlatformDevice.h
Go to the documentation of this file.
1 
12 #ifndef DEVICE_PLATFORMDEVICE_PLATFORMDEVICE_H
13 #define DEVICE_PLATFORMDEVICE_PLATFORMDEVICE_H
14 
15 #ifndef ZFORCECOMMON_H
16  #error Please include "zForceCommon.h" before this file.
17 #endif // ZFORCECOMMON_H
18 
27 {
29 
44 
61  uint32_t frequency);
62 
77  bool ( * GetIdleFrequency)(PlatformDevice * self);
78 
92  bool ( * SetIdleFrequency)(PlatformDevice * self,
93  uint32_t frequency);
94 
95 };
96 
111 DLLINTERNAL PlatformDevice * PlatformDevice_New (Connection * connection,
112  DeviceType deviceType,
113  uint32_t deviceIndex,
114  size_t size);
115 
116 #endif // DEVICE_PLATFORMDEVICE_PLATFORMDEVICE_H
117 
DLLINTERNAL PlatformDevice * PlatformDevice_New(Connection *connection, DeviceType deviceType, uint32_t deviceIndex, size_t size)
Internal call used to create a new PlatformDevice.
Struct representing a PlatformDevice.
Definition: PlatformDevice.h:26
bool(* SetFingerFrequency)(PlatformDevice *self, uint32_t frequency)
Set the finger frequency.
Definition: PlatformDevice.h:60
The main Connection struct.
Definition: Connection.h:56
Device
Base device.
Definition: PlatformDevice.h:28
bool(* GetIdleFrequency)(PlatformDevice *self)
Get the current idle frequency.
Definition: PlatformDevice.h:77
DeviceType
Enum describing the different device types that exists.
Definition: zForceTypes.h:69
bool(* SetIdleFrequency)(PlatformDevice *self, uint32_t frequency)
Set the idle frequency.
Definition: PlatformDevice.h:92
bool(* GetFingerFrequency)(PlatformDevice *self)
Get the current finger frequency.
Definition: PlatformDevice.h:43