summaryrefslogtreecommitdiff
path: root/keyboards/lily58
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/lily58
parent71c22a12db58c71952a12df6bbe445f6f9a4e858 (diff)
Migrate `rgblight.pin` and `RGB_DI_PIN` to `ws2812.pin` (#20303)
Diffstat (limited to 'keyboards/lily58')
-rw-r--r--keyboards/lily58/glow_enc/config.h2
-rw-r--r--keyboards/lily58/glow_enc/info.json3
-rw-r--r--keyboards/lily58/light/config.h1
-rw-r--r--keyboards/lily58/light/info.json3
-rw-r--r--keyboards/lily58/r2g/config.h1
-rw-r--r--keyboards/lily58/r2g/info.json3
-rw-r--r--keyboards/lily58/rev1/config.h1
-rw-r--r--keyboards/lily58/rev1/info.json3
8 files changed, 12 insertions, 5 deletions
diff --git a/keyboards/lily58/glow_enc/config.h b/keyboards/lily58/glow_enc/config.h
index 70ab0030c4..0f78f92d72 100644
--- a/keyboards/lily58/glow_enc/config.h
+++ b/keyboards/lily58/glow_enc/config.h
@@ -20,8 +20,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#pragma once
-#define RGB_DI_PIN F4
-
#define RGBLED_NUM 72 // Number of LEDs
#define RGBLED_SPLIT { 36, 36 }
diff --git a/keyboards/lily58/glow_enc/info.json b/keyboards/lily58/glow_enc/info.json
index 47911a04a2..3f3e9e8e94 100644
--- a/keyboards/lily58/glow_enc/info.json
+++ b/keyboards/lily58/glow_enc/info.json
@@ -34,6 +34,9 @@
}
}
},
+ "ws2812": {
+ "pin": "F4"
+ },
"processor": "atmega32u4",
"bootloader": "caterina",
"layouts": {
diff --git a/keyboards/lily58/light/config.h b/keyboards/lily58/light/config.h
index 08ee5dcd82..91934e61c0 100644
--- a/keyboards/lily58/light/config.h
+++ b/keyboards/lily58/light/config.h
@@ -20,7 +20,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#pragma once
-#define RGB_DI_PIN D3
#define RGBLED_SPLIT { 35, 35 }
#define RGBLED_NUM 70
#define RGBLIGHT_SPLIT
diff --git a/keyboards/lily58/light/info.json b/keyboards/lily58/light/info.json
index fcbae26163..4db30403f7 100644
--- a/keyboards/lily58/light/info.json
+++ b/keyboards/lily58/light/info.json
@@ -35,6 +35,9 @@
}
}
},
+ "ws2812": {
+ "pin": "D3"
+ },
"processor": "atmega32u4",
"bootloader": "caterina",
"layouts": {
diff --git a/keyboards/lily58/r2g/config.h b/keyboards/lily58/r2g/config.h
index 9770e28a53..dc6cee3af7 100644
--- a/keyboards/lily58/r2g/config.h
+++ b/keyboards/lily58/r2g/config.h
@@ -23,7 +23,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#ifdef RGB_MATRIX_ENABLE
-# define RGB_DI_PIN D3
# define RGB_MATRIX_LED_COUNT 74
# define RGB_DISABLE_WHEN_USB_SUSPENDED
# define RGB_MATRIX_LED_FLUSH_LIMIT 16
diff --git a/keyboards/lily58/r2g/info.json b/keyboards/lily58/r2g/info.json
index 909cc78f18..a5041a62a5 100644
--- a/keyboards/lily58/r2g/info.json
+++ b/keyboards/lily58/r2g/info.json
@@ -24,6 +24,9 @@
"enabled": true,
"soft_serial_pin": "D2"
},
+ "ws2812": {
+ "pin": "D3"
+ },
"layouts": {
"LAYOUT": {
"layout": [
diff --git a/keyboards/lily58/rev1/config.h b/keyboards/lily58/rev1/config.h
index 8417a2ee2a..8e94f9f62b 100644
--- a/keyboards/lily58/rev1/config.h
+++ b/keyboards/lily58/rev1/config.h
@@ -20,7 +20,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#pragma once
/* ws2812 RGB LED */
-#define RGB_DI_PIN D3
#define RGBLED_NUM 12 // Number of LEDs
/*
diff --git a/keyboards/lily58/rev1/info.json b/keyboards/lily58/rev1/info.json
index a484904923..4ce69ea5f5 100644
--- a/keyboards/lily58/rev1/info.json
+++ b/keyboards/lily58/rev1/info.json
@@ -20,6 +20,9 @@
"enabled": true,
"soft_serial_pin": "D2"
},
+ "ws2812": {
+ "pin": "D3"
+ },
"processor": "atmega32u4",
"bootloader": "caterina",
"layouts": {