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 */
|
/* Button Box Buttons */
|
||||||
new JoystickButton(getButtonFox(), ButtonBox.Button.kLeftSwitch.value)
|
new JoystickButton(getButtonFox(), ButtonBox.Button.kLeftSwitch.value)
|
||||||
.whenPressed(new InstantCommand(() -> configureManualButtonBindings()))
|
.whenPressed(new RunCommand(() -> configureManualButtonBindings()))
|
||||||
.whenReleased(new InstantCommand(() -> configureButtonBindings()));
|
.whenReleased(new RunCommand(() -> configureButtonBindings()));
|
||||||
|
|
||||||
new JoystickButton(getButtonFox(), ButtonBox.Button.kMiddleSwitch.value)
|
new JoystickButton(getButtonFox(), ButtonBox.Button.kMiddleSwitch.value)
|
||||||
.whileHeld(new RunCommand(() -> System.out.println("MiddleSwitch")));
|
.whileHeld(new RunCommand(() -> System.out.println("MiddleSwitch")));
|
||||||
|
|||||||
Reference in New Issue
Block a user