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

Function IsButtonPressed

include/Mouse.hpp:16–18  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

14 * Detect if a mouse button has been pressed once
15 */
16RLCPP_MAYBEUNUSED RLCPPAPI inline bool IsButtonPressed(int button) {
17 return ::IsMouseButtonPressed(button);
18}
19
20/**
21 * Detect if a mouse button is being pressed

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected