summaryrefslogtreecommitdiffstats
path: root/common_features.mk
diff options
context:
space:
mode:
authorJoel Challis <git@zvecr.com>2021-02-07 13:56:08 +0000
committerGitHub <noreply@github.com>2021-02-07 13:56:08 +0000
commit02881427692b682287d19fe533c3b84aa7b42a26 (patch)
treeb64dfc778cf652a04b337f8067dac1cd2a1cfe05 /common_features.mk
parent0c44aa950334a4956dbe1d3f1e4830c13eb38b45 (diff)
Migrate mousekey to quantum (#11804)
Diffstat (limited to 'common_features.mk')
-rw-r--r--common_features.mk6
1 files changed, 6 insertions, 0 deletions
diff --git a/common_features.mk b/common_features.mk
index 6365955a7f..7c956cbf2f 100644
--- a/common_features.mk
+++ b/common_features.mk
@@ -79,6 +79,12 @@ ifeq ($(strip $(FAUXCLICKY_ENABLE)), yes)
SRC += $(QUANTUM_DIR)/fauxclicky.c
endif
+ifeq ($(strip $(MOUSEKEY_ENABLE)), yes)
+ OPT_DEFS += -DMOUSEKEY_ENABLE
+ OPT_DEFS += -DMOUSE_ENABLE
+ SRC += $(QUANTUM_DIR)/mousekey.c
+endif
+
ifeq ($(strip $(POINTING_DEVICE_ENABLE)), yes)
OPT_DEFS += -DPOINTING_DEVICE_ENABLE
OPT_DEFS += -DMOUSE_ENABLE