summaryrefslogtreecommitdiff
path: root/keyboards/junco
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2023-04-08 18:08:08 +1000
committerGitHub <noreply@github.com>2023-04-08 18:08:08 +1000
commit522048725f6b076bdad1251243c65dd2acf6595d (patch)
tree413c5356450048e072fc8b2528ea887ee180edc7 /keyboards/junco
parent10fc6c4cd6d7463737801430e8c13b347e1b85c7 (diff)
Move `RGB_MATRIX_DRIVER` to data driven (#20350)
Diffstat (limited to 'keyboards/junco')
-rw-r--r--keyboards/junco/info.json7
-rw-r--r--keyboards/junco/rev1/config.h1
-rw-r--r--keyboards/junco/rev1/rules.mk3
3 files changed, 7 insertions, 4 deletions
diff --git a/keyboards/junco/info.json b/keyboards/junco/info.json
index 72e0d5c92a..fb5c391d6a 100644
--- a/keyboards/junco/info.json
+++ b/keyboards/junco/info.json
@@ -8,6 +8,13 @@
"pid": "0x4A13",
"device_version": "1.0.0"
},
+ "ws2812": {
+ "pin": "GP15",
+ "driver": "vendor"
+ },
+ "rgb_matrix": {
+ "driver": "WS2812"
+ },
"processor": "RP2040",
"bootloader": "rp2040",
"layouts": {
diff --git a/keyboards/junco/rev1/config.h b/keyboards/junco/rev1/config.h
index d9c0556cdf..95731fde01 100644
--- a/keyboards/junco/rev1/config.h
+++ b/keyboards/junco/rev1/config.h
@@ -19,7 +19,6 @@
/* RGB Stuff */
#ifdef RGB_MATRIX_ENABLE
-# define RGB_DI_PIN GP15 // Pin for RGB logic
# define RGB_MATRIX_LED_COUNT 74
# define RGB_MATRIX_SPLIT \
{ 37, 37 } // 37 LEDs on each side
diff --git a/keyboards/junco/rev1/rules.mk b/keyboards/junco/rev1/rules.mk
index feb836dbe1..e69de29bb2 100644
--- a/keyboards/junco/rev1/rules.mk
+++ b/keyboards/junco/rev1/rules.mk
@@ -1,3 +0,0 @@
-# RGB Stuff
-RGB_MATRIX_DRIVER = WS2812
-WS2812_DRIVER = vendor