From dd0819dcfb258bfbfb270582154e36a10cbda54c Mon Sep 17 00:00:00 2001 From: honeybyhomo <32167639+honeybyhomo@users.noreply.github.com> Date: Tue, 30 Jan 2024 22:10:31 +0100 Subject: [PATCH] Add LHyper, RHyper, LMeh, RMeh Just like there's Cmd, LCmd and RCmd it would be useful to have LHyper, RHyper, LMeh and RMeh. --- src/hotkey.h | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/src/hotkey.h b/src/hotkey.h index 78aba3f..7e7974f 100644 --- a/src/hotkey.h +++ b/src/hotkey.h @@ -50,9 +50,23 @@ enum hotkey_flag Hotkey_Flag_Alt | Hotkey_Flag_Shift | Hotkey_Flag_Control), + Hotkey_Flag_LHyper = (Hotkey_Flag_LCmd | + Hotkey_Flag_LAlt | + Hotkey_Flag_LShift | + Hotkey_Flag_LControl), + Hotkey_Flag_RHyper = (Hotkey_Flag_RCmd | + Hotkey_Flag_RAlt | + Hotkey_Flag_RShift | + Hotkey_Flag_RControl), Hotkey_Flag_Meh = (Hotkey_Flag_Control | Hotkey_Flag_Shift | - Hotkey_Flag_Alt) + Hotkey_Flag_Alt), + Hotkey_Flag_LMeh = (Hotkey_Flag_LControl | + Hotkey_Flag_LShift | + Hotkey_Flag_LAlt), + Hotkey_Flag_RMeh = (Hotkey_Flag_RControl | + Hotkey_Flag_RShift | + Hotkey_Flag_RAlt) }; #include "hashtable.h"