Ultralight C API 1.3.0
Loading...
Searching...
No Matches
CAPI_GamepadEvent.h File Reference

Go to the source code of this file.

Functions

ULExport ULGamepadEvent ulCreateGamepadEvent (unsigned int index, ULGamepadEventType type)
 Create a gamepad event, see GamepadEvent for help using this function.
 
ULExport void ulDestroyGamepadEvent (ULGamepadEvent evt)
 Destroy a gamepad event.
 
ULExport ULGamepadAxisEvent ulCreateGamepadAxisEvent (unsigned int index, unsigned int axis_index, double value)
 Create a gamepad axis event, see GamepadAxisEvent for help using this function.
 
ULExport void ulDestroyGamepadAxisEvent (ULGamepadAxisEvent evt)
 Destroy a gamepad axis event.
 
ULExport ULGamepadButtonEvent ulCreateGamepadButtonEvent (unsigned int index, unsigned int button_index, double value)
 Create a gamepad button event, see GamepadButtonEvent for help using this function.
 
ULExport void ulDestroyGamepadButtonEvent (ULGamepadButtonEvent evt)
 Destroy a gamepad button event.
 

Function Documentation

◆ ulCreateGamepadAxisEvent()

ULExport ULGamepadAxisEvent ulCreateGamepadAxisEvent ( unsigned int  index,
unsigned int  axis_index,
double  value 
)

Create a gamepad axis event, see GamepadAxisEvent for help using this function.

◆ ulCreateGamepadButtonEvent()

ULExport ULGamepadButtonEvent ulCreateGamepadButtonEvent ( unsigned int  index,
unsigned int  button_index,
double  value 
)

Create a gamepad button event, see GamepadButtonEvent for help using this function.

◆ ulCreateGamepadEvent()

ULExport ULGamepadEvent ulCreateGamepadEvent ( unsigned int  index,
ULGamepadEventType  type 
)

Create a gamepad event, see GamepadEvent for help using this function.

◆ ulDestroyGamepadAxisEvent()

ULExport void ulDestroyGamepadAxisEvent ( ULGamepadAxisEvent  evt)

Destroy a gamepad axis event.

◆ ulDestroyGamepadButtonEvent()

ULExport void ulDestroyGamepadButtonEvent ( ULGamepadButtonEvent  evt)

Destroy a gamepad button event.

◆ ulDestroyGamepadEvent()

ULExport void ulDestroyGamepadEvent ( ULGamepadEvent  evt)

Destroy a gamepad event.