GamepadListener::whenGamepadButtonPressed()
A button went down on one of the controllers.
Syntax
Java
.whenGamepadButtonPressed(button)
Parameters
| Name | Data Type | Description |
|---|---|---|
| button | GamepadButton | the button that was pressed |
Return
void
A button went down on one of the controllers.
.whenGamepadButtonPressed(button)
| Name | Data Type | Description |
|---|---|---|
| button | GamepadButton | the button that was pressed |
void