mirror of
https://github.com/Team4388/2022NoWayHome.git
synced 2026-06-09 00:38:05 -06:00
funk
This commit is contained in:
@@ -298,8 +298,8 @@ public class RobotContainer {
|
||||
|
||||
/* Button Box Buttons */
|
||||
new JoystickButton(getButtonFox(), ButtonBox.Button.kLeftSwitch.value)
|
||||
.whenPressed(new InstantCommand(() -> configureManualButtonBindings()))
|
||||
.whenReleased(new InstantCommand(() -> configureButtonBindings()));
|
||||
.whenPressed(new RunCommand(() -> configureManualButtonBindings()))
|
||||
.whenReleased(new RunCommand(() -> configureButtonBindings()));
|
||||
|
||||
new JoystickButton(getButtonFox(), ButtonBox.Button.kMiddleSwitch.value)
|
||||
.whileHeld(new RunCommand(() -> System.out.println("MiddleSwitch")));
|
||||
|
||||
Reference in New Issue
Block a user