diff options
author | Ryan <[email protected]> | 2023-06-24 17:37:54 +1000 |
---|---|---|
committer | GitHub <[email protected]> | 2023-06-24 17:37:54 +1000 |
commit | 4ae9bfd17ab01608e1bf2492c35d79bd2ad5c0fe (patch) | |
tree | cf48a8728411d2ad4a00422edad87a26288a95ec /keyboards/ydkb | |
parent | 6545eb64a0cc1797893c6782e78a3ecc68de729d (diff) | |
download | qmk_firmware-4ae9bfd17ab01608e1bf2492c35d79bd2ad5c0fe.tar.gz qmk_firmware-4ae9bfd17ab01608e1bf2492c35d79bd2ad5c0fe.zip |
Move `RGBLIGHT_HUE/SAT/VAL_STEP` to data driven (#21292)
Co-authored-by: Nick Brassel <[email protected]>
Diffstat (limited to 'keyboards/ydkb')
-rw-r--r-- | keyboards/ydkb/chili/config.h | 3 | ||||
-rw-r--r-- | keyboards/ydkb/chili/info.json | 3 | ||||
-rw-r--r-- | keyboards/ydkb/yd68/config.h | 3 | ||||
-rw-r--r-- | keyboards/ydkb/yd68/info.json | 2 |
4 files changed, 5 insertions, 6 deletions
diff --git a/keyboards/ydkb/chili/config.h b/keyboards/ydkb/chili/config.h index 363e1d894a..03c8bceba0 100644 --- a/keyboards/ydkb/chili/config.h +++ b/keyboards/ydkb/chili/config.h @@ -29,9 +29,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. #define RGBLIGHT_EFFECT_RGB_TEST #define RGBLIGHT_EFFECT_ALTERNATING #define RGBLIGHT_EFFECT_TWINKLE -#define RGBLIGHT_HUE_STEP 5 -#define RGBLIGHT_SAT_STEP 10 -#define RGBLIGHT_VAL_STEP 10 /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ #define LOCKING_SUPPORT_ENABLE diff --git a/keyboards/ydkb/chili/info.json b/keyboards/ydkb/chili/info.json index 786bdca276..99de9fab91 100644 --- a/keyboards/ydkb/chili/info.json +++ b/keyboards/ydkb/chili/info.json @@ -18,6 +18,9 @@ "breathing": true }, "rgblight": { + "hue_steps": 5, + "saturation_steps": 10, + "brightness_steps": 10, "led_count": 30 }, "ws2812": { diff --git a/keyboards/ydkb/yd68/config.h b/keyboards/ydkb/yd68/config.h index a4d55c248c..44f4a2679b 100644 --- a/keyboards/ydkb/yd68/config.h +++ b/keyboards/ydkb/yd68/config.h @@ -27,9 +27,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. #define RGBLIGHT_EFFECT_RGB_TEST #define RGBLIGHT_EFFECT_ALTERNATING #define RGBLIGHT_EFFECT_TWINKLE -#define RGBLIGHT_HUE_STEP 8 -#define RGBLIGHT_SAT_STEP 8 -#define RGBLIGHT_VAL_STEP 8 /* * Feature disable options diff --git a/keyboards/ydkb/yd68/info.json b/keyboards/ydkb/yd68/info.json index 6630ea403d..87cc06b223 100644 --- a/keyboards/ydkb/yd68/info.json +++ b/keyboards/ydkb/yd68/info.json @@ -18,6 +18,8 @@ "on_state": 0 }, "rgblight": { + "saturation_steps": 8, + "brightness_steps": 8, "led_count": 10 }, "ws2812": { |