summaryrefslogtreecommitdiffstats
path: root/keyboards/mlego/m60/rev1
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/mlego/m60/rev1')
-rw-r--r--keyboards/mlego/m60/rev1/config.h14
-rw-r--r--keyboards/mlego/m60/rev1/info.json14
2 files changed, 13 insertions, 15 deletions
diff --git a/keyboards/mlego/m60/rev1/config.h b/keyboards/mlego/m60/rev1/config.h
index 71050b6ad4..ed9619f3e5 100644
--- a/keyboards/mlego/m60/rev1/config.h
+++ b/keyboards/mlego/m60/rev1/config.h
@@ -15,18 +15,4 @@
*/
#pragma once
-#ifdef RGBLIGHT_ENABLE
-
#define RGBLIGHT_LAYERS
-
-#define RGBLIGHT_EFFECT_BREATHING
-#define RGBLIGHT_EFFECT_RAINBOW_MOOD
-#define RGBLIGHT_EFFECT_RAINBOW_SWIRL
-#define RGBLIGHT_EFFECT_SNAKE
-#define RGBLIGHT_EFFECT_KNIGHT
-#define RGBLIGHT_EFFECT_CHRISTMAS
-#define RGBLIGHT_EFFECT_STATIC_GRADIENT
-#define RGBLIGHT_EFFECT_RGB_TEST
-#define RGBLIGHT_EFFECT_ALTERNATING
-#define RGBLIGHT_EFFECT_TWINKLE
-#endif
diff --git a/keyboards/mlego/m60/rev1/info.json b/keyboards/mlego/m60/rev1/info.json
index 112b590f54..293041db82 100644
--- a/keyboards/mlego/m60/rev1/info.json
+++ b/keyboards/mlego/m60/rev1/info.json
@@ -19,7 +19,19 @@
"scroll_lock": "B13"
},
"rgblight": {
- "led_count": 20
+ "led_count": 20,
+ "animations": {
+ "breathing": true,
+ "rainbow_mood": true,
+ "rainbow_swirl": true,
+ "snake": true,
+ "knight": true,
+ "christmas": true,
+ "static_gradient": true,
+ "rgb_test": true,
+ "alternating": true,
+ "twinkle": true
+ }
},
"ws2812": {
"pin": "B15"