Interface GamepadEvents.GamepadPressedListener

All Superinterfaces:
Enclosing class:
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

public static interface GamepadEvents.GamepadPressedListener
extends java.util.EventListener
This listener interface receives pressed events for a gamepad.
See Also:
GamepadEvents.onPressed(GamepadPressedListener), GamepadEvents.onPressed(String, GamepadPressedListener)
  • Method Summary

    Modifier and TypeMethodDescription
    voidpressed​(GamepadEvent event)
    Invoked when a gamepad component has been pressed.
  • Method Details

    • pressed

      void pressed​(GamepadEvent event)
      Invoked when a gamepad component has been pressed.
      event - The gamepad event.