![]() |
Ultibo API
C/C++ API for Ultibo Core
|
#include <joystick.h>
Data Fields | |
| int32_t | axiscount |
| The number of Axes reported by this device. | |
| int16_t | axes [JOYSTICK_MAX_AXIS] |
| The currently reported value of each Axis. | |
| int32_t | hatcount |
| The number of Hats reported by this device. | |
| int16_t | hats [JOYSTICK_MAX_HAT] |
| The currently reported value of each Hat. | |
| int32_t | buttoncount |
| The number of Buttons reported by this device. | |
| uint32_t | buttons |
| The currently reported state of each Button. | |
| void * | parameter |
| The parameter for the event callback (If applicable). | |
| int32_t axiscount |
The number of Axes reported by this device.
| int16_t axes[JOYSTICK_MAX_AXIS] |
The currently reported value of each Axis.
| int32_t hatcount |
The number of Hats reported by this device.
| int16_t hats[JOYSTICK_MAX_HAT] |
The currently reported value of each Hat.
| int32_t buttoncount |
The number of Buttons reported by this device.
| uint32_t buttons |
The currently reported state of each Button.
| void* parameter |
The parameter for the event callback (If applicable).