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/giabalanai/config.h | 1 - keyboards/giabalanai/info.json | 3 +++ 2 files changed, 3 insertions(+), 1 deletion(-) (limited to 'keyboards/giabalanai') diff --git a/keyboards/giabalanai/config.h b/keyboards/giabalanai/config.h index f058b3afc4..aa0095aebd 100644 --- a/keyboards/giabalanai/config.h +++ b/keyboards/giabalanai/config.h @@ -41,7 +41,6 @@ along with this program. If not, see . // Not sure but rgblight_sethsv_at() might not support RGBLED_SPLIT yet. // Instead, LED data is tranferred from right side to the left via TRRS cable. -# define RGBLIGHT_LIMIT_VAL 80 # define RGBLIGHT_LAYERS // By default, LEDs of the buttons which are pressed turn on. diff --git a/keyboards/giabalanai/info.json b/keyboards/giabalanai/info.json index 125bade43e..7c2fa72047 100644 --- a/keyboards/giabalanai/info.json +++ b/keyboards/giabalanai/info.json @@ -11,6 +11,9 @@ "rgb_matrix": { "driver": "WS2812" }, + "rgblight": { + "max_brightness": 80 + }, "matrix_pins": { "cols": ["B1", "F7", "F6", "F5", "F4", "B3", "B2", "B6", "D0", "D1"], "rows": ["B5", "B4", "E6", "D7", "C6", "D4"] -- cgit v1.2.3