From 6337d878bbd0127163faea6c57f59178586a290f Mon Sep 17 00:00:00 2001 From: Gergely Nagy Date: Wed, 25 Jan 2017 10:54:49 +0100 Subject: [PATCH] Adjusted the M() macro to reflect the flags/keyCode swap Signed-off-by: Gergely Nagy --- src/MacroKeyDefs.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/MacroKeyDefs.h b/src/MacroKeyDefs.h index 46c7b4b3..4907c7a2 100644 --- a/src/MacroKeyDefs.h +++ b/src/MacroKeyDefs.h @@ -2,7 +2,7 @@ #define IS_MACRO B00100000 -#define M(n) (Key){ KEY_FLAGS|SYNTHETIC|IS_MACRO, n} +#define M(n) (Key){ n, KEY_FLAGS|SYNTHETIC|IS_MACRO } #define Key_macroKey1 M(1) #define Key_macroKey2 M(2) #define Key_macroKey3 M(3)