From ef336a2c0983025ce99ac4fdbc23dfae59200e1c Mon Sep 17 00:00:00 2001 From: aarav18 Date: Fri, 25 Mar 2022 16:26:14 -0600 Subject: [PATCH] jkg --- src/main/java/frc4388/robot/RobotContainer.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/frc4388/robot/RobotContainer.java b/src/main/java/frc4388/robot/RobotContainer.java index 3840708..3b6d5d2 100644 --- a/src/main/java/frc4388/robot/RobotContainer.java +++ b/src/main/java/frc4388/robot/RobotContainer.java @@ -311,11 +311,11 @@ public class RobotContainer { new JoystickButton(getDriverController(), XboxController.Button.kRightBumper.value) .whenPressed(() -> m_robotSwerveDrive.highSpeed(true)); - new JoystickButton(getDriverController(), XboxController.Axis.kLeftTrigger.value) + new JoystickButton(getDriverController(), XboxController.Button.kA.value) .whenPressed(new InstantCommand(() -> switchControlMode())) .whenReleased(new InstantCommand(() -> switchControlMode())); - new JoystickButton(getDriverController(), XboxController.Axis.kRightTrigger.value) + new JoystickButton(getDriverController(), XboxController.Button.kB.value) .whenPressed(new InstantCommand(() -> switchDriveMode())) .whenReleased(new InstantCommand(() -> switchDriveMode()));