From: Shivani Ghanta Date: Tue, 17 Jan 2017 03:17:54 +0000 (-0800) Subject: Add button for winch X-Git-Url: http://challenge-bot.com/repos/?p=3501%2F2017steamworks;a=commitdiff_plain;h=83fa645c6d984085b127e65b44c26d313e95c3bc Add button for winch --- diff --git a/src/org/usfirst/frc/team3501/robot/OI.java b/src/org/usfirst/frc/team3501/robot/OI.java index cf71c72..f905730 100644 --- a/src/org/usfirst/frc/team3501/robot/OI.java +++ b/src/org/usfirst/frc/team3501/robot/OI.java @@ -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); }