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/tkw/grandiceps/config.h | 1 - keyboards/tkw/grandiceps/info.json | 3 +++ keyboards/tkw/stoutgat/v2/config.h | 1 - keyboards/tkw/stoutgat/v2/info.json | 3 +++ 4 files changed, 6 insertions(+), 2 deletions(-) (limited to 'keyboards/tkw') diff --git a/keyboards/tkw/grandiceps/config.h b/keyboards/tkw/grandiceps/config.h index b6fc3a66a2..4837c2fda6 100644 --- a/keyboards/tkw/grandiceps/config.h +++ b/keyboards/tkw/grandiceps/config.h @@ -22,7 +22,6 @@ #define RGBLED_NUM 16 #define RGBLED_SPLIT { 8,8 } -#define RGBLIGHT_LIMIT_VAL 120 #define RGBLIGHT_EFFECT_BREATHING #define RGBLIGHT_EFFECT_RAINBOW_MOOD #define RGBLIGHT_EFFECT_RAINBOW_SWIRL diff --git a/keyboards/tkw/grandiceps/info.json b/keyboards/tkw/grandiceps/info.json index c5467142a5..1b16db1bf8 100644 --- a/keyboards/tkw/grandiceps/info.json +++ b/keyboards/tkw/grandiceps/info.json @@ -10,6 +10,9 @@ "pin": "B1", "driver": "pwm" }, + "rgblight": { + "max_brightness": 120 + }, "matrix_pins": { "cols": ["B0", "A7", "A3", "A5", "A4", "A2"], "rows": ["B12", "A6", "B13", "B9", "B8"] diff --git a/keyboards/tkw/stoutgat/v2/config.h b/keyboards/tkw/stoutgat/v2/config.h index b6a0586598..3e5d5a452a 100644 --- a/keyboards/tkw/stoutgat/v2/config.h +++ b/keyboards/tkw/stoutgat/v2/config.h @@ -19,7 +19,6 @@ #define TAP_CODE_DELAY 10 #define RGBLED_NUM 13 -#define RGBLIGHT_LIMIT_VAL 120 #define RGBLIGHT_EFFECT_BREATHING #define RGBLIGHT_EFFECT_RAINBOW_MOOD #define RGBLIGHT_EFFECT_RAINBOW_SWIRL diff --git a/keyboards/tkw/stoutgat/v2/info.json b/keyboards/tkw/stoutgat/v2/info.json index 2469d57954..e0cc720365 100644 --- a/keyboards/tkw/stoutgat/v2/info.json +++ b/keyboards/tkw/stoutgat/v2/info.json @@ -12,6 +12,9 @@ "pin": "B1", "driver": "pwm" }, + "rgblight": { + "max_brightness": 120 + }, "matrix_pins": { "cols": ["B0", "A7", "A6", "A5", "A4", "A3", "A1", "A0", "C15", "C14", "C13", "A15", "B3", "B4", "B5"], "rows": ["B6", "A2", "B7", "B9", "B8"] -- cgit v1.2.3