Merge pull request #212 from enumag/controller-bindings

Fix controller bindings
This commit is contained in:
Splendide Imaginarius 2024-09-02 01:39:15 +00:00 committed by GitHub
commit f33e2662b5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

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)