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/wekey/we27/config.h | 2 -- keyboards/wekey/we27/info.json | 3 +++ 2 files changed, 3 insertions(+), 2 deletions(-) (limited to 'keyboards/wekey') diff --git a/keyboards/wekey/we27/config.h b/keyboards/wekey/we27/config.h index 86f2ffb3ee..a2d6575d8e 100644 --- a/keyboards/wekey/we27/config.h +++ b/keyboards/wekey/we27/config.h @@ -18,8 +18,6 @@ along with this program. If not, see . #pragma once #ifdef RGB_MATRIX_ENABLE -// The pin connected to the data pin of the LEDs -#define RGB_DI_PIN C6 // The number of LEDs connected #define RGB_MATRIX_LED_COUNT 27 diff --git a/keyboards/wekey/we27/info.json b/keyboards/wekey/we27/info.json index 77b94ae378..0ded933932 100644 --- a/keyboards/wekey/we27/info.json +++ b/keyboards/wekey/we27/info.json @@ -18,6 +18,9 @@ {"pin_a": "D3", "pin_b": "D2", "resolution": 2} ] }, + "ws2812": { + "pin": "C6" + }, "processor": "atmega32u4", "bootloader": "caterina", "community_layouts": ["numpad_6x5"], -- cgit v1.2.3