summaryrefslogtreecommitdiffstats
path: root/users/stanrc85/rules.mk
diff options
context:
space:
mode:
authorstanrc85 <47038504+stanrc85@users.noreply.github.com>2019-03-04 00:31:12 +0100
committerMechMerlin <30334081+mechmerlin@users.noreply.github.com>2019-03-04 00:31:12 +0100
commit043ef40b92deee76a048612e82436c1b25f03433 (patch)
tree2276a0fcb9588913f7bdc67a3396f75439f4f377 /users/stanrc85/rules.mk
parent3305df8e79e02fb785650e9720923ea11e6bcf09 (diff)
downloadqmk_firmware-043ef40b92deee76a048612e82436c1b25f03433.tar.gz
qmk_firmware-043ef40b92deee76a048612e82436c1b25f03433.tar.xz
[Keymap] Add RGB config and controls to userspace (#5299)
* Add INSERT and EEP_RST to HS60 keymap * Add INSERT to keymap * Layer based RGB colors * Move RGB code to layer_rgb.c * New file with layer based RGB colors * Use RGB code if RGBLIGHT is enabled * Set RGB options in config.h * Remove rgb enable from init user
Diffstat (limited to 'users/stanrc85/rules.mk')
-rw-r--r--users/stanrc85/rules.mk5
1 files changed, 5 insertions, 0 deletions
diff --git a/users/stanrc85/rules.mk b/users/stanrc85/rules.mk
index 19ad62475..c94dca0b7 100644
--- a/users/stanrc85/rules.mk
+++ b/users/stanrc85/rules.mk
@@ -7,3 +7,8 @@ MOUSEKEY_ENABLE = no
AUDIO_ENABLE = no
CONSOLE_ENABLE = no
NKRO_ENABLE = no
+
+ifeq ($(strip $(RGBLIGHT_ENABLE)), yes)
+ # Include my fancy rgb functions source here
+ SRC += layer_rgb.c
+endif