From fa5b7a0c751c8d8e37a173df09b7b28733f8df5e Mon Sep 17 00:00:00 2001 From: dec05eba Date: Sun, 5 Jan 2025 03:22:38 +0100 Subject: =?UTF-8?q?Only=20grab=20left=20alt,=20to=20allow=20altgr+z=20to?= =?UTF-8?q?=20be=20used=20for=20keyboard=20that=20type=20=C5=BC=20with=20i?= =?UTF-8?q?t?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tools/gsr-global-hotkeys/keyboard_event.h | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'tools/gsr-global-hotkeys/keyboard_event.h') 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 { -- cgit v1.2.3