Skip to contents

Check if a gamepad button is being pressed.

Usage

is_gamepad_button_down(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 IsGamepadButtonDown(int gamepad, int button);