Fix variable names
[3501/stronghold-2016] / src / org / usfirst / frc / team3501 / robot / OI.java
index d24eb3ab0d73d9a81b15954ee55fee77b619abd2..d644cf7188d0fc6aa53454f5674bf31506fd06c7 100644 (file)
@@ -7,22 +7,25 @@ import edu.wpi.first.wpilibj.buttons.JoystickButton;
 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);
 
   }