From: Cindy Zhang Date: Mon, 20 Feb 2017 00:34:56 +0000 (-0800) Subject: fix joystick port X-Git-Url: http://challenge-bot.com/repos/?p=3501%2F2017steamworks;a=commitdiff_plain;h=aec45ad9b8988b554695c3677b0dab0eac3d07f8 fix joystick port --- diff --git a/src/org/usfirst/frc/team3501/robot/OI.java b/src/org/usfirst/frc/team3501/robot/OI.java index 510b722..c608b86 100644 --- a/src/org/usfirst/frc/team3501/robot/OI.java +++ b/src/org/usfirst/frc/team3501/robot/OI.java @@ -40,7 +40,7 @@ public class OI { Constants.OI.RUN_INDEXWHEEL_PORT); runIndexWheel.whileHeld(new RunIndexWheelContinuous()); - reverseIndexWheel = new JoystickButton(leftJoystick, + reverseIndexWheel = new JoystickButton(rightJoystick, Constants.OI.REVERSE_INDEXWHEEL_PORT); reverseIndexWheel.whileHeld(new ReverseIndexWheelContinuous()); @@ -52,8 +52,7 @@ public class OI { Constants.OI.TOGGLE_GEAR_PORT); toggleGear.whenPressed(new ToggleGear()); - runIntake = new JoystickButton(leftJoystick, - Constants.OI.RUN_INTAKE_PORT); + runIntake = new JoystickButton(leftJoystick, Constants.OI.RUN_INTAKE_PORT); runIntake.whileHeld(new RunIntakeContinuous()); reverseIntake = new JoystickButton(leftJoystick,