[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:
Thad House
2026-06-12 06:42:06 -07:00
committed by GitHub
parent d6fb871a26
commit 5a7d7d50ee
11 changed files with 47 additions and 49 deletions

View File

@@ -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(