aboutsummaryrefslogtreecommitdiff
path: root/layouts
diff options
context:
space:
mode:
authorDanny <nooges@users.noreply.github.com>2019-03-23 20:20:14 -0400
committerDrashna Jaelre <drashna@live.com>2019-03-23 17:20:14 -0700
commitf077204fae729e66f8dfa16db82263ff2ff84d59 (patch)
treedbd23687e838271e9f90b7dab25b0312745eb5e3 /layouts
parent23086808a78c9234232e2ddbf0c977d1fb2cb6ae (diff)
downloadqmk_firmware-f077204fae729e66f8dfa16db82263ff2ff84d59.tar.gz
qmk_firmware-f077204fae729e66f8dfa16db82263ff2ff84d59.zip
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
Diffstat (limited to 'layouts')
-rw-r--r--layouts/community/ortho_4x12/bakingpy/config.h1
-rw-r--r--layouts/community/ortho_4x12/bakingpy/rules.mk7
2 files changed, 5 insertions, 3 deletions
diff --git a/layouts/community/ortho_4x12/bakingpy/config.h b/layouts/community/ortho_4x12/bakingpy/config.h
index b6b2ac577..a153adffb 100644
--- a/layouts/community/ortho_4x12/bakingpy/config.h
+++ b/layouts/community/ortho_4x12/bakingpy/config.h
@@ -10,6 +10,7 @@
10#undef RGBLED_NUM 10#undef RGBLED_NUM
11#define RGBLIGHT_ANIMATIONS 11#define RGBLIGHT_ANIMATIONS
12#define RGBLED_NUM 12 12#define RGBLED_NUM 12
13#define RGBLED_SPLIT { 6, 6 }
13#define RGBLIGHT_HUE_STEP 8 14#define RGBLIGHT_HUE_STEP 8
14#define RGBLIGHT_SAT_STEP 8 15#define RGBLIGHT_SAT_STEP 8
15#define RGBLIGHT_VAL_STEP 8 16#define RGBLIGHT_VAL_STEP 8
diff --git a/layouts/community/ortho_4x12/bakingpy/rules.mk b/layouts/community/ortho_4x12/bakingpy/rules.mk
index 9be2f01d4..17a589cd1 100644
--- a/layouts/community/ortho_4x12/bakingpy/rules.mk
+++ b/layouts/community/ortho_4x12/bakingpy/rules.mk
@@ -1,12 +1,13 @@
1# Enable RGB if not a Planck 1ifneq ($(LAYOUTS_HAS_RGB), no)
2ifeq ($(LAYOUTS_HAS_RGB),yes)
3 RGBLIGHT_ENABLE = yes 2 RGBLIGHT_ENABLE = yes
4endif 3endif
5AUDIO_ENABLE = no 4AUDIO_ENABLE = no
6ifeq ($(strip $(KEYBOARD)), zlant) 5ifeq ($(strip $(KEYBOARD)), zlant)
7 BACKLIGHT_ENABLE = no 6 BACKLIGHT_ENABLE = no
8else ifeq ($(strip $(KEYBOARD)), 40percentclub/4x4) 7else ifeq ($(strip $(KEYBOARD)), 40percentclub/4x4)
9 BACKLIGHT_ENABLE = no 8 BACKLIGHT_ENABLE = no
9else ifneq (, $(findstring lets_split, $(KEYBOARD)))
10 BACKLIGHT_ENABLE = no
10else 11else
11 BACKLIGHT_ENABLE = yes 12 BACKLIGHT_ENABLE = yes
12endif 13endif