summaryrefslogtreecommitdiffstats
path: root/keyboards/mlego/m60_split
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2023-06-18 14:39:07 +1000
committerGitHub <noreply@github.com>2023-06-18 14:39:07 +1000
commitb1783db4eacacaf8181cfbce13146db1941486ba (patch)
treed464d835a882fa7b2c205eb0b2d73f7ddf0b7145 /keyboards/mlego/m60_split
parent7178645be79510eb623098bccbf1724ff9970edc (diff)
Move `RGBLED_NUM` to data driven (#21278)
Diffstat (limited to 'keyboards/mlego/m60_split')
-rw-r--r--keyboards/mlego/m60_split/rev1/config.h2
-rw-r--r--keyboards/mlego/m60_split/rev1/info.json1
-rw-r--r--keyboards/mlego/m60_split/rev2/config.h1
-rw-r--r--keyboards/mlego/m60_split/rev2/info.json1
4 files changed, 2 insertions, 3 deletions
diff --git a/keyboards/mlego/m60_split/rev1/config.h b/keyboards/mlego/m60_split/rev1/config.h
index ea26c474ae..6f08c76e46 100644
--- a/keyboards/mlego/m60_split/rev1/config.h
+++ b/keyboards/mlego/m60_split/rev1/config.h
@@ -28,8 +28,6 @@
#define RGBLIGHT_DEFAULT_HUE 213
-#define RGBLED_NUM 16
-
#define RGBLIGHT_EFFECT_BREATHING
#define RGBLIGHT_EFFECT_RAINBOW_MOOD
#define RGBLIGHT_EFFECT_RAINBOW_SWIRL
diff --git a/keyboards/mlego/m60_split/rev1/info.json b/keyboards/mlego/m60_split/rev1/info.json
index 8d236baac1..deeffe7753 100644
--- a/keyboards/mlego/m60_split/rev1/info.json
+++ b/keyboards/mlego/m60_split/rev1/info.json
@@ -22,6 +22,7 @@
"pin": "B15"
},
"rgblight": {
+ "led_count": 16,
"max_brightness": 128,
"split_count": [8, 8]
},
diff --git a/keyboards/mlego/m60_split/rev2/config.h b/keyboards/mlego/m60_split/rev2/config.h
index 5431a749e0..7373aa2adf 100644
--- a/keyboards/mlego/m60_split/rev2/config.h
+++ b/keyboards/mlego/m60_split/rev2/config.h
@@ -27,7 +27,6 @@
#ifdef RGBLIGHT_ENABLE
#define RGBLIGHT_LAYERS
-#define RGBLED_NUM 16
#define RGBLIGHT_EFFECT_BREATHING
#define RGBLIGHT_EFFECT_RAINBOW_MOOD
#define RGBLIGHT_EFFECT_RAINBOW_SWIRL
diff --git a/keyboards/mlego/m60_split/rev2/info.json b/keyboards/mlego/m60_split/rev2/info.json
index f0e64efb0b..bfa70ec0bd 100644
--- a/keyboards/mlego/m60_split/rev2/info.json
+++ b/keyboards/mlego/m60_split/rev2/info.json
@@ -19,6 +19,7 @@
"scroll_lock": "B13"
},
"rgblight": {
+ "led_count": 16,
"split_count": [8, 8]
},
"ws2812": {