Package de.gurkenlabs.litiengine.input
Interface GamepadEvents.GamepadPressedListener
- All Superinterfaces:
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 EventListener
This listener interface receives pressed events for a gamepad.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionvoidpressed(GamepadEvent event) Invoked when a gamepad component has been pressed.
-
Method Details
-
pressed
Invoked when a gamepad component has been pressed.- Parameters:
event- The gamepad event.
-