From 7664f34de5e9bdc16920beb74dfc5ebe96ea441e Mon Sep 17 00:00:00 2001 From: Eli Ribble Date: Tue, 30 Aug 2022 18:35:12 -0600 Subject: [PATCH] Drop events from the keyboard of type ... Not sure what, can't remember, can't be bothered to look it up. --- capture.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/capture.c b/capture.c index 8253022..1b0b94d 100644 --- a/capture.c +++ b/capture.c @@ -197,6 +197,8 @@ int stream_events(char* mouse_path, char* keyboard_path, int hotkey_scancode) { clock_gettime(CLOCK_MONOTONIC, &start); continue; } + } else if(i_event.value == 2) { + continue; } } else if (events[i].data.fd == mouse_fd) { type = MOUSE;