summaryrefslogtreecommitdiff
path: root/keyboards/toffee_studio
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/toffee_studio
parent8fdcba12e684e7b1f0934fc9dc622e8e51f1deb9 (diff)
Move `RGBLIGHT_LIMIT_VAL` to data driven (#20974)
Co-authored-by: Nick Brassel <nick@tzarc.org>
Diffstat (limited to 'keyboards/toffee_studio')
-rw-r--r--keyboards/toffee_studio/blueberry/config.h2
-rw-r--r--keyboards/toffee_studio/blueberry/info.json3
2 files changed, 3 insertions, 2 deletions
diff --git a/keyboards/toffee_studio/blueberry/config.h b/keyboards/toffee_studio/blueberry/config.h
index b18dd40ccd..07a4bae2be 100644
--- a/keyboards/toffee_studio/blueberry/config.h
+++ b/keyboards/toffee_studio/blueberry/config.h
@@ -26,8 +26,6 @@
21, 9, \
0, 1, 2, 3, 4, 5, 6, 7, 8 }
-/* The maximum brightness level up to 255 */
-#define RGBLIGHT_LIMIT_VAL 192 //limited to 75% brightness
# define RGBLIGHT_EFFECT_BREATHING
# define RGBLIGHT_EFFECT_RAINBOW_MOOD
# define RGBLIGHT_EFFECT_RAINBOW_SWIRL
diff --git a/keyboards/toffee_studio/blueberry/info.json b/keyboards/toffee_studio/blueberry/info.json
index d5870c8f02..6acd8f4a58 100644
--- a/keyboards/toffee_studio/blueberry/info.json
+++ b/keyboards/toffee_studio/blueberry/info.json
@@ -11,6 +11,9 @@
"ws2812": {
"pin": "D0"
},
+ "rgblight": {
+ "max_brightness": 192
+ },
"matrix_pins": {
"cols": ["B6", "D4", "D6", "D7", "B4", "B5", "C6", "C7"],
"rows": ["E6", "B0", "B1", "F6", "F5", "F1", "F7", "F0", "F4"]