isUp

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

Whether the current button is currently in up state, or not being pressed.

Return

true if down, false otherwise

Parameters

button

The button to check.

index

The index of the connected gamepad.