aboutsummaryrefslogtreecommitdiff
path: root/builddefs
diff options
context:
space:
mode:
authorJoel Challis <[email protected]>2024-12-24 18:26:08 +0000
committerGitHub <[email protected]>2024-12-24 10:26:08 -0800
commita822545da07f9561e231df15feb68d829c7b507f (patch)
tree2fdd3eb0501a0ea8488142693a99f994057a119f /builddefs
parent40c93bcdc6fc8bd5326db341395c95430d2b05c7 (diff)
downloadqmk_firmware-a822545da07f9561e231df15feb68d829c7b507f.tar.gz
qmk_firmware-a822545da07f9561e231df15feb68d829c7b507f.zip
Set custom effect defines for LED Matrix (#24745)
Diffstat (limited to 'builddefs')
-rw-r--r--builddefs/common_features.mk7
1 files changed, 7 insertions, 0 deletions
diff --git a/builddefs/common_features.mk b/builddefs/common_features.mk
index 7bfd1436e7..bb272099a6 100644
--- a/builddefs/common_features.mk
+++ b/builddefs/common_features.mk
@@ -433,6 +433,13 @@ ifeq ($(strip $(LED_MATRIX_ENABLE)), yes)
SRC += snled27351-mono.c
endif
+ ifeq ($(strip $(LED_MATRIX_CUSTOM_KB)), yes)
+ OPT_DEFS += -DLED_MATRIX_CUSTOM_KB
+ endif
+
+ ifeq ($(strip $(LED_MATRIX_CUSTOM_USER)), yes)
+ OPT_DEFS += -DLED_MATRIX_CUSTOM_USER
+ endif
endif
# Deprecated driver names - do not use