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/bastardkb/charybdis/3x5/blackpill/config.h | 1 - keyboards/bastardkb/charybdis/3x5/blackpill/info.json | 1 + keyboards/bastardkb/charybdis/3x5/keymaps/drashna/config.h | 4 ++-- keyboards/bastardkb/charybdis/3x5/v1/elitec/config.h | 3 --- keyboards/bastardkb/charybdis/3x5/v1/elitec/info.json | 3 +++ keyboards/bastardkb/charybdis/3x5/v2/elitec/config.h | 3 --- keyboards/bastardkb/charybdis/3x5/v2/elitec/info.json | 3 +++ keyboards/bastardkb/charybdis/3x5/v2/splinky_2/config.h | 3 --- keyboards/bastardkb/charybdis/3x5/v2/splinky_2/info.json | 1 + keyboards/bastardkb/charybdis/3x5/v2/splinky_3/config.h | 3 --- keyboards/bastardkb/charybdis/3x5/v2/splinky_3/info.json | 1 + keyboards/bastardkb/charybdis/3x5/v2/stemcell/config.h | 1 - keyboards/bastardkb/charybdis/3x5/v2/stemcell/info.json | 1 + keyboards/bastardkb/charybdis/3x6/blackpill/config.h | 1 - keyboards/bastardkb/charybdis/3x6/blackpill/info.json | 1 + keyboards/bastardkb/charybdis/3x6/v1/elitec/config.h | 3 --- keyboards/bastardkb/charybdis/3x6/v1/elitec/info.json | 3 +++ keyboards/bastardkb/charybdis/3x6/v2/elitec/config.h | 3 --- keyboards/bastardkb/charybdis/3x6/v2/elitec/info.json | 3 +++ keyboards/bastardkb/charybdis/3x6/v2/splinky_2/config.h | 3 --- keyboards/bastardkb/charybdis/3x6/v2/splinky_2/info.json | 1 + keyboards/bastardkb/charybdis/3x6/v2/splinky_3/config.h | 3 --- keyboards/bastardkb/charybdis/3x6/v2/splinky_3/info.json | 1 + keyboards/bastardkb/charybdis/3x6/v2/stemcell/config.h | 1 - keyboards/bastardkb/charybdis/3x6/v2/stemcell/info.json | 1 + keyboards/bastardkb/charybdis/4x6/blackpill/config.h | 1 - keyboards/bastardkb/charybdis/4x6/blackpill/info.json | 1 + keyboards/bastardkb/charybdis/4x6/v1/elitec/config.h | 3 --- keyboards/bastardkb/charybdis/4x6/v1/elitec/info.json | 3 +++ keyboards/bastardkb/charybdis/4x6/v2/elitec/config.h | 3 --- keyboards/bastardkb/charybdis/4x6/v2/elitec/info.json | 3 +++ keyboards/bastardkb/charybdis/4x6/v2/splinky_2/config.h | 3 --- keyboards/bastardkb/charybdis/4x6/v2/splinky_2/info.json | 1 + keyboards/bastardkb/charybdis/4x6/v2/splinky_3/config.h | 3 --- keyboards/bastardkb/charybdis/4x6/v2/splinky_3/info.json | 1 + keyboards/bastardkb/charybdis/4x6/v2/stemcell/config.h | 1 - keyboards/bastardkb/charybdis/4x6/v2/stemcell/info.json | 1 + keyboards/bastardkb/dilemma/3x5_3/config.h | 4 ---- keyboards/bastardkb/dilemma/3x5_3/info.json | 1 + keyboards/bastardkb/scylla/blackpill/config.h | 1 - keyboards/bastardkb/scylla/blackpill/info.json | 1 + keyboards/bastardkb/scylla/v1/elitec/config.h | 3 --- keyboards/bastardkb/scylla/v1/elitec/info.json | 3 +++ keyboards/bastardkb/scylla/v2/elitec/config.h | 3 --- keyboards/bastardkb/scylla/v2/elitec/info.json | 3 +++ keyboards/bastardkb/scylla/v2/splinky_2/config.h | 3 --- keyboards/bastardkb/scylla/v2/splinky_2/info.json | 1 + keyboards/bastardkb/scylla/v2/splinky_3/config.h | 3 --- keyboards/bastardkb/scylla/v2/splinky_3/info.json | 1 + keyboards/bastardkb/scylla/v2/stemcell/config.h | 1 - keyboards/bastardkb/scylla/v2/stemcell/info.json | 1 + keyboards/bastardkb/skeletyl/blackpill/config.h | 1 - keyboards/bastardkb/skeletyl/blackpill/info.json | 1 + keyboards/bastardkb/skeletyl/v1/elitec/config.h | 3 --- keyboards/bastardkb/skeletyl/v1/elitec/info.json | 3 +++ keyboards/bastardkb/skeletyl/v2/elitec/config.h | 3 --- keyboards/bastardkb/skeletyl/v2/elitec/info.json | 3 +++ keyboards/bastardkb/skeletyl/v2/splinky_2/config.h | 3 --- keyboards/bastardkb/skeletyl/v2/splinky_2/info.json | 1 + keyboards/bastardkb/skeletyl/v2/splinky_3/config.h | 3 --- keyboards/bastardkb/skeletyl/v2/splinky_3/info.json | 1 + keyboards/bastardkb/skeletyl/v2/stemcell/config.h | 1 - keyboards/bastardkb/skeletyl/v2/stemcell/info.json | 1 + keyboards/bastardkb/tbk/config.h | 1 - keyboards/bastardkb/tbk/info.json | 3 +++ keyboards/bastardkb/tbkmini/blackpill/config.h | 1 - keyboards/bastardkb/tbkmini/blackpill/info.json | 1 + keyboards/bastardkb/tbkmini/v1/elitec/config.h | 3 --- keyboards/bastardkb/tbkmini/v1/elitec/info.json | 3 +++ keyboards/bastardkb/tbkmini/v2/elitec/config.h | 3 --- keyboards/bastardkb/tbkmini/v2/elitec/info.json | 3 +++ keyboards/bastardkb/tbkmini/v2/splinky_2/config.h | 3 --- keyboards/bastardkb/tbkmini/v2/splinky_2/info.json | 1 + keyboards/bastardkb/tbkmini/v2/splinky_3/config.h | 3 --- keyboards/bastardkb/tbkmini/v2/splinky_3/info.json | 1 + keyboards/bastardkb/tbkmini/v2/stemcell/config.h | 1 - keyboards/bastardkb/tbkmini/v2/stemcell/info.json | 1 + 77 files changed, 66 insertions(+), 91 deletions(-) (limited to 'keyboards/bastardkb') diff --git a/keyboards/bastardkb/charybdis/3x5/blackpill/config.h b/keyboards/bastardkb/charybdis/3x5/blackpill/config.h index 69e269a963..68901305c4 100644 --- a/keyboards/bastardkb/charybdis/3x5/blackpill/config.h +++ b/keyboards/bastardkb/charybdis/3x5/blackpill/config.h @@ -23,7 +23,6 @@ #define SPLIT_HAND_PIN A3 // High -> left, Low -> right. /* RGB settings. */ -#define RGB_DI_PIN A1 #define WS2812_PWM_DRIVER PWMD2 #define WS2812_PWM_CHANNEL 2 #define WS2812_PWM_PAL_MODE 1 diff --git a/keyboards/bastardkb/charybdis/3x5/blackpill/info.json b/keyboards/bastardkb/charybdis/3x5/blackpill/info.json index 920616b45b..fec474f14d 100644 --- a/keyboards/bastardkb/charybdis/3x5/blackpill/info.json +++ b/keyboards/bastardkb/charybdis/3x5/blackpill/info.json @@ -4,6 +4,7 @@ "device_version": "1.0.0" }, "ws2812": { + "pin": "A1", "driver": "pwm" }, "matrix_pins": { diff --git a/keyboards/bastardkb/charybdis/3x5/keymaps/drashna/config.h b/keyboards/bastardkb/charybdis/3x5/keymaps/drashna/config.h index 514a153623..6d24808af2 100644 --- a/keyboards/bastardkb/charybdis/3x5/keymaps/drashna/config.h +++ b/keyboards/bastardkb/charybdis/3x5/keymaps/drashna/config.h @@ -39,8 +39,8 @@ along with this program. If not, see . # define SPLIT_HAND_PIN C14 // high = left, low = right // WS2812 RGB LED strip input and number of LEDs -# undef RGB_DI_PIN -# define RGB_DI_PIN A1 +# undef WS2812_DI_PIN +# define WS2812_DI_PIN A1 # undef RGB_MATRIX_MAXIMUM_BRIGHTNESS # define RGB_MATRIX_MAXIMUM_BRIGHTNESS 150 # define WS2812_PWM_DRIVER PWMD2 // default: PWMD2 diff --git a/keyboards/bastardkb/charybdis/3x5/v1/elitec/config.h b/keyboards/bastardkb/charybdis/3x5/v1/elitec/config.h index 484ccc523f..dc0c6e4e03 100644 --- a/keyboards/bastardkb/charybdis/3x5/v1/elitec/config.h +++ b/keyboards/bastardkb/charybdis/3x5/v1/elitec/config.h @@ -21,8 +21,5 @@ /* Handedness. */ #define MASTER_RIGHT -/* RGB settings. */ -#define RGB_DI_PIN D3 - /* PMW3360 settings. */ #define POINTING_DEVICE_CS_PIN B0 diff --git a/keyboards/bastardkb/charybdis/3x5/v1/elitec/info.json b/keyboards/bastardkb/charybdis/3x5/v1/elitec/info.json index 8cbe3d419f..ec56b88c02 100644 --- a/keyboards/bastardkb/charybdis/3x5/v1/elitec/info.json +++ b/keyboards/bastardkb/charybdis/3x5/v1/elitec/info.json @@ -3,6 +3,9 @@ "usb": { "device_version": "1.0.0" }, + "ws2812": { + "pin": "D3" + }, "matrix_pins": { "cols": ["C7", "F0", "D7", "E6", "B4"], "rows": ["B7", "C6", "D4", "B5"] diff --git a/keyboards/bastardkb/charybdis/3x5/v2/elitec/config.h b/keyboards/bastardkb/charybdis/3x5/v2/elitec/config.h index 20b610172d..3b91322247 100644 --- a/keyboards/bastardkb/charybdis/3x5/v2/elitec/config.h +++ b/keyboards/bastardkb/charybdis/3x5/v2/elitec/config.h @@ -20,8 +20,5 @@ /* Handedness. */ #define MASTER_RIGHT -/* RGB settings. */ -#define RGB_DI_PIN D3 - /* PMW3360 settings. */ #define POINTING_DEVICE_CS_PIN F0 diff --git a/keyboards/bastardkb/charybdis/3x5/v2/elitec/info.json b/keyboards/bastardkb/charybdis/3x5/v2/elitec/info.json index daa5bfacad..a318e467df 100644 --- a/keyboards/bastardkb/charybdis/3x5/v2/elitec/info.json +++ b/keyboards/bastardkb/charybdis/3x5/v2/elitec/info.json @@ -3,6 +3,9 @@ "usb": { "device_version": "2.0.0" }, + "ws2812": { + "pin": "D3" + }, "matrix_pins": { "cols": ["F5", "B6", "D7", "E6", "B4"], "rows": ["F7", "C6", "D4", "B5"] diff --git a/keyboards/bastardkb/charybdis/3x5/v2/splinky_2/config.h b/keyboards/bastardkb/charybdis/3x5/v2/splinky_2/config.h index f09dc72c01..e6e2a4f216 100644 --- a/keyboards/bastardkb/charybdis/3x5/v2/splinky_2/config.h +++ b/keyboards/bastardkb/charybdis/3x5/v2/splinky_2/config.h @@ -25,9 +25,6 @@ // #define SPLIT_HAND_PIN GP13 // #define SPLIT_HAND_PIN_LOW_IS_LEFT // High -> right, Low -> left. -/* RGB settings. */ -#define RGB_DI_PIN GP0 - /* SPI & PMW3360 settings. */ #define SPI_DRIVER SPID0 #define SPI_SCK_PIN GP18 diff --git a/keyboards/bastardkb/charybdis/3x5/v2/splinky_2/info.json b/keyboards/bastardkb/charybdis/3x5/v2/splinky_2/info.json index 09dfc95916..100b53fc61 100644 --- a/keyboards/bastardkb/charybdis/3x5/v2/splinky_2/info.json +++ b/keyboards/bastardkb/charybdis/3x5/v2/splinky_2/info.json @@ -12,6 +12,7 @@ "soft_serial_pin": "GP1" }, "ws2812": { + "pin": "GP0", "driver": "vendor" }, "processor": "RP2040", diff --git a/keyboards/bastardkb/charybdis/3x5/v2/splinky_3/config.h b/keyboards/bastardkb/charybdis/3x5/v2/splinky_3/config.h index bb85468a86..ee7745d41e 100644 --- a/keyboards/bastardkb/charybdis/3x5/v2/splinky_3/config.h +++ b/keyboards/bastardkb/charybdis/3x5/v2/splinky_3/config.h @@ -25,9 +25,6 @@ // #define SPLIT_HAND_PIN GP15 // #define SPLIT_HAND_PIN_LOW_IS_LEFT // High -> right, Low -> left. -/* RGB settings. */ -#define RGB_DI_PIN GP0 - /* SPI & PMW3360 settings. */ #define SPI_DRIVER SPID0 #define SPI_SCK_PIN GP22 diff --git a/keyboards/bastardkb/charybdis/3x5/v2/splinky_3/info.json b/keyboards/bastardkb/charybdis/3x5/v2/splinky_3/info.json index 8eb16af2f0..841975db3d 100644 --- a/keyboards/bastardkb/charybdis/3x5/v2/splinky_3/info.json +++ b/keyboards/bastardkb/charybdis/3x5/v2/splinky_3/info.json @@ -12,6 +12,7 @@ "soft_serial_pin": "GP1" }, "ws2812": { + "pin": "GP0", "driver": "vendor" }, "processor": "RP2040", diff --git a/keyboards/bastardkb/charybdis/3x5/v2/stemcell/config.h b/keyboards/bastardkb/charybdis/3x5/v2/stemcell/config.h index e01419b97a..6aa20712f6 100644 --- a/keyboards/bastardkb/charybdis/3x5/v2/stemcell/config.h +++ b/keyboards/bastardkb/charybdis/3x5/v2/stemcell/config.h @@ -27,7 +27,6 @@ // #define SPLIT_HAND_PIN_LOW_IS_LEFT // High -> right, Low -> left. /* RGB settings. */ -#define RGB_DI_PIN D3 #define WS2812_PWM_DRIVER PWMD2 #define WS2812_PWM_CHANNEL 4 #define WS2812_PWM_PAL_MODE 1 diff --git a/keyboards/bastardkb/charybdis/3x5/v2/stemcell/info.json b/keyboards/bastardkb/charybdis/3x5/v2/stemcell/info.json index 1e12af668b..465f54b42e 100644 --- a/keyboards/bastardkb/charybdis/3x5/v2/stemcell/info.json +++ b/keyboards/bastardkb/charybdis/3x5/v2/stemcell/info.json @@ -4,6 +4,7 @@ "device_version": "2.0.0" }, "ws2812": { + "pin": "D3", "driver": "pwm" }, "matrix_pins": { diff --git a/keyboards/bastardkb/charybdis/3x6/blackpill/config.h b/keyboards/bastardkb/charybdis/3x6/blackpill/config.h index 1070dbd066..985e79fabd 100644 --- a/keyboards/bastardkb/charybdis/3x6/blackpill/config.h +++ b/keyboards/bastardkb/charybdis/3x6/blackpill/config.h @@ -21,7 +21,6 @@ #define SPLIT_HAND_PIN A3 // High -> left, Low -> right. /* RGB settings. */ -#define RGB_DI_PIN A1 #define WS2812_PWM_DRIVER PWMD2 #define WS2812_PWM_CHANNEL 2 #define WS2812_PWM_PAL_MODE 1 diff --git a/keyboards/bastardkb/charybdis/3x6/blackpill/info.json b/keyboards/bastardkb/charybdis/3x6/blackpill/info.json index 1ce1bd0e35..c46230b5a0 100644 --- a/keyboards/bastardkb/charybdis/3x6/blackpill/info.json +++ b/keyboards/bastardkb/charybdis/3x6/blackpill/info.json @@ -4,6 +4,7 @@ "device_version": "1.0.0" }, "ws2812": { + "pin": "A1", "driver": "pwm" }, "matrix_pins": { diff --git a/keyboards/bastardkb/charybdis/3x6/v1/elitec/config.h b/keyboards/bastardkb/charybdis/3x6/v1/elitec/config.h index a1d7885943..f5c54c58ae 100644 --- a/keyboards/bastardkb/charybdis/3x6/v1/elitec/config.h +++ b/keyboards/bastardkb/charybdis/3x6/v1/elitec/config.h @@ -20,8 +20,5 @@ /* Handedness. */ #define MASTER_RIGHT -/* RGB settings. */ -#define RGB_DI_PIN D3 - /* PMW3360 settings. */ #define POINTING_DEVICE_CS_PIN B0 diff --git a/keyboards/bastardkb/charybdis/3x6/v1/elitec/info.json b/keyboards/bastardkb/charybdis/3x6/v1/elitec/info.json index 9dd366e1dd..b816551a3e 100644 --- a/keyboards/bastardkb/charybdis/3x6/v1/elitec/info.json +++ b/keyboards/bastardkb/charybdis/3x6/v1/elitec/info.json @@ -3,6 +3,9 @@ "usb": { "device_version": "1.0.0" }, + "ws2812": { + "pin": "D3" + }, "matrix_pins": { "cols": ["D5", "C7", "F0", "D7", "E6", "B4"], "rows": ["B7", "C6", "D4", "B5"] diff --git a/keyboards/bastardkb/charybdis/3x6/v2/elitec/config.h b/keyboards/bastardkb/charybdis/3x6/v2/elitec/config.h index 20b610172d..3b91322247 100644 --- a/keyboards/bastardkb/charybdis/3x6/v2/elitec/config.h +++ b/keyboards/bastardkb/charybdis/3x6/v2/elitec/config.h @@ -20,8 +20,5 @@ /* Handedness. */ #define MASTER_RIGHT -/* RGB settings. */ -#define RGB_DI_PIN D3 - /* PMW3360 settings. */ #define POINTING_DEVICE_CS_PIN F0 diff --git a/keyboards/bastardkb/charybdis/3x6/v2/elitec/info.json b/keyboards/bastardkb/charybdis/3x6/v2/elitec/info.json index d575fdb216..e3aa2ae1bf 100644 --- a/keyboards/bastardkb/charybdis/3x6/v2/elitec/info.json +++ b/keyboards/bastardkb/charybdis/3x6/v2/elitec/info.json @@ -3,6 +3,9 @@ "usb": { "device_version": "2.0.0" }, + "ws2812": { + "pin": "D3" + }, "matrix_pins": { "cols": ["F6", "F5", "B6", "D7", "E6", "B4"], "rows": ["F7", "C6", "D4", "B5"] diff --git a/keyboards/bastardkb/charybdis/3x6/v2/splinky_2/config.h b/keyboards/bastardkb/charybdis/3x6/v2/splinky_2/config.h index f09dc72c01..e6e2a4f216 100644 --- a/keyboards/bastardkb/charybdis/3x6/v2/splinky_2/config.h +++ b/keyboards/bastardkb/charybdis/3x6/v2/splinky_2/config.h @@ -25,9 +25,6 @@ // #define SPLIT_HAND_PIN GP13 // #define SPLIT_HAND_PIN_LOW_IS_LEFT // High -> right, Low -> left. -/* RGB settings. */ -#define RGB_DI_PIN GP0 - /* SPI & PMW3360 settings. */ #define SPI_DRIVER SPID0 #define SPI_SCK_PIN GP18 diff --git a/keyboards/bastardkb/charybdis/3x6/v2/splinky_2/info.json b/keyboards/bastardkb/charybdis/3x6/v2/splinky_2/info.json index 6e06faa9a8..4fd92418b3 100644 --- a/keyboards/bastardkb/charybdis/3x6/v2/splinky_2/info.json +++ b/keyboards/bastardkb/charybdis/3x6/v2/splinky_2/info.json @@ -12,6 +12,7 @@ "soft_serial_pin": "GP1" }, "ws2812": { + "pin": "GP0", "driver": "vendor" }, "processor": "RP2040", diff --git a/keyboards/bastardkb/charybdis/3x6/v2/splinky_3/config.h b/keyboards/bastardkb/charybdis/3x6/v2/splinky_3/config.h index bb85468a86..ee7745d41e 100644 --- a/keyboards/bastardkb/charybdis/3x6/v2/splinky_3/config.h +++ b/keyboards/bastardkb/charybdis/3x6/v2/splinky_3/config.h @@ -25,9 +25,6 @@ // #define SPLIT_HAND_PIN GP15 // #define SPLIT_HAND_PIN_LOW_IS_LEFT // High -> right, Low -> left. -/* RGB settings. */ -#define RGB_DI_PIN GP0 - /* SPI & PMW3360 settings. */ #define SPI_DRIVER SPID0 #define SPI_SCK_PIN GP22 diff --git a/keyboards/bastardkb/charybdis/3x6/v2/splinky_3/info.json b/keyboards/bastardkb/charybdis/3x6/v2/splinky_3/info.json index 8ac1338634..7dc1bcc85f 100644 --- a/keyboards/bastardkb/charybdis/3x6/v2/splinky_3/info.json +++ b/keyboards/bastardkb/charybdis/3x6/v2/splinky_3/info.json @@ -12,6 +12,7 @@ "soft_serial_pin": "GP1" }, "ws2812": { + "pin": "GP0", "driver": "vendor" }, "processor": "RP2040", diff --git a/keyboards/bastardkb/charybdis/3x6/v2/stemcell/config.h b/keyboards/bastardkb/charybdis/3x6/v2/stemcell/config.h index e01419b97a..6aa20712f6 100644 --- a/keyboards/bastardkb/charybdis/3x6/v2/stemcell/config.h +++ b/keyboards/bastardkb/charybdis/3x6/v2/stemcell/config.h @@ -27,7 +27,6 @@ // #define SPLIT_HAND_PIN_LOW_IS_LEFT // High -> right, Low -> left. /* RGB settings. */ -#define RGB_DI_PIN D3 #define WS2812_PWM_DRIVER PWMD2 #define WS2812_PWM_CHANNEL 4 #define WS2812_PWM_PAL_MODE 1 diff --git a/keyboards/bastardkb/charybdis/3x6/v2/stemcell/info.json b/keyboards/bastardkb/charybdis/3x6/v2/stemcell/info.json index 8f89d16fbe..33f416b49d 100644 --- a/keyboards/bastardkb/charybdis/3x6/v2/stemcell/info.json +++ b/keyboards/bastardkb/charybdis/3x6/v2/stemcell/info.json @@ -4,6 +4,7 @@ "device_version": "2.0.0" }, "ws2812": { + "pin": "D3", "driver": "pwm" }, "matrix_pins": { diff --git a/keyboards/bastardkb/charybdis/4x6/blackpill/config.h b/keyboards/bastardkb/charybdis/4x6/blackpill/config.h index 69e269a963..68901305c4 100644 --- a/keyboards/bastardkb/charybdis/4x6/blackpill/config.h +++ b/keyboards/bastardkb/charybdis/4x6/blackpill/config.h @@ -23,7 +23,6 @@ #define SPLIT_HAND_PIN A3 // High -> left, Low -> right. /* RGB settings. */ -#define RGB_DI_PIN A1 #define WS2812_PWM_DRIVER PWMD2 #define WS2812_PWM_CHANNEL 2 #define WS2812_PWM_PAL_MODE 1 diff --git a/keyboards/bastardkb/charybdis/4x6/blackpill/info.json b/keyboards/bastardkb/charybdis/4x6/blackpill/info.json index efd66a8c24..d70a2168d6 100644 --- a/keyboards/bastardkb/charybdis/4x6/blackpill/info.json +++ b/keyboards/bastardkb/charybdis/4x6/blackpill/info.json @@ -4,6 +4,7 @@ "device_version": "1.0.0" }, "ws2812": { + "pin": "A1", "driver": "pwm" }, "matrix_pins": { diff --git a/keyboards/bastardkb/charybdis/4x6/v1/elitec/config.h b/keyboards/bastardkb/charybdis/4x6/v1/elitec/config.h index 484ccc523f..dc0c6e4e03 100644 --- a/keyboards/bastardkb/charybdis/4x6/v1/elitec/config.h +++ b/keyboards/bastardkb/charybdis/4x6/v1/elitec/config.h @@ -21,8 +21,5 @@ /* Handedness. */ #define MASTER_RIGHT -/* RGB settings. */ -#define RGB_DI_PIN D3 - /* PMW3360 settings. */ #define POINTING_DEVICE_CS_PIN B0 diff --git a/keyboards/bastardkb/charybdis/4x6/v1/elitec/info.json b/keyboards/bastardkb/charybdis/4x6/v1/elitec/info.json index 5dda4a73a5..61c81c48d2 100644 --- a/keyboards/bastardkb/charybdis/4x6/v1/elitec/info.json +++ b/keyboards/bastardkb/charybdis/4x6/v1/elitec/info.json @@ -3,6 +3,9 @@ "usb": { "device_version": "1.0.0" }, + "ws2812": { + "pin": "D3" + }, "matrix_pins": { "cols": ["D5", "C7", "F0", "D7", "E6", "B4"], "rows": ["F1", "B7", "C6", "D4", "B5"] diff --git a/keyboards/bastardkb/charybdis/4x6/v2/elitec/config.h b/keyboards/bastardkb/charybdis/4x6/v2/elitec/config.h index 20b610172d..3b91322247 100644 --- a/keyboards/bastardkb/charybdis/4x6/v2/elitec/config.h +++ b/keyboards/bastardkb/charybdis/4x6/v2/elitec/config.h @@ -20,8 +20,5 @@ /* Handedness. */ #define MASTER_RIGHT -/* RGB settings. */ -#define RGB_DI_PIN D3 - /* PMW3360 settings. */ #define POINTING_DEVICE_CS_PIN F0 diff --git a/keyboards/bastardkb/charybdis/4x6/v2/elitec/info.json b/keyboards/bastardkb/charybdis/4x6/v2/elitec/info.json index cf70250a15..86011a1550 100644 --- a/keyboards/bastardkb/charybdis/4x6/v2/elitec/info.json +++ b/keyboards/bastardkb/charybdis/4x6/v2/elitec/info.json @@ -3,6 +3,9 @@ "usb": { "device_version": "2.0.0" }, + "ws2812": { + "pin": "D3" + }, "matrix_pins": { "cols": ["F6", "F5", "B6", "D7", "E6", "B4"], "rows": ["F4", "F7", "C6", "D4", "B5"] diff --git a/keyboards/bastardkb/charybdis/4x6/v2/splinky_2/config.h b/keyboards/bastardkb/charybdis/4x6/v2/splinky_2/config.h index f09dc72c01..e6e2a4f216 100644 --- a/keyboards/bastardkb/charybdis/4x6/v2/splinky_2/config.h +++ b/keyboards/bastardkb/charybdis/4x6/v2/splinky_2/config.h @@ -25,9 +25,6 @@ // #define SPLIT_HAND_PIN GP13 // #define SPLIT_HAND_PIN_LOW_IS_LEFT // High -> right, Low -> left. -/* RGB settings. */ -#define RGB_DI_PIN GP0 - /* SPI & PMW3360 settings. */ #define SPI_DRIVER SPID0 #define SPI_SCK_PIN GP18 diff --git a/keyboards/bastardkb/charybdis/4x6/v2/splinky_2/info.json b/keyboards/bastardkb/charybdis/4x6/v2/splinky_2/info.json index 2fc078cf67..125865ee94 100644 --- a/keyboards/bastardkb/charybdis/4x6/v2/splinky_2/info.json +++ b/keyboards/bastardkb/charybdis/4x6/v2/splinky_2/info.json @@ -12,6 +12,7 @@ "soft_serial_pin": "GP1" }, "ws2812": { + "pin": "GP0", "driver": "vendor" }, "processor": "RP2040", diff --git a/keyboards/bastardkb/charybdis/4x6/v2/splinky_3/config.h b/keyboards/bastardkb/charybdis/4x6/v2/splinky_3/config.h index bb85468a86..ee7745d41e 100644 --- a/keyboards/bastardkb/charybdis/4x6/v2/splinky_3/config.h +++ b/keyboards/bastardkb/charybdis/4x6/v2/splinky_3/config.h @@ -25,9 +25,6 @@ // #define SPLIT_HAND_PIN GP15 // #define SPLIT_HAND_PIN_LOW_IS_LEFT // High -> right, Low -> left. -/* RGB settings. */ -#define RGB_DI_PIN GP0 - /* SPI & PMW3360 settings. */ #define SPI_DRIVER SPID0 #define SPI_SCK_PIN GP22 diff --git a/keyboards/bastardkb/charybdis/4x6/v2/splinky_3/info.json b/keyboards/bastardkb/charybdis/4x6/v2/splinky_3/info.json index 4806e18bec..2c9903f8be 100644 --- a/keyboards/bastardkb/charybdis/4x6/v2/splinky_3/info.json +++ b/keyboards/bastardkb/charybdis/4x6/v2/splinky_3/info.json @@ -12,6 +12,7 @@ "soft_serial_pin": "GP1" }, "ws2812": { + "pin": "GP0", "driver": "vendor" }, "processor": "RP2040", diff --git a/keyboards/bastardkb/charybdis/4x6/v2/stemcell/config.h b/keyboards/bastardkb/charybdis/4x6/v2/stemcell/config.h index e01419b97a..6aa20712f6 100644 --- a/keyboards/bastardkb/charybdis/4x6/v2/stemcell/config.h +++ b/keyboards/bastardkb/charybdis/4x6/v2/stemcell/config.h @@ -27,7 +27,6 @@ // #define SPLIT_HAND_PIN_LOW_IS_LEFT // High -> right, Low -> left. /* RGB settings. */ -#define RGB_DI_PIN D3 #define WS2812_PWM_DRIVER PWMD2 #define WS2812_PWM_CHANNEL 4 #define WS2812_PWM_PAL_MODE 1 diff --git a/keyboards/bastardkb/charybdis/4x6/v2/stemcell/info.json b/keyboards/bastardkb/charybdis/4x6/v2/stemcell/info.json index 0f019a3651..298a111d38 100644 --- a/keyboards/bastardkb/charybdis/4x6/v2/stemcell/info.json +++ b/keyboards/bastardkb/charybdis/4x6/v2/stemcell/info.json @@ -4,6 +4,7 @@ "device_version": "2.0.0" }, "ws2812": { + "pin": "D3", "driver": "pwm" }, "matrix_pins": { diff --git a/keyboards/bastardkb/dilemma/3x5_3/config.h b/keyboards/bastardkb/dilemma/3x5_3/config.h index 250732dc7a..c5fa0dc192 100644 --- a/keyboards/bastardkb/dilemma/3x5_3/config.h +++ b/keyboards/bastardkb/dilemma/3x5_3/config.h @@ -21,10 +21,6 @@ #define SPLIT_HAND_PIN GP29 #define SPLIT_HAND_PIN_LOW_IS_LEFT // High -> right, Low -> left. -/* RGB settings. */ -#define RGB_DI_PIN GP0 // Per-key. -// #define RGB_DI_PIN GP10 // Underglow. - /* CRC. */ #define CRC8_USE_TABLE #define CRC8_OPTIMIZE_SPEED diff --git a/keyboards/bastardkb/dilemma/3x5_3/info.json b/keyboards/bastardkb/dilemma/3x5_3/info.json index d9f0f15f2c..153d3053f9 100644 --- a/keyboards/bastardkb/dilemma/3x5_3/info.json +++ b/keyboards/bastardkb/dilemma/3x5_3/info.json @@ -13,6 +13,7 @@ "soft_serial_pin": "GP1" }, "ws2812": { + "pin": "GP0", "driver": "vendor" }, "processor": "RP2040", diff --git a/keyboards/bastardkb/scylla/blackpill/config.h b/keyboards/bastardkb/scylla/blackpill/config.h index b5166aed2a..0c40ed74bc 100644 --- a/keyboards/bastardkb/scylla/blackpill/config.h +++ b/keyboards/bastardkb/scylla/blackpill/config.h @@ -23,7 +23,6 @@ #define SPLIT_HAND_PIN A3 // High -> left, Low -> right. /* RGB settings. */ -#define RGB_DI_PIN A1 #define WS2812_PWM_DRIVER PWMD2 #define WS2812_PWM_CHANNEL 2 #define WS2812_PWM_PAL_MODE 1 diff --git a/keyboards/bastardkb/scylla/blackpill/info.json b/keyboards/bastardkb/scylla/blackpill/info.json index b1b825e579..0ae5cf86a0 100644 --- a/keyboards/bastardkb/scylla/blackpill/info.json +++ b/keyboards/bastardkb/scylla/blackpill/info.json @@ -4,6 +4,7 @@ "device_version": "1.0.0" }, "ws2812": { + "pin": "A1", "driver": "pwm" }, "matrix_pins": { diff --git a/keyboards/bastardkb/scylla/v1/elitec/config.h b/keyboards/bastardkb/scylla/v1/elitec/config.h index 384e19c3d2..41b5aa1c66 100644 --- a/keyboards/bastardkb/scylla/v1/elitec/config.h +++ b/keyboards/bastardkb/scylla/v1/elitec/config.h @@ -20,6 +20,3 @@ /* Handedness. */ #define MASTER_RIGHT - -/* RGB settings. */ -#define RGB_DI_PIN D2 diff --git a/keyboards/bastardkb/scylla/v1/elitec/info.json b/keyboards/bastardkb/scylla/v1/elitec/info.json index b6a9eac7a1..b53a0f5e76 100644 --- a/keyboards/bastardkb/scylla/v1/elitec/info.json +++ b/keyboards/bastardkb/scylla/v1/elitec/info.json @@ -3,6 +3,9 @@ "usb": { "device_version": "1.0.0" }, + "ws2812": { + "pin": "D2" + }, "matrix_pins": { "cols": ["B4", "E6", "C6", "B1", "B3", "B2"], "rows": ["D7", "B5", "F7", "F6", "B6"] diff --git a/keyboards/bastardkb/scylla/v2/elitec/config.h b/keyboards/bastardkb/scylla/v2/elitec/config.h index 178bafa5cc..e6b7fefa66 100644 --- a/keyboards/bastardkb/scylla/v2/elitec/config.h +++ b/keyboards/bastardkb/scylla/v2/elitec/config.h @@ -19,6 +19,3 @@ /* Handedness. */ #define MASTER_RIGHT - -/* RGB settings. */ -#define RGB_DI_PIN D3 diff --git a/keyboards/bastardkb/scylla/v2/elitec/info.json b/keyboards/bastardkb/scylla/v2/elitec/info.json index f1db245dd0..5b5b152628 100644 --- a/keyboards/bastardkb/scylla/v2/elitec/info.json +++ b/keyboards/bastardkb/scylla/v2/elitec/info.json @@ -3,6 +3,9 @@ "usb": { "device_version": "2.0.0" }, + "ws2812": { + "pin": "D3" + }, "matrix_pins": { "cols": ["F6", "F5", "B6", "D7", "E6", "B4"], "rows": ["F4", "F7", "C6", "D4", "B5"] diff --git a/keyboards/bastardkb/scylla/v2/splinky_2/config.h b/keyboards/bastardkb/scylla/v2/splinky_2/config.h index 00f0dbf1f3..977fb0a6e8 100644 --- a/keyboards/bastardkb/scylla/v2/splinky_2/config.h +++ b/keyboards/bastardkb/scylla/v2/splinky_2/config.h @@ -25,9 +25,6 @@ // #define SPLIT_HAND_PIN GP13 // #define SPLIT_HAND_PIN_LOW_IS_LEFT // High -> right, Low -> left. -/* RGB settings. */ -#define RGB_DI_PIN GP0 - /* Reset. */ #define RP2040_BOOTLOADER_DOUBLE_TAP_RESET #define RP2040_BOOTLOADER_DOUBLE_TAP_RESET_LED GP17 diff --git a/keyboards/bastardkb/scylla/v2/splinky_2/info.json b/keyboards/bastardkb/scylla/v2/splinky_2/info.json index dac13322b4..0617850d34 100644 --- a/keyboards/bastardkb/scylla/v2/splinky_2/info.json +++ b/keyboards/bastardkb/scylla/v2/splinky_2/info.json @@ -12,6 +12,7 @@ "soft_serial_pin": "GP1" }, "ws2812": { + "pin": "GP0", "driver": "vendor" }, "processor": "RP2040", diff --git a/keyboards/bastardkb/scylla/v2/splinky_3/config.h b/keyboards/bastardkb/scylla/v2/splinky_3/config.h index ff5d7db4ff..e496023656 100644 --- a/keyboards/bastardkb/scylla/v2/splinky_3/config.h +++ b/keyboards/bastardkb/scylla/v2/splinky_3/config.h @@ -25,9 +25,6 @@ // #define SPLIT_HAND_PIN GP15 // #define SPLIT_HAND_PIN_LOW_IS_LEFT // High -> right, Low -> left. -/* RGB settings. */ -#define RGB_DI_PIN GP0 - /* Reset. */ #define RP2040_BOOTLOADER_DOUBLE_TAP_RESET #define RP2040_BOOTLOADER_DOUBLE_TAP_RESET_LED GP17 diff --git a/keyboards/bastardkb/scylla/v2/splinky_3/info.json b/keyboards/bastardkb/scylla/v2/splinky_3/info.json index 159b7df27a..71177d525a 100644 --- a/keyboards/bastardkb/scylla/v2/splinky_3/info.json +++ b/keyboards/bastardkb/scylla/v2/splinky_3/info.json @@ -12,6 +12,7 @@ "soft_serial_pin": "GP1" }, "ws2812": { + "pin": "GP0", "driver": "vendor" }, "processor": "RP2040", diff --git a/keyboards/bastardkb/scylla/v2/stemcell/config.h b/keyboards/bastardkb/scylla/v2/stemcell/config.h index 4e5b142aa3..0bbfd39aee 100644 --- a/keyboards/bastardkb/scylla/v2/stemcell/config.h +++ b/keyboards/bastardkb/scylla/v2/stemcell/config.h @@ -27,7 +27,6 @@ // #define SPLIT_HAND_PIN_LOW_IS_LEFT // High -> right, Low -> left. /* RGB settings. */ -#define RGB_DI_PIN D3 #define WS2812_PWM_DRIVER PWMD2 #define WS2812_PWM_CHANNEL 4 #define WS2812_PWM_PAL_MODE 1 diff --git a/keyboards/bastardkb/scylla/v2/stemcell/info.json b/keyboards/bastardkb/scylla/v2/stemcell/info.json index c648806b14..f8167d7b20 100644 --- a/keyboards/bastardkb/scylla/v2/stemcell/info.json +++ b/keyboards/bastardkb/scylla/v2/stemcell/info.json @@ -4,6 +4,7 @@ "device_version": "2.0.0" }, "ws2812": { + "pin": "D3", "driver": "pwm" }, "matrix_pins": { diff --git a/keyboards/bastardkb/skeletyl/blackpill/config.h b/keyboards/bastardkb/skeletyl/blackpill/config.h index b5166aed2a..0c40ed74bc 100644 --- a/keyboards/bastardkb/skeletyl/blackpill/config.h +++ b/keyboards/bastardkb/skeletyl/blackpill/config.h @@ -23,7 +23,6 @@ #define SPLIT_HAND_PIN A3 // High -> left, Low -> right. /* RGB settings. */ -#define RGB_DI_PIN A1 #define WS2812_PWM_DRIVER PWMD2 #define WS2812_PWM_CHANNEL 2 #define WS2812_PWM_PAL_MODE 1 diff --git a/keyboards/bastardkb/skeletyl/blackpill/info.json b/keyboards/bastardkb/skeletyl/blackpill/info.json index 37e4a93ad9..7bc12bfd32 100644 --- a/keyboards/bastardkb/skeletyl/blackpill/info.json +++ b/keyboards/bastardkb/skeletyl/blackpill/info.json @@ -4,6 +4,7 @@ "device_version": "1.0.0" }, "ws2812": { + "pin": "A1", "driver": "pwm" }, "matrix_pins": { diff --git a/keyboards/bastardkb/skeletyl/v1/elitec/config.h b/keyboards/bastardkb/skeletyl/v1/elitec/config.h index 384e19c3d2..41b5aa1c66 100644 --- a/keyboards/bastardkb/skeletyl/v1/elitec/config.h +++ b/keyboards/bastardkb/skeletyl/v1/elitec/config.h @@ -20,6 +20,3 @@ /* Handedness. */ #define MASTER_RIGHT - -/* RGB settings. */ -#define RGB_DI_PIN D2 diff --git a/keyboards/bastardkb/skeletyl/v1/elitec/info.json b/keyboards/bastardkb/skeletyl/v1/elitec/info.json index 7d5ea2600d..f6b828f6e2 100644 --- a/keyboards/bastardkb/skeletyl/v1/elitec/info.json +++ b/keyboards/bastardkb/skeletyl/v1/elitec/info.json @@ -3,6 +3,9 @@ "usb": { "device_version": "1.0.0" }, + "ws2812": { + "pin": "D2" + }, "matrix_pins": { "cols": ["E6", "C6", "B1", "B3", "B2"], "rows": ["B5", "F7", "F6", "B6"] diff --git a/keyboards/bastardkb/skeletyl/v2/elitec/config.h b/keyboards/bastardkb/skeletyl/v2/elitec/config.h index 178bafa5cc..e6b7fefa66 100644 --- a/keyboards/bastardkb/skeletyl/v2/elitec/config.h +++ b/keyboards/bastardkb/skeletyl/v2/elitec/config.h @@ -19,6 +19,3 @@ /* Handedness. */ #define MASTER_RIGHT - -/* RGB settings. */ -#define RGB_DI_PIN D3 diff --git a/keyboards/bastardkb/skeletyl/v2/elitec/info.json b/keyboards/bastardkb/skeletyl/v2/elitec/info.json index 5c40b6ae42..191b47c80e 100644 --- a/keyboards/bastardkb/skeletyl/v2/elitec/info.json +++ b/keyboards/bastardkb/skeletyl/v2/elitec/info.json @@ -3,6 +3,9 @@ "usb": { "device_version": "2.0.0" }, + "ws2812": { + "pin": "D3" + }, "matrix_pins": { "cols": ["F5", "B6", "D7", "E6", "B4"], "rows": ["F7", "C6", "D4", "B5"] diff --git a/keyboards/bastardkb/skeletyl/v2/splinky_2/config.h b/keyboards/bastardkb/skeletyl/v2/splinky_2/config.h index 00f0dbf1f3..977fb0a6e8 100644 --- a/keyboards/bastardkb/skeletyl/v2/splinky_2/config.h +++ b/keyboards/bastardkb/skeletyl/v2/splinky_2/config.h @@ -25,9 +25,6 @@ // #define SPLIT_HAND_PIN GP13 // #define SPLIT_HAND_PIN_LOW_IS_LEFT // High -> right, Low -> left. -/* RGB settings. */ -#define RGB_DI_PIN GP0 - /* Reset. */ #define RP2040_BOOTLOADER_DOUBLE_TAP_RESET #define RP2040_BOOTLOADER_DOUBLE_TAP_RESET_LED GP17 diff --git a/keyboards/bastardkb/skeletyl/v2/splinky_2/info.json b/keyboards/bastardkb/skeletyl/v2/splinky_2/info.json index 962c155bce..ef833a414e 100644 --- a/keyboards/bastardkb/skeletyl/v2/splinky_2/info.json +++ b/keyboards/bastardkb/skeletyl/v2/splinky_2/info.json @@ -12,6 +12,7 @@ "soft_serial_pin": "GP1" }, "ws2812": { + "pin": "GP0", "driver": "vendor" }, "processor": "RP2040", diff --git a/keyboards/bastardkb/skeletyl/v2/splinky_3/config.h b/keyboards/bastardkb/skeletyl/v2/splinky_3/config.h index ff5d7db4ff..e496023656 100644 --- a/keyboards/bastardkb/skeletyl/v2/splinky_3/config.h +++ b/keyboards/bastardkb/skeletyl/v2/splinky_3/config.h @@ -25,9 +25,6 @@ // #define SPLIT_HAND_PIN GP15 // #define SPLIT_HAND_PIN_LOW_IS_LEFT // High -> right, Low -> left. -/* RGB settings. */ -#define RGB_DI_PIN GP0 - /* Reset. */ #define RP2040_BOOTLOADER_DOUBLE_TAP_RESET #define RP2040_BOOTLOADER_DOUBLE_TAP_RESET_LED GP17 diff --git a/keyboards/bastardkb/skeletyl/v2/splinky_3/info.json b/keyboards/bastardkb/skeletyl/v2/splinky_3/info.json index 799828f43c..8f75e99afe 100644 --- a/keyboards/bastardkb/skeletyl/v2/splinky_3/info.json +++ b/keyboards/bastardkb/skeletyl/v2/splinky_3/info.json @@ -12,6 +12,7 @@ "soft_serial_pin": "GP1" }, "ws2812": { + "pin": "GP0", "driver": "vendor" }, "processor": "RP2040", diff --git a/keyboards/bastardkb/skeletyl/v2/stemcell/config.h b/keyboards/bastardkb/skeletyl/v2/stemcell/config.h index 4e5b142aa3..0bbfd39aee 100644 --- a/keyboards/bastardkb/skeletyl/v2/stemcell/config.h +++ b/keyboards/bastardkb/skeletyl/v2/stemcell/config.h @@ -27,7 +27,6 @@ // #define SPLIT_HAND_PIN_LOW_IS_LEFT // High -> right, Low -> left. /* RGB settings. */ -#define RGB_DI_PIN D3 #define WS2812_PWM_DRIVER PWMD2 #define WS2812_PWM_CHANNEL 4 #define WS2812_PWM_PAL_MODE 1 diff --git a/keyboards/bastardkb/skeletyl/v2/stemcell/info.json b/keyboards/bastardkb/skeletyl/v2/stemcell/info.json index ec77a5dc1a..abd96fb434 100644 --- a/keyboards/bastardkb/skeletyl/v2/stemcell/info.json +++ b/keyboards/bastardkb/skeletyl/v2/stemcell/info.json @@ -4,6 +4,7 @@ "device_version": "2.0.0" }, "ws2812": { + "pin": "D3", "driver": "pwm" }, "matrix_pins": { diff --git a/keyboards/bastardkb/tbk/config.h b/keyboards/bastardkb/tbk/config.h index 1801b70053..40a9b2cbeb 100644 --- a/keyboards/bastardkb/tbk/config.h +++ b/keyboards/bastardkb/tbk/config.h @@ -17,7 +17,6 @@ #pragma once -#define RGB_DI_PIN D2 #define RGBLED_NUM 38 #define RGBLED_SPLIT { 19, 19 } #define RGBLIGHT_SPLIT diff --git a/keyboards/bastardkb/tbk/info.json b/keyboards/bastardkb/tbk/info.json index 43254b2804..7da2d56ad5 100644 --- a/keyboards/bastardkb/tbk/info.json +++ b/keyboards/bastardkb/tbk/info.json @@ -5,6 +5,9 @@ "device_version": "0.0.1", "pid": "0x1828" }, + "ws2812": { + "pin": "D2" + }, "matrix_pins": { "cols": ["B4", "E6", "C6", "B1", "B3", "B2"], "rows": ["D7", "B5", "F7", "F6", "B6"] diff --git a/keyboards/bastardkb/tbkmini/blackpill/config.h b/keyboards/bastardkb/tbkmini/blackpill/config.h index b5166aed2a..0c40ed74bc 100644 --- a/keyboards/bastardkb/tbkmini/blackpill/config.h +++ b/keyboards/bastardkb/tbkmini/blackpill/config.h @@ -23,7 +23,6 @@ #define SPLIT_HAND_PIN A3 // High -> left, Low -> right. /* RGB settings. */ -#define RGB_DI_PIN A1 #define WS2812_PWM_DRIVER PWMD2 #define WS2812_PWM_CHANNEL 2 #define WS2812_PWM_PAL_MODE 1 diff --git a/keyboards/bastardkb/tbkmini/blackpill/info.json b/keyboards/bastardkb/tbkmini/blackpill/info.json index 2fb63a0684..fd03d551ff 100644 --- a/keyboards/bastardkb/tbkmini/blackpill/info.json +++ b/keyboards/bastardkb/tbkmini/blackpill/info.json @@ -4,6 +4,7 @@ "device_version": "1.0.0" }, "ws2812": { + "pin": "A1", "driver": "pwm" }, "matrix_pins": { diff --git a/keyboards/bastardkb/tbkmini/v1/elitec/config.h b/keyboards/bastardkb/tbkmini/v1/elitec/config.h index 384e19c3d2..41b5aa1c66 100644 --- a/keyboards/bastardkb/tbkmini/v1/elitec/config.h +++ b/keyboards/bastardkb/tbkmini/v1/elitec/config.h @@ -20,6 +20,3 @@ /* Handedness. */ #define MASTER_RIGHT - -/* RGB settings. */ -#define RGB_DI_PIN D2 diff --git a/keyboards/bastardkb/tbkmini/v1/elitec/info.json b/keyboards/bastardkb/tbkmini/v1/elitec/info.json index bc311eb815..0fe5c8655e 100644 --- a/keyboards/bastardkb/tbkmini/v1/elitec/info.json +++ b/keyboards/bastardkb/tbkmini/v1/elitec/info.json @@ -3,6 +3,9 @@ "usb": { "device_version": "1.0.0" }, + "ws2812": { + "pin": "D2" + }, "matrix_pins": { "cols": ["B4", "E6", "C6", "B1", "B3", "B2"], "rows": ["B5", "F7", "F6", "B6"] diff --git a/keyboards/bastardkb/tbkmini/v2/elitec/config.h b/keyboards/bastardkb/tbkmini/v2/elitec/config.h index 178bafa5cc..e6b7fefa66 100644 --- a/keyboards/bastardkb/tbkmini/v2/elitec/config.h +++ b/keyboards/bastardkb/tbkmini/v2/elitec/config.h @@ -19,6 +19,3 @@ /* Handedness. */ #define MASTER_RIGHT - -/* RGB settings. */ -#define RGB_DI_PIN D3 diff --git a/keyboards/bastardkb/tbkmini/v2/elitec/info.json b/keyboards/bastardkb/tbkmini/v2/elitec/info.json index 4e9bafbaf5..d0691aef2e 100644 --- a/keyboards/bastardkb/tbkmini/v2/elitec/info.json +++ b/keyboards/bastardkb/tbkmini/v2/elitec/info.json @@ -3,6 +3,9 @@ "usb": { "device_version": "2.0.0" }, + "ws2812": { + "pin": "D3" + }, "matrix_pins": { "cols": ["F6", "F5", "B6", "D7", "E6", "B4"], "rows": ["F7", "C6", "D4", "B5"] diff --git a/keyboards/bastardkb/tbkmini/v2/splinky_2/config.h b/keyboards/bastardkb/tbkmini/v2/splinky_2/config.h index 00f0dbf1f3..977fb0a6e8 100644 --- a/keyboards/bastardkb/tbkmini/v2/splinky_2/config.h +++ b/keyboards/bastardkb/tbkmini/v2/splinky_2/config.h @@ -25,9 +25,6 @@ // #define SPLIT_HAND_PIN GP13 // #define SPLIT_HAND_PIN_LOW_IS_LEFT // High -> right, Low -> left. -/* RGB settings. */ -#define RGB_DI_PIN GP0 - /* Reset. */ #define RP2040_BOOTLOADER_DOUBLE_TAP_RESET #define RP2040_BOOTLOADER_DOUBLE_TAP_RESET_LED GP17 diff --git a/keyboards/bastardkb/tbkmini/v2/splinky_2/info.json b/keyboards/bastardkb/tbkmini/v2/splinky_2/info.json index 852bc94072..80d8134f7e 100644 --- a/keyboards/bastardkb/tbkmini/v2/splinky_2/info.json +++ b/keyboards/bastardkb/tbkmini/v2/splinky_2/info.json @@ -12,6 +12,7 @@ "soft_serial_pin": "GP1" }, "ws2812": { + "pin": "GP0", "driver": "vendor" }, "processor": "RP2040", diff --git a/keyboards/bastardkb/tbkmini/v2/splinky_3/config.h b/keyboards/bastardkb/tbkmini/v2/splinky_3/config.h index ff5d7db4ff..e496023656 100644 --- a/keyboards/bastardkb/tbkmini/v2/splinky_3/config.h +++ b/keyboards/bastardkb/tbkmini/v2/splinky_3/config.h @@ -25,9 +25,6 @@ // #define SPLIT_HAND_PIN GP15 // #define SPLIT_HAND_PIN_LOW_IS_LEFT // High -> right, Low -> left. -/* RGB settings. */ -#define RGB_DI_PIN GP0 - /* Reset. */ #define RP2040_BOOTLOADER_DOUBLE_TAP_RESET #define RP2040_BOOTLOADER_DOUBLE_TAP_RESET_LED GP17 diff --git a/keyboards/bastardkb/tbkmini/v2/splinky_3/info.json b/keyboards/bastardkb/tbkmini/v2/splinky_3/info.json index 06acfec57f..a5717988c8 100644 --- a/keyboards/bastardkb/tbkmini/v2/splinky_3/info.json +++ b/keyboards/bastardkb/tbkmini/v2/splinky_3/info.json @@ -12,6 +12,7 @@ "soft_serial_pin": "GP1" }, "ws2812": { + "pin": "GP0", "driver": "vendor" }, "processor": "RP2040", diff --git a/keyboards/bastardkb/tbkmini/v2/stemcell/config.h b/keyboards/bastardkb/tbkmini/v2/stemcell/config.h index 4e5b142aa3..0bbfd39aee 100644 --- a/keyboards/bastardkb/tbkmini/v2/stemcell/config.h +++ b/keyboards/bastardkb/tbkmini/v2/stemcell/config.h @@ -27,7 +27,6 @@ // #define SPLIT_HAND_PIN_LOW_IS_LEFT // High -> right, Low -> left. /* RGB settings. */ -#define RGB_DI_PIN D3 #define WS2812_PWM_DRIVER PWMD2 #define WS2812_PWM_CHANNEL 4 #define WS2812_PWM_PAL_MODE 1 diff --git a/keyboards/bastardkb/tbkmini/v2/stemcell/info.json b/keyboards/bastardkb/tbkmini/v2/stemcell/info.json index ec8c6f4f14..cdfc6273a0 100644 --- a/keyboards/bastardkb/tbkmini/v2/stemcell/info.json +++ b/keyboards/bastardkb/tbkmini/v2/stemcell/info.json @@ -4,6 +4,7 @@ "device_version": "2.0.0" }, "ws2812": { + "pin": "D3", "driver": "pwm" }, "matrix_pins": { -- cgit v1.2.3