From cda154359da64202959222ec7eaaeb68a08dad92 Mon Sep 17 00:00:00 2001 From: Gergely Nagy Date: Sun, 25 Dec 2016 00:25:53 +0100 Subject: [PATCH] Fix the macro & mousekey bits They were conflicting with other things under SYNTHETIC, moved both to free slots. Signed-off-by: Gergely Nagy --- libraries/Keyboardio-Macros/src/MacroKeyDefs.h | 2 +- libraries/Keyboardio-MouseKeys/src/MouseKeyDefs.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/libraries/Keyboardio-Macros/src/MacroKeyDefs.h b/libraries/Keyboardio-Macros/src/MacroKeyDefs.h index c96f5a4c..46c7b4b3 100644 --- a/libraries/Keyboardio-Macros/src/MacroKeyDefs.h +++ b/libraries/Keyboardio-Macros/src/MacroKeyDefs.h @@ -1,6 +1,6 @@ #pragma once -#define IS_MACRO B00000100 +#define IS_MACRO B00100000 #define M(n) (Key){ KEY_FLAGS|SYNTHETIC|IS_MACRO, n} #define Key_macroKey1 M(1) diff --git a/libraries/Keyboardio-MouseKeys/src/MouseKeyDefs.h b/libraries/Keyboardio-MouseKeys/src/MouseKeyDefs.h index 3e0951d7..b8479b27 100644 --- a/libraries/Keyboardio-MouseKeys/src/MouseKeyDefs.h +++ b/libraries/Keyboardio-MouseKeys/src/MouseKeyDefs.h @@ -1,6 +1,6 @@ #pragma once -#define IS_MOUSE_KEY B00000010 +#define IS_MOUSE_KEY B00010000 // Synthetic, not internal #define KEY_MOUSE_BTN_L 0x01 // Synthetic key