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

Function IsButtonDown

include/Mouse.hpp:23–25  ·  view source on GitHub ↗

* Detect if a mouse button is being pressed */

Source from the content-addressed store, hash-verified

21 * Detect if a mouse button is being pressed
22 */
23RLCPP_MAYBEUNUSED RLCPPAPI inline bool IsButtonDown(int button) {
24 return ::IsMouseButtonDown(button);
25}
26
27/**
28 * Detect if a mouse button has been released once

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected