MCPcopy Create free account
hub / github.com/Wemino/EchoPatch / IsKeyPressed

Method IsKeyPressed

include/imgui/imgui.cpp:9794–9797  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

9792}
9793
9794bool ImGui::IsKeyPressed(ImGuiKey key, bool repeat)
9795{
9796 return IsKeyPressed(key, repeat ? ImGuiInputFlags_Repeat : ImGuiInputFlags_None, ImGuiKeyOwner_Any);
9797}
9798
9799// Important: unlike legacy IsKeyPressed(ImGuiKey, bool repeat=true) which DEFAULT to repeat, this requires EXPLICIT repeat.
9800bool 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