MCPcopy Create free account
hub / github.com/Overload-Technologies/Overload / AddKeyEvent

Method AddKeyEvent

Dependencies/ImGui/src/imgui.cpp:1723–1728  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1721}
1722
1723void ImGuiIO::AddKeyEvent(ImGuiKey key, bool down)
1724{
1725 if (!AppAcceptingEvents)
1726 return;
1727 AddKeyAnalogEvent(key, down, down ? 1.0f : 0.0f);
1728}
1729
1730// [Optional] Call after AddKeyEvent().
1731// Specify native keycode, scancode + Specify index for legacy <1.87 IsKeyXXX() functions with native indices.

Callers 2

Calls

no outgoing calls

Tested by

no test coverage detected