Neonode zForce(TM) SDK
|
Handles requests to the SensorDevice, a meta device. More...
Go to the source code of this file.
Classes | |
struct | SensorDevice |
Struct representing a SensorDevice, a meta device. More... | |
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 touch 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. |
size | If this is used as a base class for another class, set size to non-zero. |