We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 47fc8dc commit 95dcb92Copy full SHA for 95dcb92
src/main/java/org/trigon/hardware/misc/XboxController.java
@@ -77,7 +77,7 @@ public void rumble(double durationSeconds, double power) {
77
if (stopRumbleCommand != null)
78
stopRumbleCommand.cancel();
79
80
- stopRumbleCommand = new WaitCommand(durationSeconds).andThen(() -> getHID().setRumble(GenericHID.RumbleType.kBothRumble, 0));
+ stopRumbleCommand = new WaitCommand(durationSeconds).andThen(() -> getHID().setRumble(GenericHID.RumbleType.kBothRumble, 0)).ignoringDisable(true);
81
stopRumbleCommand.schedule();
82
83
getHID().setRumble(GenericHID.RumbleType.kBothRumble, power);
0 commit comments