Interface GamepadEvents.GamepadPollListener

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.GamepadPollListener
extends java.util.EventListener
This listener interface receives poll events for a gamepad.
See Also:
GamepadEvents.onPoll(GamepadPollListener), GamepadEvents.onPoll(String, GamepadPollListener)
  • Method Summary

    Modifier and TypeMethodDescription
    voidpolled​(GamepadEvent event)
    Invoked when a gamepad component is being polled
  • Method Details

    • polled

      void polled​(GamepadEvent event)
      Invoked when a gamepad component is being polled
      Parameters:
      event - The gamepad event.