Skip to content

Commit 50fee59

Browse files
committed
[client] app: fix broken keyboard input after imgui update
1 parent 554f5bf commit 50fee59

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

client/src/app.c

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -365,10 +365,7 @@ void app_handleKeyPress(int sc, int charcode)
365365
return;
366366

367367
if (purespice_keyDown(ps2))
368-
{
369-
if (linux_to_imgui[sc])
370-
ImGuiIO_AddKeyEvent(g_state.io, linux_to_imgui[sc], true);
371-
}
368+
g_state.keyDown[sc] = true;
372369
else
373370
{
374371
DEBUG_ERROR("app_handleKeyPress: failed to send message");

0 commit comments

Comments
 (0)