isreleased

fun isreleased(button: GamePad.Button, index: Int = 0): ERROR CLASS: Unresolved name: IsGamepadButtonReleased

Whether the current button was released once.

Return

true if released, false otherwise

Parameters

button

The button to check.

index

The index of the connected gamepad.