diff options
author | Ryan <fauxpark@gmail.com> | 2023-04-06 18:00:54 +1000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-06 18:00:54 +1000 |
commit | 47966dc2a65c88ac90fcd64d12243d72f3f6753b (patch) | |
tree | d2f54974c74f66bf11565a64381ea8834f49d481 /keyboards/viktus | |
parent | 71c22a12db58c71952a12df6bbe445f6f9a4e858 (diff) |
Migrate `rgblight.pin` and `RGB_DI_PIN` to `ws2812.pin` (#20303)
Diffstat (limited to 'keyboards/viktus')
-rw-r--r-- | keyboards/viktus/minne/info.json | 4 | ||||
-rw-r--r-- | keyboards/viktus/osav2/info.json | 4 | ||||
-rw-r--r-- | keyboards/viktus/sp_mini/config.h | 1 | ||||
-rw-r--r-- | keyboards/viktus/sp_mini/info.json | 3 |
4 files changed, 9 insertions, 3 deletions
diff --git a/keyboards/viktus/minne/info.json b/keyboards/viktus/minne/info.json index 396aca8bcd..7b6245d72e 100644 --- a/keyboards/viktus/minne/info.json +++ b/keyboards/viktus/minne/info.json @@ -32,7 +32,6 @@ }, "rgblight": { "led_count": 14, - "pin": "F6", "max_brightness": 191, "animations": { "breathing": true, @@ -40,6 +39,9 @@ "twinkle": true } }, + "ws2812": { + "pin": "F6" + }, "layouts": { "LAYOUT_all": { "layout": [ diff --git a/keyboards/viktus/osav2/info.json b/keyboards/viktus/osav2/info.json index b2274880bc..c977d8ebec 100644 --- a/keyboards/viktus/osav2/info.json +++ b/keyboards/viktus/osav2/info.json @@ -33,7 +33,6 @@ }, "rgblight": { "led_count": 23, - "pin": "D4", "max_brightness": 191, "animations": { "breathing": true, @@ -41,6 +40,9 @@ "twinkle": true } }, + "ws2812": { + "pin": "D4" + }, "backlight": { "levels": 6, "max_brightness": 191, diff --git a/keyboards/viktus/sp_mini/config.h b/keyboards/viktus/sp_mini/config.h index c9a1d1cca3..bc80a8ebca 100644 --- a/keyboards/viktus/sp_mini/config.h +++ b/keyboards/viktus/sp_mini/config.h @@ -24,7 +24,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. #define USE_I2C /* ws2812 RGB LED */ -#define RGB_DI_PIN E6 #define RGBLIGHT_EFFECT_BREATHING #define RGBLIGHT_EFFECT_RAINBOW_MOOD #define RGBLIGHT_EFFECT_RAINBOW_SWIRL diff --git a/keyboards/viktus/sp_mini/info.json b/keyboards/viktus/sp_mini/info.json index 6b287e9833..4ac4e95913 100644 --- a/keyboards/viktus/sp_mini/info.json +++ b/keyboards/viktus/sp_mini/info.json @@ -26,6 +26,9 @@ } } }, + "ws2812": { + "pin": "E6" + }, "processor": "atmega32u4", "bootloader": "atmel-dfu", "layouts": { |