From 363bfdbfda5ea9fa996390920a9e8982535b76c8 Mon Sep 17 00:00:00 2001 From: Ryan Date: Sat, 27 May 2023 12:27:44 +1000 Subject: Move `RGBLIGHT_LIMIT_VAL` to data driven (#20974) Co-authored-by: Nick Brassel --- keyboards/rgbkb/pan/config.h | 2 -- keyboards/rgbkb/pan/info.json | 3 +++ 2 files changed, 3 insertions(+), 2 deletions(-) (limited to 'keyboards/rgbkb/pan') diff --git a/keyboards/rgbkb/pan/config.h b/keyboards/rgbkb/pan/config.h index 2bd147df5b..b89b6b4f65 100644 --- a/keyboards/rgbkb/pan/config.h +++ b/keyboards/rgbkb/pan/config.h @@ -29,8 +29,6 @@ along with this program. If not, see . #define RGBLIGHT_EFFECT_TWINKLE #define RGB_MATRIX_LED_COUNT RGBLED_NUM -#define RGBLIGHT_LIMIT_VAL 120 - // RGB Matrix Animation modes. Explicitly enabled // For full list of effects, see: // https://docs.qmk.fm/#/feature_rgb_matrix?id=rgb-matrix-effects diff --git a/keyboards/rgbkb/pan/info.json b/keyboards/rgbkb/pan/info.json index e7ea402e07..5c3ed6f610 100644 --- a/keyboards/rgbkb/pan/info.json +++ b/keyboards/rgbkb/pan/info.json @@ -11,6 +11,9 @@ "rgb_matrix": { "driver": "custom" }, + "rgblight": { + "max_brightness": 120 + }, "layouts": { "LAYOUT_all": { "layout": [ -- cgit v1.2.3