![]() |
Ultralight C++ API 1.4.0
|
#include <Ultralight/GamepadEvent.h>
Event representing a change in gamepad connection state.
Public Types | |
| enum | Type { kType_GamepadConnected , kType_GamepadDisconnected } |
| The various GamepadEvent types. More... | |
Public Attributes | |
| Type | type |
| uint32_t | index |
| The index of the gamepad, this should match the value previously set in Renderer::SetGamepadDetails. | |
| enum Type |
The various GamepadEvent types.
| Enumerator | |
|---|---|
| kType_GamepadConnected | This event type should be fired when a gamepad is connected.
|
| kType_GamepadDisconnected | This event type should be fired when a gamepad is disconnected. |
| uint32_t index |
The index of the gamepad, this should match the value previously set in Renderer::SetGamepadDetails.
| Type type |