canvi de pc (treballant en Screen::applySettings())
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user