From 522048725f6b076bdad1251243c65dd2acf6595d Mon Sep 17 00:00:00 2001 From: Ryan Date: Sat, 8 Apr 2023 18:08:08 +1000 Subject: Move `RGB_MATRIX_DRIVER` to data driven (#20350) --- keyboards/junco/info.json | 7 +++++++ keyboards/junco/rev1/config.h | 1 - keyboards/junco/rev1/rules.mk | 3 --- 3 files changed, 7 insertions(+), 4 deletions(-) (limited to 'keyboards/junco') diff --git a/keyboards/junco/info.json b/keyboards/junco/info.json index 72e0d5c92a..fb5c391d6a 100644 --- a/keyboards/junco/info.json +++ b/keyboards/junco/info.json @@ -8,6 +8,13 @@ "pid": "0x4A13", "device_version": "1.0.0" }, + "ws2812": { + "pin": "GP15", + "driver": "vendor" + }, + "rgb_matrix": { + "driver": "WS2812" + }, "processor": "RP2040", "bootloader": "rp2040", "layouts": { diff --git a/keyboards/junco/rev1/config.h b/keyboards/junco/rev1/config.h index d9c0556cdf..95731fde01 100644 --- a/keyboards/junco/rev1/config.h +++ b/keyboards/junco/rev1/config.h @@ -19,7 +19,6 @@ /* RGB Stuff */ #ifdef RGB_MATRIX_ENABLE -# define RGB_DI_PIN GP15 // Pin for RGB logic # define RGB_MATRIX_LED_COUNT 74 # define RGB_MATRIX_SPLIT \ { 37, 37 } // 37 LEDs on each side diff --git a/keyboards/junco/rev1/rules.mk b/keyboards/junco/rev1/rules.mk index feb836dbe1..e69de29bb2 100644 --- a/keyboards/junco/rev1/rules.mk +++ b/keyboards/junco/rev1/rules.mk @@ -1,3 +0,0 @@ -# RGB Stuff -RGB_MATRIX_DRIVER = WS2812 -WS2812_DRIVER = vendor -- cgit v1.2.3