X-Git-Url: http://challenge-bot.com/repos/?a=blobdiff_plain;f=src%2Forg%2Fusfirst%2Ffrc%2Fteam3501%2Frobot%2FOI.java;h=d644cf7188d0fc6aa53454f5674bf31506fd06c7;hb=8a3948435823ea5cd600f68fbbd19341f57c5758;hp=d24eb3ab0d73d9a81b15954ee55fee77b619abd2;hpb=3924f4c23d4b09a97a8866602d884d3acf9a3a62;p=3501%2Fstronghold-2016 diff --git a/src/org/usfirst/frc/team3501/robot/OI.java b/src/org/usfirst/frc/team3501/robot/OI.java index d24eb3ab..d644cf71 100644 --- a/src/org/usfirst/frc/team3501/robot/OI.java +++ b/src/org/usfirst/frc/team3501/robot/OI.java @@ -7,22 +7,25 @@ import edu.wpi.first.wpilibj.buttons.JoystickButton; public class OI { public static Joystick leftJoystick; public static Joystick rightJoystick; - public static Button leftSilverButton; - public static Button rightSilverButton; - public static Button thumbButton; + public static Button decrementSpeed; + public static Button incrementSpeed; + public static Button outputCurrentShooterSpeed; + public static Button runWheel; public OI() { leftJoystick = new Joystick(Constants.OI.LEFT_STICK_PORT); rightJoystick = new Joystick(Constants.OI.RIGHT_STICK_PORT); - leftSilverButton = new JoystickButton(rightJoystick, - Constants.OI.RIGHT_STICK_LEFT_SILVER_BUTTON); + decrementSpeed = new JoystickButton(rightJoystick, + Constants.OI.DECREMENT_SHOOTER_PORT); - rightSilverButton = new JoystickButton(rightJoystick, - Constants.OI.RIGHT_STICK_RIGHT_SILVER_BUTTON); + incrementSpeed = new JoystickButton(rightJoystick, + Constants.OI.INCREMENT_SHOOTER_PORT); - thumbButton = new JoystickButton(rightJoystick, - Constants.OI.RIGHT_STICK_THUMB_BUTTON); + outputCurrentShooterSpeed = new JoystickButton(rightJoystick, + Constants.OI.SHOOTER_PORT); + + runWheel = new JoystickButton(rightJoystick, Constants.OI.TRIGGER_PORT); }