diff options
author | Ryan <fauxpark@gmail.com> | 2023-04-08 18:08:08 +1000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-08 18:08:08 +1000 |
commit | 522048725f6b076bdad1251243c65dd2acf6595d (patch) | |
tree | 413c5356450048e072fc8b2528ea887ee180edc7 /keyboards/work_louder | |
parent | 10fc6c4cd6d7463737801430e8c13b347e1b85c7 (diff) |
Move `RGB_MATRIX_DRIVER` to data driven (#20350)
Diffstat (limited to 'keyboards/work_louder')
-rw-r--r-- | keyboards/work_louder/loop/info.json | 3 | ||||
-rw-r--r-- | keyboards/work_louder/loop/rules.mk | 1 | ||||
-rw-r--r-- | keyboards/work_louder/micro/info.json | 3 | ||||
-rw-r--r-- | keyboards/work_louder/micro/rules.mk | 2 | ||||
-rw-r--r-- | keyboards/work_louder/nano/info.json | 3 | ||||
-rw-r--r-- | keyboards/work_louder/nano/rules.mk | 1 | ||||
-rw-r--r-- | keyboards/work_louder/work_board/info.json | 3 | ||||
-rw-r--r-- | keyboards/work_louder/work_board/rules.mk | 1 |
8 files changed, 12 insertions, 5 deletions
diff --git a/keyboards/work_louder/loop/info.json b/keyboards/work_louder/loop/info.json index 194b3274d4..64aed890de 100644 --- a/keyboards/work_louder/loop/info.json +++ b/keyboards/work_louder/loop/info.json @@ -7,6 +7,9 @@ "vid": "0x574C", "pid": "0x1DF9" }, + "rgb_matrix": { + "driver": "WS2812" + }, "matrix_pins": { "cols": ["B3", "B2", "B1", "D6", "D7", "B4", "B5", "B6", "C6", "C7", "F7", "F6"], "rows": ["F5"] diff --git a/keyboards/work_louder/loop/rules.mk b/keyboards/work_louder/loop/rules.mk index 7b2a49bbc2..b68ae20d14 100644 --- a/keyboards/work_louder/loop/rules.mk +++ b/keyboards/work_louder/loop/rules.mk @@ -14,7 +14,6 @@ ENCODER_ENABLE = yes LTO_ENABLE = yes RGB_MATRIX_ENABLE = yes -RGB_MATRIX_DRIVER = WS2812 LTO_ENABLE = yes SRC += rgb_functions.c diff --git a/keyboards/work_louder/micro/info.json b/keyboards/work_louder/micro/info.json index 22a4e5b261..f6b45226a0 100644 --- a/keyboards/work_louder/micro/info.json +++ b/keyboards/work_louder/micro/info.json @@ -42,6 +42,9 @@ "ws2812": { "pin": "D1" }, + "rgb_matrix": { + "driver": "WS2812" + }, "url": "https://worklouder.cc/", "usb": { "device_version": "1.0.0", diff --git a/keyboards/work_louder/micro/rules.mk b/keyboards/work_louder/micro/rules.mk index bf0aa91911..ae0d803c0a 100644 --- a/keyboards/work_louder/micro/rules.mk +++ b/keyboards/work_louder/micro/rules.mk @@ -1,4 +1,2 @@ -RGB_MATRIX_DRIVER = WS2812 - SRC += rgb_functions.c \ matrix.c diff --git a/keyboards/work_louder/nano/info.json b/keyboards/work_louder/nano/info.json index 1be97c86a7..70da0e4cc4 100644 --- a/keyboards/work_louder/nano/info.json +++ b/keyboards/work_louder/nano/info.json @@ -8,6 +8,9 @@ "pid": "0xE6F0", "device_version": "0.0.1" }, + "rgb_matrix": { + "driver": "WS2812" + }, "matrix_pins": { "cols": ["B5", "B6", "C6"], "rows": ["F7"] diff --git a/keyboards/work_louder/nano/rules.mk b/keyboards/work_louder/nano/rules.mk index 60c7afc95e..bcbb4bb31d 100644 --- a/keyboards/work_louder/nano/rules.mk +++ b/keyboards/work_louder/nano/rules.mk @@ -14,6 +14,5 @@ ENCODER_ENABLE = yes LTO_ENABLE = yes RGB_MATRIX_ENABLE = yes -RGB_MATRIX_DRIVER = WS2812 SRC += rgb_functions.c diff --git a/keyboards/work_louder/work_board/info.json b/keyboards/work_louder/work_board/info.json index a25070dacd..3e208110a8 100644 --- a/keyboards/work_louder/work_board/info.json +++ b/keyboards/work_louder/work_board/info.json @@ -7,6 +7,9 @@ "vid": "0x574C", "pid": "0xDCD1" }, + "rgb_matrix": { + "driver": "WS2812" + }, "matrix_pins": { "cols": ["D3", "D5", "D4", "D6", "D7", "B4", "B5", "B6", "C6", "C7", "F7", "F6", "E6"], "rows": ["F0", "F1", "F4", "F5"] diff --git a/keyboards/work_louder/work_board/rules.mk b/keyboards/work_louder/work_board/rules.mk index 714b4b5d04..9f4b9a4bc5 100644 --- a/keyboards/work_louder/work_board/rules.mk +++ b/keyboards/work_louder/work_board/rules.mk @@ -14,7 +14,6 @@ ENCODER_ENABLE = yes LTO_ENABLE = yes RGB_MATRIX_ENABLE = yes -RGB_MATRIX_DRIVER = WS2812 SRC += rgb_functions.c |