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/kapl | |
parent | 8fdcba12e684e7b1f0934fc9dc622e8e51f1deb9 (diff) |
Move `RGBLIGHT_LIMIT_VAL` to data driven (#20974)
Co-authored-by: Nick Brassel <nick@tzarc.org>
Diffstat (limited to 'keyboards/kapl')
-rw-r--r-- | keyboards/kapl/rev1/config.h | 1 | ||||
-rw-r--r-- | keyboards/kapl/rev1/info.json | 3 |
2 files changed, 3 insertions, 1 deletions
diff --git a/keyboards/kapl/rev1/config.h b/keyboards/kapl/rev1/config.h index 387e26aa73..8dc6718d1a 100644 --- a/keyboards/kapl/rev1/config.h +++ b/keyboards/kapl/rev1/config.h @@ -8,7 +8,6 @@ #define RGBLED_NUM 88 #define RGBLED_SPLIT { 44, 44 } #define RGBLIGHT_SPLIT -#define RGBLIGHT_LIMIT_VAL 120 // limits maximum brightness of LEDs to 150 out of 255. Higher may cause the controller to crash. #define RGB_MATRIX_LED_COUNT 88 #define RGB_MATRIX_SPLIT { 44, 44 } diff --git a/keyboards/kapl/rev1/info.json b/keyboards/kapl/rev1/info.json index f9da64a380..ad310fa87c 100644 --- a/keyboards/kapl/rev1/info.json +++ b/keyboards/kapl/rev1/info.json @@ -14,6 +14,9 @@ "rgb_matrix": { "driver": "WS2812" }, + "rgblight": { + "max_brightness": 120 + }, "matrix_pins": { "cols": ["F5", "F6", "F7", "B1", "B3", "B2", "B6"], "rows": ["C6", "D7", "E6", "B4", "B5"] |