summaryrefslogtreecommitdiff
path: root/keyboards/ymdk/ymd40
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/ymdk/ymd40')
-rw-r--r--keyboards/ymdk/ymd40/v2/config.h5
-rw-r--r--keyboards/ymdk/ymd40/v2/info.json6
2 files changed, 5 insertions, 6 deletions
diff --git a/keyboards/ymdk/ymd40/v2/config.h b/keyboards/ymdk/ymd40/v2/config.h
index 1a061e530b..8bb96c992f 100644
--- a/keyboards/ymdk/ymd40/v2/config.h
+++ b/keyboards/ymdk/ymd40/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/ymd40/v2/info.json b/keyboards/ymdk/ymd40/v2/info.json
index ab9648ff46..91193aa9fa 100644
--- a/keyboards/ymdk/ymd40/v2/info.json
+++ b/keyboards/ymdk/ymd40/v2/info.json
@@ -21,7 +21,11 @@
"pin": "E2"
},
"rgblight": {
- "max_brightness": 150
+ "saturation_steps": 8,
+ "brightness_steps": 8,
+ "led_count": 8,
+ "max_brightness": 150,
+ "sleep": true
},
"processor": "atmega32u4",
"bootloader": "atmel-dfu",