summaryrefslogtreecommitdiffstats
path: root/keyboards/lily58/r2g
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/r2g
parent8fdcba12e684e7b1f0934fc9dc622e8e51f1deb9 (diff)
Move `RGBLIGHT_LIMIT_VAL` to data driven (#20974)
Co-authored-by: Nick Brassel <nick@tzarc.org>
Diffstat (limited to 'keyboards/lily58/r2g')
-rw-r--r--keyboards/lily58/r2g/config.h5
-rw-r--r--keyboards/lily58/r2g/info.json3
2 files changed, 3 insertions, 5 deletions
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": [