summaryrefslogtreecommitdiff
path: root/users/stanrc85/rules.mk
diff options
context:
space:
mode:
authorstanrc85 <47038504+stanrc85@users.noreply.github.com>2020-04-08 18:56:55 -0400
committerGitHub <noreply@github.com>2020-04-08 23:56:55 +0100
commitff213d5fe1a74f345dd2263c6fb4bc9280f74e0f (patch)
tree88f01d9acb43525274894e4c6b3874b26f67733c /users/stanrc85/rules.mk
parent3234118e52deba9e87ef20389f22485f24f76a71 (diff)
downloadqmk_firmware-ff213d5fe1a74f345dd2263c6fb4bc9280f74e0f.tar.gz
qmk_firmware-ff213d5fe1a74f345dd2263c6fb4bc9280f74e0f.zip
[Keymap] Userspace update Rgb layers code (#8659)
* enable rgblight layers * rgblight layers code * switch to new rgblight layers * testing led positions * fix caps typo * lights and colors working * rules updated for different rgb use * Extra spaces removed
Diffstat (limited to 'users/stanrc85/rules.mk')
-rw-r--r--users/stanrc85/rules.mk8
1 files changed, 3 insertions, 5 deletions
diff --git a/users/stanrc85/rules.mk b/users/stanrc85/rules.mk
index 16391b555a..67e1b8854a 100644
--- a/users/stanrc85/rules.mk
+++ b/users/stanrc85/rules.mk
@@ -10,20 +10,18 @@ NKRO_ENABLE = no
SRC += stanrc85.c
-ifeq ($(strip $(RGBLIGHT_ENABLE)), yes)
- # Include my fancy rgb functions source here
- SRC += layer_rgb.c
-endif
-
ifeq ($(strip $(KEYBOARD)), 1upkeyboards/1up60hse)
+ SRC += layer_rgb.c
VIA_ENABLE = yes
LTO_ENABLE = yes
endif
ifeq ($(strip $(KEYBOARD)), dz60)
+ SRC += layer_rgb.c
VIA_ENABLE = yes
LTO_ENABLE = yes
endif
ifeq ($(strip $(KEYBOARD)), projectkb/alice)
+ SRC += rgblight_layers.c
VIA_ENABLE = yes
LTO_ENABLE = no
endif \ No newline at end of file