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/preonic | |
| parent | 7e54defa20bd6a4f199fb1da0f25e83f0d55bf25 (diff) | |
Move `WS2812_DRIVER` to data driven (#20248)
Diffstat (limited to 'keyboards/preonic')
| -rw-r--r-- | keyboards/preonic/rev3/info.json | 3 | ||||
| -rw-r--r-- | keyboards/preonic/rev3/rules.mk | 1 | ||||
| -rw-r--r-- | keyboards/preonic/rev3_drop/info.json | 3 | ||||
| -rw-r--r-- | keyboards/preonic/rev3_drop/rules.mk | 1 |
4 files changed, 6 insertions, 2 deletions
diff --git a/keyboards/preonic/rev3/info.json b/keyboards/preonic/rev3/info.json index 7c19a70f9b..00460fd44c 100644 --- a/keyboards/preonic/rev3/info.json +++ b/keyboards/preonic/rev3/info.json | |||
| @@ -6,6 +6,9 @@ | |||
| 6 | "pid": "0xA649", | 6 | "pid": "0xA649", |
| 7 | "device_version": "0.0.3" | 7 | "device_version": "0.0.3" |
| 8 | }, | 8 | }, |
| 9 | "ws2812": { | ||
| 10 | "driver": "pwm" | ||
| 11 | }, | ||
| 9 | "matrix_pins": { | 12 | "matrix_pins": { |
| 10 | "cols": ["B11", "B10", "B2", "B1", "A7", "B0"], | 13 | "cols": ["B11", "B10", "B2", "B1", "A7", "B0"], |
| 11 | "rows": ["A10", "A9", "A8", "B15", "C13", "C14", "C15", "A2", "A3", "A6"] | 14 | "rows": ["A10", "A9", "A8", "B15", "C13", "C14", "C15", "A2", "A3", "A6"] |
diff --git a/keyboards/preonic/rev3/rules.mk b/keyboards/preonic/rev3/rules.mk index e4c6852526..fa3348cef6 100644 --- a/keyboards/preonic/rev3/rules.mk +++ b/keyboards/preonic/rev3/rules.mk | |||
| @@ -10,7 +10,6 @@ NKRO_ENABLE = yes # Enable N-Key Rollover | |||
| 10 | BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality | 10 | BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality |
| 11 | AUDIO_ENABLE = yes # Audio output | 11 | AUDIO_ENABLE = yes # Audio output |
| 12 | RGBLIGHT_ENABLE = yes # Enable WS2812 RGB underlight. | 12 | RGBLIGHT_ENABLE = yes # Enable WS2812 RGB underlight. |
| 13 | WS2812_DRIVER = pwm | ||
| 14 | 13 | ||
| 15 | # Do not enable RGB_MATRIX_ENABLE together with RGBLIGHT_ENABLE | 14 | # Do not enable RGB_MATRIX_ENABLE together with RGBLIGHT_ENABLE |
| 16 | RGB_MATRIX_ENABLE = no | 15 | RGB_MATRIX_ENABLE = no |
diff --git a/keyboards/preonic/rev3_drop/info.json b/keyboards/preonic/rev3_drop/info.json index c97543814d..862f89bf44 100644 --- a/keyboards/preonic/rev3_drop/info.json +++ b/keyboards/preonic/rev3_drop/info.json | |||
| @@ -6,6 +6,9 @@ | |||
| 6 | "pid": "0xA649", | 6 | "pid": "0xA649", |
| 7 | "device_version": "0.0.3" | 7 | "device_version": "0.0.3" |
| 8 | }, | 8 | }, |
| 9 | "ws2812": { | ||
| 10 | "driver": "pwm" | ||
| 11 | }, | ||
| 9 | "matrix_pins": { | 12 | "matrix_pins": { |
| 10 | "cols": ["B11", "B10", "B2", "B1", "A7", "B0"], | 13 | "cols": ["B11", "B10", "B2", "B1", "A7", "B0"], |
| 11 | "rows": ["A10", "A9", "A8", "B15", "C13", "C14", "C15", "A2", "A3", "A6"] | 14 | "rows": ["A10", "A9", "A8", "B15", "C13", "C14", "C15", "A2", "A3", "A6"] |
diff --git a/keyboards/preonic/rev3_drop/rules.mk b/keyboards/preonic/rev3_drop/rules.mk index e3f9e52110..762dd6ff6c 100644 --- a/keyboards/preonic/rev3_drop/rules.mk +++ b/keyboards/preonic/rev3_drop/rules.mk | |||
| @@ -10,7 +10,6 @@ NKRO_ENABLE = yes # Enable N-Key Rollover | |||
| 10 | BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality | 10 | BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality |
| 11 | RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow | 11 | RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow |
| 12 | AUDIO_ENABLE = yes # Audio output | 12 | AUDIO_ENABLE = yes # Audio output |
| 13 | WS2812_DRIVER = pwm | ||
| 14 | CUSTOM_MATRIX = yes | 13 | CUSTOM_MATRIX = yes |
| 15 | ENCODER_ENABLE = yes | 14 | ENCODER_ENABLE = yes |
| 16 | DIP_SWITCH_ENABLE = yes | 15 | DIP_SWITCH_ENABLE = yes |
