![]() |
Ultibo API
C/C++ API for Ultibo Core
|
#include <mouse.h>
Data Fields | |
| DEVICE | device |
| The Device entry for this Mouse. | |
| uint32_t | mouseid |
| Unique Id of this Mouse in the Mouse table. | |
| uint32_t | mousestate |
| Mouse state (eg MOUSE_STATE_ATTACHED). | |
| uint32_t | mouserate |
| Mouse sample rate (Samples per second). | |
| mouse_device_read_proc | deviceread |
| A Device specific DeviceRead method implementing a standard Mouse device interface (Or nil if the default method is suitable). | |
| mouse_device_update_proc | deviceupdate |
| A Device specific DeviceUpdate method implementing a standard Mouse device interface (Or nil if the default method is suitable). | |
| mouse_device_control_proc | devicecontrol |
| A Device specific DeviceControl method implementing a standard Mouse device interface (Or nil if the default method is suitable). | |
| mouse_device_get_properties_proc | devicegetproperties |
| A Device specific DeviceGetProperties method implementing a standard Mouse device interface (Or nil if the default method is suitable). | |
| MUTEX_HANDLE | lock |
| Mouse lock. | |
| MOUSE_BUFFER | buffer |
| Mouse input buffer. | |
| MOUSE_PROPERTIES | properties |
| Device properties. | |
| uint32_t | receivecount |
| uint32_t | receiveerrors |
| uint32_t | bufferoverruns |
| MOUSE_DEVICE * | prev |
| Previous entry in Mouse table. | |
| MOUSE_DEVICE * | next |
| Next entry in Mouse table. | |
| DEVICE device |
The Device entry for this Mouse.
| uint32_t mouseid |
Unique Id of this Mouse in the Mouse table.
| uint32_t mousestate |
Mouse state (eg MOUSE_STATE_ATTACHED).
| uint32_t mouserate |
Mouse sample rate (Samples per second).
| mouse_device_read_proc deviceread |
A Device specific DeviceRead method implementing a standard Mouse device interface (Or nil if the default method is suitable).
| mouse_device_update_proc deviceupdate |
A Device specific DeviceUpdate method implementing a standard Mouse device interface (Or nil if the default method is suitable).
| mouse_device_control_proc devicecontrol |
A Device specific DeviceControl method implementing a standard Mouse device interface (Or nil if the default method is suitable).
| mouse_device_get_properties_proc devicegetproperties |
A Device specific DeviceGetProperties method implementing a standard Mouse device interface (Or nil if the default method is suitable).
| MUTEX_HANDLE lock |
Mouse lock.
| MOUSE_BUFFER buffer |
Mouse input buffer.
| MOUSE_PROPERTIES properties |
Device properties.
| uint32_t receivecount |
| uint32_t receiveerrors |
| uint32_t bufferoverruns |
| MOUSE_DEVICE* prev |
Previous entry in Mouse table.
| MOUSE_DEVICE* next |
Next entry in Mouse table.