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

Function IsKeyPressed

include/Keyboard.hpp:15–17  ·  view source on GitHub ↗

* Detect if a key has been pressed once */

Source from the content-addressed store, hash-verified

13 * Detect if a key has been pressed once
14 */
15RLCPP_MAYBEUNUSED RLCPPAPI inline bool IsKeyPressed(int key) {
16 return ::IsKeyPressed(key);
17}
18
19/**
20 * Detect if a key has been pressed again (Only PLATFORM_DESKTOP)

Callers 9

mainFunction · 0.85
mainFunction · 0.85
mainFunction · 0.85
mainFunction · 0.85
mainFunction · 0.85
mainFunction · 0.85
mainFunction · 0.85
mainFunction · 0.85
mainFunction · 0.85

Calls

no outgoing calls

Tested by 1

mainFunction · 0.68