summaryrefslogtreecommitdiff
path: root/keyboards/doio/kb16
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/doio/kb16
parent10fc6c4cd6d7463737801430e8c13b347e1b85c7 (diff)
Move `RGB_MATRIX_DRIVER` to data driven (#20350)
Diffstat (limited to 'keyboards/doio/kb16')
-rw-r--r--keyboards/doio/kb16/rev1/info.json3
-rw-r--r--keyboards/doio/kb16/rev1/rules.mk1
-rw-r--r--keyboards/doio/kb16/rev2/info.json3
-rw-r--r--keyboards/doio/kb16/rev2/rules.mk1
4 files changed, 6 insertions, 2 deletions
diff --git a/keyboards/doio/kb16/rev1/info.json b/keyboards/doio/kb16/rev1/info.json
index f42f039846..f37a58e157 100644
--- a/keyboards/doio/kb16/rev1/info.json
+++ b/keyboards/doio/kb16/rev1/info.json
@@ -8,6 +8,9 @@
"pid": "0x1601",
"device_version": "0.0.1"
},
+ "rgb_matrix": {
+ "driver": "WS2812"
+ },
"matrix_pins": {
"cols": ["F5", "F4", "F1", "F0", "B7"],
"rows": ["D5", "D4", "D3", "D2"]
diff --git a/keyboards/doio/kb16/rev1/rules.mk b/keyboards/doio/kb16/rev1/rules.mk
index 475b3b9a52..5c5ad3de8c 100644
--- a/keyboards/doio/kb16/rev1/rules.mk
+++ b/keyboards/doio/kb16/rev1/rules.mk
@@ -24,7 +24,6 @@ OLED_DRIVER = SSD1306
# RGB Matrix enabled
RGB_MATRIX_ENABLE = yes
-RGB_MATRIX_DRIVER = WS2812
# Encoder enabled
ENCODER_ENABLE = yes
diff --git a/keyboards/doio/kb16/rev2/info.json b/keyboards/doio/kb16/rev2/info.json
index 9dff8e0f6e..6d11cadaac 100644
--- a/keyboards/doio/kb16/rev2/info.json
+++ b/keyboards/doio/kb16/rev2/info.json
@@ -8,6 +8,9 @@
"pid": "0x1601",
"device_version": "0.0.2"
},
+ "rgb_matrix": {
+ "driver": "WS2812"
+ },
"matrix_pins": {
"cols": ["B14", "B13", "B12", "B0", "A7"],
"rows": ["B3", "B4", "B9", "B8"]
diff --git a/keyboards/doio/kb16/rev2/rules.mk b/keyboards/doio/kb16/rev2/rules.mk
index f1f486f639..f931af11e4 100644
--- a/keyboards/doio/kb16/rev2/rules.mk
+++ b/keyboards/doio/kb16/rev2/rules.mk
@@ -23,7 +23,6 @@ OLED_DRIVER = SSD1306
# RGB Matrix enabled
RGB_MATRIX_ENABLE = yes
-RGB_MATRIX_DRIVER = WS2812
# Encoder enabled
ENCODER_ENABLE = yes