IsGamepadButtonPressed method
Check if a gamepad button has been pressed once
Implementation
bool IsGamepadButtonPressed(
num gamepad,
GamepadButton button,
) => run(
() => _debugLabels.IsGamepadButtonPressed(gamepad, button),
() => _flat.IsGamepadButtonPressed(
gamepad.toInt(),
button.value,
),
);