summaryrefslogtreecommitdiff
path: root/keyboards/mlego
diff options
context:
space:
mode:
authorJoel Challis <git@zvecr.com>2024-02-01 18:10:14 +0000
committerGitHub <noreply@github.com>2024-02-01 18:10:14 +0000
commit2f37a7854ddb0055eff7cb605492a57ff5061eb2 (patch)
tree95a990fb8cb1ec8b47c8760708d7541fa042f4ba /keyboards/mlego
parent7d5b4adc502df7cd9e20ba96027fbfe728171b2e (diff)
Migrate lighting defaults to info.json (#22920)
Diffstat (limited to 'keyboards/mlego')
-rw-r--r--keyboards/mlego/m60_split/rev1/config.h3
-rw-r--r--keyboards/mlego/m60_split/rev1/info.json6
2 files changed, 6 insertions, 3 deletions
diff --git a/keyboards/mlego/m60_split/rev1/config.h b/keyboards/mlego/m60_split/rev1/config.h
index 90ea0bd56c..564add296d 100644
--- a/keyboards/mlego/m60_split/rev1/config.h
+++ b/keyboards/mlego/m60_split/rev1/config.h
@@ -18,6 +18,3 @@
#define SPLIT_HAND_PIN B9
#define SERIAL_USART_TX_PIN B6
#define SERIAL_USART_SPEED 921600
-
-#define RGBLIGHT_LAYERS
-#define RGBLIGHT_DEFAULT_HUE 213
diff --git a/keyboards/mlego/m60_split/rev1/info.json b/keyboards/mlego/m60_split/rev1/info.json
index 89744c8b86..8280ffa022 100644
--- a/keyboards/mlego/m60_split/rev1/info.json
+++ b/keyboards/mlego/m60_split/rev1/info.json
@@ -36,6 +36,12 @@
"rgb_test": true,
"alternating": true,
"twinkle": true
+ },
+ "default": {
+ "hue": 213
+ },
+ "layers": {
+ "enabled": true
}
},
"split": {