diff options
author | Ryan <fauxpark@gmail.com> | 2023-05-27 12:27:44 +1000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-27 12:27:44 +1000 |
commit | 363bfdbfda5ea9fa996390920a9e8982535b76c8 (patch) | |
tree | 65684518b21240b47f7a64d8f0462e246ede70cc /keyboards/yandrstudio | |
parent | 8fdcba12e684e7b1f0934fc9dc622e8e51f1deb9 (diff) |
Move `RGBLIGHT_LIMIT_VAL` to data driven (#20974)
Co-authored-by: Nick Brassel <nick@tzarc.org>
Diffstat (limited to 'keyboards/yandrstudio')
-rw-r--r-- | keyboards/yandrstudio/eau_r2/config.h | 1 | ||||
-rw-r--r-- | keyboards/yandrstudio/eau_r2/info.json | 3 | ||||
-rw-r--r-- | keyboards/yandrstudio/nightstar75/config.h | 1 | ||||
-rw-r--r-- | keyboards/yandrstudio/nightstar75/info.json | 3 |
4 files changed, 6 insertions, 2 deletions
diff --git a/keyboards/yandrstudio/eau_r2/config.h b/keyboards/yandrstudio/eau_r2/config.h index 110f0d096c..dcf74a160b 100644 --- a/keyboards/yandrstudio/eau_r2/config.h +++ b/keyboards/yandrstudio/eau_r2/config.h @@ -20,7 +20,6 @@ # define RGBLED_NUM 12 # define RGBLIGHT_SLEEP # define RGBLIGHT_VAL_STEP 5 -# define RGBLIGHT_LIMIT_VAL 200 # define RGBLIGHT_EFFECT_BREATHING # define RGBLIGHT_EFFECT_RAINBOW_MOOD diff --git a/keyboards/yandrstudio/eau_r2/info.json b/keyboards/yandrstudio/eau_r2/info.json index a999291ed9..e2700ea0cb 100644 --- a/keyboards/yandrstudio/eau_r2/info.json +++ b/keyboards/yandrstudio/eau_r2/info.json @@ -14,6 +14,9 @@ "ws2812": { "pin": "A8" }, + "rgblight": { + "max_brightness": 200 + }, "debounce": 8, "layouts": { "LAYOUT": { diff --git a/keyboards/yandrstudio/nightstar75/config.h b/keyboards/yandrstudio/nightstar75/config.h index 573fa12151..c6760befde 100644 --- a/keyboards/yandrstudio/nightstar75/config.h +++ b/keyboards/yandrstudio/nightstar75/config.h @@ -18,7 +18,6 @@ #ifdef RGBLIGHT_ENABLE # define RGBLED_NUM 4 -# define RGBLIGHT_LIMIT_VAL 180 # define RGBLIGHT_EFFECT_BREATHING # define RGBLIGHT_EFFECT_RAINBOW_MOOD diff --git a/keyboards/yandrstudio/nightstar75/info.json b/keyboards/yandrstudio/nightstar75/info.json index 879da94d80..32d0e29263 100644 --- a/keyboards/yandrstudio/nightstar75/info.json +++ b/keyboards/yandrstudio/nightstar75/info.json @@ -10,6 +10,9 @@ "pin": "A7", "driver": "pwm" }, + "rgblight": { + "max_brightness": 180 + }, "matrix_pins": { "cols": ["C13", "C14", "C15", "A3", "A4", "A5", "A6", "B12", "B13", "B14", "B15", "A8", "A9", "A10", "B8"], "rows": ["B0", "B1", "B2", "B10", "B11", "B9"] |