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 
20 {
21  Device;
22 
37 
54  uint32_t frequency);
55 
70  bool ( * GetIdleFrequency)(PlatformDevice * self);
71 
85  bool ( * SetIdleFrequency)(PlatformDevice * self,
86  uint32_t frequency);
87 
88 };
89 
102 DLLINTERNAL PlatformDevice * PlatformDevice_New (Connection * connection,
103  DeviceType deviceType,
104  uint32_t deviceIndex,
105  size_t size);
106 
107 #endif // DEVICE_PLATFORMDEVICE_PLATFORMDEVICE_H
108 
DLLINTERNAL PlatformDevice * PlatformDevice_New(Connection *connection, DeviceType deviceType, uint32_t deviceIndex, size_t size)
Internal call used to create a new PlatformDevice.
Definition: PlatformDevice.h:19
bool(* SetFingerFrequency)(PlatformDevice *self, uint32_t frequency)
Set the finger frequency.
Definition: PlatformDevice.h:53
The main Connection struct.
Definition: Connection.h:43
bool(* GetIdleFrequency)(PlatformDevice *self)
Get the current idle frequency.
Definition: PlatformDevice.h:70
bool(* SetIdleFrequency)(PlatformDevice *self, uint32_t frequency)
Set the idle frequency.
Definition: PlatformDevice.h:85
Brief Device base class.
Definition: Device.h:24
bool(* GetFingerFrequency)(PlatformDevice *self)
Get the current finger frequency.
Definition: PlatformDevice.h:36