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

#include <joystick.h>

Data Fields

DEVICE device
 The Device entry for this Joystick device.
uint32_t joystickid
 Unique Id of this Joystick device in the Joystick device table.
uint32_t joystickstate
 Joystick device state (eg JOYSTICK_STATE_ENABLED).
joystick_device_start_proc devicestart
 A Device specific DeviceStart method implementing the standard Joystick device interface (Mandatory).
joystick_device_stop_proc devicestop
 A Device specific DeviceStop method implementing the standard Joystick device interface (Mandatory).
joystick_device_peek_proc devicepeek
 A Device specific DevicePeek method implementing a standard Joystick device interface (Or nil if the default method is suitable).
joystick_device_read_proc deviceread
 A Device specific DeviceRead method implementing a standard Joystick device interface (Or nil if the default method is suitable).
joystick_device_write_proc devicewrite
 A Device specific DeviceWrite method implementing a standard Joystick device interface (Or nil if the default method is suitable).
joystick_device_flush_proc deviceflush
 A Device specific DeviceFlush method implementing a standard Joystick device interface (Or nil if the default method is suitable).
joystick_device_update_proc deviceupdate
 A Device specific DeviceUpdate method implementing a standard Joystick device interface (Or nil if the default method is suitable).
joystick_device_control_proc devicecontrol
 A Device specific DeviceControl method implementing a standard Joystick device interface (Or nil if the default method is suitable).
joystick_device_get_properties_proc devicegetproperties
 A Device specific DeviceGetProperties method implementing a standard Joystick device interface (Or nil if the default method is suitable).
MUTEX_HANDLE lock
 Device lock.
joystick_event_cb event
 Event callback function (If assigned).
void * parameter
 Parameter for the event callback (or nil).
JOYSTICK_BUFFER buffer
 Joystick input buffer.
JOYSTICK_PROPERTIES properties
 Device properties.
uint32_t receivecount
uint32_t receiveerrors
uint32_t bufferoverruns
JOYSTICK_DEVICEprev
 Previous entry in Joystick device table.
JOYSTICK_DEVICEnext
 Next entry in Joystick device table.

Field Documentation

◆ device

DEVICE device

The Device entry for this Joystick device.

◆ joystickid

uint32_t joystickid

Unique Id of this Joystick device in the Joystick device table.

◆ joystickstate

uint32_t joystickstate

Joystick device state (eg JOYSTICK_STATE_ENABLED).

◆ devicestart

A Device specific DeviceStart method implementing the standard Joystick device interface (Mandatory).

◆ devicestop

A Device specific DeviceStop method implementing the standard Joystick device interface (Mandatory).

◆ devicepeek

A Device specific DevicePeek method implementing a standard Joystick device interface (Or nil if the default method is suitable).

◆ deviceread

A Device specific DeviceRead method implementing a standard Joystick device interface (Or nil if the default method is suitable).

◆ devicewrite

A Device specific DeviceWrite method implementing a standard Joystick device interface (Or nil if the default method is suitable).

◆ deviceflush

A Device specific DeviceFlush method implementing a standard Joystick device interface (Or nil if the default method is suitable).

◆ deviceupdate

A Device specific DeviceUpdate method implementing a standard Joystick device interface (Or nil if the default method is suitable).

◆ devicecontrol

A Device specific DeviceControl method implementing a standard Joystick device interface (Or nil if the default method is suitable).

◆ devicegetproperties

A Device specific DeviceGetProperties method implementing a standard Joystick device interface (Or nil if the default method is suitable).

◆ lock

Device lock.

◆ event

Event callback function (If assigned).

◆ parameter

void* parameter

Parameter for the event callback (or nil).

◆ buffer

Joystick input buffer.

◆ properties

JOYSTICK_PROPERTIES properties

Device properties.

◆ receivecount

uint32_t receivecount

◆ receiveerrors

uint32_t receiveerrors

◆ bufferoverruns

uint32_t bufferoverruns

◆ prev

Previous entry in Joystick device table.

◆ next

Next entry in Joystick device table.


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