summaryrefslogtreecommitdiffstats
path: root/keyboards/ymdk/ymd21
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/ymdk/ymd21')
-rw-r--r--keyboards/ymdk/ymd21/v2/config.h5
-rw-r--r--keyboards/ymdk/ymd21/v2/info.json6
2 files changed, 5 insertions, 6 deletions
diff --git a/keyboards/ymdk/ymd21/v2/config.h b/keyboards/ymdk/ymd21/v2/config.h
index 955f702a8d..073441c9c0 100644
--- a/keyboards/ymdk/ymd21/v2/config.h
+++ b/keyboards/ymdk/ymd21/v2/config.h
@@ -17,11 +17,6 @@
#pragma once
#if defined(RGBLIGHT_ENABLE)
- #define RGBLED_NUM 8
- #define RGBLIGHT_HUE_STEP 8
- #define RGBLIGHT_SAT_STEP 8
- #define RGBLIGHT_VAL_STEP 8
- #define RGBLIGHT_SLEEP /* If defined, the RGB lighting will be switched off when the host goes to sleep */
#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 18b0ef9e7b..153fb72a4c 100644
--- a/keyboards/ymdk/ymd21/v2/info.json
+++ b/keyboards/ymdk/ymd21/v2/info.json
@@ -21,7 +21,11 @@
"pin": "E2"
},
"rgblight": {
- "max_brightness": 180
+ "saturation_steps": 8,
+ "brightness_steps": 8,
+ "led_count": 8,
+ "max_brightness": 180,
+ "sleep": true
},
"processor": "atmega32u4",
"bootloader": "atmel-dfu",