summaryrefslogtreecommitdiff
path: root/keyboards/jian
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
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')
-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
6 files changed, 9 insertions, 3 deletions
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"
},