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()));