MCPcopy Create free account
hub / github.com/IppClub/Dora-SSR / AddKeyEvent

Method AddKeyEvent

Source/3rdParty/imgui/imgui.cpp:1858–1863  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1856}
1857
1858void ImGuiIO::AddKeyEvent(ImGuiKey key, bool down)
1859{
1860 if (!AppAcceptingEvents)
1861 return;
1862 AddKeyAnalogEvent(key, down, down ? 1.0f : 0.0f);
1863}
1864
1865// [Optional] Call after AddKeyEvent().
1866// Specify native keycode, scancode + Specify index for legacy <1.87 IsKeyXXX() functions with native indices.

Callers 3

clearGamepadInputsMethod · 0.80
handleGamepadEventMethod · 0.80
initMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected