summaryrefslogtreecommitdiffstats
path: root/keyboards/jiran
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/jiran
parentf91ca76c783b10b5edc167efeb0825cf8249e097 (diff)
Move `RGBLED_SPLIT` to data driven (#21113)
Co-authored-by: Joel Challis <git@zvecr.com>
Diffstat (limited to 'keyboards/jiran')
-rw-r--r--keyboards/jiran/rev2/config.h1
-rw-r--r--keyboards/jiran/rev2/info.json3
2 files changed, 3 insertions, 1 deletions
diff --git a/keyboards/jiran/rev2/config.h b/keyboards/jiran/rev2/config.h
index ce78530cb7..39e1eaae4c 100644
--- a/keyboards/jiran/rev2/config.h
+++ b/keyboards/jiran/rev2/config.h
@@ -29,7 +29,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define RGBLIGHT_EFFECT_TWINKLE
#define RGBLED_NUM 56
#define RGBLIGHT_SPLIT
-#define RGBLED_SPLIT { 28, 28 }
#define RGBLIGHT_HUE_STEP 10
#define RGBLIGHT_SAT_STEP 17
#define RGBLIGHT_VAL_STEP 17
diff --git a/keyboards/jiran/rev2/info.json b/keyboards/jiran/rev2/info.json
index 8539b47652..9ee15f7af1 100644
--- a/keyboards/jiran/rev2/info.json
+++ b/keyboards/jiran/rev2/info.json
@@ -1,4 +1,7 @@
{
+ "rgblight": {
+ "split_count": [28, 28]
+ },
"ws2812": {
"pin": "B6"
},