MCPcopy Create free account
hub / github.com/InteractiveComputerGraphics/SPlisHSPlasH / UpdateAliasKey

Function UpdateAliasKey

extern/imgui/imgui.cpp:4286–4292  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4284}
4285
4286static void UpdateAliasKey(ImGuiKey key, bool v, float analog_value)
4287{
4288 IM_ASSERT(ImGui::IsAliasKey(key));
4289 ImGuiKeyData* key_data = ImGui::GetKeyData(key);
4290 key_data->Down = v;
4291 key_data->AnalogValue = analog_value;
4292}
4293
4294// Rewrite routing data buffers to strip old entries + sort by key to make queries not touch scattered data.
4295// Entries D,A,B,B,A,C,B --> A,A,B,B,B,C,D

Callers 1

UpdateKeyboardInputsMethod · 0.85

Calls 1

IsAliasKeyFunction · 0.85

Tested by

no test coverage detected