Class VirtualTrigger

All Implemented Interfaces:
BooleanSupplier

public class VirtualTrigger extends AdvancedTrigger
A virtual button under program control that can be used for creating chords. This is useful to repurpose buttons in multiple "modes".
  • Constructor Details

    • VirtualTrigger

      @AssistedInject public VirtualTrigger(@Assisted boolean defaultPressed)
    • VirtualTrigger

      public VirtualTrigger(SettableBooleanSuppler supplier)
  • Method Details

    • set

      public void set(boolean value)
    • toggle

      public void toggle()