aboutsummaryrefslogtreecommitdiff
path: root/tools/gsr-global-hotkeys/keyboard_event.h
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2024-12-26 15:22:57 +0100
committerdec05eba <dec05eba@protonmail.com>2024-12-26 15:22:57 +0100
commite5b745d696c3ea14bfa9f51f75825befaa94a924 (patch)
tree99007ec672793771419dd78ecd90bf3554a3dab7 /tools/gsr-global-hotkeys/keyboard_event.h
parentec6d4090af22db59991e9c621238c96795814379 (diff)
Mention that recording has to be restarted to apply changes. Fix stuck in repeat state if pressed while gsr-global-hotkey starts
Diffstat (limited to 'tools/gsr-global-hotkeys/keyboard_event.h')
-rw-r--r--tools/gsr-global-hotkeys/keyboard_event.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/gsr-global-hotkeys/keyboard_event.h b/tools/gsr-global-hotkeys/keyboard_event.h
index ca96cab..67251fc 100644
--- a/tools/gsr-global-hotkeys/keyboard_event.h
+++ b/tools/gsr-global-hotkeys/keyboard_event.h
@@ -43,6 +43,8 @@ typedef struct {
int hotplug_event_index;
int uinput_fd;
bool stdout_failed;
+ int32_t repeat_key_to_ignore;
+ bool has_received_key_event;
hotplug_event hotplug_ev;