canvi de pc (treballant en Screen::applySettings())

This commit is contained in:
2025-06-21 22:31:19 +02:00
parent 4f81712e3c
commit 9b176a8cc0
7 changed files with 67 additions and 68 deletions

View File

@@ -25,7 +25,7 @@ Input::Input(const std::string &game_controller_db_path)
: game_controller_db_path_(game_controller_db_path)
{
// Inicializa el subsistema SDL_INIT_GAMEPAD
initSDL();
initSDLGamePad();
// Inicializa los vectores
key_bindings_.resize(static_cast<int>(InputAction::SIZE), KeyBindings());
@@ -436,7 +436,7 @@ bool Input::checkAxisInput(InputAction input, int controller_index, bool repeat)
}
}
void Input::initSDL()
void Input::initSDLGamePad()
{
if (SDL_WasInit(SDL_INIT_GAMEPAD) != 1)
{