summaryrefslogtreecommitdiff
path: root/builddefs
diff options
context:
space:
mode:
authorJoel Challis <git@zvecr.com>2023-09-25 17:48:10 +0100
committerGitHub <noreply@github.com>2023-09-25 17:48:10 +0100
commit339bff63393cda8bd6e8358e09d04b50ff9ac010 (patch)
tree8a60fa247a3e4c87bad50bec32725e27f66c0bd7 /builddefs
parent1052c03a5b15b09e0925c918812452cdd0c6d413 (diff)
Move velocikey to within rgblight (#22123)
Diffstat (limited to 'builddefs')
-rw-r--r--builddefs/common_features.mk4
-rw-r--r--builddefs/generic_features.mk1
2 files changed, 4 insertions, 1 deletions
diff --git a/builddefs/common_features.mk b/builddefs/common_features.mk
index 8e07c25c24..973cfba394 100644
--- a/builddefs/common_features.mk
+++ b/builddefs/common_features.mk
@@ -342,6 +342,10 @@ ifeq ($(strip $(RGBLIGHT_ENABLE)), yes)
ifeq ($(strip $(RGBLIGHT_DRIVER)), apa102)
APA102_DRIVER_REQUIRED := yes
endif
+
+ ifeq ($(strip $(VELOCIKEY_ENABLE)), yes)
+ OPT_DEFS += -DVELOCIKEY_ENABLE
+ endif
endif
# Deprecated driver names - do not use
diff --git a/builddefs/generic_features.mk b/builddefs/generic_features.mk
index 4e058dcd26..afd8bbd276 100644
--- a/builddefs/generic_features.mk
+++ b/builddefs/generic_features.mk
@@ -37,7 +37,6 @@ GENERIC_FEATURES = \
SPACE_CADET \
SWAP_HANDS \
TAP_DANCE \
- VELOCIKEY \
WPM \
DYNAMIC_TAPPING_TERM \
TRI_LAYER