aboutsummaryrefslogtreecommitdiff
path: root/tools/gsr-global-hotkeys/keyboard_event.h
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2025-05-14 21:00:21 +0200
committerdec05eba <dec05eba@protonmail.com>2025-05-14 21:00:24 +0200
commitaf4fc84ef75498144864eef78777b5065d79f297 (patch)
tree1d14d65970c40b01695f29b68f76fb0f14eb6e36 /tools/gsr-global-hotkeys/keyboard_event.h
parentc7bfaf90ec8848e30499ff85db8082fd6ce4c8a0 (diff)
Fix some mice and controllers being grabbed when they shouldn't
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 720aaa1..4a4c1fd 100644
--- a/tools/gsr-global-hotkeys/keyboard_event.h
+++ b/tools/gsr-global-hotkeys/keyboard_event.h
@@ -39,6 +39,8 @@ typedef enum {
typedef struct {
int dev_input_id;
bool grabbed;
+ bool is_non_keyboard_device;
+ bool is_possibly_non_keyboard_device;
unsigned char *key_states;
unsigned char *key_presses_grabbed;
int num_keys_pressed;