Fix controller bindings

This commit is contained in:
Jáchym Toušek 2024-08-31 09:16:47 +02:00
parent f06bbb92a5
commit e68e4663ec

View file

@ -1027,7 +1027,7 @@ bool SettingsMenu::onEvent(const SDL_Event &event)
return false;
break;
case SDL_JOYBUTTONDOWN :
case SDL_CONTROLLERBUTTONDOWN :
case SDL_CONTROLLERBUTTONUP :
case SDL_CONTROLLERAXISMOTION :
if (!p->hasFocus)