1 package org
.usfirst
.frc
.team3501
.robot
;
3 import edu
.wpi
.first
.wpilibj
.Joystick
;
4 import edu
.wpi
.first
.wpilibj
.buttons
.Button
;
5 import edu
.wpi
.first
.wpilibj
.buttons
.JoystickButton
;
8 public static Joystick leftJoystick
;
9 public static Joystick rightJoystick
;
10 public static Button decrementShooterSpeed
;
11 public static Button incrementShooterSpeed
;
12 public static Button outputCurrentShooterSpeed
;
13 public static Button trigger
;
16 leftJoystick
= new Joystick(Constants
.OI
.LEFT_STICK_PORT
);
17 rightJoystick
= new Joystick(Constants
.OI
.RIGHT_STICK_PORT
);
19 decrementShooterSpeed
= new JoystickButton(rightJoystick
,
20 Constants
.OI
.DEC_SHOOTER_SPD_PORT
);
22 incrementShooterSpeed
= new JoystickButton(rightJoystick
,
23 Constants
.OI
.INC_SHOOTER_SPD_PORT
);
25 outputCurrentShooterSpeed
= new JoystickButton(rightJoystick
,
26 Constants
.OI
.SHOOT_PORT
);
28 trigger
= new JoystickButton(rightJoystick
, Constants
.OI
.TRIGGER_PORT
);