summaryrefslogtreecommitdiff
path: root/keyboards/winry/winry315
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/winry/winry315
parent8fdcba12e684e7b1f0934fc9dc622e8e51f1deb9 (diff)
Move `RGBLIGHT_LIMIT_VAL` to data driven (#20974)
Co-authored-by: Nick Brassel <nick@tzarc.org>
Diffstat (limited to 'keyboards/winry/winry315')
-rw-r--r--keyboards/winry/winry315/config.h3
-rw-r--r--keyboards/winry/winry315/info.json3
2 files changed, 4 insertions, 2 deletions
diff --git a/keyboards/winry/winry315/config.h b/keyboards/winry/winry315/config.h
index 18d47f7ec4..09724a2c00 100644
--- a/keyboards/winry/winry315/config.h
+++ b/keyboards/winry/winry315/config.h
@@ -13,7 +13,6 @@
// This PCB uses a single chain of WS2812-compatible addressable RGB LEDs for
// per-key backlight and underglow.
#define RGBLED_NUM 27
-#define RGBLIGHT_LIMIT_VAL 150
// RGB Lighting configuration. This mode is used by the vendor firmware, and
// can be chosen if the full RGB Matrix support is not desired for some reason.
@@ -36,7 +35,7 @@
// RGB Matrix configuration.
#ifdef RGB_MATRIX_ENABLE
# define RGB_MATRIX_LED_COUNT RGBLED_NUM
-# define RGB_MATRIX_MAXIMUM_BRIGHTNESS RGBLIGHT_LIMIT_VAL
+# define RGB_MATRIX_MAXIMUM_BRIGHTNESS 150
# define RGB_MATRIX_CENTER \
{ 35, 35 }
diff --git a/keyboards/winry/winry315/info.json b/keyboards/winry/winry315/info.json
index 79bba137d6..cfd52d368a 100644
--- a/keyboards/winry/winry315/info.json
+++ b/keyboards/winry/winry315/info.json
@@ -11,6 +11,9 @@
"rgb_matrix": {
"driver": "WS2812"
},
+ "rgblight": {
+ "max_brightness": 150
+ },
"encoder": {
"rotary": [
{"pin_a": "F1", "pin_b": "F0"},