summaryrefslogtreecommitdiff
path: root/keyboards/bastardkb/skeletyl
diff options
context:
space:
mode:
authorJoel Challis <git@zvecr.com>2024-01-04 06:00:28 +0000
committerGitHub <noreply@github.com>2024-01-04 06:00:28 +0000
commitc412b7fc423892e16280435387a645fc6e3b2c8a (patch)
tree7233451ca7f4843a161963f31bb33707e85b9475 /keyboards/bastardkb/skeletyl
parent5267329caa6ce08a5497d774bae0c8f386220a16 (diff)
Migrate RGB Matrix config to info.json - B (#22806)
Diffstat (limited to 'keyboards/bastardkb/skeletyl')
-rw-r--r--keyboards/bastardkb/skeletyl/config.h29
-rw-r--r--keyboards/bastardkb/skeletyl/info.json12
2 files changed, 12 insertions, 29 deletions
diff --git a/keyboards/bastardkb/skeletyl/config.h b/keyboards/bastardkb/skeletyl/config.h
deleted file mode 100644
index 48254935cb..0000000000
--- a/keyboards/bastardkb/skeletyl/config.h
+++ /dev/null
@@ -1,29 +0,0 @@
-/*
- * Copyright 2021 Quentin LEBASTARD <qlebastard@gmail.com>
- * Copyright 2022 Charly Delay <charly@codesink.dev> (@0xcharly)
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
-
-#pragma once
-
-/* RGB matrix support. */
-#ifdef RGB_MATRIX_ENABLE
-# define SPLIT_TRANSPORT_MIRROR
-# define RGB_MATRIX_LED_COUNT 36
-# define RGB_MATRIX_SPLIT { 18, 18 }
-# define RGB_MATRIX_MAXIMUM_BRIGHTNESS 50
-# define RGB_MATRIX_SLEEP
-# define RGB_MATRIX_KEYPRESSES
-#endif
diff --git a/keyboards/bastardkb/skeletyl/info.json b/keyboards/bastardkb/skeletyl/info.json
index b4bb9ea78e..e4ac29207d 100644
--- a/keyboards/bastardkb/skeletyl/info.json
+++ b/keyboards/bastardkb/skeletyl/info.json
@@ -3,10 +3,22 @@
"usb": {
"pid": "0x1830"
},
+ "rgb_matrix": {
+ "max_brightness": 50,
+ "sleep": true,
+ "split_count": [18, 18]
+ },
"rgblight": {
"led_count": 36,
"split_count": [18, 18]
},
+ "split": {
+ "transport": {
+ "sync": {
+ "matrix_state": true
+ }
+ }
+ },
"community_layouts": ["split_3x5_3"],
"layouts": {
"LAYOUT_split_3x5_3": {