[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
This commit is contained in:
stanrc85 2020-04-08 18:56:55 -04:00 committed by GitHub
parent 3234118e52
commit ff213d5fe1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 51 additions and 5 deletions

View file

@ -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