summaryrefslogtreecommitdiff
path: root/keyboards/mt
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2023-03-26 18:22:12 +1100
committerGitHub <noreply@github.com>2023-03-26 18:22:12 +1100
commit36ce81df592ca8e9f9fed498e513437aa1cae54f (patch)
tree5d1eb5bec831a7037d97b43babfee78c6fbf47cb /keyboards/mt
parent7e54defa20bd6a4f199fb1da0f25e83f0d55bf25 (diff)
Move `WS2812_DRIVER` to data driven (#20248)
Diffstat (limited to 'keyboards/mt')
-rw-r--r--keyboards/mt/mt40/info.json3
-rw-r--r--keyboards/mt/mt40/rules.mk1
-rw-r--r--keyboards/mt/split75/info.json3
-rw-r--r--keyboards/mt/split75/rules.mk1
4 files changed, 6 insertions, 2 deletions
diff --git a/keyboards/mt/mt40/info.json b/keyboards/mt/mt40/info.json
index d632160093..3af8ecceb2 100644
--- a/keyboards/mt/mt40/info.json
+++ b/keyboards/mt/mt40/info.json
@@ -16,6 +16,9 @@
"backlight": {
"pin": "D2"
},
+ "ws2812": {
+ "driver": "i2c"
+ },
"processor": "atmega32a",
"bootloader": "bootloadhid",
"community_layouts": ["planck_mit"],
diff --git a/keyboards/mt/mt40/rules.mk b/keyboards/mt/mt40/rules.mk
index 05b8900231..b50ebe5888 100644
--- a/keyboards/mt/mt40/rules.mk
+++ b/keyboards/mt/mt40/rules.mk
@@ -10,6 +10,5 @@ NKRO_ENABLE = no # Enable N-Key Rollover
BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality
AUDIO_ENABLE = no # Audio output
RGBLIGHT_ENABLE = yes # Enable WS2812 RGB underlight.
-WS2812_DRIVER = i2c
LAYOUTS_HAS_RGB = no
diff --git a/keyboards/mt/split75/info.json b/keyboards/mt/split75/info.json
index 38a7b38e4a..53604882e3 100644
--- a/keyboards/mt/split75/info.json
+++ b/keyboards/mt/split75/info.json
@@ -11,6 +11,9 @@
"backlight": {
"pin": "D4"
},
+ "ws2812": {
+ "driver": "i2c"
+ },
"indicators": {
"caps_lock": "D1",
"num_lock": "D0",
diff --git a/keyboards/mt/split75/rules.mk b/keyboards/mt/split75/rules.mk
index ebcb8a1159..f616b9400e 100644
--- a/keyboards/mt/split75/rules.mk
+++ b/keyboards/mt/split75/rules.mk
@@ -8,7 +8,6 @@ CONSOLE_ENABLE = no # Console for debug
COMMAND_ENABLE = no # Commands for debug and configuration
BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality
RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow
-WS2812_DRIVER = i2c
# custom matrix setup
CUSTOM_MATRIX = lite