X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=common_features.mk;h=0778f8e0f515db3f62d6f8f467ddd4102de94a89;hb=7acc781a018d8190b8a14d36089f05c9ab855508;hp=7bd43afdbaf832def66b160501f56faa614fe220;hpb=33fdd1d2551591a5c295c6dc68ccf52c4698b9c1;p=qmk_firmware.git diff --git a/common_features.mk b/common_features.mk index 7bd43afdb..0778f8e0f 100644 --- a/common_features.mk +++ b/common_features.mk @@ -114,6 +114,15 @@ ifeq ($(strip $(RGBLIGHT_ENABLE)), yes) endif endif +ifeq ($(strip $(RGB_MATRIX_ENABLE)), yes) + OPT_DEFS += -DRGB_MATRIX_ENABLE + SRC += is31fl3731.c + SRC += i2c_master.c + SRC += $(QUANTUM_DIR)/color.c + SRC += $(QUANTUM_DIR)/rgb_matrix.c + CIE1931_CURVE = yes +endif + ifeq ($(strip $(TAP_DANCE_ENABLE)), yes) OPT_DEFS += -DTAP_DANCE_ENABLE SRC += $(QUANTUM_DIR)/process_keycode/process_tap_dance.c