pressed

fun pressed(button: Button): Boolean

Returns true if button is currently pressed for gamepad1.

See also