![]() |
Ultibo API
C/C++ API for Ultibo Core
|
#include <touch.h>
Data Fields | |
| DEVICE | device |
| The Device entry for this Touch device. | |
| uint32_t | touchid |
| Unique Id of this Touch device in the Touch device table. | |
| uint32_t | touchstate |
| Touch device state (eg TOUCH_STATE_ENABLED). | |
| touch_device_start_proc | devicestart |
| A Device specific DeviceStart method implementing the standard Touch device interface (Mandatory). | |
| touch_device_stop_proc | devicestop |
| A Device specific DeviceStop method implementing the standard Touch device interface (Mandatory). | |
| touch_device_peek_proc | devicepeek |
| A Device specific DevicePeek method implementing a standard Touch device interface (Or nil if the default method is suitable). | |
| touch_device_read_proc | deviceread |
| A Device specific DeviceRead method implementing a standard Touch device interface (Or nil if the default method is suitable). | |
| touch_device_write_proc | devicewrite |
| A Device specific DeviceWrite method implementing a standard Touch device interface (Or nil if the default method is suitable). | |
| touch_device_flush_proc | deviceflush |
| A Device specific DeviceFlush method implementing a standard Touch device interface (Or nil if the default method is suitable). | |
| touch_device_update_proc | deviceupdate |
| A Device specific DeviceUpdate method implementing a standard Touch device interface (Or nil if the default method is suitable). | |
| touch_device_control_proc | devicecontrol |
| A Device specific DeviceControl method implementing a standard Touch device interface (Or nil if the default method is suitable). | |
| touch_device_get_properties_proc | devicegetproperties |
| A Device specific DeviceGetProperties method implementing a standard Touch device interface (Or nil if the default method is suitable). | |
| MUTEX_HANDLE | lock |
| Device lock. | |
| touch_event_cb | event |
| Event callback function (If assigned). | |
| void * | parameter |
| Parameter for the event callback (or nil). | |
| TOUCH_BUFFER | buffer |
| Touch input buffer. | |
| TOUCH_PROPERTIES | properties |
| Device properties. | |
| uint32_t | receivecount |
| uint32_t | receiveerrors |
| uint32_t | bufferoverruns |
| TOUCH_DEVICE * | prev |
| Previous entry in Touch device table. | |
| TOUCH_DEVICE * | next |
| Next entry in Touch device table. | |
| DEVICE device |
The Device entry for this Touch device.
| uint32_t touchid |
Unique Id of this Touch device in the Touch device table.
| uint32_t touchstate |
Touch device state (eg TOUCH_STATE_ENABLED).
| touch_device_start_proc devicestart |
A Device specific DeviceStart method implementing the standard Touch device interface (Mandatory).
| touch_device_stop_proc devicestop |
A Device specific DeviceStop method implementing the standard Touch device interface (Mandatory).
| touch_device_peek_proc devicepeek |
A Device specific DevicePeek method implementing a standard Touch device interface (Or nil if the default method is suitable).
| touch_device_read_proc deviceread |
A Device specific DeviceRead method implementing a standard Touch device interface (Or nil if the default method is suitable).
| touch_device_write_proc devicewrite |
A Device specific DeviceWrite method implementing a standard Touch device interface (Or nil if the default method is suitable).
| touch_device_flush_proc deviceflush |
A Device specific DeviceFlush method implementing a standard Touch device interface (Or nil if the default method is suitable).
| touch_device_update_proc deviceupdate |
A Device specific DeviceUpdate method implementing a standard Touch device interface (Or nil if the default method is suitable).
| touch_device_control_proc devicecontrol |
A Device specific DeviceControl method implementing a standard Touch device interface (Or nil if the default method is suitable).
| touch_device_get_properties_proc devicegetproperties |
A Device specific DeviceGetProperties method implementing a standard Touch device interface (Or nil if the default method is suitable).
| MUTEX_HANDLE lock |
Device lock.
| touch_event_cb event |
Event callback function (If assigned).
| void* parameter |
Parameter for the event callback (or nil).
| TOUCH_BUFFER buffer |
Touch input buffer.
| TOUCH_PROPERTIES properties |
Device properties.
| uint32_t receivecount |
| uint32_t receiveerrors |
| uint32_t bufferoverruns |
| TOUCH_DEVICE* prev |
Previous entry in Touch device table.
| TOUCH_DEVICE* next |
Next entry in Touch device table.