Add support for planck/rev6 to dshields keymap. (#4304)

master
Daniel Shields 2018-10-31 14:07:34 +00:00 committed by MechMerlin
parent 685cec47bb
commit d147cf5ece
1 changed files with 16 additions and 8 deletions

View File

@ -9,12 +9,20 @@ EXTRAKEY_ENABLE = no
SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend
API_SYSEX_ENABLE = no API_SYSEX_ENABLE = no
ifneq (,$(findstring planck/light,$(KEYBOARD))) ifeq ($(strip $(KEYBOARD)), planck/rev3)
AUDIO_ENABLE = yes
BACKLIGHT_ENABLE = no
RGB_MATRIX_ENABLE = yes
else
AUDIO_ENABLE = no AUDIO_ENABLE = no
BACKLIGHT_ENABLE = yes BACKLIGHT_ENABLE = yes
RGB_MATRIX_ENABLE = no RGB_MATRIX_ENABLE = no
endif endif
ifeq ($(strip $(KEYBOARD)), planck/rev6)
EXTRALDFLAGS = -Wl,--build-id=none
AUDIO_ENABLE = yes
BACKLIGHT_ENABLE = no
RGB_MATRIX_ENABLE = no
endif
ifeq ($(strip $(KEYBOARD)), planck/light)
AUDIO_ENABLE = yes
BACKLIGHT_ENABLE = no
RGB_MATRIX_ENABLE = yes
endif