summaryrefslogtreecommitdiff
path: root/keyboards/preonic
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/preonic
parent10fc6c4cd6d7463737801430e8c13b347e1b85c7 (diff)
Move `RGB_MATRIX_DRIVER` to data driven (#20350)
Diffstat (limited to 'keyboards/preonic')
-rw-r--r--keyboards/preonic/rev3/info.json3
-rw-r--r--keyboards/preonic/rev3/rules.mk1
-rw-r--r--keyboards/preonic/rev3_drop/info.json3
-rw-r--r--keyboards/preonic/rev3_drop/rules.mk1
4 files changed, 6 insertions, 2 deletions
diff --git a/keyboards/preonic/rev3/info.json b/keyboards/preonic/rev3/info.json
index de242674bb..d6d494e005 100644
--- a/keyboards/preonic/rev3/info.json
+++ b/keyboards/preonic/rev3/info.json
@@ -10,6 +10,9 @@
"pin": "A1",
"driver": "pwm"
},
+ "rgb_matrix": {
+ "driver": "WS2812"
+ },
"matrix_pins": {
"cols": ["B11", "B10", "B2", "B1", "A7", "B0"],
"rows": ["A10", "A9", "A8", "B15", "C13", "C14", "C15", "A2", "A3", "A6"]
diff --git a/keyboards/preonic/rev3/rules.mk b/keyboards/preonic/rev3/rules.mk
index fa3348cef6..6836d19541 100644
--- a/keyboards/preonic/rev3/rules.mk
+++ b/keyboards/preonic/rev3/rules.mk
@@ -13,7 +13,6 @@ RGBLIGHT_ENABLE = yes # Enable WS2812 RGB underlight.
# Do not enable RGB_MATRIX_ENABLE together with RGBLIGHT_ENABLE
RGB_MATRIX_ENABLE = no
-RGB_MATRIX_DRIVER = WS2812
ENCODER_ENABLE = yes
DIP_SWITCH_ENABLE = yes
diff --git a/keyboards/preonic/rev3_drop/info.json b/keyboards/preonic/rev3_drop/info.json
index ff105f700f..a3eac4eaf4 100644
--- a/keyboards/preonic/rev3_drop/info.json
+++ b/keyboards/preonic/rev3_drop/info.json
@@ -10,6 +10,9 @@
"pin": "A1",
"driver": "pwm"
},
+ "rgb_matrix": {
+ "driver": "WS2812"
+ },
"matrix_pins": {
"cols": ["B11", "B10", "B2", "B1", "A7", "B0"],
"rows": ["A10", "A9", "A8", "B15", "C13", "C14", "C15", "A2", "A3", "A6"]
diff --git a/keyboards/preonic/rev3_drop/rules.mk b/keyboards/preonic/rev3_drop/rules.mk
index 762dd6ff6c..d3ff068813 100644
--- a/keyboards/preonic/rev3_drop/rules.mk
+++ b/keyboards/preonic/rev3_drop/rules.mk
@@ -16,6 +16,5 @@ DIP_SWITCH_ENABLE = yes
# Do not enable RGB_MATRIX_ENABLE together with RGBLIGHT_ENABLE
RGB_MATRIX_ENABLE = no
-RGB_MATRIX_DRIVER = WS2812
SRC += matrix.c