Qt: Fix axes overriding hats
Jeffrey Pfau jeffrey@endrift.com
Sun, 14 Dec 2014 00:28:15 -0800
1 files changed,
0 insertions(+),
1 deletions(-)
M
src/platform/qt/InputController.cpp
→
src/platform/qt/InputController.cpp
@@ -105,7 +105,6 @@ int numAxes = SDL_JoystickNumAxes(joystick);
for (i = 0; i < numAxes; ++i) { int value = SDL_JoystickGetAxis(joystick, i); - activeButtons = GBAInputClearAxis(&m_inputMap, SDL_BINDING_BUTTON, i, activeButtons); enum GBAKey key = GBAInputMapAxis(&m_inputMap, SDL_BINDING_BUTTON, i, value); if (key != GBA_KEY_NONE) { activeButtons |= 1 << key;