From 3c2175b062e6ac4e62c80637278542af4d4e6bba Mon Sep 17 00:00:00 2001 From: Michael Richters Date: Tue, 25 May 2021 14:19:00 -0500 Subject: [PATCH] Add aliases `Key_Unbound` & `Key_Masked` Signed-off-by: Michael Richters --- src/kaleidoscope/key_defs.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/kaleidoscope/key_defs.h b/src/kaleidoscope/key_defs.h index 5c7c6893..b8ba7363 100644 --- a/src/kaleidoscope/key_defs.h +++ b/src/kaleidoscope/key_defs.h @@ -285,6 +285,11 @@ typedef kaleidoscope::Key Key_; #define ___ Key_Transparent #define XXX Key_NoKey +// For entries in the `live_keys[]` array for inactive keys and masked keys, +// respectively: +#define Key_Inactive Key_Transparent +#define Key_Masked Key_NoKey + #define KEY_BACKLIGHT_DOWN 0xf1 #define KEY_BACKLIGHT_UP 0xf2 #define Key_BacklightDown Key(KEY_BACKLIGHT_DOWN, KEY_FLAGS)