mirror of
https://github.com/gnif/LookingGlass.git
synced 2025-10-14 03:20:22 +00:00
[client] cimgui: update to 1.91.8
This commit is contained in:
@@ -22,6 +22,7 @@
|
||||
#include "main.h"
|
||||
#include "app.h"
|
||||
#include "util.h"
|
||||
#include "kb.h"
|
||||
|
||||
#include "common/time.h"
|
||||
#include "common/debug.h"
|
||||
@@ -662,8 +663,9 @@ void core_resetOverlayInputState(void)
|
||||
g_state.io->MouseDown[ImGuiMouseButton_Left ] = false;
|
||||
g_state.io->MouseDown[ImGuiMouseButton_Right ] = false;
|
||||
g_state.io->MouseDown[ImGuiMouseButton_Middle] = false;
|
||||
for(int key = 0; key < ARRAY_LENGTH(g_state.io->KeysDown); key++)
|
||||
g_state.io->KeysDown[key] = false;
|
||||
for(int key = ImGuiKey_NamedKey_BEGIN; key < ImGuiKey_NamedKey_END; key++)
|
||||
if (linux_to_imgui[key])
|
||||
ImGuiIO_AddKeyEvent(g_state.io, linux_to_imgui[key], false);
|
||||
}
|
||||
|
||||
void core_updateOverlayState(void)
|
||||
|
Reference in New Issue
Block a user