mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-19 00:41:43 +00:00
[wpilib,cmd] Remove Axis from Gamepad Triggers (#8956)
It's a bit confusing, especially since some controllers will have this be a 0:1 button rather than axis.
This commit is contained in:
@@ -27,7 +27,7 @@ void SysIdRoutineBot::ConfigureBindings() {
|
||||
.WhileTrue(drive.SysIdDynamic(wpi::cmd::sysid::Direction::kReverse));
|
||||
|
||||
shooter.SetDefaultCommand(shooter.RunShooterCommand(
|
||||
[this] { return driverController.GetLeftTriggerAxis(); }));
|
||||
[this] { return driverController.GetLeftTrigger(); }));
|
||||
|
||||
(driverController.FaceDown() && driverController.LeftBumper())
|
||||
.WhileTrue(
|
||||
|
||||
Reference in New Issue
Block a user