diff options
author | Ryan <fauxpark@gmail.com> | 2023-03-26 18:22:12 +1100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-26 18:22:12 +1100 |
commit | 36ce81df592ca8e9f9fed498e513437aa1cae54f (patch) | |
tree | 5d1eb5bec831a7037d97b43babfee78c6fbf47cb /keyboards/kprepublic | |
parent | 7e54defa20bd6a4f199fb1da0f25e83f0d55bf25 (diff) |
Move `WS2812_DRIVER` to data driven (#20248)
Diffstat (limited to 'keyboards/kprepublic')
-rw-r--r-- | keyboards/kprepublic/bm16a/v2/info.json | 3 | ||||
-rw-r--r-- | keyboards/kprepublic/bm16a/v2/rules.mk | 1 | ||||
-rw-r--r-- | keyboards/kprepublic/jj40/info.json | 3 | ||||
-rw-r--r-- | keyboards/kprepublic/jj40/rules.mk | 1 | ||||
-rw-r--r-- | keyboards/kprepublic/jj4x4/info.json | 3 | ||||
-rw-r--r-- | keyboards/kprepublic/jj4x4/rules.mk | 1 | ||||
-rw-r--r-- | keyboards/kprepublic/jj50/info.json | 3 | ||||
-rw-r--r-- | keyboards/kprepublic/jj50/rules.mk | 1 |
8 files changed, 12 insertions, 4 deletions
diff --git a/keyboards/kprepublic/bm16a/v2/info.json b/keyboards/kprepublic/bm16a/v2/info.json index 39b7ef6758..927601c448 100644 --- a/keyboards/kprepublic/bm16a/v2/info.json +++ b/keyboards/kprepublic/bm16a/v2/info.json @@ -13,6 +13,9 @@ "nkro": true, "rgb_matrix": true }, + "ws2812": { + "driver": "pwm" + }, "matrix_pins": { "cols": ["B1", "A3", "B0", "B4"], "rows": ["A8", "A9", "B5", "B3"] diff --git a/keyboards/kprepublic/bm16a/v2/rules.mk b/keyboards/kprepublic/bm16a/v2/rules.mk index c1285e300c..e69de29bb2 100644 --- a/keyboards/kprepublic/bm16a/v2/rules.mk +++ b/keyboards/kprepublic/bm16a/v2/rules.mk @@ -1 +0,0 @@ -WS2812_DRIVER = pwm diff --git a/keyboards/kprepublic/jj40/info.json b/keyboards/kprepublic/jj40/info.json index ffca844d84..c236b2034a 100644 --- a/keyboards/kprepublic/jj40/info.json +++ b/keyboards/kprepublic/jj40/info.json @@ -18,6 +18,9 @@ "levels": 12, "breathing": true }, + "ws2812": { + "driver": "i2c" + }, "processor": "atmega32a", "bootloader": "bootloadhid", "community_layouts": ["ortho_4x12", "planck_mit"], diff --git a/keyboards/kprepublic/jj40/rules.mk b/keyboards/kprepublic/jj40/rules.mk index 80a6c4bed2..13588c113c 100644 --- a/keyboards/kprepublic/jj40/rules.mk +++ b/keyboards/kprepublic/jj40/rules.mk @@ -9,7 +9,6 @@ COMMAND_ENABLE = no # Commands for debug and configuration NKRO_ENABLE = no # Enable N-Key Rollover BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -WS2812_DRIVER = i2c AUDIO_ENABLE = no # Audio output # Disable unsupported hardware diff --git a/keyboards/kprepublic/jj4x4/info.json b/keyboards/kprepublic/jj4x4/info.json index d914700ff2..049aef8237 100644 --- a/keyboards/kprepublic/jj4x4/info.json +++ b/keyboards/kprepublic/jj4x4/info.json @@ -18,6 +18,9 @@ "levels": 12, "breathing": true }, + "ws2812": { + "driver": "i2c" + }, "processor": "atmega32a", "bootloader": "bootloadhid", "community_layouts": ["ortho_4x4"], diff --git a/keyboards/kprepublic/jj4x4/rules.mk b/keyboards/kprepublic/jj4x4/rules.mk index 4b774fe5d0..5b9cc80e47 100644 --- a/keyboards/kprepublic/jj4x4/rules.mk +++ b/keyboards/kprepublic/jj4x4/rules.mk @@ -9,5 +9,4 @@ COMMAND_ENABLE = no # Commands for debug and configuration NKRO_ENABLE = no # Enable N-Key Rollover BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -WS2812_DRIVER = i2c AUDIO_ENABLE = no # Audio output diff --git a/keyboards/kprepublic/jj50/info.json b/keyboards/kprepublic/jj50/info.json index 765a33f865..81541075fa 100644 --- a/keyboards/kprepublic/jj50/info.json +++ b/keyboards/kprepublic/jj50/info.json @@ -18,6 +18,9 @@ "levels": 12, "breathing": true }, + "ws2812": { + "driver": "i2c" + }, "processor": "atmega32a", "bootloader": "bootloadhid", "layout_aliases": { diff --git a/keyboards/kprepublic/jj50/rules.mk b/keyboards/kprepublic/jj50/rules.mk index 1ac5e85541..2e721d00cd 100644 --- a/keyboards/kprepublic/jj50/rules.mk +++ b/keyboards/kprepublic/jj50/rules.mk @@ -9,5 +9,4 @@ COMMAND_ENABLE = no # Commands for debug and configuration NKRO_ENABLE = no # Enable N-Key Rollover BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -WS2812_DRIVER = i2c # This driver powers the RGB Lighting and RGB Matrix features LTO_ENABLE = yes # Enable link time optimization |