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/mlego/m65 | |
parent | 71c22a12db58c71952a12df6bbe445f6f9a4e858 (diff) |
Migrate `rgblight.pin` and `RGB_DI_PIN` to `ws2812.pin` (#20303)
Diffstat (limited to 'keyboards/mlego/m65')
-rw-r--r-- | keyboards/mlego/m65/rev1/config.h | 2 | ||||
-rw-r--r-- | keyboards/mlego/m65/rev1/info.json | 3 | ||||
-rw-r--r-- | keyboards/mlego/m65/rev2/config.h | 2 | ||||
-rw-r--r-- | keyboards/mlego/m65/rev2/info.json | 3 | ||||
-rw-r--r-- | keyboards/mlego/m65/rev3/config.h | 1 | ||||
-rw-r--r-- | keyboards/mlego/m65/rev3/info.json | 3 | ||||
-rw-r--r-- | keyboards/mlego/m65/rev4/config.h | 1 | ||||
-rw-r--r-- | keyboards/mlego/m65/rev4/info.json | 3 |
8 files changed, 12 insertions, 6 deletions
diff --git a/keyboards/mlego/m65/rev1/config.h b/keyboards/mlego/m65/rev1/config.h index 83380e9aa4..2ed846b170 100644 --- a/keyboards/mlego/m65/rev1/config.h +++ b/keyboards/mlego/m65/rev1/config.h @@ -17,8 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. #pragma once -#define RGB_DI_PIN B15 - #define RGBLIGHT_LAYERS #undef RGBLED_NUM diff --git a/keyboards/mlego/m65/rev1/info.json b/keyboards/mlego/m65/rev1/info.json index a638ec0b99..3c939ef4c2 100644 --- a/keyboards/mlego/m65/rev1/info.json +++ b/keyboards/mlego/m65/rev1/info.json @@ -18,6 +18,9 @@ "num_lock": "B12", "scroll_lock": "B13" }, + "ws2812": { + "pin": "B15" + }, "processor": "STM32F103", "bootloader": "stm32duino" } diff --git a/keyboards/mlego/m65/rev2/config.h b/keyboards/mlego/m65/rev2/config.h index 2d595fc4be..791b73e2f6 100644 --- a/keyboards/mlego/m65/rev2/config.h +++ b/keyboards/mlego/m65/rev2/config.h @@ -17,8 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. #pragma once -#define RGB_DI_PIN B15 - #define RGBLIGHT_LAYERS #undef RGBLED_NUM diff --git a/keyboards/mlego/m65/rev2/info.json b/keyboards/mlego/m65/rev2/info.json index 00263c47f5..64df0a2ba6 100644 --- a/keyboards/mlego/m65/rev2/info.json +++ b/keyboards/mlego/m65/rev2/info.json @@ -18,6 +18,9 @@ "num_lock": "B12", "scroll_lock": "B13" }, + "ws2812": { + "pin": "B15" + }, "processor": "STM32F103", // GD32F303CCT6 "bootloader": "stm32duino" } diff --git a/keyboards/mlego/m65/rev3/config.h b/keyboards/mlego/m65/rev3/config.h index d535b8c229..81f02bc411 100644 --- a/keyboards/mlego/m65/rev3/config.h +++ b/keyboards/mlego/m65/rev3/config.h @@ -19,7 +19,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. #ifdef RGBLIGHT_ENABLE -#define RGB_DI_PIN B15 #define RGBLIGHT_LAYERS #undef RGBLED_NUM #define RGBLED_NUM 20 diff --git a/keyboards/mlego/m65/rev3/info.json b/keyboards/mlego/m65/rev3/info.json index 7118b12af0..b72b706587 100644 --- a/keyboards/mlego/m65/rev3/info.json +++ b/keyboards/mlego/m65/rev3/info.json @@ -18,6 +18,9 @@ "num_lock": "B12", "scroll_lock": "B13" }, + "ws2812": { + "pin": "B15" + }, "processor": "STM32F401", "bootloader": "tinyuf2", "board": "BLACKPILL_STM32_F401" diff --git a/keyboards/mlego/m65/rev4/config.h b/keyboards/mlego/m65/rev4/config.h index 69bdff7cdd..942f360688 100644 --- a/keyboards/mlego/m65/rev4/config.h +++ b/keyboards/mlego/m65/rev4/config.h @@ -19,7 +19,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. #ifdef RGBLIGHT_ENABLE -#define RGB_DI_PIN B15 #define RGBLIGHT_LAYERS #undef RGBLED_NUM #define RGBLED_NUM 20 diff --git a/keyboards/mlego/m65/rev4/info.json b/keyboards/mlego/m65/rev4/info.json index 1cfe298f8f..d671845e62 100644 --- a/keyboards/mlego/m65/rev4/info.json +++ b/keyboards/mlego/m65/rev4/info.json @@ -18,6 +18,9 @@ "num_lock": "B12", "scroll_lock": "B13" }, + "ws2812": { + "pin": "B15" + }, "processor": "STM32F401", "bootloader": "tinyuf2", "board": "BLACKPILL_STM32_F401" |