Browse Source

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

QGC4.4
Nate Weibley 10 years ago
parent
commit
d7a8238299
  1. 4
      src/Joystick/Joystick.cc

4
src/Joystick/Joystick.cc

@ -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
if (buttonIndex < reservedButtonCount) {
buttonPressedBits |= buttonBit;
}
buttonPressedBits |= buttonBit;
}
}

Loading…
Cancel
Save