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

Method IsKeyDown

src/imgui/imgui.cpp:9606–9609  ·  view source on GitHub ↗

Note that Dear ImGui doesn't know the meaning/semantic of ImGuiKey from 0..511: they are legacy native keycodes. Consider transitioning from 'IsKeyDown(MY_ENGINE_KEY_A)' (<1.87) to IsKeyDown(ImGuiKey_A) (>= 1.87)

Source from the content-addressed store, hash-verified

9604// Note that Dear ImGui doesn't know the meaning/semantic of ImGuiKey from 0..511: they are legacy native keycodes.
9605// Consider transitioning from 'IsKeyDown(MY_ENGINE_KEY_A)' (<1.87) to IsKeyDown(ImGuiKey_A) (>= 1.87)
9606bool ImGui::IsKeyDown(ImGuiKey key)
9607{
9608 return IsKeyDown(key, ImGuiKeyOwner_Any);
9609}
9610
9611bool ImGui::IsKeyDown(ImGuiKey key, ImGuiID owner_id)
9612{

Callers

nothing calls this directly

Calls 1

GetKeyDataFunction · 0.85

Tested by

no test coverage detected