aboutsummaryrefslogtreecommitdiff
path: root/tools/gsr-global-hotkeys/keyboard_event.h
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2025-01-05 03:22:38 +0100
committerdec05eba <dec05eba@protonmail.com>2025-01-05 03:22:38 +0100
commitfa5b7a0c751c8d8e37a173df09b7b28733f8df5e (patch)
treecb1fb084e5acf256a3e50677bd8bec33b15059ff /tools/gsr-global-hotkeys/keyboard_event.h
parent52ce22ae22670b11c2bc5fac0583e1a4aa4e19f0 (diff)
Only grab left alt, to allow altgr+z to be used for keyboard that type ż with it
Diffstat (limited to 'tools/gsr-global-hotkeys/keyboard_event.h')
-rw-r--r--tools/gsr-global-hotkeys/keyboard_event.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/tools/gsr-global-hotkeys/keyboard_event.h b/tools/gsr-global-hotkeys/keyboard_event.h
index 5310aca..0283afd 100644
--- a/tools/gsr-global-hotkeys/keyboard_event.h
+++ b/tools/gsr-global-hotkeys/keyboard_event.h
@@ -18,10 +18,11 @@
#define MAX_EVENT_POLLS 32
typedef enum {
- KEYBOARD_MODKEY_ALT = 1 << 0,
- KEYBOARD_MODKEY_SUPER = 1 << 1,
- KEYBOARD_MODKEY_CTRL = 1 << 2,
- KEYBOARD_MODKEY_SHIFT = 1 << 3
+ KEYBOARD_MODKEY_LALT = 1 << 0,
+ KEYBOARD_MODKEY_RALT = 1 << 2,
+ KEYBOARD_MODKEY_SUPER = 1 << 3,
+ KEYBOARD_MODKEY_CTRL = 1 << 4,
+ KEYBOARD_MODKEY_SHIFT = 1 << 5
} keyboard_modkeys;
typedef enum {