diff options
Diffstat (limited to 'layouts/community/ortho_4x12/drashna/rules.mk')
-rw-r--r-- | layouts/community/ortho_4x12/drashna/rules.mk | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/layouts/community/ortho_4x12/drashna/rules.mk b/layouts/community/ortho_4x12/drashna/rules.mk index ebd8b26b0a..a5429b8ffb 100644 --- a/layouts/community/ortho_4x12/drashna/rules.mk +++ b/layouts/community/ortho_4x12/drashna/rules.mk @@ -4,9 +4,16 @@ EXTRAKEY_ENABLE = yes # Audio control and System control(+450) CONSOLE_ENABLE = no # Console for debug(+400) COMMAND_ENABLE = no # Commands for debug and configuration TAP_DANCE_ENABLE = no -RGBLIGHT_ENABLE = yes AUDIO_ENABLE = yes - +ifeq (,$(findstring planck/rev6,$(KEYBOARD))) # Make sure it's NOT the Planck Rev6 + RGBLIGHT_ENABLE = yes + INDICATOR_LIGHTS = yes + RGBLIGHT_TWINKLE = yes +endif +ifneq (,$(findstring planck/light,$(KEYBOARD))) # Make sure it IS the Planck Light + RGB_MATRIX_ENABLE = yes + RGBLIGHT_ENABLE = no +endif ifeq ($(strip $(PROTOCOL)), VUSB) NKRO_ENABLE = no @@ -15,6 +22,4 @@ NKRO_ENABLE = yes endif -INDICATOR_LIGHTS = yes MACROS_ENABLED = no -RGBLIGHT_TWINKLE = yes |