mirror of
https://github.com/gnif/LookingGlass.git
synced 2025-04-28 09:36:28 +00:00
[client] app: fix broken keyboard input after imgui update
This commit is contained in:
parent
554f5bf75d
commit
50fee59b29
@ -365,10 +365,7 @@ void app_handleKeyPress(int sc, int charcode)
|
|||||||
return;
|
return;
|
||||||
|
|
||||||
if (purespice_keyDown(ps2))
|
if (purespice_keyDown(ps2))
|
||||||
{
|
g_state.keyDown[sc] = true;
|
||||||
if (linux_to_imgui[sc])
|
|
||||||
ImGuiIO_AddKeyEvent(g_state.io, linux_to_imgui[sc], true);
|
|
||||||
}
|
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
DEBUG_ERROR("app_handleKeyPress: failed to send message");
|
DEBUG_ERROR("app_handleKeyPress: failed to send message");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user