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/gh60/satan/config.h | 1 - keyboards/gh60/satan/info.json | 3 +++ keyboards/gh60/satan/keymaps/fakb/config.h | 4 ++-- keyboards/gh60/satan/keymaps/iso_split_rshift/config.h | 4 ++-- keyboards/gh60/satan/keymaps/olligranlund_iso/config.h | 4 ++-- 5 files changed, 9 insertions(+), 7 deletions(-) (limited to 'keyboards/gh60/satan') diff --git a/keyboards/gh60/satan/config.h b/keyboards/gh60/satan/config.h index 3e9a6d3a1c..1fbb35b3a2 100644 --- a/keyboards/gh60/satan/config.h +++ b/keyboards/gh60/satan/config.h @@ -24,7 +24,6 @@ along with this program. If not, see . /* Underglow configuration */ -#define RGB_DI_PIN E2 #define RGBLIGHT_EFFECT_BREATHING #define RGBLIGHT_EFFECT_RAINBOW_MOOD #define RGBLIGHT_EFFECT_RAINBOW_SWIRL diff --git a/keyboards/gh60/satan/info.json b/keyboards/gh60/satan/info.json index 9a3b190d54..76b1af9f06 100644 --- a/keyboards/gh60/satan/info.json +++ b/keyboards/gh60/satan/info.json @@ -17,6 +17,9 @@ "pin": "B6", "levels": 4 }, + "ws2812": { + "pin": "E2" + }, "indicators": { "caps_lock": "B2", "on_state": 0 diff --git a/keyboards/gh60/satan/keymaps/fakb/config.h b/keyboards/gh60/satan/keymaps/fakb/config.h index f7314a8671..5ca8aa1da5 100644 --- a/keyboards/gh60/satan/keymaps/fakb/config.h +++ b/keyboards/gh60/satan/keymaps/fakb/config.h @@ -12,5 +12,5 @@ #define MOUSEKEY_WHEEL_MAX_SPEED 1 #define MOUSEKEY_WHEEL_TIME_TO_MAX 255 -#undef RGB_DI_PIN -#define RGB_DI_PIN B2 +#undef WS2812_DI_PIN +#define WS2812_DI_PIN B2 diff --git a/keyboards/gh60/satan/keymaps/iso_split_rshift/config.h b/keyboards/gh60/satan/keymaps/iso_split_rshift/config.h index 27c1372da1..6795cf6c97 100644 --- a/keyboards/gh60/satan/keymaps/iso_split_rshift/config.h +++ b/keyboards/gh60/satan/keymaps/iso_split_rshift/config.h @@ -21,7 +21,7 @@ along with this program. If not, see . #include "../../config.h" // only change -#undef RGB_DI_PIN -#define RGB_DI_PIN B2 +#undef WS2812_DI_PIN +#define WS2812_DI_PIN B2 #endif diff --git a/keyboards/gh60/satan/keymaps/olligranlund_iso/config.h b/keyboards/gh60/satan/keymaps/olligranlund_iso/config.h index 30269196f3..75c1632908 100644 --- a/keyboards/gh60/satan/keymaps/olligranlund_iso/config.h +++ b/keyboards/gh60/satan/keymaps/olligranlund_iso/config.h @@ -3,8 +3,8 @@ #define BACKLIGHT_LEVELS 10 // Underlight configuration -#undef RGB_DI_PIN -#define RGB_DI_PIN B2 +#undef WS2812_DI_PIN +#define WS2812_DI_PIN B2 #undef RGBLED_NUM #define RGBLED_NUM 16 // Number of LEDs #undef RGBLIGHT_HUE_STEP -- cgit v1.2.3