GamepadListener::whenGamepadConnected()
A controller appeared in a player's slot.
Syntax
Java
.whenGamepadConnected(player)
Parameters
| Name | Data Type | Description |
|---|---|---|
| player | int | the player whose slot got a controller, 1 to 4 |
Return
void
A controller appeared in a player's slot.
.whenGamepadConnected(player)
| Name | Data Type | Description |
|---|---|---|
| player | int | the player whose slot got a controller, 1 to 4 |
void