summaryrefslogtreecommitdiffstats
path: root/keyboards/jian/rev2
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 /keyboards/jian/rev2
parentc011eb1ead8970411c16b61f74b76a4364e258eb (diff)
Move `RGBLIGHT_SPLIT` to data driven (#21190)
* Move `RGBLIGHT_SPLIT` to data driven * Remove where `split_count` is already set
Diffstat (limited to 'keyboards/jian/rev2')
-rw-r--r--keyboards/jian/rev2/config.h1
-rw-r--r--keyboards/jian/rev2/info.json3
2 files changed, 3 insertions, 1 deletions
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"
},