Skip to contents

Check if a gamepad button has been pressed once.

Usage

is_gamepad_button_pressed(gamepad, button)

Arguments

gamepad

An integer.

button

An integer.

Value

A logical

Note

This function has been auto-generated from the following Raylib function definition:

bool IsGamepadButtonPressed(int gamepad, int button);