public interface ButtonTrigger extends Trigger
Trigger.ButtonScheduler| Modifier and Type | Method and Description |
|---|---|
default void |
cancelWhenPressed(Command command) |
default void |
runWhenPressed(Command command) |
default void |
runWhenReleased(Command command) |
default void |
runWhileHeld(Command command) |
default void |
runWhileReleased(Command command) |
default void |
togglenWhenPressed(Command command) |
cancelWhenActive, runWhenActive, runWhenInactive, runWhileActive, runWhileInactive, toggleWhenActivegetStatedefault void runWhenPressed(Command command)
default void runWhileHeld(Command command)
default void runWhenReleased(Command command)
default void runWhileReleased(Command command)
default void togglenWhenPressed(Command command)
default void cancelWhenPressed(Command command)