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/alf/dc60/config.h | 1 -
keyboards/alf/dc60/info.json | 3 +++
keyboards/alf/x11/config.h | 1 -
keyboards/alf/x11/info.json | 3 +++
keyboards/alf/x2/config.h | 1 -
keyboards/alf/x2/info.json | 3 +++
6 files changed, 9 insertions(+), 3 deletions(-)
(limited to 'keyboards/alf')
diff --git a/keyboards/alf/dc60/config.h b/keyboards/alf/dc60/config.h
index 7a2b73ef06..b94b584df0 100644
--- a/keyboards/alf/dc60/config.h
+++ b/keyboards/alf/dc60/config.h
@@ -17,7 +17,6 @@ along with this program. If not, see .
#pragma once
-#define RGB_DI_PIN E6
#define RGBLIGHT_EFFECT_BREATHING
#define RGBLIGHT_EFFECT_RAINBOW_MOOD
#define RGBLIGHT_EFFECT_RAINBOW_SWIRL
diff --git a/keyboards/alf/dc60/info.json b/keyboards/alf/dc60/info.json
index 1ec142f403..9b5b806929 100644
--- a/keyboards/alf/dc60/info.json
+++ b/keyboards/alf/dc60/info.json
@@ -17,6 +17,9 @@
"levels": 5,
"breathing": true
},
+ "ws2812": {
+ "pin": "E6"
+ },
"indicators": {
"caps_lock": "B7",
"on_state": 0
diff --git a/keyboards/alf/x11/config.h b/keyboards/alf/x11/config.h
index d862c69cd3..467b15b1c5 100644
--- a/keyboards/alf/x11/config.h
+++ b/keyboards/alf/x11/config.h
@@ -17,7 +17,6 @@ along with this program. If not, see .
#pragma once
-#define RGB_DI_PIN F7
#define RGBLED_NUM 28
#define RGBLIGHT_HUE_STEP 8
#define RGBLIGHT_SAT_STEP 8
diff --git a/keyboards/alf/x11/info.json b/keyboards/alf/x11/info.json
index a3e18ce9b3..2eb6697f9c 100644
--- a/keyboards/alf/x11/info.json
+++ b/keyboards/alf/x11/info.json
@@ -17,6 +17,9 @@
"pin": "B7",
"breathing": true
},
+ "ws2812": {
+ "pin": "F7"
+ },
"indicators": {
"caps_lock": "C6",
"num_lock": "E6",
diff --git a/keyboards/alf/x2/config.h b/keyboards/alf/x2/config.h
index 7e3e14a532..c982289a0b 100644
--- a/keyboards/alf/x2/config.h
+++ b/keyboards/alf/x2/config.h
@@ -22,7 +22,6 @@
/* Locking resynchronize hack */
#define LOCKING_RESYNC_ENABLE
-#define RGB_DI_PIN E2
# define RGBLIGHT_EFFECT_BREATHING
# define RGBLIGHT_EFFECT_RAINBOW_MOOD
# define RGBLIGHT_EFFECT_RAINBOW_SWIRL
diff --git a/keyboards/alf/x2/info.json b/keyboards/alf/x2/info.json
index 7c1b3b9967..7619f6ed66 100644
--- a/keyboards/alf/x2/info.json
+++ b/keyboards/alf/x2/info.json
@@ -17,6 +17,9 @@
"caps_lock": "B2",
"on_state": 0
},
+ "ws2812": {
+ "pin": "E2"
+ },
"backlight": {
"pin": "B6"
},
--
cgit v1.2.3