summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2023-06-15 22:27:26 +1000
committerGitHub <noreply@github.com>2023-06-15 13:27:26 +0100
commite8ca83a353cae7a6faaf65d95ceb1f64278f27f4 (patch)
tree6150299aea107554029f3ca394d38786959eab2b
parentc011eb1ead8970411c16b61f74b76a4364e258eb (diff)
Move `RGBLIGHT_SPLIT` to data driven (#21190)
* Move `RGBLIGHT_SPLIT` to data driven * Remove where `split_count` is already set
-rw-r--r--keyboards/aleblazer/zodiark/config.h1
-rw-r--r--keyboards/avalanche/v2/config.h1
-rw-r--r--keyboards/avalanche/v3/config.h1
-rw-r--r--keyboards/avalanche/v4/config.h1
-rw-r--r--keyboards/bastardkb/tbk/config.h1
-rw-r--r--keyboards/bluebell/swoop/config.h1
-rw-r--r--keyboards/crkbd/rev1/config.h1
-rw-r--r--keyboards/doppelganger/config.h1
-rw-r--r--keyboards/draculad/config.h1
-rw-r--r--keyboards/draculad/info.json3
-rw-r--r--keyboards/flxlb/zplit/config.h1
-rw-r--r--keyboards/halfcliff/config.h1
-rw-r--r--keyboards/handwired/brain/config.h2
-rw-r--r--keyboards/handwired/brain/info.json1
-rw-r--r--keyboards/handwired/freoduo/config.h1
-rw-r--r--keyboards/handwired/tractyl_manuform/5x6_right/elite_c/config.h1
-rw-r--r--keyboards/handwired/tractyl_manuform/5x6_right/f303/config.h1
-rw-r--r--keyboards/handwired/tractyl_manuform/5x6_right/f411/config.h1
-rw-r--r--keyboards/handwired/tractyl_manuform/5x6_right/teensy2pp/config.h1
-rw-r--r--keyboards/handwired/tsubasa/config.h1
-rw-r--r--keyboards/helix/rev3_4rows/config.h1
-rw-r--r--keyboards/helix/rev3_5rows/config.h1
-rw-r--r--keyboards/hidtech/bastyl/config.h1
-rw-r--r--keyboards/hidtech/bastyl/info.json3
-rw-r--r--keyboards/jian/nsrev2/config.h1
-rw-r--r--keyboards/jian/nsrev2/info.json3
-rw-r--r--keyboards/jian/rev1/config.h1
-rw-r--r--keyboards/jian/rev1/info.json3
-rw-r--r--keyboards/jian/rev2/config.h1
-rw-r--r--keyboards/jian/rev2/info.json3
-rw-r--r--keyboards/jiran/rev2/config.h1
-rw-r--r--keyboards/kagizaraya/scythe/config.h1
-rw-r--r--keyboards/kagizaraya/scythe/info.json3
-rw-r--r--keyboards/kapl/rev1/config.h1
-rw-r--r--keyboards/keycapsss/kimiko/rev1/config.h1
-rw-r--r--keyboards/lily58/glow_enc/config.h2
-rw-r--r--keyboards/lily58/light/config.h1
-rw-r--r--keyboards/manta60/config.h1
-rw-r--r--keyboards/mechwild/mokulua/mirrored/config.h1
-rw-r--r--keyboards/mechwild/mokulua/standard/config.h1
-rw-r--r--keyboards/merge/um70/config.h1
-rw-r--r--keyboards/merge/um80/config.h1
-rw-r--r--keyboards/meson/config.h1
-rw-r--r--keyboards/mint60/config.h1
-rw-r--r--keyboards/mint60/info.json3
-rw-r--r--keyboards/mlego/m60_split/rev1/config.h1
-rw-r--r--keyboards/mlego/m60_split/rev2/config.h1
-rw-r--r--keyboards/omkbd/ergodash/mini/config.h1
-rw-r--r--keyboards/omkbd/ergodash/rev1/config.h1
-rw-r--r--keyboards/omkbd/runner3680/3x6/config.h1
-rw-r--r--keyboards/omkbd/runner3680/3x7/config.h1
-rw-r--r--keyboards/omkbd/runner3680/3x8/config.h1
-rw-r--r--keyboards/omkbd/runner3680/4x6/config.h1
-rw-r--r--keyboards/omkbd/runner3680/4x7/config.h1
-rw-r--r--keyboards/omkbd/runner3680/4x8/config.h1
-rw-r--r--keyboards/omkbd/runner3680/5x6/config.h1
-rw-r--r--keyboards/omkbd/runner3680/5x6_5x8/config.h1
-rw-r--r--keyboards/omkbd/runner3680/5x7/config.h1
-rw-r--r--keyboards/omkbd/runner3680/5x8/config.h1
-rw-r--r--keyboards/rate/pistachio/rev1/config.h1
-rw-r--r--keyboards/rate/pistachio/rev2/config.h1
-rw-r--r--keyboards/redox/rev1/config.h2
-rw-r--r--keyboards/redox/rev1/info.json3
-rw-r--r--keyboards/rura66/rev1/config.h1
-rw-r--r--keyboards/salicylic_acid3/7skb/rev1/config.h1
-rw-r--r--keyboards/salicylic_acid3/7splus/config.h1
-rw-r--r--keyboards/salicylic_acid3/ergoarrows/config.h1
-rw-r--r--keyboards/salicylic_acid3/jisplit89/rev1/config.h1
-rw-r--r--keyboards/salicylic_acid3/nknl7en/config.h1
-rw-r--r--keyboards/salicylic_acid3/nknl7jp/config.h1
-rw-r--r--keyboards/silverbullet44/config.h1
-rw-r--r--keyboards/viktus/sp_mini/config.h1
-rw-r--r--keyboards/yoichiro/lunakey_mini/config.h1
73 files changed, 25 insertions, 67 deletions
diff --git a/keyboards/aleblazer/zodiark/config.h b/keyboards/aleblazer/zodiark/config.h
index 05e593fa26..c36702bbff 100644
--- a/keyboards/aleblazer/zodiark/config.h
+++ b/keyboards/aleblazer/zodiark/config.h
@@ -20,7 +20,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#ifdef RGBLIGHT_ENABLE
#define RGBLED_NUM 68
-#define RGBLIGHT_SPLIT
#define RGBLIGHT_EFFECT_BREATHING
#define RGBLIGHT_EFFECT_RAINBOW_MOOD
#define RGBLIGHT_EFFECT_RAINBOW_SWIRL
diff --git a/keyboards/avalanche/v2/config.h b/keyboards/avalanche/v2/config.h
index e460f21459..24c2465bff 100644
--- a/keyboards/avalanche/v2/config.h
+++ b/keyboards/avalanche/v2/config.h
@@ -4,4 +4,3 @@
#pragma once
#define RGBLED_NUM 12
-#define RGBLIGHT_SPLIT
diff --git a/keyboards/avalanche/v3/config.h b/keyboards/avalanche/v3/config.h
index e460f21459..24c2465bff 100644
--- a/keyboards/avalanche/v3/config.h
+++ b/keyboards/avalanche/v3/config.h
@@ -4,4 +4,3 @@
#pragma once
#define RGBLED_NUM 12
-#define RGBLIGHT_SPLIT
diff --git a/keyboards/avalanche/v4/config.h b/keyboards/avalanche/v4/config.h
index 37d139eaad..030111f9bb 100644
--- a/keyboards/avalanche/v4/config.h
+++ b/keyboards/avalanche/v4/config.h
@@ -5,7 +5,6 @@
#ifdef RGBLIGHT_ENABLE
# define RGBLED_NUM 64
-# define RGBLIGHT_SPLIT
# define RGBLIGHT_HUE_STEP 10
# define RGBLIGHT_SAT_STEP 17
# define RGBLIGHT_VAL_STEP 17
diff --git a/keyboards/bastardkb/tbk/config.h b/keyboards/bastardkb/tbk/config.h
index c5dd67e105..1bea55ef8e 100644
--- a/keyboards/bastardkb/tbk/config.h
+++ b/keyboards/bastardkb/tbk/config.h
@@ -18,7 +18,6 @@
#pragma once
#define RGBLED_NUM 38
-#define RGBLIGHT_SPLIT
#define RGBLIGHT_EFFECT_BREATHING
#define RGBLIGHT_EFFECT_RAINBOW_MOOD
#define RGBLIGHT_EFFECT_RAINBOW_SWIRL
diff --git a/keyboards/bluebell/swoop/config.h b/keyboards/bluebell/swoop/config.h
index a502e8b62b..1637f368a0 100644
--- a/keyboards/bluebell/swoop/config.h
+++ b/keyboards/bluebell/swoop/config.h
@@ -29,7 +29,6 @@
#define RGBLIGHT_EFFECT_STATIC_GRADIENT
#define RGBLIGHT_EFFECT_BREATHING
#define RGBLED_NUM 36
- #define RGBLIGHT_SPLIT
#define RGBLIGHT_HUE_STEP 10
#define RGBLIGHT_SAT_STEP 17
#define RGBLIGHT_VAL_STEP 17
diff --git a/keyboards/crkbd/rev1/config.h b/keyboards/crkbd/rev1/config.h
index f3e3bc4c51..422f5eb5cd 100644
--- a/keyboards/crkbd/rev1/config.h
+++ b/keyboards/crkbd/rev1/config.h
@@ -20,7 +20,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#ifdef RGBLIGHT_ENABLE
# define RGBLED_NUM 54 // Number of LEDs
-# define RGBLIGHT_SPLIT
#endif
#ifdef RGB_MATRIX_ENABLE
diff --git a/keyboards/doppelganger/config.h b/keyboards/doppelganger/config.h
index b61d890583..35608a3323 100644
--- a/keyboards/doppelganger/config.h
+++ b/keyboards/doppelganger/config.h
@@ -22,7 +22,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
// #define USE_I2C
#define RGBLED_NUM 2
-#define RGBLIGHT_SPLIT
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
#define LOCKING_SUPPORT_ENABLE
diff --git a/keyboards/draculad/config.h b/keyboards/draculad/config.h
index a9f78283d0..312d3c290b 100644
--- a/keyboards/draculad/config.h
+++ b/keyboards/draculad/config.h
@@ -27,7 +27,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define RGBLIGHT_EFFECT_STATIC_GRADIENT
#define RGBLIGHT_EFFECT_BREATHING
#define RGBLED_NUM 10
-#define RGBLIGHT_SPLIT
#define RGBLIGHT_HUE_STEP 8
#define RGBLIGHT_SAT_STEP 8
#define RGBLIGHT_VAL_STEP 8
diff --git a/keyboards/draculad/info.json b/keyboards/draculad/info.json
index 57250d57ef..87eff3a328 100644
--- a/keyboards/draculad/info.json
+++ b/keyboards/draculad/info.json
@@ -8,6 +8,9 @@
"pid": "0x1B1E",
"device_version": "0.0.1"
},
+ "rgblight": {
+ "split": true
+ },
"ws2812": {
"pin": "D3"
},
diff --git a/keyboards/flxlb/zplit/config.h b/keyboards/flxlb/zplit/config.h
index ad1612280c..e3d3aa97cf 100644
--- a/keyboards/flxlb/zplit/config.h
+++ b/keyboards/flxlb/zplit/config.h
@@ -30,7 +30,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* ws2812 RGB LED */
#define RGBLED_NUM 16
-#define RGBLIGHT_SPLIT
#define RGBLIGHT_EFFECT_BREATHING
#define RGBLIGHT_EFFECT_RAINBOW_MOOD
#define RGBLIGHT_EFFECT_RAINBOW_SWIRL
diff --git a/keyboards/halfcliff/config.h b/keyboards/halfcliff/config.h
index 192267af92..e7c9ad2e3b 100644
--- a/keyboards/halfcliff/config.h
+++ b/keyboards/halfcliff/config.h
@@ -26,7 +26,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define MATRIX_COL_PINS { B4, E6, C6, B6, B2 }
#define RGBLED_NUM 10
- #define RGBLIGHT_SPLIT
#define RGBLIGHT_HUE_STEP 8
#define RGBLIGHT_SAT_STEP 8
#define RGBLIGHT_VAL_STEP 8
diff --git a/keyboards/handwired/brain/config.h b/keyboards/handwired/brain/config.h
index 61dddcd9c2..1e0a226403 100644
--- a/keyboards/handwired/brain/config.h
+++ b/keyboards/handwired/brain/config.h
@@ -44,8 +44,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define RGBLED_NUM 28 // Number of LEDs
-#define RGBLIGHT_SPLIT
-
/*
* Feature disable options
* These options are also useful to firmware size reduction.
diff --git a/keyboards/handwired/brain/info.json b/keyboards/handwired/brain/info.json
index 0454b36669..b4bdbc8420 100644
--- a/keyboards/handwired/brain/info.json
+++ b/keyboards/handwired/brain/info.json
@@ -20,6 +20,7 @@
"pin": "D3"
},
"rgblight": {
+ "split": true,
"max_brightness": 120
},
"split": {
diff --git a/keyboards/handwired/freoduo/config.h b/keyboards/handwired/freoduo/config.h
index 22da5b95eb..ba9904fa49 100644
--- a/keyboards/handwired/freoduo/config.h
+++ b/keyboards/handwired/freoduo/config.h
@@ -20,7 +20,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* ws2812 RGB LED */
#if !defined(RGBLED_NUM)
# define RGBLED_NUM 30
-# define RGBLIGHT_SPLIT
# define RGBLIGHT_LAYERS
#endif
#define RGBLIGHT_EFFECT_BREATHING
diff --git a/keyboards/handwired/tractyl_manuform/5x6_right/elite_c/config.h b/keyboards/handwired/tractyl_manuform/5x6_right/elite_c/config.h
index 9ed3bc9702..c2401d394f 100644
--- a/keyboards/handwired/tractyl_manuform/5x6_right/elite_c/config.h
+++ b/keyboards/handwired/tractyl_manuform/5x6_right/elite_c/config.h
@@ -20,7 +20,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
// WS2812 RGB LED strip input and number of LEDs
#define RGBLED_NUM 20
-#define RGBLIGHT_SPLIT
#define AUDIO_PIN C6
diff --git a/keyboards/handwired/tractyl_manuform/5x6_right/f303/config.h b/keyboards/handwired/tractyl_manuform/5x6_right/f303/config.h
index 9c02cc3b28..a5ab8a89c7 100644
--- a/keyboards/handwired/tractyl_manuform/5x6_right/f303/config.h
+++ b/keyboards/handwired/tractyl_manuform/5x6_right/f303/config.h
@@ -30,7 +30,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define WS2812_DMA_CHANNEL 3 // DMA Channel for TIMx_UP, see the respective reference manual for the appropriate values for your MCU.
#define RGBLED_NUM 20
-#define RGBLIGHT_SPLIT
#define DEBUG_LED_PIN C13
diff --git a/keyboards/handwired/tractyl_manuform/5x6_right/f411/config.h b/keyboards/handwired/tractyl_manuform/5x6_right/f411/config.h
index 532ca017fb..b8b8223cde 100644
--- a/keyboards/handwired/tractyl_manuform/5x6_right/f411/config.h
+++ b/keyboards/handwired/tractyl_manuform/5x6_right/f411/config.h
@@ -33,7 +33,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define RGBLED_NUM 57
-#define RGBLIGHT_SPLIT
#define DEBUG_LED_PIN C13
diff --git a/keyboards/handwired/tractyl_manuform/5x6_right/teensy2pp/config.h b/keyboards/handwired/tractyl_manuform/5x6_right/teensy2pp/config.h
index c45500050a..3440f85a19 100644
--- a/keyboards/handwired/tractyl_manuform/5x6_right/teensy2pp/config.h
+++ b/keyboards/handwired/tractyl_manuform/5x6_right/teensy2pp/config.h
@@ -20,7 +20,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
// WS2812 RGB LED strip input and number of LEDs
#define RGBLED_NUM 20
-#define RGBLIGHT_SPLIT
#define RGBLIGHT_LIMIT_VAL 80
#define DEBUG_LED_PIN D6
diff --git a/keyboards/handwired/tsubasa/config.h b/keyboards/handwired/tsubasa/config.h
index fee26e1035..e0c594099a 100644
--- a/keyboards/handwired/tsubasa/config.h
+++ b/keyboards/handwired/tsubasa/config.h
@@ -19,7 +19,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define MASTER_RIGHT
# define RGBLED_NUM 12
-# define RGBLIGHT_SPLIT
# define RGBLIGHT_HUE_STEP 8
# define RGBLIGHT_SAT_STEP 1
# define RGBLIGHT_VAL_STEP 1
diff --git a/keyboards/helix/rev3_4rows/config.h b/keyboards/helix/rev3_4rows/config.h
index 8a29ae41f7..527cb478e1 100644
--- a/keyboards/helix/rev3_4rows/config.h
+++ b/keyboards/helix/rev3_4rows/config.h
@@ -64,7 +64,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#endif
#ifdef RGBLIGHT_ENABLE
- #define RGBLIGHT_SPLIT
// #define RGBLIGHT_HUE_STEP 8
// #define RGBLIGHT_SAT_STEP 8
// #define RGBLIGHT_VAL_STEP 8
diff --git a/keyboards/helix/rev3_5rows/config.h b/keyboards/helix/rev3_5rows/config.h
index 716bdf162f..5d1a5f1f53 100644
--- a/keyboards/helix/rev3_5rows/config.h
+++ b/keyboards/helix/rev3_5rows/config.h
@@ -64,7 +64,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#endif
#ifdef RGBLIGHT_ENABLE
- #define RGBLIGHT_SPLIT
// #define RGBLIGHT_HUE_STEP 8
// #define RGBLIGHT_SAT_STEP 8
// #define RGBLIGHT_VAL_STEP 8
diff --git a/keyboards/hidtech/bastyl/config.h b/keyboards/hidtech/bastyl/config.h
index 48ac76c74b..ae0e277e8d 100644
--- a/keyboards/hidtech/bastyl/config.h
+++ b/keyboards/hidtech/bastyl/config.h
@@ -19,7 +19,6 @@
#pragma once
#define RGBLED_NUM 38
-#define RGBLIGHT_SPLIT
#define RGBLIGHT_EFFECT_BREATHING
#define RGBLIGHT_EFFECT_RAINBOW_MOOD
#define RGBLIGHT_EFFECT_RAINBOW_SWIRL
diff --git a/keyboards/hidtech/bastyl/info.json b/keyboards/hidtech/bastyl/info.json
index 02b8854e36..1f95aabdb5 100644
--- a/keyboards/hidtech/bastyl/info.json
+++ b/keyboards/hidtech/bastyl/info.json
@@ -19,6 +19,9 @@
"ws2812": {
"pin": "D2"
},
+ "rgblight": {
+ "split": true
+ },
"processor": "atmega32u4",
"bootloader": "atmel-dfu",
"layouts": {
diff --git a/keyboards/jian/nsrev2/config.h b/keyboards/jian/nsrev2/config.h
index 5bd79d3ce0..19585be49a 100644
--- a/keyboards/jian/nsrev2/config.h
+++ b/keyboards/jian/nsrev2/config.h
@@ -34,7 +34,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define RGBLIGHT_EFFECT_TWINKLE
#define RGBLIGHT_SLEEP
-#define RGBLIGHT_SPLIT
#ifndef IOS_DEVICE_ENABLE
#if RGBLED_NUM <= 6
diff --git a/keyboards/jian/nsrev2/info.json b/keyboards/jian/nsrev2/info.json
index 955fc517de..e60453baa3 100644
--- a/keyboards/jian/nsrev2/info.json
+++ b/keyboards/jian/nsrev2/info.json
@@ -13,6 +13,9 @@
"levels": 5,
"breathing": true
},
+ "rgblight": {
+ "split": true
+ },
"ws2812": {
"pin": "D4"
},
diff --git a/keyboards/jian/rev1/config.h b/keyboards/jian/rev1/config.h
index 11b99cc739..3e51b397d3 100644
--- a/keyboards/jian/rev1/config.h
+++ b/keyboards/jian/rev1/config.h
@@ -87,7 +87,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define RGBLIGHT_SLEEP
-#define RGBLIGHT_SPLIT
#ifndef IOS_DEVICE_ENABLE
#if RGBLED_NUM <= 6
diff --git a/keyboards/jian/rev1/info.json b/keyboards/jian/rev1/info.json
index e7e386088a..b31d55dfa3 100644
--- a/keyboards/jian/rev1/info.json
+++ b/keyboards/jian/rev1/info.json
@@ -12,6 +12,9 @@
"pin": "B6",
"levels": 5
},
+ "rgblight": {
+ "split": true
+ },
"ws2812": {
"pin": "D4"
},
diff --git a/keyboards/jian/rev2/config.h b/keyboards/jian/rev2/config.h
index 147c2cf147..f7363db53d 100644
--- a/keyboards/jian/rev2/config.h
+++ b/keyboards/jian/rev2/config.h
@@ -38,7 +38,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define RGBLIGHT_EFFECT_TWINKLE
#define RGBLIGHT_SLEEP
-#define RGBLIGHT_SPLIT
#ifndef IOS_DEVICE_ENABLE
#if RGBLED_NUM <= 6
diff --git a/keyboards/jian/rev2/info.json b/keyboards/jian/rev2/info.json
index 7fecaed1f0..dcf0e7ef2c 100644
--- a/keyboards/jian/rev2/info.json
+++ b/keyboards/jian/rev2/info.json
@@ -12,6 +12,9 @@
"pin": "C6",
"levels": 5
},
+ "rgblight": {
+ "split": true
+ },
"ws2812": {
"pin": "D4"
},
diff --git a/keyboards/jiran/rev2/config.h b/keyboards/jiran/rev2/config.h
index 39e1eaae4c..1c4eb6fae0 100644
--- a/keyboards/jiran/rev2/config.h
+++ b/keyboards/jiran/rev2/config.h
@@ -28,7 +28,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define RGBLIGHT_EFFECT_ALTERNATING
#define RGBLIGHT_EFFECT_TWINKLE
#define RGBLED_NUM 56
-#define RGBLIGHT_SPLIT
#define RGBLIGHT_HUE_STEP 10
#define RGBLIGHT_SAT_STEP 17
#define RGBLIGHT_VAL_STEP 17
diff --git a/keyboards/kagizaraya/scythe/config.h b/keyboards/kagizaraya/scythe/config.h
index 96e9669046..cafa5575bb 100644
--- a/keyboards/kagizaraya/scythe/config.h
+++ b/keyboards/kagizaraya/scythe/config.h
@@ -16,7 +16,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#pragma once
-#define RGBLIGHT_SPLIT 1
#define RGBLIGHT_EFFECT_BREATHING
#define RGBLIGHT_EFFECT_RAINBOW_MOOD
#define RGBLIGHT_EFFECT_RAINBOW_SWIRL
diff --git a/keyboards/kagizaraya/scythe/info.json b/keyboards/kagizaraya/scythe/info.json
index 8198cd0017..0aaeb704ac 100644
--- a/keyboards/kagizaraya/scythe/info.json
+++ b/keyboards/kagizaraya/scythe/info.json
@@ -19,6 +19,9 @@