20#ifndef ULTRALIGHT_CAPI_GAMEPADEVENT_H
21#define ULTRALIGHT_CAPI_GAMEPADEVENT_H
66 unsigned int button_index,
double value);
Various defines and utility functions for the C API.
struct C_GamepadButtonEvent * ULGamepadButtonEvent
Definition CAPI_Defines.h:72
ULGamepadEventType
Definition CAPI_Defines.h:218
#define ULExport
Definition CAPI_Defines.h:38
struct C_GamepadAxisEvent * ULGamepadAxisEvent
Definition CAPI_Defines.h:71
struct C_GamepadEvent * ULGamepadEvent
Definition CAPI_Defines.h:70
ULExport void ulDestroyGamepadButtonEvent(ULGamepadButtonEvent evt)
Destroy a gamepad button 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 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 ulDestroyGamepadEvent(ULGamepadEvent evt)
Destroy a gamepad event.
ULExport void ulDestroyGamepadAxisEvent(ULGamepadAxisEvent evt)
Destroy a gamepad axis event.
ULExport ULGamepadEvent ulCreateGamepadEvent(unsigned int index, ULGamepadEventType type)
Create a gamepad event, see GamepadEvent for help using this function.