summaryrefslogtreecommitdiff
path: root/keyboards/ydkb
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2023-04-06 18:00:54 +1000
committerGitHub <noreply@github.com>2023-04-06 18:00:54 +1000
commit47966dc2a65c88ac90fcd64d12243d72f3f6753b (patch)
treed2f54974c74f66bf11565a64381ea8834f49d481 /keyboards/ydkb
parent71c22a12db58c71952a12df6bbe445f6f9a4e858 (diff)
Migrate `rgblight.pin` and `RGB_DI_PIN` to `ws2812.pin` (#20303)
Diffstat (limited to 'keyboards/ydkb')
-rw-r--r--keyboards/ydkb/chili/config.h1
-rw-r--r--keyboards/ydkb/chili/info.json3
-rw-r--r--keyboards/ydkb/grape/config.h1
-rw-r--r--keyboards/ydkb/grape/info.json3
-rw-r--r--keyboards/ydkb/yd68/config.h1
-rw-r--r--keyboards/ydkb/yd68/info.json3
6 files changed, 9 insertions, 3 deletions
diff --git a/keyboards/ydkb/chili/config.h b/keyboards/ydkb/chili/config.h
index 305f37ad19..dd6631f545 100644
--- a/keyboards/ydkb/chili/config.h
+++ b/keyboards/ydkb/chili/config.h
@@ -19,7 +19,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* Underlight configuration
*/
-#define RGB_DI_PIN B3
#define RGBLIGHT_EFFECT_BREATHING
#define RGBLIGHT_EFFECT_RAINBOW_MOOD
#define RGBLIGHT_EFFECT_RAINBOW_SWIRL
diff --git a/keyboards/ydkb/chili/info.json b/keyboards/ydkb/chili/info.json
index 2516744ef0..263eb70e8c 100644
--- a/keyboards/ydkb/chili/info.json
+++ b/keyboards/ydkb/chili/info.json
@@ -17,6 +17,9 @@
"pin": "B7",
"breathing": true
},
+ "ws2812": {
+ "pin": "B3"
+ },
"indicators": {
"caps_lock": "B2",
"num_lock": "B1",
diff --git a/keyboards/ydkb/grape/config.h b/keyboards/ydkb/grape/config.h
index 0b71d91e84..0d488de5d4 100644
--- a/keyboards/ydkb/grape/config.h
+++ b/keyboards/ydkb/grape/config.h
@@ -25,7 +25,6 @@
#define SN74X138_ADDRESS_PINS { D2, D1, D0 }
#ifdef RGBLIGHT_ENABLE
-#define RGB_DI_PIN E6
#define RGBLED_NUM 4
#endif
diff --git a/keyboards/ydkb/grape/info.json b/keyboards/ydkb/grape/info.json
index 1609ba2721..911b5cf831 100644
--- a/keyboards/ydkb/grape/info.json
+++ b/keyboards/ydkb/grape/info.json
@@ -12,6 +12,9 @@
"pin": "B7",
"breathing": true
},
+ "ws2812": {
+ "pin": "E6"
+ },
"indicators": {
"caps_lock": "F0",
"num_lock": "F1",
diff --git a/keyboards/ydkb/yd68/config.h b/keyboards/ydkb/yd68/config.h
index d47f6e3992..9914803853 100644
--- a/keyboards/ydkb/yd68/config.h
+++ b/keyboards/ydkb/yd68/config.h
@@ -17,7 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#pragma once
-#define RGB_DI_PIN B3
#define RGBLIGHT_EFFECT_BREATHING
#define RGBLIGHT_EFFECT_RAINBOW_MOOD
#define RGBLIGHT_EFFECT_RAINBOW_SWIRL
diff --git a/keyboards/ydkb/yd68/info.json b/keyboards/ydkb/yd68/info.json
index 7b15598735..ee5d43fb8e 100644
--- a/keyboards/ydkb/yd68/info.json
+++ b/keyboards/ydkb/yd68/info.json
@@ -17,6 +17,9 @@
"caps_lock": "D4",
"on_state": 0
},
+ "ws2812": {
+ "pin": "B3"
+ },
"processor": "atmega32u4",
"bootloader": "atmel-dfu",
"layouts": {