diff options
author | Daniel Shields <daniel.shields@bcs.org> | 2018-08-31 16:12:37 +0100 |
---|---|---|
committer | Drashna Jaelre <drashna@live.com> | 2018-08-31 08:12:37 -0700 |
commit | f9eedd7ce741f15a1d5ff7327cb44d3979a46e35 (patch) | |
tree | 8e770d177b770aeb4b70410c4f4cba588440ed44 /keyboards/planck/keymaps/dshields/rules.mk | |
parent | 2cd80f84a416153cb17bc4543477be0d708e6f0f (diff) | |
download | qmk_firmware-f9eedd7ce741f15a1d5ff7327cb44d3979a46e35.tar.gz |
Keymap: Add backlight controls for Planck Light in dshields keymap (#3801)
Diffstat (limited to 'keyboards/planck/keymaps/dshields/rules.mk')
-rw-r--r-- | keyboards/planck/keymaps/dshields/rules.mk | 16 |
1 files changed, 11 insertions, 5 deletions
diff --git a/keyboards/planck/keymaps/dshields/rules.mk b/keyboards/planck/keymaps/dshields/rules.mk index a084c67de..8799c78f0 100644 --- a/keyboards/planck/keymaps/dshields/rules.mk +++ b/keyboards/planck/keymaps/dshields/rules.mk @@ -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 |