|
Ultralight C API 1.4.0
|
Gamepad event interface.
#include <Ultralight/CAPI/CAPI_GamepadEvent.h>
This file defines the C API for gamepad events.
Functions | |
| ULGamepadEvent | ulCreateGamepadEvent (unsigned int index, ULGamepadEventType type) |
| Create a gamepad event, see GamepadEvent for help using this function. | |
| void | ulDestroyGamepadEvent (ULGamepadEvent evt) |
| Destroy a gamepad event. | |
| ULGamepadAxisEvent | ulCreateGamepadAxisEvent (unsigned int index, unsigned int axis_index, double value) |
| Create a gamepad axis event, see GamepadAxisEvent for help using this function. | |
| void | ulDestroyGamepadAxisEvent (ULGamepadAxisEvent evt) |
| Destroy a gamepad axis event. | |
| ULGamepadButtonEvent | ulCreateGamepadButtonEvent (unsigned int index, unsigned int button_index, double value) |
| Create a gamepad button event, see GamepadButtonEvent for help using this function. | |
| void | ulDestroyGamepadButtonEvent (ULGamepadButtonEvent evt) |
| Destroy a gamepad button event. | |
| ULGamepadAxisEvent ulCreateGamepadAxisEvent | ( | unsigned int | index, |
| unsigned int | axis_index, | ||
| double | value ) |
Create a gamepad axis event, see GamepadAxisEvent for help using this function.
| ULGamepadButtonEvent ulCreateGamepadButtonEvent | ( | unsigned int | index, |
| unsigned int | button_index, | ||
| double | value ) |
Create a gamepad button event, see GamepadButtonEvent for help using this function.
| ULGamepadEvent ulCreateGamepadEvent | ( | unsigned int | index, |
| ULGamepadEventType | type ) |
Create a gamepad event, see GamepadEvent for help using this function.
| void ulDestroyGamepadAxisEvent | ( | ULGamepadAxisEvent | evt | ) |
Destroy a gamepad axis event.
| void ulDestroyGamepadButtonEvent | ( | ULGamepadButtonEvent | evt | ) |
Destroy a gamepad button event.
| void ulDestroyGamepadEvent | ( | ULGamepadEvent | evt | ) |
Destroy a gamepad event.