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/ploopyco/mouse/config.h | 1 - keyboards/ploopyco/mouse/info.json | 3 +++ keyboards/ploopyco/trackball/rev1_005/config.h | 1 - keyboards/ploopyco/trackball/rev1_005/info.json | 3 +++ 4 files changed, 6 insertions(+), 2 deletions(-) (limited to 'keyboards/ploopyco') diff --git a/keyboards/ploopyco/mouse/config.h b/keyboards/ploopyco/mouse/config.h index 9747969db4..62ed32840b 100644 --- a/keyboards/ploopyco/mouse/config.h +++ b/keyboards/ploopyco/mouse/config.h @@ -29,7 +29,6 @@ //#define NO_ACTION_ONESHOT #define RGBLED_NUM 4 -#define RGBLIGHT_LIMIT_VAL 40 #define RGBLIGHT_EFFECT_BREATHING #define RGBLIGHT_EFFECT_RAINBOW_MOOD #define RGBLIGHT_EFFECT_RAINBOW_SWIRL diff --git a/keyboards/ploopyco/mouse/info.json b/keyboards/ploopyco/mouse/info.json index 0edad55f2d..b89f82a363 100644 --- a/keyboards/ploopyco/mouse/info.json +++ b/keyboards/ploopyco/mouse/info.json @@ -15,6 +15,9 @@ "ws2812": { "pin": "B5" }, + "rgblight": { + "max_brightness": 40 + }, "processor": "atmega32u4", "bootloader": "atmel-dfu", "matrix_pins": { diff --git a/keyboards/ploopyco/trackball/rev1_005/config.h b/keyboards/ploopyco/trackball/rev1_005/config.h index 66a453dcb8..e59c0a3e85 100644 --- a/keyboards/ploopyco/trackball/rev1_005/config.h +++ b/keyboards/ploopyco/trackball/rev1_005/config.h @@ -24,7 +24,6 @@ { D1, D3, B4, B7, D6, C7, F6, F5, F3, F7 } #define RGBLED_NUM 3 -#define RGBLIGHT_LIMIT_VAL 40 #define RGBLIGHT_EFFECT_BREATHING #define RGBLIGHT_EFFECT_RAINBOW_MOOD #define RGBLIGHT_EFFECT_RAINBOW_SWIRL diff --git a/keyboards/ploopyco/trackball/rev1_005/info.json b/keyboards/ploopyco/trackball/rev1_005/info.json index 91574c5c4b..c7506f2d84 100644 --- a/keyboards/ploopyco/trackball/rev1_005/info.json +++ b/keyboards/ploopyco/trackball/rev1_005/info.json @@ -8,5 +8,8 @@ }, "ws2812": { "pin": "B5" + }, + "rgblight": { + "max_brightness": 40 } } -- cgit v1.2.3