Add support for RGB LEDs wired directly to each half's controller (#5392)
* Add support for wiring RGB LEDs for both halves directly to their respective controllers RGB LEDs for each half don't need to be chained together across the TRRS cable with this * Add split RGB LED support for serial * Update config/rules for bakingpy layout * Un-nest ifdefs for hand detection * Read RGB config state from memory instead of EEPROM for serial updates * Reuse existing LED pointer instead of creating new one
This commit is contained in:
parent
23086808a7
commit
f077204fae
10 changed files with 76 additions and 38 deletions
|
@ -10,6 +10,7 @@
|
|||
#undef RGBLED_NUM
|
||||
#define RGBLIGHT_ANIMATIONS
|
||||
#define RGBLED_NUM 12
|
||||
#define RGBLED_SPLIT { 6, 6 }
|
||||
#define RGBLIGHT_HUE_STEP 8
|
||||
#define RGBLIGHT_SAT_STEP 8
|
||||
#define RGBLIGHT_VAL_STEP 8
|
||||
|
|
|
@ -1,12 +1,13 @@
|
|||
# Enable RGB if not a Planck
|
||||
ifeq ($(LAYOUTS_HAS_RGB),yes)
|
||||
ifneq ($(LAYOUTS_HAS_RGB), no)
|
||||
RGBLIGHT_ENABLE = yes
|
||||
endif
|
||||
AUDIO_ENABLE = no
|
||||
ifeq ($(strip $(KEYBOARD)), zlant)
|
||||
BACKLIGHT_ENABLE = no
|
||||
else ifeq ($(strip $(KEYBOARD)), 40percentclub/4x4)
|
||||
BACKLIGHT_ENABLE = no
|
||||
BACKLIGHT_ENABLE = no
|
||||
else ifneq (, $(findstring lets_split, $(KEYBOARD)))
|
||||
BACKLIGHT_ENABLE = no
|
||||
else
|
||||
BACKLIGHT_ENABLE = yes
|
||||
endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue