IsGamepadButtonPressed method
Implementation
bool IsGamepadButtonPressed(
num gamepad,
GamepadButton button,
) => run(
() => 'IsGamepadButtonPressed($gamepad, ${button.name})',
() => rl.Core.IsGamepadButtonPressed(
gamepad.toInt(),
button.value,
),
);