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/maple_computing/launchpad/keymaps/brandonschlack/config.h | 4 ++-- keyboards/maple_computing/launchpad/keymaps/default_rgb/config.h | 2 +- keyboards/maple_computing/launchpad/keymaps/drashna/config.h | 4 ++-- keyboards/maple_computing/launchpad/rev1/config.h | 1 - keyboards/maple_computing/launchpad/rev1/info.json | 3 +++ 5 files changed, 8 insertions(+), 6 deletions(-) (limited to 'keyboards/maple_computing/launchpad') diff --git a/keyboards/maple_computing/launchpad/keymaps/brandonschlack/config.h b/keyboards/maple_computing/launchpad/keymaps/brandonschlack/config.h index b68a1ee51e..6b65e2dcc3 100644 --- a/keyboards/maple_computing/launchpad/keymaps/brandonschlack/config.h +++ b/keyboards/maple_computing/launchpad/keymaps/brandonschlack/config.h @@ -16,8 +16,8 @@ #pragma once /* Underlight Configuration */ - #undef RGB_DI_PIN - #define RGB_DI_PIN F4 + #undef WS2812_DI_PIN + #define WS2812_DI_PIN F4 #undef RGBLED_NUM #define RGBLED_NUM 2 // Number of LEDs #define RGBLIGHT_EFFECT_BREATHING // Only have Breathing Animation diff --git a/keyboards/maple_computing/launchpad/keymaps/default_rgb/config.h b/keyboards/maple_computing/launchpad/keymaps/default_rgb/config.h index 3ee1ec3013..3d47ae41e7 100644 --- a/keyboards/maple_computing/launchpad/keymaps/default_rgb/config.h +++ b/keyboards/maple_computing/launchpad/keymaps/default_rgb/config.h @@ -1,7 +1,7 @@ #pragma once /* Underlight Configuration */ -#define RGB_DI_PIN F4 +#define WS2812_DI_PIN F4 #define RGBLIGHT_EFFECT_BREATHING #define RGBLIGHT_EFFECT_RAINBOW_MOOD #define RGBLIGHT_EFFECT_RAINBOW_SWIRL diff --git a/keyboards/maple_computing/launchpad/keymaps/drashna/config.h b/keyboards/maple_computing/launchpad/keymaps/drashna/config.h index 7329440ee1..fb64366e6f 100644 --- a/keyboards/maple_computing/launchpad/keymaps/drashna/config.h +++ b/keyboards/maple_computing/launchpad/keymaps/drashna/config.h @@ -17,8 +17,8 @@ #pragma once /* Underlight Configuration */ -#undef RGB_DI_PIN -#define RGB_DI_PIN F5 +#undef WS2812_DI_PIN +#define WS2812_DI_PIN F5 #define RGBLIGHT_EFFECT_BREATHING #define RGBLIGHT_EFFECT_RAINBOW_MOOD #define RGBLIGHT_EFFECT_RAINBOW_SWIRL diff --git a/keyboards/maple_computing/launchpad/rev1/config.h b/keyboards/maple_computing/launchpad/rev1/config.h index aecb3f02bd..7cf73259b4 100644 --- a/keyboards/maple_computing/launchpad/rev1/config.h +++ b/keyboards/maple_computing/launchpad/rev1/config.h @@ -18,7 +18,6 @@ along with this program. If not, see . #pragma once #define RGBLED_NUM 10 -#define RGB_DI_PIN F6 #define RGBLIGHT_EFFECT_BREATHING #define RGBLIGHT_EFFECT_RAINBOW_MOOD #define RGBLIGHT_EFFECT_RAINBOW_SWIRL diff --git a/keyboards/maple_computing/launchpad/rev1/info.json b/keyboards/maple_computing/launchpad/rev1/info.json index fe882742c3..81c23850ec 100644 --- a/keyboards/maple_computing/launchpad/rev1/info.json +++ b/keyboards/maple_computing/launchpad/rev1/info.json @@ -8,6 +8,9 @@ "pid": "0x6007", "device_version": "0.0.1" }, + "ws2812": { + "pin": "F6" + }, "matrix_pins": { "cols": ["D2", "F7"], "rows": ["C6", "B1", "B3", "D7"] -- cgit v1.2.3