Package de.gurkenlabs.litiengine.input
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.
Method Summary
Modifier and Type Method Description void
pressed(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.