add hella auton
[3501/3501-spark-go] / src / org / usfirst / frc / team3501 / robot / Joystick.java
index f78be053bfd94622e0f11a9789b0bf24589de6ed..fab679234f9c1486cd4a427da34aab418a786bd2 100644 (file)
@@ -29,4 +29,8 @@ public class Joystick extends edu.wpi.first.wpilibj.Joystick {
     public void whileHeld(int button, Command c) {
         buttons.get(button).whileHeld(c);
     }
+
+    public boolean get(int button) {
+        return getRawButton(button);
+    }
 }