X-Git-Url: http://challenge-bot.com/repos/?a=blobdiff_plain;f=src%2Forg%2Fusfirst%2Ffrc%2Fteam3501%2Frobot%2FOI.java;h=606fff68b4dd228c9ea71e44560c65fe015e8b08;hb=647e73b542109d5c957ac33ae1852f9047a106ea;hp=9516b93599e228b5b9e18b47335e596bbf18dabd;hpb=7f12e81730a9447aba08810467ba03937d5e7a90;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 9516b935..606fff68 100644 --- a/src/org/usfirst/frc/team3501/robot/OI.java +++ b/src/org/usfirst/frc/team3501/robot/OI.java @@ -7,23 +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 decrementShooterSpeed; + public static Button incrementShooterSpeed; + public static Button outputCurrentShooterSpeed; + public static Button trigger; 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); - ; + decrementShooterSpeed = new JoystickButton(rightJoystick, + Constants.OI.DEC_SHOOTER_SPD_PORT); - rightSilverButton = new JoystickButton(rightJoystick, - Constants.OI.RIGHT_STICK_RIGHT_SILVER_BUTTON); - ; - thumbButton = new JoystickButton(rightJoystick, - Constants.OI.RIGHT_STICK_THUMB_BUTTON); + incrementShooterSpeed = new JoystickButton(rightJoystick, + Constants.OI.INC_SHOOTER_SPD_PORT); + + outputCurrentShooterSpeed = new JoystickButton(rightJoystick, + Constants.OI.SHOOTER_PORT); + + trigger = new JoystickButton(rightJoystick, Constants.OI.TRIGGER_PORT); }