Input configuration (platform-agnostic key codes) More...
#include <input_backend.h>
Public Attributes | |
int | key_a = 0 |
int | key_b = 0 |
int | key_x = 0 |
int | key_y = 0 |
int | key_l = 0 |
int | key_r = 0 |
int | key_start = 0 |
int | key_select = 0 |
int | key_up = 0 |
int | key_down = 0 |
int | key_left = 0 |
int | key_right = 0 |
bool | continuous_polling = true |
bool | enable_gamepad = true |
int | gamepad_index = 0 |
Input configuration (platform-agnostic key codes)
Definition at line 54 of file input_backend.h.
int yaze::emu::input::InputConfig::key_a = 0 |
Definition at line 57 of file input_backend.h.
Referenced by yaze::emu::input::SDL2InputBackend::Initialize(), yaze::emu::input::SDL2InputBackend::Poll(), and yaze::emu::input::SDL2InputBackend::UpdateEventState().
int yaze::emu::input::InputConfig::key_b = 0 |
Definition at line 58 of file input_backend.h.
Referenced by yaze::emu::input::SDL2InputBackend::Initialize(), yaze::emu::input::SDL2InputBackend::Poll(), and yaze::emu::input::SDL2InputBackend::UpdateEventState().
int yaze::emu::input::InputConfig::key_x = 0 |
Definition at line 59 of file input_backend.h.
Referenced by yaze::emu::input::SDL2InputBackend::Initialize(), yaze::emu::input::SDL2InputBackend::Poll(), and yaze::emu::input::SDL2InputBackend::UpdateEventState().
int yaze::emu::input::InputConfig::key_y = 0 |
Definition at line 60 of file input_backend.h.
Referenced by yaze::emu::input::SDL2InputBackend::Initialize(), yaze::emu::input::SDL2InputBackend::Poll(), and yaze::emu::input::SDL2InputBackend::UpdateEventState().
int yaze::emu::input::InputConfig::key_l = 0 |
Definition at line 61 of file input_backend.h.
Referenced by yaze::emu::input::SDL2InputBackend::Initialize(), yaze::emu::input::SDL2InputBackend::Poll(), and yaze::emu::input::SDL2InputBackend::UpdateEventState().
int yaze::emu::input::InputConfig::key_r = 0 |
Definition at line 62 of file input_backend.h.
Referenced by yaze::emu::input::SDL2InputBackend::Initialize(), yaze::emu::input::SDL2InputBackend::Poll(), and yaze::emu::input::SDL2InputBackend::UpdateEventState().
int yaze::emu::input::InputConfig::key_start = 0 |
Definition at line 63 of file input_backend.h.
Referenced by yaze::emu::input::SDL2InputBackend::Initialize(), yaze::emu::input::SDL2InputBackend::Poll(), and yaze::emu::input::SDL2InputBackend::UpdateEventState().
int yaze::emu::input::InputConfig::key_select = 0 |
Definition at line 64 of file input_backend.h.
Referenced by yaze::emu::input::SDL2InputBackend::Initialize(), yaze::emu::input::SDL2InputBackend::Poll(), and yaze::emu::input::SDL2InputBackend::UpdateEventState().
int yaze::emu::input::InputConfig::key_up = 0 |
Definition at line 65 of file input_backend.h.
Referenced by yaze::emu::input::SDL2InputBackend::Initialize(), yaze::emu::input::SDL2InputBackend::Poll(), and yaze::emu::input::SDL2InputBackend::UpdateEventState().
int yaze::emu::input::InputConfig::key_down = 0 |
Definition at line 66 of file input_backend.h.
Referenced by yaze::emu::input::SDL2InputBackend::Initialize(), yaze::emu::input::SDL2InputBackend::Poll(), and yaze::emu::input::SDL2InputBackend::UpdateEventState().
int yaze::emu::input::InputConfig::key_left = 0 |
Definition at line 67 of file input_backend.h.
Referenced by yaze::emu::input::SDL2InputBackend::Initialize(), yaze::emu::input::SDL2InputBackend::Poll(), and yaze::emu::input::SDL2InputBackend::UpdateEventState().
int yaze::emu::input::InputConfig::key_right = 0 |
Definition at line 68 of file input_backend.h.
Referenced by yaze::emu::input::SDL2InputBackend::Initialize(), yaze::emu::input::SDL2InputBackend::Poll(), and yaze::emu::input::SDL2InputBackend::UpdateEventState().
bool yaze::emu::input::InputConfig::continuous_polling = true |
Definition at line 71 of file input_backend.h.
Referenced by yaze::emu::input::InputManager::Initialize(), and yaze::emu::input::SDL2InputBackend::Poll().
bool yaze::emu::input::InputConfig::enable_gamepad = true |
Definition at line 74 of file input_backend.h.
Referenced by yaze::emu::input::InputManager::Initialize().
int yaze::emu::input::InputConfig::gamepad_index = 0 |
Definition at line 75 of file input_backend.h.