MCPcopy Create free account
hub / github.com/KebsCS/KBotExt / AddKeyEvent

Method AddKeyEvent

KBotExt/imgui/imgui.cpp:1466–1471  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1464}
1465
1466void ImGuiIO::AddKeyEvent(ImGuiKey key, bool down)
1467{
1468 if (!AppAcceptingEvents)
1469 return;
1470 AddKeyAnalogEvent(key, down, down ? 1.0f : 0.0f);
1471}
1472
1473// [Optional] Call after AddKeyEvent().
1474// 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