From 8cf9363c6d6cc0fe8c875b0a343bf4c35901a641 Mon Sep 17 00:00:00 2001 From: Ilya Zhuravlev Date: Thu, 16 Sep 2021 20:04:44 -0400 Subject: [PATCH] common_features.mk: invert QMK_SETTINGS logic around MOUSEKEY_ENABLE this handles cases where MOUSEKEY_ENABLE isn't defined at all --- common_features.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common_features.mk b/common_features.mk index 60e968fdc2..cc4b6fcdc2 100644 --- a/common_features.mk +++ b/common_features.mk @@ -517,7 +517,7 @@ ifeq ($(strip $(DYNAMIC_KEYMAP_ENABLE)), yes) endif ifeq ($(strip $(QMK_SETTINGS)), yes) - ifeq ($(strip $(MOUSEKEY_ENABLE)), no) + ifneq ($(strip $(MOUSEKEY_ENABLE)), yes) $(error QMK_SETTINGS requires MOUSEKEY_ENABLE, either disable QMK_SETTINGS explicitly or enable MOUSEKEY_ENABLE) endif AUTO_SHIFT_ENABLE := yes