summaryrefslogtreecommitdiffstats
path: root/keyboards/sofle/keyhive
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/sofle/keyhive
parentf91ca76c783b10b5edc167efeb0825cf8249e097 (diff)
Move `RGBLED_SPLIT` to data driven (#21113)
Co-authored-by: Joel Challis <git@zvecr.com>
Diffstat (limited to 'keyboards/sofle/keyhive')
-rwxr-xr-xkeyboards/sofle/keyhive/config.h1
-rw-r--r--keyboards/sofle/keyhive/info.json3
2 files changed, 2 insertions, 2 deletions
diff --git a/keyboards/sofle/keyhive/config.h b/keyboards/sofle/keyhive/config.h
index 9e36e1588e..2dccaba6ba 100755
--- a/keyboards/sofle/keyhive/config.h
+++ b/keyboards/sofle/keyhive/config.h
@@ -32,7 +32,6 @@
// by defining in the keyboard, incompatible keymaps will fail to compile.
#ifdef RGBLIGHT_ENABLE
# define RGBLED_NUM 74
-# define RGBLED_SPLIT {37,37}
# define RGBLIGHT_HUE_STEP 10
# define RGBLIGHT_SAT_STEP 17
# define RGBLIGHT_VAL_STEP 17
diff --git a/keyboards/sofle/keyhive/info.json b/keyboards/sofle/keyhive/info.json
index 7a453b675e..12053234ff 100644
--- a/keyboards/sofle/keyhive/info.json
+++ b/keyboards/sofle/keyhive/info.json
@@ -10,7 +10,8 @@
"pin": "D3"
},
"rgblight": {
- "max_brightness": 100
+ "max_brightness": 100,
+ "split_count": [37, 37]
},
"matrix_pins": {
"cols": ["B6", "B2", "B3", "B1", "F7", "F6", null],