Keymap: Add backlight controls for Planck Light in dshields keymap (#3801)

This commit is contained in:
Daniel Shields
2018-08-31 16:12:37 +01:00
committed by Drashna Jaelre
parent 2cd80f84a4
commit f9eedd7ce7
2 changed files with 20 additions and 6 deletions
+11 -5
View File
@@ -3,11 +3,17 @@ ifndef QUANTUM_DIR
endif
MOUSEKEY_ENABLE = yes # Mouse keys(+4700)
COMMAND_ENABLE = yes # Commands for debug and configuration
COMMAND_ENABLE = no # Commands for debug and configuration
CONSOLE_ENABLE = no # Console for debug(+400)
BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality
# Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE
SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend
AUDIO_ENABLE = no
API_SYSEX_ENABLE = no
BOOTLOADER = qmk-dfu
ifneq (,$(findstring planck/light,$(KEYBOARD)))
AUDIO_ENABLE = yes
BACKLIGHT_ENABLE = no
RGB_MATRIX_ENABLE = yes
else
AUDIO_ENABLE = no
BACKLIGHT_ENABLE = yes
RGB_MATRIX_ENABLE = no
endif