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
;
9 public static Joystick leftJoystick
;
10 public static Joystick rightJoystick
;
11 public static Button toggleWinch
;
14 leftJoystick
= new Joystick(Constants
.OI
.LEFT_STICK_PORT
);
15 rightJoystick
= new Joystick(Constants
.OI
.RIGHT_STICK_PORT
);
16 toggleWinch
= new JoystickButton(leftJoystick
,
17 Constants
.OI
.TOGGLE_WINCH_PORT
);
21 public static OI
getOI() {