Trigger.ButtonScheduler
Constructor and Description |
---|
InternalButton()
Creates an InternalButton that is not inverted.
|
InternalButton(boolean inverted)
Creates an InternalButton which is inverted depending on the input.
|
Modifier and Type | Method and Description |
---|---|
boolean |
get()
Returns whether or not the trigger is active
This method will be called repeatedly a command is linked to the Trigger.
|
void |
setInverted(boolean inverted) |
void |
setPressed(boolean pressed) |
cancelWhenPressed, toggleWhenPressed, whenPressed, whenReleased, whileHeld
cancelWhenActive, getSmartDashboardType, getTable, initTable, toggleWhenActive, whenActive, whenInactive, whileActive
public InternalButton()
public InternalButton(boolean inverted)
inverted
- if false, then this button is pressed when set to true, otherwise it is pressed when set to false.Copyright © 2015. All rights reserved.