Interface GamepadEvents.GamepadPressedListener

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

@FunctionalInterface
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.
      Parameters:
      event - The gamepad event.