diff options
author | Ryan <fauxpark@gmail.com> | 2023-06-24 17:37:54 +1000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-06-24 17:37:54 +1000 |
commit | 4ae9bfd17ab01608e1bf2492c35d79bd2ad5c0fe (patch) | |
tree | cf48a8728411d2ad4a00422edad87a26288a95ec /keyboards/ymdk/ymd21/v2 | |
parent | 6545eb64a0cc1797893c6782e78a3ecc68de729d (diff) |
Move `RGBLIGHT_HUE/SAT/VAL_STEP` to data driven (#21292)
Co-authored-by: Nick Brassel <nick@tzarc.org>
Diffstat (limited to 'keyboards/ymdk/ymd21/v2')
-rw-r--r-- | keyboards/ymdk/ymd21/v2/config.h | 3 | ||||
-rw-r--r-- | keyboards/ymdk/ymd21/v2/info.json | 2 |
2 files changed, 2 insertions, 3 deletions
diff --git a/keyboards/ymdk/ymd21/v2/config.h b/keyboards/ymdk/ymd21/v2/config.h index 6936d591e2..073441c9c0 100644 --- a/keyboards/ymdk/ymd21/v2/config.h +++ b/keyboards/ymdk/ymd21/v2/config.h @@ -17,9 +17,6 @@ #pragma once #if defined(RGBLIGHT_ENABLE) - #define RGBLIGHT_HUE_STEP 8 - #define RGBLIGHT_SAT_STEP 8 - #define RGBLIGHT_VAL_STEP 8 #define RGBLIGHT_EFFECT_BREATHING #define RGBLIGHT_EFFECT_RAINBOW_MOOD #define RGBLIGHT_EFFECT_RAINBOW_SWIRL diff --git a/keyboards/ymdk/ymd21/v2/info.json b/keyboards/ymdk/ymd21/v2/info.json index 5bd3f23bf5..153fb72a4c 100644 --- a/keyboards/ymdk/ymd21/v2/info.json +++ b/keyboards/ymdk/ymd21/v2/info.json @@ -21,6 +21,8 @@ "pin": "E2" }, "rgblight": { + "saturation_steps": 8, + "brightness_steps": 8, "led_count": 8, "max_brightness": 180, "sleep": true |