summaryrefslogtreecommitdiff
path: root/common_features.mk
diff options
context:
space:
mode:
authorFlorian Didron <fdidron@users.noreply.github.com>2019-04-30 15:42:06 +0900
committerGitHub <noreply@github.com>2019-04-30 15:42:06 +0900
commitfd06a342eeb29e8279545c138d856854c29bcaca (patch)
treeeabfca71abc1681efb9ae3d0f1c3875a3e049288 /common_features.mk
parent882651dc06b11565f157fe3c9279600c618d3642 (diff)
parentb6648f46a8c6d403156ef94d11344d637bc6ce1e (diff)
Merge pull request #33 from zsa/feature/per_level_matrix_effects
RGB Matrix: Custom effects on a kb/user level
Diffstat (limited to 'common_features.mk')
-rw-r--r--common_features.mk8
1 files changed, 8 insertions, 0 deletions
diff --git a/common_features.mk b/common_features.mk
index 6d03f4f405..6dffe31ff8 100644
--- a/common_features.mk
+++ b/common_features.mk
@@ -178,6 +178,14 @@ ifeq ($(strip $(RGB_MATRIX_ENABLE)), WS2812)
SRC += ws2812.c
endif
+ifeq ($(strip $(RGB_MATRIX_CUSTOM_KB)), yes)
+ OPT_DEFS += -DRGB_MATRIX_CUSTOM_KB
+endif
+
+ifeq ($(strip $(RGB_MATRIX_CUSTOM_USER)), yes)
+ OPT_DEFS += -DRGB_MATRIX_CUSTOM_USER
+endif
+
ifeq ($(strip $(TAP_DANCE_ENABLE)), yes)
OPT_DEFS += -DTAP_DANCE_ENABLE
SRC += $(QUANTUM_DIR)/process_keycode/process_tap_dance.c