summaryrefslogtreecommitdiff
path: root/keyboards/yanghu
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/yanghu
parent10fc6c4cd6d7463737801430e8c13b347e1b85c7 (diff)
Move `RGB_MATRIX_DRIVER` to data driven (#20350)
Diffstat (limited to 'keyboards/yanghu')
-rw-r--r--keyboards/yanghu/unicorne/info.json3
-rw-r--r--keyboards/yanghu/unicorne/rules.mk1
2 files changed, 3 insertions, 1 deletions
diff --git a/keyboards/yanghu/unicorne/info.json b/keyboards/yanghu/unicorne/info.json
index be55f047b8..52a703d219 100644
--- a/keyboards/yanghu/unicorne/info.json
+++ b/keyboards/yanghu/unicorne/info.json
@@ -12,6 +12,9 @@
"pin": "B1",
"driver": "pwm"
},
+ "rgb_matrix": {
+ "driver": "WS2812"
+ },
"matrix_pins": {
"cols": ["A14", "A15", "B13", "B14", "B15", "A13", "A0", "A1", "A2", "A3", "A6", "A7"],
"rows": ["B9", "B8", "A10", "A9"]
diff --git a/keyboards/yanghu/unicorne/rules.mk b/keyboards/yanghu/unicorne/rules.mk
index e07355aefa..651d6bedf3 100644
--- a/keyboards/yanghu/unicorne/rules.mk
+++ b/keyboards/yanghu/unicorne/rules.mk
@@ -17,6 +17,5 @@ OLED_DRIVER = SSD1306
AUDIO_DRIVER = pwm_hardware
RGB_MATRIX_ENABLE = no # Do not enable with RGBLIGHT
-RGB_MATRIX_DRIVER = WS2812
DEFAULT_FOLDER = yanghu/unicorne/f411