Migrate RGB Matrix config to info.json - J (#22862)

This commit is contained in:
Joel Challis 2024-01-08 02:10:56 +00:00 committed by GitHub
parent bdede8b2cd
commit 0870b796b4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
15 changed files with 76 additions and 188 deletions

View file

@ -18,7 +18,8 @@
"driver": "vendor"
},
"rgb_matrix": {
"driver": "ws2812"
"driver": "ws2812",
"split_count": [37, 37]
},
"encoder": {
"rotary": [

View file

@ -8,12 +8,3 @@
#define SERIAL_USART_FULL_DUPLEX // Use full duplex communication (TRRS)
#define SERIAL_USART_TX_PIN GP0 // USART TX pin
#define SERIAL_USART_RX_PIN GP1 // USART RX pin
/* RGB Stuff */
#ifdef RGB_MATRIX_ENABLE
# define RGB_MATRIX_LED_COUNT 74
# define RGB_MATRIX_SPLIT \
{ 37, 37 } // 37 LEDs on each side
#endif