moving raw input to XboxControllerRaw [WIP]

This commit is contained in:
Aarav Shah
2022-01-15 13:12:31 -07:00
parent 045a77d08a
commit 2788291c6e
5 changed files with 48 additions and 7 deletions
@@ -83,10 +83,10 @@ public class RobotContainer {
.whenPressed(() -> m_robotLED.setPattern(LEDPatterns.LAVA_RAINBOW))
.whenReleased(() -> m_robotLED.setPattern(LEDConstants.DEFAULT_PATTERN));
new JoystickButton(getDriverJoystick(), XboxController.A_BUTTON)
.whenPressed(() -> {
m_robotSwerveDrive.m_gyro.setYaw(0);
});
// new JoystickButton(getDriverJoystick(), XboxController.A_BUTTON)
// .whenPressed(() -> {
// m_robotSwerveDrive.m_gyro.setYaw(0);
// });
}
/**