diff --git a/src/qt_gui/control_settings.cpp b/src/qt_gui/control_settings.cpp index a09df3e55..89abcc7f4 100644 --- a/src/qt_gui/control_settings.cpp +++ b/src/qt_gui/control_settings.cpp @@ -21,6 +21,7 @@ ControlSettings::ControlSettings(std::shared_ptr game_info_get, b if (!GameRunning) { SDL_InitSubSystem(SDL_INIT_GAMEPAD); SDL_InitSubSystem(SDL_INIT_EVENTS); + CheckGamePad(); } else { SDL_SetHint(SDL_HINT_JOYSTICK_ALLOW_BACKGROUND_EVENTS, "1"); SDL_Event pauseGame{}; @@ -28,7 +29,6 @@ ControlSettings::ControlSettings(std::shared_ptr game_info_get, b SDL_PushEvent(&pauseGame); } - CheckGamePad(); AddBoxItems(); SetUIValuestoMappings(); UpdateLightbarColor();