summaryrefslogtreecommitdiff
path: root/keyboards/kprepublic/bm40hsrgb
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/kprepublic/bm40hsrgb
parent10fc6c4cd6d7463737801430e8c13b347e1b85c7 (diff)
Move `RGB_MATRIX_DRIVER` to data driven (#20350)
Diffstat (limited to 'keyboards/kprepublic/bm40hsrgb')
-rw-r--r--keyboards/kprepublic/bm40hsrgb/info.json3
-rwxr-xr-xkeyboards/kprepublic/bm40hsrgb/rules.mk1
2 files changed, 3 insertions, 1 deletions
diff --git a/keyboards/kprepublic/bm40hsrgb/info.json b/keyboards/kprepublic/bm40hsrgb/info.json
index 02c02cf6a5..cf58efba9f 100644
--- a/keyboards/kprepublic/bm40hsrgb/info.json
+++ b/keyboards/kprepublic/bm40hsrgb/info.json
@@ -11,6 +11,9 @@
"ws2812": {
"pin": "E2"
},
+ "rgb_matrix": {
+ "driver": "WS2812"
+ },
"matrix_pins": {
"cols": ["B6", "C6", "B4", "D7", "D4", "D6", "C7", "F6", "F5", "F4", "F1", "F0"],
"rows": ["B3", "B2", "E6", "B5"]
diff --git a/keyboards/kprepublic/bm40hsrgb/rules.mk b/keyboards/kprepublic/bm40hsrgb/rules.mk
index 9690e3e495..7e0de4a3e8 100755
--- a/keyboards/kprepublic/bm40hsrgb/rules.mk
+++ b/keyboards/kprepublic/bm40hsrgb/rules.mk
@@ -10,6 +10,5 @@ NKRO_ENABLE = no # Enable N-Key Rollover
BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
AUDIO_ENABLE = no # Audio output
RGB_MATRIX_ENABLE = yes
-RGB_MATRIX_DRIVER = WS2812
LAYOUTS_HAS_RGB = yes