public class OI {
public static Joystick leftJoystick;
public static Joystick rightJoystick;
- public static Button leftSilverButton;
- public static Button rightSilverButton;
+ public static Button decrementShooterSpeed;
+ public static Button incrementShooterSpeed;
+ public static Button outputCurrentShooterSpeed;
+ public static Button trigger;
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);
- ;
+ decrementShooterSpeed = new JoystickButton(rightJoystick,
+ Constants.OI.DEC_SHOOTER_SPD_PORT);
- rightSilverButton = new JoystickButton(rightJoystick,
- Constants.OI.RIGHT_STICK_RIGHT_SILVER_BUTTON);
- ;
+ incrementShooterSpeed = new JoystickButton(rightJoystick,
+ Constants.OI.INC_SHOOTER_SPD_PORT);
+
+ outputCurrentShooterSpeed = new JoystickButton(rightJoystick,
+ Constants.OI.SHOOTER_PORT);
+
+ trigger = new JoystickButton(rightJoystick, Constants.OI.TRIGGER_PORT);
}