summaryrefslogtreecommitdiff
path: root/keyboards/zvecr
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2023-06-06 11:08:04 +1000
committerGitHub <noreply@github.com>2023-06-06 11:08:04 +1000
commitc9cf9712aaefc2356305cbc731d06f1b1948d8c1 (patch)
treef5a65b4859b44144b1d9b756f8a7f3bb39191198 /keyboards/zvecr
parentf91ca76c783b10b5edc167efeb0825cf8249e097 (diff)
Move `RGBLED_SPLIT` to data driven (#21113)
Co-authored-by: Joel Challis <git@zvecr.com>
Diffstat (limited to 'keyboards/zvecr')
-rw-r--r--keyboards/zvecr/split_blackpill/config.h1
-rw-r--r--keyboards/zvecr/split_blackpill/info.json3
-rw-r--r--keyboards/zvecr/zv48/config.h1
-rw-r--r--keyboards/zvecr/zv48/info.json3
4 files changed, 5 insertions, 3 deletions
diff --git a/keyboards/zvecr/split_blackpill/config.h b/keyboards/zvecr/split_blackpill/config.h
index 3cb23cdcc5..ca2efbedc2 100644
--- a/keyboards/zvecr/split_blackpill/config.h
+++ b/keyboards/zvecr/split_blackpill/config.h
@@ -21,7 +21,6 @@
#define SELECT_SOFT_SERIAL_SPEED 0
#define RGBLED_NUM 24
-#define RGBLED_SPLIT { 12, 12 }
#define RGBLIGHT_EFFECT_BREATHING
#define RGBLIGHT_EFFECT_RAINBOW_MOOD
#define RGBLIGHT_EFFECT_RAINBOW_SWIRL
diff --git a/keyboards/zvecr/split_blackpill/info.json b/keyboards/zvecr/split_blackpill/info.json
index f657556db9..a4265c688b 100644
--- a/keyboards/zvecr/split_blackpill/info.json
+++ b/keyboards/zvecr/split_blackpill/info.json
@@ -25,6 +25,9 @@
}
}
},
+ "rgblight": {
+ "split_count": [12, 12]
+ },
"ws2812": {
"pin": "B4",
"driver": "pwm"
diff --git a/keyboards/zvecr/zv48/config.h b/keyboards/zvecr/zv48/config.h
index 25caa13057..e18d3bfb99 100644
--- a/keyboards/zvecr/zv48/config.h
+++ b/keyboards/zvecr/zv48/config.h
@@ -22,7 +22,6 @@
#define SERIAL_USART_SPEED 921600
#define RGBLED_NUM 48
-#define RGBLED_SPLIT {24, 24}
#define RGBLIGHT_EFFECT_BREATHING
#define RGBLIGHT_EFFECT_RAINBOW_MOOD
#define RGBLIGHT_EFFECT_RAINBOW_SWIRL
diff --git a/keyboards/zvecr/zv48/info.json b/keyboards/zvecr/zv48/info.json
index 942a089b64..b0536d9284 100644
--- a/keyboards/zvecr/zv48/info.json
+++ b/keyboards/zvecr/zv48/info.json
@@ -23,7 +23,8 @@
"driver": "pwm"
},
"rgblight": {
- "max_brightness": 120
+ "max_brightness": 120,
+ "split_count": [24, 24]
},
"split": {
"soft_serial_pin": "B6",