MCPcopy Create free account
hub / github.com/cinder/Cinder / IsKeyPressed

Method IsKeyPressed

src/imgui/imgui.cpp:9621–9624  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

9619}
9620
9621bool ImGui::IsKeyPressed(ImGuiKey key, bool repeat)
9622{
9623 return IsKeyPressed(key, repeat ? ImGuiInputFlags_Repeat : ImGuiInputFlags_None, ImGuiKeyOwner_Any);
9624}
9625
9626// Important: unlike legacy IsKeyPressed(ImGuiKey, bool repeat=true) which DEFAULT to repeat, this requires EXPLICIT repeat.
9627bool ImGui::IsKeyPressed(ImGuiKey key, ImGuiInputFlags flags, ImGuiID owner_id)

Callers

nothing calls this directly

Calls 1

GetKeyDataFunction · 0.85

Tested by

no test coverage detected