From 47966dc2a65c88ac90fcd64d12243d72f3f6753b Mon Sep 17 00:00:00 2001 From: Ryan Date: Thu, 6 Apr 2023 18:00:54 +1000 Subject: Migrate `rgblight.pin` and `RGB_DI_PIN` to `ws2812.pin` (#20303) --- keyboards/viktus/minne/info.json | 4 +++- keyboards/viktus/osav2/info.json | 4 +++- keyboards/viktus/sp_mini/config.h | 1 - keyboards/viktus/sp_mini/info.json | 3 +++ 4 files changed, 9 insertions(+), 3 deletions(-) (limited to 'keyboards/viktus') 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 . #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": { -- cgit v1.2.3