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/ein_60/config.h | 1 - keyboards/ein_60/info.json | 3 +++ 2 files changed, 3 insertions(+), 1 deletion(-) (limited to 'keyboards/ein_60') diff --git a/keyboards/ein_60/config.h b/keyboards/ein_60/config.h index 63e6683f8c..e3df68481d 100644 --- a/keyboards/ein_60/config.h +++ b/keyboards/ein_60/config.h @@ -33,7 +33,6 @@ along with this program. If not, see . # define RGBLIGHT_HUE_STEP 4 # define RGBLIGHT_SAT_STEP 8 # define RGBLIGHT_VAL_STEP 8 -# define RGBLIGHT_LIMIT_VAL 200 /* The maximum brightness level */ # define RGBLIGHT_SLEEP /* If defined, the RGB lighting will be switched off when the host goes to sleep */ # define RGBLIGHT_EFFECT_BREATHING # define RGBLIGHT_EFFECT_RAINBOW_MOOD diff --git a/keyboards/ein_60/info.json b/keyboards/ein_60/info.json index 8da88c7987..9af00830e0 100644 --- a/keyboards/ein_60/info.json +++ b/keyboards/ein_60/info.json @@ -11,6 +11,9 @@ "rgb_matrix": { "driver": "WS2812" }, + "rgblight": { + "max_brightness": 200 + }, "matrix_pins": { "cols": ["A3", "A2", "A1", "A0", "F6", "F5", "F0", "E0", "E1", "C0", "C1", "C2", "C3"], "rows": ["F1", "F2", "F3", "F4"] -- cgit v1.2.3