Ultibo API
C/C++ API for Ultibo Core
Loading...
Searching...
No Matches
_JOYSTICK_PROPERTIES Struct Reference

#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.

Field Documentation

◆ flags

uint32_t flags

Device flags (eg JOYSTICK_FLAG_LED).

◆ axiscount

uint32_t axiscount

The number of Axes reported by this device.

◆ axes

The current properties of each Axis.

◆ hatcount

uint32_t hatcount

The number of Hats reported by this device.

◆ hats

The current properties of each Hat.

◆ buttoncount

uint32_t buttoncount

The number of Buttons reported by this device.

◆ buttons

uint32_t buttons[JOYSTICK_MAX_BUTTON]

The current name (identifier) of each Button.


The documentation for this struct was generated from the following file: