From 83fa645c6d984085b127e65b44c26d313e95c3bc Mon Sep 17 00:00:00 2001 From: Shivani Ghanta Date: Mon, 16 Jan 2017 19:17:54 -0800 Subject: [PATCH] Add button for winch --- src/org/usfirst/frc/team3501/robot/OI.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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); } -- 2.30.2