IsGamepadButtonPressed method

bool IsGamepadButtonPressed(
  1. int gamepad,
  2. int button
)

Check if a gamepad button has been pressed once

Implementation

bool IsGamepadButtonPressed(int gamepad, int button)
  => _IsGamepadButtonPressed(gamepad, button);