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 = false |
| int | gamepad_index = 0 |
| bool | ignore_imgui_text_input = true |
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::ApplyDefaultKeyBindings(), yaze::emu::input::SDL2InputBackend::Poll(), yaze::emu::input::SDL3InputBackend::Poll(), yaze::emu::input::SDL2InputBackend::UpdateEventState(), and yaze::emu::input::SDL3InputBackend::UpdateEventState().
| int yaze::emu::input::InputConfig::key_b = 0 |
Definition at line 58 of file input_backend.h.
Referenced by yaze::emu::input::ApplyDefaultKeyBindings(), yaze::emu::input::SDL2InputBackend::Poll(), yaze::emu::input::SDL3InputBackend::Poll(), yaze::emu::input::SDL2InputBackend::UpdateEventState(), and yaze::emu::input::SDL3InputBackend::UpdateEventState().
| int yaze::emu::input::InputConfig::key_x = 0 |
Definition at line 59 of file input_backend.h.
Referenced by yaze::emu::input::ApplyDefaultKeyBindings(), yaze::emu::input::SDL2InputBackend::Poll(), yaze::emu::input::SDL3InputBackend::Poll(), yaze::emu::input::SDL2InputBackend::UpdateEventState(), and yaze::emu::input::SDL3InputBackend::UpdateEventState().
| int yaze::emu::input::InputConfig::key_y = 0 |
Definition at line 60 of file input_backend.h.
Referenced by yaze::emu::input::ApplyDefaultKeyBindings(), yaze::emu::input::SDL2InputBackend::Poll(), yaze::emu::input::SDL3InputBackend::Poll(), yaze::emu::input::SDL2InputBackend::UpdateEventState(), and yaze::emu::input::SDL3InputBackend::UpdateEventState().
| int yaze::emu::input::InputConfig::key_l = 0 |
Definition at line 61 of file input_backend.h.
Referenced by yaze::emu::input::ApplyDefaultKeyBindings(), yaze::emu::input::SDL2InputBackend::Poll(), yaze::emu::input::SDL3InputBackend::Poll(), yaze::emu::input::SDL2InputBackend::UpdateEventState(), and yaze::emu::input::SDL3InputBackend::UpdateEventState().
| int yaze::emu::input::InputConfig::key_r = 0 |
Definition at line 62 of file input_backend.h.
Referenced by yaze::emu::input::ApplyDefaultKeyBindings(), yaze::emu::input::SDL2InputBackend::Poll(), yaze::emu::input::SDL3InputBackend::Poll(), yaze::emu::input::SDL2InputBackend::UpdateEventState(), and yaze::emu::input::SDL3InputBackend::UpdateEventState().
| int yaze::emu::input::InputConfig::key_start = 0 |
Definition at line 63 of file input_backend.h.
Referenced by yaze::emu::input::ApplyDefaultKeyBindings(), yaze::emu::input::SDL2InputBackend::Poll(), yaze::emu::input::SDL3InputBackend::Poll(), yaze::emu::input::SDL2InputBackend::UpdateEventState(), and yaze::emu::input::SDL3InputBackend::UpdateEventState().
| int yaze::emu::input::InputConfig::key_select = 0 |
Definition at line 64 of file input_backend.h.
Referenced by yaze::emu::input::ApplyDefaultKeyBindings(), yaze::emu::input::SDL2InputBackend::Poll(), yaze::emu::input::SDL3InputBackend::Poll(), yaze::emu::input::SDL2InputBackend::UpdateEventState(), and yaze::emu::input::SDL3InputBackend::UpdateEventState().
| int yaze::emu::input::InputConfig::key_up = 0 |
Definition at line 65 of file input_backend.h.
Referenced by yaze::emu::input::ApplyDefaultKeyBindings(), yaze::emu::input::SDL2InputBackend::Poll(), yaze::emu::input::SDL3InputBackend::Poll(), yaze::emu::input::SDL2InputBackend::UpdateEventState(), and yaze::emu::input::SDL3InputBackend::UpdateEventState().
| int yaze::emu::input::InputConfig::key_down = 0 |
Definition at line 66 of file input_backend.h.
Referenced by yaze::emu::input::ApplyDefaultKeyBindings(), yaze::emu::input::SDL2InputBackend::Poll(), yaze::emu::input::SDL3InputBackend::Poll(), yaze::emu::input::SDL2InputBackend::UpdateEventState(), and yaze::emu::input::SDL3InputBackend::UpdateEventState().
| int yaze::emu::input::InputConfig::key_left = 0 |
Definition at line 67 of file input_backend.h.
Referenced by yaze::emu::input::ApplyDefaultKeyBindings(), yaze::emu::input::SDL2InputBackend::Poll(), yaze::emu::input::SDL3InputBackend::Poll(), yaze::emu::input::SDL2InputBackend::UpdateEventState(), and yaze::emu::input::SDL3InputBackend::UpdateEventState().
| int yaze::emu::input::InputConfig::key_right = 0 |
Definition at line 68 of file input_backend.h.
Referenced by yaze::emu::input::ApplyDefaultKeyBindings(), yaze::emu::input::SDL2InputBackend::Poll(), yaze::emu::input::SDL3InputBackend::Poll(), yaze::emu::input::SDL2InputBackend::UpdateEventState(), and yaze::emu::input::SDL3InputBackend::UpdateEventState().
| bool yaze::emu::input::InputConfig::continuous_polling = true |
Definition at line 71 of file input_backend.h.
Referenced by yaze::emu::input::InputManager::InputManager(), yaze::emu::input::SDL2InputBackend::Poll(), yaze::emu::input::SDL3InputBackend::Poll(), and yaze::emu::input::InputManager::SetConfig().
| bool yaze::emu::input::InputConfig::enable_gamepad = false |
Definition at line 74 of file input_backend.h.
Referenced by yaze::emu::input::SDL3InputBackend::Initialize(), yaze::emu::input::InputManager::InputManager(), yaze::emu::input::SDL3InputBackend::Poll(), and yaze::emu::input::SDL3InputBackend::SetConfig().
| int yaze::emu::input::InputConfig::gamepad_index = 0 |
Definition at line 75 of file input_backend.h.
Referenced by yaze::emu::input::SDL3InputBackend::Initialize(), yaze::emu::input::InputManager::InputManager(), and yaze::emu::input::SDL3InputBackend::SetConfig().
| bool yaze::emu::input::InputConfig::ignore_imgui_text_input = true |
Definition at line 79 of file input_backend.h.
Referenced by yaze::emu::input::SDL3InputBackend::Poll(), and yaze::emu::input::InputManager::SetConfig().