All Known Implementing Classes:
AxisAsButton, MockDigitalDevice, MomentaryButton, ToggleButton, TriggerButton

public interface Button
Interface that represents a button on a gamepad. Multiple implementations are available. Please choose the one that best suits each use case.
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static interface 
    Used internally
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    When a button should be considered active depends on the implementation and its parameters.
  • Method Details

    • isActive

      boolean isActive()
      When a button should be considered active depends on the implementation and its parameters.