Gamepad::isConnected()
Whether any controller is connected.
Syntax
Java
.isConnected()
.isConnected(player)
Parameters
| Name | Data Type | Description |
|---|---|---|
| player | int | the player, 1 to 4 |
Return
boolean
Whether any controller is connected.
.isConnected()
.isConnected(player)
| Name | Data Type | Description |
|---|---|---|
| player | int | the player, 1 to 4 |
boolean