summaryrefslogtreecommitdiff
path: root/keyboards/handwired/tsubasa
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/handwired/tsubasa
parentf91ca76c783b10b5edc167efeb0825cf8249e097 (diff)
Move `RGBLED_SPLIT` to data driven (#21113)
Co-authored-by: Joel Challis <git@zvecr.com>
Diffstat (limited to 'keyboards/handwired/tsubasa')
-rw-r--r--keyboards/handwired/tsubasa/config.h1
-rw-r--r--keyboards/handwired/tsubasa/info.json3
2 files changed, 3 insertions, 1 deletions
diff --git a/keyboards/handwired/tsubasa/config.h b/keyboards/handwired/tsubasa/config.h
index dee2156fb5..fee26e1035 100644
--- a/keyboards/handwired/tsubasa/config.h
+++ b/keyboards/handwired/tsubasa/config.h
@@ -20,7 +20,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
# define RGBLED_NUM 12
# define RGBLIGHT_SPLIT
-# define RGBLED_SPLIT {6, 6}
# define RGBLIGHT_HUE_STEP 8
# define RGBLIGHT_SAT_STEP 1
# define RGBLIGHT_VAL_STEP 1
diff --git a/keyboards/handwired/tsubasa/info.json b/keyboards/handwired/tsubasa/info.json
index 351731a613..e196646759 100644
--- a/keyboards/handwired/tsubasa/info.json
+++ b/keyboards/handwired/tsubasa/info.json
@@ -8,6 +8,9 @@
"pid": "0x0000",
"device_version": "1.0.0"
},
+ "rgblight": {
+ "split_count": [6, 6]
+ },
"ws2812": {
"pin": "D2"
},