Move RGBLED_SPLIT to data driven (#21113)

Co-authored-by: Joel Challis <[email protected]>
This commit is contained in:
RyanandJoel Challis authored and GitHub committed 2023-06-06 11:08:04 +10:00
1 parent f91ca76c78
commit c9cf9712aa
233 files changed
+309 -191

No files matched your search

@@ -29,6 +29,6 @@
// Not yet available in `info.json`
#ifdef RGB_MATRIX_ENABLE
# define RGB_MATRIX_LED_COUNT RGBLED_NUM
# define RGB_MATRIX_SPLIT RGBLED_SPLIT
# define RGB_MATRIX_SPLIT { 34, 34 }
# define SPLIT_TRANSPORT_MIRROR
#endif
+1 -1
View File
@@ -29,6 +29,6 @@
// Not yet available in `info.json`
#ifdef RGB_MATRIX_ENABLE
# define RGB_MATRIX_LED_COUNT RGBLED_NUM
# define RGB_MATRIX_SPLIT RGBLED_SPLIT
# define RGB_MATRIX_SPLIT { 23, 23 }
# define SPLIT_TRANSPORT_MIRROR
#endif
-2
View File
@@ -41,8 +41,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
# define SOFT_SERIAL_PIN D2
#endif
#define RGBLED_SPLIT \
{ 10, 10 }
#define RGBLED_NUM 20
#ifdef OLED_ENABLE
+3
View File
@@ -4,6 +4,9 @@
"pid": "0x9D9D",
"device_version": "0.0.1"
},
"rgblight": {
"split_count": [10, 10]
},
"rgb_matrix": {
"driver": "WS2812"
},
-2
View File
@@ -47,8 +47,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
# define SOFT_SERIAL_PIN D2
#endif
#define RGBLED_SPLIT \
{ 10, 10 }
#define RGBLED_NUM 20
#ifdef OLED_ENABLE
+3
View File
@@ -4,6 +4,9 @@
"pid": "0x9D9D",
"device_version": "0.0.2"
},
"rgblight": {
"split_count": [10, 10]
},
"rgb_matrix": {
"driver": "WS2812"
},
+1 -1
View File
@@ -29,6 +29,6 @@
// Not yet available in `info.json`
#ifdef RGB_MATRIX_ENABLE
# define RGB_MATRIX_LED_COUNT RGBLED_NUM
# define RGB_MATRIX_SPLIT RGBLED_SPLIT
# define RGB_MATRIX_SPLIT { 31, 31 }
# define SPLIT_TRANSPORT_MIRROR
#endif