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/ghs/jem/info.json | 4 +++- keyboards/ghs/rar/config.h | 1 - keyboards/ghs/rar/info.json | 3 +++ 3 files changed, 6 insertions(+), 2 deletions(-) (limited to 'keyboards/ghs') diff --git a/keyboards/ghs/jem/info.json b/keyboards/ghs/jem/info.json index d35f86c4da..44b80ce9a4 100644 --- a/keyboards/ghs/jem/info.json +++ b/keyboards/ghs/jem/info.json @@ -28,7 +28,6 @@ }, "rgblight": { "led_count": 22, - "pin": "F4", "hue_steps": 10, "saturation_steps": 17, "brightness_steps": 17, @@ -43,6 +42,9 @@ "alternating": true } }, + "ws2812": { + "pin": "F4" + }, "layouts": { "LAYOUT_ansi": { "layout": [ diff --git a/keyboards/ghs/rar/config.h b/keyboards/ghs/rar/config.h index efc9f5f3f5..9cd6e7be5a 100644 --- a/keyboards/ghs/rar/config.h +++ b/keyboards/ghs/rar/config.h @@ -17,7 +17,6 @@ along with this program. If not, see . #pragma once -#define RGB_DI_PIN D0 #define RGBLED_NUM 17 # define RGBLIGHT_EFFECT_BREATHING # define RGBLIGHT_EFFECT_RAINBOW_MOOD diff --git a/keyboards/ghs/rar/info.json b/keyboards/ghs/rar/info.json index b97ee064fd..e932a3ac3a 100644 --- a/keyboards/ghs/rar/info.json +++ b/keyboards/ghs/rar/info.json @@ -8,6 +8,9 @@ "pid": "0x0001", "device_version": "0.0.1" }, + "ws2812": { + "pin": "D0" + }, "matrix_pins": { "cols": ["F0", "F1", "F4", "F5", "F6", "F7", "C7", "D1"], "rows": ["B0", "B7", "C6", "B6", "B5", "B4", "D7", "D6", "D4", "D5", "D3", "D2"] -- cgit v1.2.3