|
Neonode zForce(TM) SDK
|
Handles requests to the SensorDevice, a meta device. More...

Go to the source code of this file.
Classes | |
| struct | SensorDevice |
Functions | |
| DLLINTERNAL SensorDevice * | SensorDevice_New (Connection *connection, DeviceType deviceType, uint32_t deviceIndex, size_t size) |
| Internal call used to create a new SensorDevice. More... | |
Handles requests to the SensorDevice, a meta device.
SensorDevice is a meta device as it is not a real device and cannot be instantiated by itself. It contains everything that is shared between all the "real" Sensor types, currently CoreDevice, AirDevice and PlusDevice.
| DLLINTERNAL SensorDevice* SensorDevice_New | ( | Connection * | connection, |
| DeviceType | deviceType, | ||
| uint32_t | deviceIndex, | ||
| size_t | size | ||
| ) |
Internal call used to create a new SensorDevice.
On failure, errno is set.
| connection | The Connection the Device is associated with. |
| deviceType | Which DeviceType to create. |
| deviceIndex | Which Device Index to set. |
1.8.11