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

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

Field Documentation

◆ axiscount

int32_t axiscount

The number of Axes reported by this device.

◆ axes

int16_t axes[JOYSTICK_MAX_AXIS]

The currently reported value of each Axis.

◆ hatcount

int32_t hatcount

The number of Hats reported by this device.

◆ hats

int16_t hats[JOYSTICK_MAX_HAT]

The currently reported value of each Hat.

◆ buttoncount

int32_t buttoncount

The number of Buttons reported by this device.

◆ buttons

uint32_t buttons

The currently reported state of each Button.

◆ parameter

void* parameter

The parameter for the event callback (If applicable).


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