isSelected

fun isSelected(gamepad: Gamepad, button: Controls): Boolean

Check if a button is currently pressed on a gamepad.