Change SetMotorValue
[3501/2017steamworks] / src / org / usfirst / frc / team3501 / robot / OI.java
1 package org.usfirst.frc.team3501.robot;
2
3 import edu.wpi.first.wpilibj.Joystick;
4
5 public class OI {
6 private static OI oi;
7 public static Joystick leftJoystick;
8 public static Joystick rightJoystick;
9 public static ClimberButton climberButton;
10
11 public OI() {
12 leftJoystick = new Joystick(Constants.OI.LEFT_STICK_PORT);
13 rightJoystick = new Joystick(Constants.OI.RIGHT_STICK_PORT);
14
15 }
16
17 public static OI getOI() {
18 if (oi == null)
19 oi = new OI();
20 return oi;
21 }
22 }