This commit is contained in:
Antoine PerreaultE 2022-11-23 18:50:14 -05:00
parent 7b5f7e6aef
commit 96d3591383

View File

@ -54,7 +54,7 @@ public class RobotContainer {
*/ */
private void configureButtonBindings() { private void configureButtonBindings() {
JoystickButton buttonA = new JoystickButton(manette, XboxController.Button.kA.value); JoystickButton buttonA = new JoystickButton(manette, XboxController.Button.kA.value);
buttonA.whileHeld(); buttonA.whileHeld(Activer_poussoir);
JoystickButton rightbumper = new JoystickButton(manette, XboxController.Button.kLeftBumper.value); JoystickButton rightbumper = new JoystickButton(manette, XboxController.Button.kLeftBumper.value);
rightbumper.whileHeld(Pistonshaker); rightbumper.whileHeld(Pistonshaker);
JoystickButton buttonY = new JoystickButton(manette, XboxController.Button.kY.value); JoystickButton buttonY = new JoystickButton(manette, XboxController.Button.kY.value);