diff options
author | Ryan <fauxpark@gmail.com> | 2023-05-27 12:27:44 +1000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-27 12:27:44 +1000 |
commit | 363bfdbfda5ea9fa996390920a9e8982535b76c8 (patch) | |
tree | 65684518b21240b47f7a64d8f0462e246ede70cc /keyboards/woodkeys | |
parent | 8fdcba12e684e7b1f0934fc9dc622e8e51f1deb9 (diff) |
Move `RGBLIGHT_LIMIT_VAL` to data driven (#20974)
Co-authored-by: Nick Brassel <nick@tzarc.org>
Diffstat (limited to 'keyboards/woodkeys')
-rwxr-xr-x | keyboards/woodkeys/bigseries/1key/config.h | 4 | ||||
-rw-r--r-- | keyboards/woodkeys/bigseries/1key/info.json | 3 | ||||
-rwxr-xr-x | keyboards/woodkeys/bigseries/2key/config.h | 4 | ||||
-rw-r--r-- | keyboards/woodkeys/bigseries/2key/info.json | 3 | ||||
-rwxr-xr-x | keyboards/woodkeys/bigseries/3key/config.h | 4 | ||||
-rw-r--r-- | keyboards/woodkeys/bigseries/3key/info.json | 3 | ||||
-rwxr-xr-x | keyboards/woodkeys/bigseries/4key/config.h | 4 | ||||
-rw-r--r-- | keyboards/woodkeys/bigseries/4key/info.json | 3 |
8 files changed, 12 insertions, 16 deletions
diff --git a/keyboards/woodkeys/bigseries/1key/config.h b/keyboards/woodkeys/bigseries/1key/config.h index eff8d0f47a..d81dd8611b 100755 --- a/keyboards/woodkeys/bigseries/1key/config.h +++ b/keyboards/woodkeys/bigseries/1key/config.h @@ -34,8 +34,4 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. #define RGBLIGHT_EFFECT_ALTERNATING #define RGBLIGHT_EFFECT_TWINKLE #define RGBLED_NUM 5 -#ifdef RGBLIGHT_LIMIT_VAL -#undef RGBLIGHT_LIMIT_VAL -#endif -#define RGBLIGHT_LIMIT_VAL 128 #endif diff --git a/keyboards/woodkeys/bigseries/1key/info.json b/keyboards/woodkeys/bigseries/1key/info.json index 72ac6af4d6..1dd1e6fa0c 100644 --- a/keyboards/woodkeys/bigseries/1key/info.json +++ b/keyboards/woodkeys/bigseries/1key/info.json @@ -11,6 +11,9 @@ "ws2812": { "pin": "D3" }, + "rgblight": { + "max_brightness": 128 + }, "matrix_pins": { "cols": ["B4"], "rows": ["B0"] diff --git a/keyboards/woodkeys/bigseries/2key/config.h b/keyboards/woodkeys/bigseries/2key/config.h index a4a762b232..ecb5649419 100755 --- a/keyboards/woodkeys/bigseries/2key/config.h +++ b/keyboards/woodkeys/bigseries/2key/config.h @@ -34,8 +34,4 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. #define RGBLIGHT_EFFECT_ALTERNATING #define RGBLIGHT_EFFECT_TWINKLE #define RGBLED_NUM 8 -#ifdef RGBLIGHT_LIMIT_VAL -#undef RGBLIGHT_LIMIT_VAL -#endif -#define RGBLIGHT_LIMIT_VAL 128 #endif diff --git a/keyboards/woodkeys/bigseries/2key/info.json b/keyboards/woodkeys/bigseries/2key/info.json index 1e4d0fe04a..a488fc1515 100644 --- a/keyboards/woodkeys/bigseries/2key/info.json +++ b/keyboards/woodkeys/bigseries/2key/info.json @@ -11,6 +11,9 @@ "ws2812": { "pin": "D3" }, + "rgblight": { + "max_brightness": 128 + }, "matrix_pins": { "cols": ["B4", "B3"], "rows": ["B0"] diff --git a/keyboards/woodkeys/bigseries/3key/config.h b/keyboards/woodkeys/bigseries/3key/config.h index bc00538fdb..a225c19d3a 100755 --- a/keyboards/woodkeys/bigseries/3key/config.h +++ b/keyboards/woodkeys/bigseries/3key/config.h @@ -34,8 +34,4 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. #define RGBLIGHT_EFFECT_ALTERNATING #define RGBLIGHT_EFFECT_TWINKLE #define RGBLED_NUM 11 -#ifdef RGBLIGHT_LIMIT_VAL -#undef RGBLIGHT_LIMIT_VAL -#endif -#define RGBLIGHT_LIMIT_VAL 128 #endif diff --git a/keyboards/woodkeys/bigseries/3key/info.json b/keyboards/woodkeys/bigseries/3key/info.json index c8ee901dea..0152a2ce04 100644 --- a/keyboards/woodkeys/bigseries/3key/info.json +++ b/keyboards/woodkeys/bigseries/3key/info.json @@ -11,6 +11,9 @@ "ws2812": { "pin": "D3" }, + "rgblight": { + "max_brightness": 128 + }, "matrix_pins": { "cols": ["B4", "B3", "B5"], "rows": ["B0"] diff --git a/keyboards/woodkeys/bigseries/4key/config.h b/keyboards/woodkeys/bigseries/4key/config.h index 0bc82865f9..02ed67b9cb 100755 --- a/keyboards/woodkeys/bigseries/4key/config.h +++ b/keyboards/woodkeys/bigseries/4key/config.h @@ -34,8 +34,4 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. #define RGBLIGHT_EFFECT_ALTERNATING #define RGBLIGHT_EFFECT_TWINKLE #define RGBLED_NUM 12 -#ifdef RGBLIGHT_LIMIT_VAL -#undef RGBLIGHT_LIMIT_VAL -#endif -#define RGBLIGHT_LIMIT_VAL 128 #endif diff --git a/keyboards/woodkeys/bigseries/4key/info.json b/keyboards/woodkeys/bigseries/4key/info.json index 22ebdc7f6b..e228efd54c 100644 --- a/keyboards/woodkeys/bigseries/4key/info.json +++ b/keyboards/woodkeys/bigseries/4key/info.json @@ -11,6 +11,9 @@ "ws2812": { "pin": "D3" }, + "rgblight": { + "max_brightness": 128 + }, "matrix_pins": { "cols": ["B4", "B3"], "rows": ["B0", "B5"] |