diff options
author | ewewukek <ewewukek@gmail.com> | 2024-01-11 15:04:28 +0300 |
---|---|---|
committer | Fedja Beader <fedja@protonmail.ch> | 2024-05-15 00:11:38 +0200 |
commit | 842b7fd4db44d85308afbb401023429621d9c586 (patch) | |
tree | c7d815e9074e8bf1c074937b83808cc34e4c6258 /src/gui/sdlinput.cpp | |
parent | 0ff6869e745b4a0174ab1ee116ba5d6ad08e4812 (diff) | |
download | plus-842b7fd4db44d85308afbb401023429621d9c586.tar.gz plus-842b7fd4db44d85308afbb401023429621d9c586.tar.bz2 plus-842b7fd4db44d85308afbb401023429621d9c586.tar.xz plus-842b7fd4db44d85308afbb401023429621d9c586.zip |
Make sticks/triggers behave like regular buttons
Diffstat (limited to 'src/gui/sdlinput.cpp')
-rw-r--r-- | src/gui/sdlinput.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gui/sdlinput.cpp b/src/gui/sdlinput.cpp index bf6f0536c..8f3ca8bff 100644 --- a/src/gui/sdlinput.cpp +++ b/src/gui/sdlinput.cpp @@ -173,6 +173,7 @@ void SDLInput::pushInput(const SDL_Event &event) case SDL_JOYBUTTONDOWN: case SDL_JOYHATMOTION: + case SDL_JOYAXISMOTION: { const InputActionT actionId = inputManager.getActionByKey(event); if (actionId > InputAction::NO_VALUE) |