Add button for winch
[3501/2017steamworks] / src / org / usfirst / frc / team3501 / robot / OI.java
index cf71c721b94429dfd41ea6148fb296d924b05541..f9057302df9396e7a9dbb004e20e49496ae34412 100644 (file)
@@ -6,11 +6,12 @@ public class OI {
   private static OI oi;
   public static Joystick leftJoystick;
   public static Joystick rightJoystick;
-  public static ClimberButton climberButton;
+  public static Button toggleWinch;
 
   public OI() {
     leftJoystick = new Joystick(Constants.OI.LEFT_STICK_PORT);
     rightJoystick = new Joystick(Constants.OI.RIGHT_STICK_PORT);
+    Â toggleWinch = new JoystickButton(leftJoystick,Constants.OI.TOGGLE_WINCH_PORT);
 
   }