Commit d7a82382 authored by Nate Weibley's avatar Nate Weibley

Reenable buttonbits since PX4 firmware has been fixed to ignore them in gamepad mode

parent 56f7a034
...@@ -347,9 +347,7 @@ void Joystick::run(void) ...@@ -347,9 +347,7 @@ void Joystick::run(void)
} }
// Mark the button as pressed as long as its pressed // Mark the button as pressed as long as its pressed
if (buttonIndex < reservedButtonCount) { buttonPressedBits |= buttonBit;
buttonPressedBits |= buttonBit;
}
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment