Joystick (gamepad) device state.
More...
#include <InputDevices.hpp>
Joystick (gamepad) device state.
◆ ~Joystick()
◆ GetAxesStates()
const std::vector<float>& Joystick::GetAxesStates |
( |
| ) |
const |
|
inline |
- Returns
- Current states of device axes
◆ GetButtonsStates()
const std::vector<InputAction>& Joystick::GetButtonsStates |
( |
| ) |
const |
|
inline |
- Returns
- Current states of device buttons
◆ GetGUID()
- Returns
- Name guid this device
◆ GetName()
- Returns
- Name of this device
◆ GetState()
- Returns
- Current device state
◆ MAX_AXES
const uint32 Joystick::MAX_AXES = 10 |
|
static |
◆ MAX_BUTTONS
const uint32 Joystick::MAX_BUTTONS = 20 |
|
static |
◆ mAxes
std::vector<float> Joystick::mAxes |
|
protected |
◆ mButtons
◆ mGUID
◆ mName
◆ mState
The documentation for this class was generated from the following file: