summaryrefslogtreecommitdiffstats
path: root/keyboards/lily58
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2023-06-06 11:08:04 +1000
committerGitHub <noreply@github.com>2023-06-06 11:08:04 +1000
commitc9cf9712aaefc2356305cbc731d06f1b1948d8c1 (patch)
treef5a65b4859b44144b1d9b756f8a7f3bb39191198 /keyboards/lily58
parentf91ca76c783b10b5edc167efeb0825cf8249e097 (diff)
Move `RGBLED_SPLIT` to data driven (#21113)
Co-authored-by: Joel Challis <git@zvecr.com>
Diffstat (limited to 'keyboards/lily58')
-rw-r--r--keyboards/lily58/glow_enc/config.h1
-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
4 files changed, 4 insertions, 4 deletions
diff --git a/keyboards/lily58/glow_enc/config.h b/keyboards/lily58/glow_enc/config.h
index cf58b0fe45..6c1cad1103 100644
--- a/keyboards/lily58/glow_enc/config.h
+++ b/keyboards/lily58/glow_enc/config.h
@@ -22,5 +22,4 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define RGBLED_NUM 72 // Number of LEDs
-#define RGBLED_SPLIT { 36, 36 }
#define RGBLIGHT_SPLIT
diff --git a/keyboards/lily58/glow_enc/info.json b/keyboards/lily58/glow_enc/info.json
index 79358416f5..2b3e270026 100644
--- a/keyboards/lily58/glow_enc/info.json
+++ b/keyboards/lily58/glow_enc/info.json
@@ -38,7 +38,8 @@
"pin": "F4"
},
"rgblight": {
- "max_brightness": 120
+ "max_brightness": 120,
+ "split_count": [36, 36]
},
"processor": "atmega32u4",
"bootloader": "caterina",
diff --git a/keyboards/lily58/light/config.h b/keyboards/lily58/light/config.h
index 88cb95c243..1080139430 100644
--- a/keyboards/lily58/light/config.h
+++ b/keyboards/lily58/light/config.h
@@ -20,6 +20,5 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#pragma once
-#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 7cca1288a3..ca3ad342fb 100644
--- a/keyboards/lily58/light/info.json
+++ b/keyboards/lily58/light/info.json
@@ -39,7 +39,8 @@
"pin": "D3"
},
"rgblight": {
- "max_brightness": 120
+ "max_brightness": 120,
+ "split_count": [35, 35]
},
"processor": "atmega32u4",
"bootloader": "caterina",