public class OI {
public static Joystick leftJoystick;
public static Joystick rightJoystick;
- public static Button leftSilverButton;
- public static Button rightSilverButton;
- public static Button thumbButton;
+ public static Button decrementSpeed;
+ public static Button incrementSpeed;
+ public static Button outputCurrentShooterSpeed;
+ public static Button runWheel;
public OI() {
leftJoystick = new Joystick(Constants.OI.LEFT_STICK_PORT);
rightJoystick = new Joystick(Constants.OI.RIGHT_STICK_PORT);
- leftSilverButton = new JoystickButton(rightJoystick,
- Constants.OI.RIGHT_STICK_LEFT_SILVER_BUTTON);
+ decrementSpeed = new JoystickButton(rightJoystick,
+ Constants.OI.DECREMENT_SHOOTER_PORT);
- rightSilverButton = new JoystickButton(rightJoystick,
- Constants.OI.RIGHT_STICK_RIGHT_SILVER_BUTTON);
+ incrementSpeed = new JoystickButton(rightJoystick,
+ Constants.OI.INCREMENT_SHOOTER_PORT);
- thumbButton = new JoystickButton(rightJoystick,
- Constants.OI.RIGHT_STICK_THUMB_BUTTON);
+ outputCurrentShooterSpeed = new JoystickButton(rightJoystick,
+ Constants.OI.SHOOTER_PORT);
+
+ runWheel = new JoystickButton(rightJoystick, Constants.OI.TRIGGER_PORT);
}