From aec45ad9b8988b554695c3677b0dab0eac3d07f8 Mon Sep 17 00:00:00 2001 From: Cindy Zhang Date: Sun, 19 Feb 2017 16:34:56 -0800 Subject: [PATCH] fix joystick port --- src/org/usfirst/frc/team3501/robot/OI.java | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) 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, -- 2.30.2