Move RGBLED_SPLIT to data driven (#21113)

Co-authored-by: Joel Challis <git@zvecr.com>
This commit is contained in:
Ryan
2023-06-06 11:08:04 +10:00
committed by GitHub
co-authored by Joel Challis
parent f91ca76c78
commit c9cf9712aa
233 changed files with 309 additions and 191 deletions
-1
View File
@@ -4,5 +4,4 @@
#pragma once
#define RGBLED_NUM 12
#define RGBLED_SPLIT { 6, 6 }
#define RGBLIGHT_SPLIT
+3
View File
@@ -18,6 +18,9 @@
{"pin_a": "B5", "pin_b": "F4", "resolution": 2}
]
},
"rgblight": {
"split_count": [6, 6]
},
"ws2812": {
"pin": "D3"
},
-1
View File
@@ -4,5 +4,4 @@
#pragma once
#define RGBLED_NUM 12
#define RGBLED_SPLIT { 7, 7 }
#define RGBLIGHT_SPLIT
+3
View File
@@ -21,6 +21,9 @@
"split": {
"soft_serial_pin": "D2"
},
"rgblight": {
"split_count": [7, 7]
},
"ws2812": {
"pin": "D3"
},
-1
View File
@@ -5,7 +5,6 @@
#ifdef RGBLIGHT_ENABLE
# define RGBLED_NUM 64
# define RGBLED_SPLIT { 32, 32 }
# define RGBLIGHT_SPLIT
# define RGBLIGHT_HUE_STEP 10
# define RGBLIGHT_SAT_STEP 17
+2 -1
View File
@@ -25,7 +25,8 @@
"pin": "D3"
},
"rgblight": {
"max_brightness": 100
"max_brightness": 100,
"split_count": [32, 32]
},
"processor": "atmega32u4",
"bootloader": "caterina",