1
0
Fork 0

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
parent f91ca76c78
commit c9cf9712aa
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
233 changed files with 309 additions and 191 deletions

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 { 34, 34 }
# define SPLIT_TRANSPORT_MIRROR
#endif

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

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

View file

@ -4,6 +4,9 @@
"pid": "0x9D9D",
"device_version": "0.0.1"
},
"rgblight": {
"split_count": [10, 10]
},
"rgb_matrix": {
"driver": "WS2812"
},

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

View file

@ -4,6 +4,9 @@
"pid": "0x9D9D",
"device_version": "0.0.2"
},
"rgblight": {
"split_count": [10, 10]
},
"rgb_matrix": {
"driver": "WS2812"
},

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