Qt: Fix axes overriding hats

This commit is contained in:
Jeffrey Pfau 2014-12-14 00:28:15 -08:00
parent 0aea272583
commit 2b6462c3a8
1 changed files with 0 additions and 1 deletions

View File

@ -105,7 +105,6 @@ int InputController::testSDLEvents() {
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;