summaryrefslogtreecommitdiff
path: root/keyboards/splitkb
diff options
context:
space:
mode:
authorJoel Challis <git@zvecr.com>2024-01-16 01:03:55 +0000
committerGitHub <noreply@github.com>2024-01-16 01:03:55 +0000
commita90b45e8320389160ee1a649ccf95d6d820fd277 (patch)
tree2a7dbc7cdb6dc5d1ffef7511ad2307ea0a10db8c /keyboards/splitkb
parentde6ae3408c798ab38ed09b6c91ae1684121f5ca2 (diff)
Migrate RGB Matrix config to info.json - RS (#22909)
Diffstat (limited to 'keyboards/splitkb')
-rw-r--r--keyboards/splitkb/aurora/corne/rev1/config.h8
-rw-r--r--keyboards/splitkb/aurora/corne/rev1/info.json8
-rw-r--r--keyboards/splitkb/aurora/helix/rev1/config.h2
-rw-r--r--keyboards/splitkb/aurora/lily58/rev1/config.h7
-rw-r--r--keyboards/splitkb/aurora/lily58/rev1/info.json8
-rw-r--r--keyboards/splitkb/aurora/sofle_v2/rev1/config.h2
-rw-r--r--keyboards/splitkb/aurora/sweep/rev1/config.h7
-rw-r--r--keyboards/splitkb/aurora/sweep/rev1/info.json8
-rw-r--r--keyboards/splitkb/kyria/rev1/config.h9
-rw-r--r--keyboards/splitkb/kyria/rev1/info.json10
-rw-r--r--keyboards/splitkb/kyria/rev2/config.h9
-rw-r--r--keyboards/splitkb/kyria/rev2/info.json10
-rw-r--r--keyboards/splitkb/kyria/rev3/config.h7
-rw-r--r--keyboards/splitkb/kyria/rev3/info.json8
14 files changed, 46 insertions, 57 deletions
diff --git a/keyboards/splitkb/aurora/corne/rev1/config.h b/keyboards/splitkb/aurora/corne/rev1/config.h
index 340aff824a..f37b59a952 100644
--- a/keyboards/splitkb/aurora/corne/rev1/config.h
+++ b/keyboards/splitkb/aurora/corne/rev1/config.h
@@ -25,11 +25,3 @@
25# define OLED_DISPLAY_128X32 25# define OLED_DISPLAY_128X32
26# define SPLIT_OLED_ENABLE 26# define SPLIT_OLED_ENABLE
27#endif 27#endif
28
29// Not yet available in `info.json`
30#ifdef RGB_MATRIX_ENABLE
31# define RGB_MATRIX_MAXIMUM_BRIGHTNESS 128
32# define RGB_MATRIX_LED_COUNT 54
33# define RGB_MATRIX_SPLIT { 27, 27 }
34# define SPLIT_TRANSPORT_MIRROR
35#endif
diff --git a/keyboards/splitkb/aurora/corne/rev1/info.json b/keyboards/splitkb/aurora/corne/rev1/info.json
index d1725f215e..2e0b74b5a8 100644
--- a/keyboards/splitkb/aurora/corne/rev1/info.json
+++ b/keyboards/splitkb/aurora/corne/rev1/info.json
@@ -95,6 +95,11 @@
95 {"pin_a": "F6", "pin_b": "F7"} 95 {"pin_a": "F6", "pin_b": "F7"}
96 ] 96 ]
97 } 97 }
98 },
99 "transport": {
100 "sync": {
101 "matrix_state": true
102 }
98 } 103 }
99 }, 104 },
100 "rgblight": { 105 "rgblight": {
@@ -164,6 +169,7 @@
164 {"flags": 4, "matrix": [5, 0], "x": 224, "y": 24}, // R SW12 169 {"flags": 4, "matrix": [5, 0], "x": 224, "y": 24}, // R SW12
165 {"flags": 4, "matrix": [6, 0], "x": 224, "y": 41} // R SW18 170 {"flags": 4, "matrix": [6, 0], "x": 224, "y": 41} // R SW18
166 ], 171 ],
167 "max_brightness": 128 172 "max_brightness": 128,
173 "split_count": [27, 27]
168 } 174 }
169} 175}
diff --git a/keyboards/splitkb/aurora/helix/rev1/config.h b/keyboards/splitkb/aurora/helix/rev1/config.h
index bbf6c50073..f8b8a190fe 100644
--- a/keyboards/splitkb/aurora/helix/rev1/config.h
+++ b/keyboards/splitkb/aurora/helix/rev1/config.h
@@ -20,5 +20,3 @@
20 20
21#define OLED_DISPLAY_128X32 21#define OLED_DISPLAY_128X32
22#define SPLIT_OLED_ENABLE 22#define SPLIT_OLED_ENABLE
23
24#define RGB_MATRIX_LED_COUNT 76 \ No newline at end of file
diff --git a/keyboards/splitkb/aurora/lily58/rev1/config.h b/keyboards/splitkb/aurora/lily58/rev1/config.h
index 1356c62ea1..08a61a2978 100644
--- a/keyboards/splitkb/aurora/lily58/rev1/config.h
+++ b/keyboards/splitkb/aurora/lily58/rev1/config.h
@@ -25,10 +25,3 @@
25# define OLED_DISPLAY_128X32 25# define OLED_DISPLAY_128X32
26# define SPLIT_OLED_ENABLE 26# define SPLIT_OLED_ENABLE
27#endif 27#endif
28
29// Not yet available in `info.json`
30#ifdef RGB_MATRIX_ENABLE
31# define RGB_MATRIX_LED_COUNT 68
32# define RGB_MATRIX_SPLIT { 34, 34 }
33# define SPLIT_TRANSPORT_MIRROR
34#endif
diff --git a/keyboards/splitkb/aurora/lily58/rev1/info.json b/keyboards/splitkb/aurora/lily58/rev1/info.json
index 6a7bfdd26d..f81da08464 100644
--- a/keyboards/splitkb/aurora/lily58/rev1/info.json
+++ b/keyboards/splitkb/aurora/lily58/rev1/info.json
@@ -106,6 +106,11 @@
106 {"pin_a": "F7", "pin_b": "F6"} 106 {"pin_a": "F7", "pin_b": "F6"}
107 ] 107 ]
108 } 108 }
109 },
110 "transport": {
111 "sync": {
112 "matrix_state": true
113 }
109 } 114 }
110 }, 115 },
111 "rgblight": { 116 "rgblight": {
@@ -189,6 +194,7 @@
189 {"flags": 4, "matrix": [9, 3], "x": 173, "y": 62}, // R SW27 194 {"flags": 4, "matrix": [9, 3], "x": 173, "y": 62}, // R SW27
190 {"flags": 4, "matrix": [9, 2], "x": 188, "y": 62} // R SW26 195 {"flags": 4, "matrix": [9, 2], "x": 188, "y": 62} // R SW26
191 ], 196 ],
192 "max_brightness": 128 197 "max_brightness": 128,
198 "split_count": [34, 34]
193 } 199 }
194} 200}
diff --git a/keyboards/splitkb/aurora/sofle_v2/rev1/config.h b/keyboards/splitkb/aurora/sofle_v2/rev1/config.h
index 1896af3cb5..7292b3d8b0 100644
--- a/keyboards/splitkb/aurora/sofle_v2/rev1/config.h
+++ b/keyboards/splitkb/aurora/sofle_v2/rev1/config.h
@@ -20,5 +20,3 @@
20 20
21#define OLED_DISPLAY_128X32 21#define OLED_DISPLAY_128X32
22#define SPLIT_OLED_ENABLE 22#define SPLIT_OLED_ENABLE
23
24#define RGB_MATRIX_LED_COUNT 70 \ No newline at end of file
diff --git a/keyboards/splitkb/aurora/sweep/rev1/config.h b/keyboards/splitkb/aurora/sweep/rev1/config.h
index a3b2cc893e..f37b59a952 100644
--- a/keyboards/splitkb/aurora/sweep/rev1/config.h
+++ b/keyboards/splitkb/aurora/sweep/rev1/config.h
@@ -25,10 +25,3 @@
25# define OLED_DISPLAY_128X32 25# define OLED_DISPLAY_128X32
26# define SPLIT_OLED_ENABLE 26# define SPLIT_OLED_ENABLE
27#endif 27#endif
28
29// Not yet available in `info.json`
30#ifdef RGB_MATRIX_ENABLE
31# define RGB_MATRIX_LED_COUNT 46
32# define RGB_MATRIX_SPLIT { 23, 23 }
33# define SPLIT_TRANSPORT_MIRROR
34#endif
diff --git a/keyboards/splitkb/aurora/sweep/rev1/info.json b/keyboards/splitkb/aurora/sweep/rev1/info.json
index 74de07ceda..0d235cd5b2 100644
--- a/keyboards/splitkb/aurora/sweep/rev1/info.json
+++ b/keyboards/splitkb/aurora/sweep/rev1/info.json
@@ -92,6 +92,11 @@
92 {"pin_a": "F5", "pin_b": "D4"} 92 {"pin_a": "F5", "pin_b": "D4"}
93 ] 93 ]
94 } 94 }
95 },
96 "transport": {
97 "sync": {
98 "matrix_state": true
99 }
95 } 100 }
96 }, 101 },
97 "rgblight": { 102 "rgblight": {
@@ -153,6 +158,7 @@
153 {"flags": 4, "matrix": [7, 0], "x": 132, "y": 64}, 158 {"flags": 4, "matrix": [7, 0], "x": 132, "y": 64},
154 {"flags": 4, "matrix": [7, 1], "x": 153, "y": 60} 159 {"flags": 4, "matrix": [7, 1], "x": 153, "y": 60}
155 ], 160 ],
156 "max_brightness": 128 161 "max_brightness": 128,
162 "split_count": [23, 23]
157 } 163 }
158} 164}
diff --git a/keyboards/splitkb/kyria/rev1/config.h b/keyboards/splitkb/kyria/rev1/config.h
index 2938523aee..d666099135 100644
--- a/keyboards/splitkb/kyria/rev1/config.h
+++ b/keyboards/splitkb/kyria/rev1/config.h
@@ -45,12 +45,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
45# define OLED_DISPLAY_128X64 45# define OLED_DISPLAY_128X64
46# define SPLIT_OLED_ENABLE 46# define SPLIT_OLED_ENABLE
47#endif 47#endif
48
49/* RGB matrix support */
50#ifdef RGB_MATRIX_ENABLE
51# define SPLIT_TRANSPORT_MIRROR
52# define RGB_MATRIX_LED_COUNT 20 // Number of LEDs
53# define RGB_MATRIX_SPLIT { 10, 10 }
54# define RGB_MATRIX_MAXIMUM_BRIGHTNESS 170
55# define RGB_MATRIX_SLEEP
56#endif
diff --git a/keyboards/splitkb/kyria/rev1/info.json b/keyboards/splitkb/kyria/rev1/info.json
index aa38a7dd0c..38a2e6bf3f 100644
--- a/keyboards/splitkb/kyria/rev1/info.json
+++ b/keyboards/splitkb/kyria/rev1/info.json
@@ -9,7 +9,10 @@
9 "split_count": [10, 10] 9 "split_count": [10, 10]
10 }, 10 },
11 "rgb_matrix": { 11 "rgb_matrix": {
12 "driver": "ws2812" 12 "driver": "ws2812",
13 "max_brightness": 170,
14 "sleep": true,
15 "split_count": [10, 10]
13 }, 16 },
14 "matrix_pins": { 17 "matrix_pins": {
15 "cols": ["B6", "B2", "B3", "B1", "F7", "F6", "F5", "F4"], 18 "cols": ["B6", "B2", "B3", "B1", "F7", "F6", "F5", "F4"],
@@ -28,6 +31,11 @@
28 {"pin_a": "B5", "pin_b": "C6"} 31 {"pin_a": "B5", "pin_b": "C6"}
29 ] 32 ]
30 } 33 }
34 },
35 "transport": {
36 "sync": {
37 "matrix_state": true
38 }
31 } 39 }
32 }, 40 },
33 "layout_aliases": { 41 "layout_aliases": {
diff --git a/keyboards/splitkb/kyria/rev2/config.h b/keyboards/splitkb/kyria/rev2/config.h
index 5aa142f90b..452e011f0a 100644
--- a/keyboards/splitkb/kyria/rev2/config.h
+++ b/keyboards/splitkb/kyria/rev2/config.h
@@ -50,12 +50,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
50# define OLED_DISPLAY_128X64 50# define OLED_DISPLAY_128X64
51# define SPLIT_OLED_ENABLE 51# define SPLIT_OLED_ENABLE
52#endif 52#endif
53
54/* RGB matrix support */
55#ifdef RGB_MATRIX_ENABLE
56# define SPLIT_TRANSPORT_MIRROR
57# define RGB_MATRIX_LED_COUNT 20 // Number of LEDs
58# define RGB_MATRIX_SPLIT { 10, 10 }
59# define RGB_MATRIX_MAXIMUM_BRIGHTNESS 170
60# define RGB_MATRIX_SLEEP
61#endif
diff --git a/keyboards/splitkb/kyria/rev2/info.json b/keyboards/splitkb/kyria/rev2/info.json
index 6e362d9548..0290153f4a 100644
--- a/keyboards/splitkb/kyria/rev2/info.json
+++ b/keyboards/splitkb/kyria/rev2/info.json
@@ -9,7 +9,10 @@
9 "split_count": [10, 10] 9 "split_count": [10, 10]
10 }, 10 },
11 "rgb_matrix": { 11 "rgb_matrix": {
12 "driver": "ws2812" 12 "driver": "ws2812",
13 "max_brightness": 170,
14 "sleep": true,
15 "split_count": [10, 10]
13 }, 16 },
14 "matrix_pins": { 17 "matrix_pins": {
15 "cols": ["B2", "B6", "B5", "B4", "E6", "D7", "C6", "D4"], 18 "cols": ["B2", "B6", "B5", "B4", "E6", "D7", "C6", "D4"],
@@ -34,6 +37,11 @@
34 "cols": ["B4", "B5", "B6", "B2", "B3", "B1", "F7", "F6"], 37 "cols": ["B4", "B5", "B6", "B2", "B3", "B1", "F7", "F6"],
35 "rows": ["D4", "C6", "D7", "E6"] 38 "rows": ["D4", "C6", "D7", "E6"]
36 } 39 }
40 },
41 "transport": {
42 "sync": {
43 "matrix_state": true
44 }
37 } 45 }
38 }, 46 },
39 "layout_aliases": { 47 "layout_aliases": {
diff --git a/keyboards/splitkb/kyria/rev3/config.h b/keyboards/splitkb/kyria/rev3/config.h
index 5168e8678e..b0a64320c6 100644
--- a/keyboards/splitkb/kyria/rev3/config.h
+++ b/keyboards/splitkb/kyria/rev3/config.h
@@ -25,10 +25,3 @@
25# define OLED_DISPLAY_128X64 25# define OLED_DISPLAY_128X64
26# define SPLIT_OLED_ENABLE 26# define SPLIT_OLED_ENABLE
27#endif 27#endif
28
29// Not yet available in `info.json`
30#ifdef RGB_MATRIX_ENABLE
31# define RGB_MATRIX_LED_COUNT 62
32# define RGB_MATRIX_SPLIT { 31, 31 }
33# define SPLIT_TRANSPORT_MIRROR
34#endif
diff --git a/keyboards/splitkb/kyria/rev3/info.json b/keyboards/splitkb/kyria/rev3/info.json
index 07713f9658..4a426cb206 100644
--- a/keyboards/splitkb/kyria/rev3/info.json
+++ b/keyboards/splitkb/kyria/rev3/info.json
@@ -110,6 +110,11 @@
110 {"pin_a": "F4", "pin_b": "F5"} 110 {"pin_a": "F4", "pin_b": "F5"}
111 ] 111 ]
112 } 112 }
113 },
114 "transport": {
115 "sync": {
116 "matrix_state": true
117 }
113 } 118 }
114 }, 119 },
115 "rgblight": { 120 "rgblight": {
@@ -187,6 +192,7 @@
187 {"flags": 4, "matrix": [4, 5], "x": 210, "y": 11}, // R SW05 192 {"flags": 4, "matrix": [4, 5], "x": 210, "y": 11}, // R SW05
188 {"flags": 4, "matrix": [4, 6], "x": 224, "y": 11} // R SW06 193 {"flags": 4, "matrix": [4, 6], "x": 224, "y": 11} // R SW06
189 ], 194 ],
190 "max_brightness": 128 195 "max_brightness": 128,
196 "split_count": [31, 31]
191 } 197 }
192} 198}