From 0870b796b402025382c0d9e5d1bc51edc3178a09 Mon Sep 17 00:00:00 2001 From: Joel Challis Date: Mon, 8 Jan 2024 02:10:56 +0000 Subject: Migrate RGB Matrix config to info.json - J (#22862) --- keyboards/junco/info.json | 3 ++- keyboards/junco/rev1/config.h | 9 --------- 2 files changed, 2 insertions(+), 10 deletions(-) (limited to 'keyboards/junco') diff --git a/keyboards/junco/info.json b/keyboards/junco/info.json index 4c9b3ae6ba..6956ab4834 100644 --- a/keyboards/junco/info.json +++ b/keyboards/junco/info.json @@ -18,7 +18,8 @@ "driver": "vendor" }, "rgb_matrix": { - "driver": "ws2812" + "driver": "ws2812", + "split_count": [37, 37] }, "encoder": { "rotary": [ diff --git a/keyboards/junco/rev1/config.h b/keyboards/junco/rev1/config.h index 713d651d47..17d9e33be0 100644 --- a/keyboards/junco/rev1/config.h +++ b/keyboards/junco/rev1/config.h @@ -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 -- cgit v1.2.3