![]() |
Ultibo API
C/C++ API for Ultibo Core
|
#include <joystick.h>
Data Fields | |
| uint32_t | flags |
| Device flags (eg JOYSTICK_FLAG_LED). | |
| uint32_t | axiscount |
| The number of Axes reported by this device. | |
| JOYSTICK_AXIS | axes [JOYSTICK_MAX_AXIS] |
| The current properties of each Axis. | |
| uint32_t | hatcount |
| The number of Hats reported by this device. | |
| JOYSTICK_HAT | hats [JOYSTICK_MAX_HAT] |
| The current properties of each Hat. | |
| uint32_t | buttoncount |
| The number of Buttons reported by this device. | |
| uint32_t | buttons [JOYSTICK_MAX_BUTTON] |
| The current name (identifier) of each Button. | |
| uint32_t flags |
Device flags (eg JOYSTICK_FLAG_LED).
| uint32_t axiscount |
The number of Axes reported by this device.
The current properties of each Axis.
| uint32_t hatcount |
The number of Hats reported by this device.
| JOYSTICK_HAT hats[JOYSTICK_MAX_HAT] |
The current properties of each Hat.
| uint32_t buttoncount |
The number of Buttons reported by this device.
| uint32_t buttons[JOYSTICK_MAX_BUTTON] |
The current name (identifier) of each Button.