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

Function IsButtonDown

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

* Detect if a gamepad button is being pressed */

Source from the content-addressed store, hash-verified

62 * Detect if a gamepad button is being pressed
63 */
64 RLCPP_NODISCARD bool IsButtonDown(int button) const { return ::IsGamepadButtonDown(number, button); }
65
66 /**
67 * Detect if a gamepad button has been released once

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected