summaryrefslogtreecommitdiff
path: root/keyboards/junco
diff options
context:
space:
mode:
authorJoel Challis <git@zvecr.com>2024-01-08 02:10:56 +0000
committerGitHub <noreply@github.com>2024-01-08 02:10:56 +0000
commit0870b796b402025382c0d9e5d1bc51edc3178a09 (patch)
tree23376e329bd14a7ba9f972fffb8727d28c062b46 /keyboards/junco
parentbdede8b2cdc05d5f3be04e900210aae9c07cf632 (diff)
Migrate RGB Matrix config to info.json - J (#22862)
Diffstat (limited to 'keyboards/junco')
-rw-r--r--keyboards/junco/info.json3
-rw-r--r--keyboards/junco/rev1/config.h9
2 files changed, 2 insertions, 10 deletions
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