add claw toggle and winch tensioning
[3501/3501-spark-go] / src / org / usfirst / frc / team3501 / robot / Joystick.java
index c183c66b4b58e810c4dac12564e8509e9afa0955..f78be053bfd94622e0f11a9789b0bf24589de6ed 100644 (file)
@@ -25,4 +25,8 @@ public class Joystick extends edu.wpi.first.wpilibj.Joystick {
     public void whenReleased(int button, Command c) {
         buttons.get(button).whenReleased(c);
     }
+
+    public void whileHeld(int button, Command c) {
+        buttons.get(button).whileHeld(c);
+    }
 }