summaryrefslogtreecommitdiff
path: root/keyboards/kprepublic/bm60hsrgb
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/bm60hsrgb
parent10fc6c4cd6d7463737801430e8c13b347e1b85c7 (diff)
Move `RGB_MATRIX_DRIVER` to data driven (#20350)
Diffstat (limited to 'keyboards/kprepublic/bm60hsrgb')
-rw-r--r--keyboards/kprepublic/bm60hsrgb/rev1/info.json3
-rw-r--r--keyboards/kprepublic/bm60hsrgb/rev1/rules.mk1
-rw-r--r--keyboards/kprepublic/bm60hsrgb/rev2/info.json3
-rw-r--r--keyboards/kprepublic/bm60hsrgb/rev2/rules.mk1
4 files changed, 6 insertions, 2 deletions
diff --git a/keyboards/kprepublic/bm60hsrgb/rev1/info.json b/keyboards/kprepublic/bm60hsrgb/rev1/info.json
index 5b28d04f14..a7a93f60bf 100644
--- a/keyboards/kprepublic/bm60hsrgb/rev1/info.json
+++ b/keyboards/kprepublic/bm60hsrgb/rev1/info.json
@@ -11,6 +11,9 @@
"ws2812": {
"pin": "E2"
},
+ "rgb_matrix": {
+ "driver": "WS2812"
+ },
"matrix_pins": {
"cols": ["D0", "D1", "D2", "D3", "D5", "D4", "D6", "D7", "B4", "B5", "B6", "C6", "C7", "F7"],
"rows": ["B0", "B1", "B2", "B3", "E6"]
diff --git a/keyboards/kprepublic/bm60hsrgb/rev1/rules.mk b/keyboards/kprepublic/bm60hsrgb/rev1/rules.mk
index cb6e15ad0a..4e7e766dda 100644
--- a/keyboards/kprepublic/bm60hsrgb/rev1/rules.mk
+++ b/keyboards/kprepublic/bm60hsrgb/rev1/rules.mk
@@ -11,5 +11,4 @@ BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow
AUDIO_ENABLE = no # Audio output
RGB_MATRIX_ENABLE = yes
-RGB_MATRIX_DRIVER = WS2812
LTO_ENABLE = yes
diff --git a/keyboards/kprepublic/bm60hsrgb/rev2/info.json b/keyboards/kprepublic/bm60hsrgb/rev2/info.json
index 4c0f4e11af..8ef6f2598c 100644
--- a/keyboards/kprepublic/bm60hsrgb/rev2/info.json
+++ b/keyboards/kprepublic/bm60hsrgb/rev2/info.json
@@ -11,6 +11,9 @@
"ws2812": {
"pin": "F0"
},
+ "rgb_matrix": {
+ "driver": "custom"
+ },
"matrix_pins": {
"cols": ["B2", "B3", "B7", "B0", "B1", "F7", "D4", "D6", "D7", "B4", "B5", "B6", "C6", "C7"],
"rows": ["E6", "D2", "D3", "D5", "F6"]
diff --git a/keyboards/kprepublic/bm60hsrgb/rev2/rules.mk b/keyboards/kprepublic/bm60hsrgb/rev2/rules.mk
index d1baac82c4..534a21dbf3 100644
--- a/keyboards/kprepublic/bm60hsrgb/rev2/rules.mk
+++ b/keyboards/kprepublic/bm60hsrgb/rev2/rules.mk
@@ -13,7 +13,6 @@ AUDIO_ENABLE = no # Audio output
NO_USB_STARTUP_CHECK = no
LTO_ENABLE = yes
RGB_MATRIX_ENABLE = yes
-RGB_MATRIX_DRIVER = custom
WS2812_DRIVER_REQUIRED = yes
COMMON_VPATH += $(DRIVER_PATH)/led/issi