nhs-t10 / Robotics_2021_2022

2 stars 0 forks source link

Move START + A/B failsafe into inputmanager #17

Closed chlohal closed 2 years ago

chlohal commented 2 years ago

When START + b is pressed, we should not register b, since that's the combo to turn on the controller.

Right now, we do this by adding a Failsafe control. That's good, but ideally we should support it as part of MovementManager.

In AButtonHandle and BButtonHandle, add a check to return 0 if the gamepad's start button is pressed.