MCPcopy Create free account
hub / github.com/RobLoach/raylib-cpp / IsButtonPressed

Function IsButtonPressed

include/Gamepad.hpp:59–59  ·  view source on GitHub ↗

* Detect if a gamepad button has been pressed once */

Source from the content-addressed store, hash-verified

57 * Detect if a gamepad button has been pressed once
58 */
59 RLCPP_NODISCARD bool IsButtonPressed(int button) const { return ::IsGamepadButtonPressed(number, button); }
60
61 /**
62 * Detect if a gamepad button is being pressed

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected