Class EitherButtonTrigger
- java.lang.Object
- 
- edu.wpi.first.wpilibj2.command.button.Trigger
- 
- com.lightningrobotics.common.util.operator.trigger.EitherButtonTrigger
 
 
- 
- All Implemented Interfaces:
- java.util.function.BooleanSupplier
 
 public class EitherButtonTrigger extends edu.wpi.first.wpilibj2.command.button.TriggerOnly performs the action, when either button is pressed. if you want to bind the same command to the same button on two controllers.
- 
- 
Constructor SummaryConstructors Constructor Description EitherButtonTrigger(edu.wpi.first.wpilibj2.command.button.JoystickButton b1, edu.wpi.first.wpilibj2.command.button.JoystickButton b2)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanget()- 
Methods inherited from class edu.wpi.first.wpilibj2.command.button.Triggerand, cancelWhenActive, debounce, debounce, getAsBoolean, negate, or, toggleWhenActive, toggleWhenActive, whenActive, whenActive, whenActive, whenInactive, whenInactive, whenInactive, whileActiveContinuous, whileActiveContinuous, whileActiveContinuous, whileActiveOnce, whileActiveOnce
 
- 
 
-