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

Function ImGui_ImplWin32_UpdateKeyModifiers

KBotExt/imgui/imgui_impl_win32.cpp:260–267  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

258}
259
260static void ImGui_ImplWin32_UpdateKeyModifiers()
261{
262 ImGuiIO& io = ImGui::GetIO();
263 io.AddKeyEvent(ImGuiMod_Ctrl, IsVkDown(VK_CONTROL));
264 io.AddKeyEvent(ImGuiMod_Shift, IsVkDown(VK_SHIFT));
265 io.AddKeyEvent(ImGuiMod_Alt, IsVkDown(VK_MENU));
266 io.AddKeyEvent(ImGuiMod_Super, IsVkDown(VK_APPS));
267}
268
269static void ImGui_ImplWin32_UpdateMouseData()
270{

Callers 1

Calls 2

IsVkDownFunction · 0.85
AddKeyEventMethod · 0.80

Tested by

no test coverage detected