Gamepad::getStick()
Where the first connected controller's stick points, (0, 0) if there is none.
Syntax
Java
.getStick(stick)
.getStick(player, stick)
Parameters
| Name | Data Type | Description |
|---|---|---|
| stick | GamepadStick | the stick to ask about |
| player | int | the player, 1 to 4 |
Return
Vector2