#include <input_manager.h>
◆ GamepadInfo()
GamepadInfo::GamepadInfo |
( |
| ) |
|
|
default |
◆ ~GamepadInfo()
GamepadInfo::~GamepadInfo |
( |
| ) |
|
◆ get_axis_value()
float GamepadInfo::get_axis_value |
( |
int |
axis | ) |
const |
◆ get_stick_value()
glm::vec2 GamepadInfo::get_stick_value |
( |
int |
stick_index | ) |
const |
◆ is_connected()
bool GamepadInfo::is_connected |
( |
| ) |
const |
|
inline |
◆ axis_values
std::vector<float> GamepadInfo::axis_values |
◆ button_states
std::unordered_map<int, InputState> GamepadInfo::button_states |
◆ controller
SDL_Gamepad* GamepadInfo::controller = nullptr |
◆ deadzone
float GamepadInfo::deadzone = 0.15f |
◆ instance_id
SDL_JoystickID GamepadInfo::instance_id |
◆ is_controller
bool GamepadInfo::is_controller = false |
◆ joystick
SDL_Joystick* GamepadInfo::joystick = nullptr |
◆ name
std::string GamepadInfo::name |
◆ prev_button_states
std::unordered_map<int, bool> GamepadInfo::prev_button_states |
The documentation for this struct was generated from the following files: