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/anavi/knob1/info.json | 2 +- keyboards/anavi/knobs3/info.json | 2 +- keyboards/anavi/macropad10/info.json | 2 +- keyboards/anavi/macropad8/config.h | 1 - keyboards/anavi/macropad8/info.json | 3 +++ 5 files changed, 6 insertions(+), 4 deletions(-) (limited to 'keyboards/anavi') diff --git a/keyboards/anavi/knob1/info.json b/keyboards/anavi/knob1/info.json index 3d9780a741..272097dd8c 100644 --- a/keyboards/anavi/knob1/info.json +++ b/keyboards/anavi/knob1/info.json @@ -15,7 +15,6 @@ "rgblight": true }, "rgblight": { - "pin": "GP12", "led_count": 1, "hue_steps": 10, "saturation_steps": 17, @@ -35,6 +34,7 @@ } }, "ws2812": { + "pin": "GP12", "driver": "vendor" }, "encoder": { diff --git a/keyboards/anavi/knobs3/info.json b/keyboards/anavi/knobs3/info.json index b7bba5eddc..2500d2554e 100644 --- a/keyboards/anavi/knobs3/info.json +++ b/keyboards/anavi/knobs3/info.json @@ -20,7 +20,6 @@ "rgblight": true }, "rgblight": { - "pin": "GP12", "led_count": 1, "hue_steps": 10, "saturation_steps": 17, @@ -40,6 +39,7 @@ } }, "ws2812": { + "pin": "GP12", "driver": "vendor" }, "encoder": { diff --git a/keyboards/anavi/macropad10/info.json b/keyboards/anavi/macropad10/info.json index 4572655ce7..57f1d321ff 100644 --- a/keyboards/anavi/macropad10/info.json +++ b/keyboards/anavi/macropad10/info.json @@ -20,7 +20,6 @@ "rgblight": true }, "rgblight": { - "pin": "GP3", "led_count": 4, "hue_steps": 10, "saturation_steps": 17, @@ -40,6 +39,7 @@ } }, "ws2812": { + "pin": "GP3", "driver": "vendor" }, "encoder": { diff --git a/keyboards/anavi/macropad8/config.h b/keyboards/anavi/macropad8/config.h index fce7328718..2f848d551b 100644 --- a/keyboards/anavi/macropad8/config.h +++ b/keyboards/anavi/macropad8/config.h @@ -22,7 +22,6 @@ along with this program. If not, see . /* ws2812B RGB LED */ #ifdef RGBLIGHT_ENABLE -# define RGB_DI_PIN F4 # define RGBLIGHT_EFFECT_BREATHING # define RGBLIGHT_EFFECT_RAINBOW_MOOD # define RGBLIGHT_EFFECT_RAINBOW_SWIRL diff --git a/keyboards/anavi/macropad8/info.json b/keyboards/anavi/macropad8/info.json index b52ca5a176..9032ac5fa8 100644 --- a/keyboards/anavi/macropad8/info.json +++ b/keyboards/anavi/macropad8/info.json @@ -12,6 +12,9 @@ "pin": "D7", "breathing": true }, + "ws2812": { + "pin": "F4" + }, "processor": "atmega32u4", "bootloader": "caterina", "matrix_pins": { -- cgit v1.2.3