justPressed

fun justPressed(button: Button): Boolean

Returns true if button was pressed this update for gamepad1.

See also