X-Git-Url: http://challenge-bot.com/repos/?a=blobdiff_plain;f=src%2Forg%2Fusfirst%2Ffrc%2Fteam3501%2Frobot%2FOI.java;h=5082911be4703b6a55a674aad623f05b9507ab05;hb=5c6d9c86b4031c75dbd98d49a27996420cf2931b;hp=6a99c9756c08e66da78a81fc1d96eea9b04da88f;hpb=c4a90614dbd1e208351088b5fbc9d23ef36588ac;p=3501%2F2017steamworks diff --git a/src/org/usfirst/frc/team3501/robot/OI.java b/src/org/usfirst/frc/team3501/robot/OI.java index 6a99c97..5082911 100644 --- a/src/org/usfirst/frc/team3501/robot/OI.java +++ b/src/org/usfirst/frc/team3501/robot/OI.java @@ -23,7 +23,7 @@ public class OI { public OI() { leftJoystick = new Joystick(Constants.OI.LEFT_STICK_PORT); rightJoystick = new Joystick(Constants.OI.RIGHT_STICK_PORT); - toggleWinch = new JoystickButton(leftJoystick, + /*toggleWinch = new JoystickButton(leftJoystick, Constants.OI.TOGGLE_WINCH_PORT); toggleIndexWheel = new JoystickButton(leftJoystick, Constants.OI.TOGGLE_INDEXWHEEL_PORT); @@ -33,17 +33,13 @@ public class OI { toggleGear = new JoystickButton(leftJoystick, Constants.OI.TOGGLE_GEAR_PORT); toggleGear.whenPressed(new ToggleGear()); + */ toggleCameraFeeds = new JoystickButton(leftJoystick, Constants.OI.TOGGLE_CAMERA_FEEDS); toggleCameraFeeds.whenReleased(new ToggleCameraFeed()); - - toggleCameraFeeds = new JoystickButton(leftJoystick, - Constants.OI.TOGGLE_CAMERA_FEEDS); - - toggleCameraFeeds.whenReleased(new ToggleCameraFeed()); - + System.out.println("toggle ready"); } public static OI getOI() {