summaryrefslogtreecommitdiff
path: root/keyboards/lily58
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2023-05-27 12:27:44 +1000
committerGitHub <noreply@github.com>2023-05-27 12:27:44 +1000
commit363bfdbfda5ea9fa996390920a9e8982535b76c8 (patch)
tree65684518b21240b47f7a64d8f0462e246ede70cc /keyboards/lily58
parent8fdcba12e684e7b1f0934fc9dc622e8e51f1deb9 (diff)
Move `RGBLIGHT_LIMIT_VAL` to data driven (#20974)
Co-authored-by: Nick Brassel <nick@tzarc.org>
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
-rw-r--r--keyboards/lily58/r2g/config.h5
-rw-r--r--keyboards/lily58/r2g/info.json3
6 files changed, 9 insertions, 7 deletions
diff --git a/keyboards/lily58/glow_enc/config.h b/keyboards/lily58/glow_enc/config.h
index 0f78f92d72..cf58b0fe45 100644
--- a/keyboards/lily58/glow_enc/config.h
+++ b/keyboards/lily58/glow_enc/config.h
@@ -24,4 +24,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define RGBLED_SPLIT { 36, 36 }
#define RGBLIGHT_SPLIT
-#define RGBLIGHT_LIMIT_VAL 120
diff --git a/keyboards/lily58/glow_enc/info.json b/keyboards/lily58/glow_enc/info.json
index deb8b0b40b..79358416f5 100644
--- a/keyboards/lily58/glow_enc/info.json
+++ b/keyboards/lily58/glow_enc/info.json
@@ -37,6 +37,9 @@
"ws2812": {
"pin": "F4"
},
+ "rgblight": {
+ "max_brightness": 120
+ },
"processor": "atmega32u4",
"bootloader": "caterina",
"layouts": {
diff --git a/keyboards/lily58/light/config.h b/keyboards/lily58/light/config.h
index 91934e61c0..88cb95c243 100644
--- a/keyboards/lily58/light/config.h
+++ b/keyboards/lily58/light/config.h
@@ -23,4 +23,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define RGBLED_SPLIT { 35, 35 }
#define RGBLED_NUM 70
#define RGBLIGHT_SPLIT
-#define RGBLIGHT_LIMIT_VAL 120
diff --git a/keyboards/lily58/light/info.json b/keyboards/lily58/light/info.json
index 53c5b4498b..7cca1288a3 100644
--- a/keyboards/lily58/light/info.json
+++ b/keyboards/lily58/light/info.json
@@ -38,6 +38,9 @@
"ws2812": {
"pin": "D3"
},
+ "rgblight": {
+ "max_brightness": 120
+ },
"processor": "atmega32u4",
"bootloader": "caterina",
"layouts": {
diff --git a/keyboards/lily58/r2g/config.h b/keyboards/lily58/r2g/config.h
index dc6cee3af7..da72735e2e 100644
--- a/keyboards/lily58/r2g/config.h
+++ b/keyboards/lily58/r2g/config.h
@@ -48,8 +48,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
# define SPLIT_TRANSPORT_MIRROR
#endif
-
-#ifdef RGBLIGHT_ENABLE
-# define RGBLIGHT_LIMIT_VAL 120
-#endif
-
diff --git a/keyboards/lily58/r2g/info.json b/keyboards/lily58/r2g/info.json
index 47d989278a..e445d1d48f 100644
--- a/keyboards/lily58/r2g/info.json
+++ b/keyboards/lily58/r2g/info.json
@@ -27,6 +27,9 @@
"ws2812": {
"pin": "D3"
},
+ "rgblight": {
+ "max_brightness": 120
+ },
"layouts": {
"LAYOUT": {
"layout": [