summaryrefslogtreecommitdiff
path: root/keyboards/skyloong
diff options
context:
space:
mode:
authorskyloong <92424712+JZ-Skyloong@users.noreply.github.com>2023-10-13 12:59:10 +0800
committerGitHub <noreply@github.com>2023-10-12 21:59:10 -0700
commitf150258e5ab6bf04c2e724389465f7a8ef5759ef (patch)
tree6775e96e68f7ddd3045a95984ca6302bce69a1f0 /keyboards/skyloong
parent0d7d2f7915ff9de13945ef323461fe9562645fff (diff)
[Keyboard] Skyloong GK61 Pro 48 (#21654)
* Create GK61 PRO_48 Keyboard. * update pro.c and config.h to save power when USB suspend. * Update keyboards/skyloong/gk61/pro_48/info.json OK,thank you. * update info.json * update layer indicator * Update RGB animations---delete rainbow_beacon and rainbo_pinwheels. * Cancel force_nkro * Add caps lock indicator in rgb matrix. * Update keyboards/skyloong/gk61/pro_48/pro_48.c OK, thank you for your suggestion. * Enable I2C DMA; Modified pro_48.c * Update keyboards/skyloong/gk61/pro_48/info.json OK, thank you for your suggestion. * Update keyboards/skyloong/gk61/pro_48/info.json OK, thanks. * enable encoder map in default keymap. * define g_suspend_state
Diffstat (limited to 'keyboards/skyloong')
-rw-r--r--keyboards/skyloong/gk61/pro_48/config.h18
-rw-r--r--keyboards/skyloong/gk61/pro_48/halconf.h7
-rw-r--r--keyboards/skyloong/gk61/pro_48/info.json338
-rw-r--r--keyboards/skyloong/gk61/pro_48/keymaps/default/keymap.c44
-rw-r--r--keyboards/skyloong/gk61/pro_48/keymaps/default/rules.mk1
-rw-r--r--keyboards/skyloong/gk61/pro_48/keymaps/via/keymap.c68
-rw-r--r--keyboards/skyloong/gk61/pro_48/keymaps/via/rules.mk2
-rw-r--r--keyboards/skyloong/gk61/pro_48/mcuconf.h11
-rw-r--r--keyboards/skyloong/gk61/pro_48/pro_48.c227
-rw-r--r--keyboards/skyloong/gk61/pro_48/readme.md33
-rw-r--r--keyboards/skyloong/gk61/pro_48/rules.mk1
11 files changed, 750 insertions, 0 deletions
diff --git a/keyboards/skyloong/gk61/pro_48/config.h b/keyboards/skyloong/gk61/pro_48/config.h
new file mode 100644
index 0000000000..dc31521627
--- /dev/null
+++ b/keyboards/skyloong/gk61/pro_48/config.h
@@ -0,0 +1,18 @@
1// Copyright 2023 linlin012 (@linlin012)
2// SPDX-License-Identifier: GPL-2.0-or-later
3
4#pragma once
5
6
7#define DRIVER_COUNT 1
8#define RGB_MATRIX_LED_COUNT 64
9#define CAPS_LOCK_INDEX 28
10#define WIN_MOD_INDEX 16
11#define MAC_MOD_INDEX 17
12#define SDB A4
13
14#define RGB_DISABLE_WHEN_USB_SUSPENDED
15#define RGB_MATRIX_KEYPRESSES
16#define RGB_MATRIX_FRAMEBUFFER_EFFECTS
17
18#define g_suspend_state rgb_matrix_get_suspend_state()
diff --git a/keyboards/skyloong/gk61/pro_48/halconf.h b/keyboards/skyloong/gk61/pro_48/halconf.h
new file mode 100644
index 0000000000..5ac56913fc
--- /dev/null
+++ b/keyboards/skyloong/gk61/pro_48/halconf.h
@@ -0,0 +1,7 @@
1// Copyright 2023 linlin012 (@linlin012)
2// SPDX-License-Identifier: GPL-2.0-or-later
3#pragma once
4
5#define HAL_USE_I2C TRUE
6
7#include_next <halconf.h>
diff --git a/keyboards/skyloong/gk61/pro_48/info.json b/keyboards/skyloong/gk61/pro_48/info.json
new file mode 100644
index 0000000000..0e49e005aa
--- /dev/null
+++ b/keyboards/skyloong/gk61/pro_48/info.json
@@ -0,0 +1,338 @@
1{
2 "manufacturer": "skyloong",
3 "keyboard_name": "gk61 pro 48",
4 "maintainer": "NaturalZh",
5 "bootloader": "stm32duino",
6
7 "diode_direction": "ROW2COL",
8 "encoder": {
9 "rotary": [
10 {"pin_a": "A2", "pin_b": "A3", "resolution": 2}
11 ]
12 },
13 "features": {
14 "bootmagic": true,
15 "command": true,
16 "console": false,
17 "encoder": true,
18 "extrakey": true,
19 "mousekey": true,
20 "nkro": true,
21 "rgb_matrix": true
22 },
23 "build": {
24 "debounce_type": "asym_eager_defer_pk"
25 },
26 "matrix_pins": {
27 "cols": ["B13", "A0", "A1", "B14", "B15", "A8", "A9", "A10", "A15", "B3", "B4", "B5", "B8", "B9"],
28 "rows": ["B10", "B1", "B0", "A7", "A6"]
29 },
30 "processor": "STM32F103",
31 "rgb_matrix": {
32 "animations": {
33 "breathing": true,
34 "band_spiral_val": true,
35 "cycle_all": true,
36 "cycle_left_right": true,
37 "cycle_up_down": true,
38 "cycle_out_in": true,
39 "cycle_out_in_dual": true,
40 "rainbow_moving_chevron": true,
41 "cycle_pinwheel": true,
42 "cycle_spiral": true,
43 "dual_beacon": true,
44 "raindrops": true,
45 "jellybean_raindrops": true,
46 "pixel_rain": true,
47 "typing_heatmap":true,
48 "digital_rain": true,
49 "solid_reactive_simple": true,
50 "solid_reactive_multiwide": true,
51 "solid_reactive_multinexus": true,
52 "splash": true,
53 "solid_splash": true
54 },
55 "driver": "is31fl3743a",
56 "layout": [
57 {"matrix": [0, 0], "x": 0, "y": 0, "flags": 4},
58 {"matrix": [0, 1], "x": 16, "y": 0, "flags": 4},
59 {"matrix": [0, 2], "x": 32, "y": 0, "flags": 4},
60 {"matrix": [0, 3], "x": 49, "y": 0, "flags": 4},
61 {"matrix": [0, 4], "x": 65, "y": 0, "flags": 4},
62 {"matrix": [0, 5], "x": 81, "y": 0, "flags": 4},
63 {"matrix": [0, 6], "x": 97, "y": 0, "flags": 4},
64 {"matrix": [0, 7], "x": 113, "y": 0, "flags": 4},
65 {"matrix": [0, 8], "x": 129, "y": 0, "flags": 4},
66 {"matrix": [0, 9], "x": 145, "y": 0, "flags": 4},
67 {"matrix": [0, 10], "x": 162, "y": 0, "flags": 4},
68 {"matrix": [0, 11], "x": 178, "y": 0, "flags": 4},
69 {"matrix": [0, 12], "x": 194, "y": 0, "flags": 4},
70 {"matrix": [0, 13], "x": 218, "y": 0, "flags": 4},
71 {"matrix": [1, 0], "x": 4, "y": 13, "flags": 4},
72 {"matrix": [1, 1], "x": 24, "y": 13, "flags": 4},
73 {"matrix": [1, 2], "x": 40, "y": 13, "flags": 4},
74 {"matrix": [1, 3], "x": 57, "y": 13, "flags": 4},
75 {"matrix": [1, 4], "x": 73, "y": 13, "flags": 4},
76 {"matrix": [1, 5], "x": 89, "y": 13, "flags": 4},
77 {"matrix": [1, 6], "x": 105, "y": 13, "flags": 4},
78 {"matrix": [1, 7], "x": 121, "y": 13, "flags": 4},
79 {"matrix": [1, 8], "x": 137, "y": 13, "flags": 4},
80 {"matrix": [1, 9], "x": 153, "y": 13, "flags": 4},
81 {"matrix": [1, 10], "x": 170, "y": 13, "flags": 4},
82 {"matrix": [1, 11], "x": 186, "y": 13, "flags": 4},
83 {"matrix": [1, 12], "x": 202, "y": 13, "flags": 4},
84 {"matrix": [1, 13], "x": 222, "y": 13, "flags": 4},
85 {"matrix": [2, 0], "x": 6, "y": 26, "flags": 4},
86 {"matrix": [2, 1], "x": 28, "y": 26, "flags": 4},
87 {"matrix": [2, 2], "x": 44, "y": 26, "flags": 4},
88 {"matrix": [2, 3], "x": 61, "y": 26, "flags": 4},
89 {"matrix": [2, 4], "x": 77, "y": 26, "flags": 4},
90 {"matrix": [2, 5], "x": 93, "y": 26, "flags": 4},
91 {"matrix": [2, 6], "x": 109, "y": 26, "flags": 4},
92 {"matrix": [2, 7], "x": 125, "y": 26, "flags": 4},
93 {"matrix": [2, 8], "x": 141, "y": 26, "flags": 4},
94 {"matrix": [2, 9], "x": 157, "y": 26, "flags": 4},
95 {"matrix": [2, 10], "x": 174, "y": 26, "flags": 4},
96 {"matrix": [2, 11], "x": 190, "y": 26, "flags": 4},
97 {"matrix": [2, 13], "x": 216, "y": 26, "flags": 4},
98 {"matrix": [3, 0], "x": 10, "y": 51, "flags": 4},
99 {"matrix": [3, 1], "x": 36, "y": 51, "flags": 4},
100 {"matrix": [3, 2], "x": 53, "y": 51, "flags": 4},
101 {"matrix": [3, 3], "x": 69, "y": 51, "flags": 4},
102 {"matrix": [3, 4], "x": 85, "y": 51, "flags": 4},
103 {"matrix": [3, 5], "x": 101, "y": 51, "flags": 4},
104 {"matrix": [3, 6], "x": 117, "y": 51, "flags": 4},
105 {"matrix": [3, 7], "x": 133, "y": 51, "flags": 4},
106 {"matrix": [3, 8], "x": 149, "y": 51, "flags": 4},
107 {"matrix": [3, 9], "x": 166, "y": 51, "flags": 4},
108 {"matrix": [3, 10], "x": 182, "y": 51, "flags": 4},
109 {"matrix": [3, 12], "x": 212, "y": 51, "flags": 4},
110 {"matrix": [4, 0], "x": 2, "y": 64, "flags": 4},
111 {"matrix": [4, 1], "x": 22, "y": 64, "flags": 4},
112 {"matrix": [4, 2], "x": 42, "y": 64, "flags": 4},
113 {"matrix": [4, 4], "x": 75, "y": 64, "flags": 4},
114 {"matrix": [4, 5], "x": 103, "y": 64, "flags": 4},
115 {"matrix": [4, 6], "x": 103, "y": 64, "flags": 4},
116 {"matrix": [4, 8], "x": 131, "y": 64, "flags": 4},
117 {"matrix": [4, 9], "x": 163, "y": 64, "flags": 4},
118 {"matrix": [4, 10], "x": 184, "y": 64, "flags": 4},
119 {"matrix": [4, 11], "x": 204, "y": 64, "flags": 4},
120 {"matrix": [4, 13], "x": 224, "y": 64, "flags": 4}
121 ],
122 "max_brightness": 200,
123 "hue_steps": 20,
124 "sat_steps": 20,
125 "speed_steps": 20,
126 "val_steps": 20
127 },
128 "url": "https://github.com/JZ-Skyloong",
129 "usb": {
130 "device_version": "1.0.0",
131 "pid": "0x6A62",
132 "vid": "0x1EA7",
133 "max_power": 380
134 },
135 "community_layouts": ["60_ansi"],
136 "layouts": {
137 "LAYOUT_all": {
138 "layout": [
139 {"matrix": [0, 0], "x": 0, "y": 0, "w": 1},
140 {"matrix": [0, 1], "x": 1, "y": 0},
141 {"matrix": [0, 2], "x": 2, "y": 0},
142 {"matrix": [0, 3], "x": 3, "y": 0},
143 {"matrix": [0, 4], "x": 4, "y": 0},
144 {"matrix": [0, 5], "x": 5, "y": 0},
145 {"matrix": [0, 6], "x": 6, "y": 0},
146 {"matrix": [0, 7], "x": 7, "y": 0},
147 {"matrix": [0, 8], "x": 8, "y": 0},
148 {"matrix": [0, 9], "x": 9, "y": 0},
149 {"matrix": [0, 10], "x": 10, "y": 0},
150 {"matrix": [0, 11], "x": 11, "y": 0},
151 {"matrix": [0, 12], "x": 12, "y": 0},
152 {"matrix": [0, 13], "x": 13, "y": 0, "w": 2},
153 {"matrix": [1, 0], "x": 0, "y": 1, "w": 1.5},
154 {"matrix": [1, 1], "x": 1.5, "y": 1},
155 {"matrix": [1, 2], "x": 2.5, "y": 1},
156 {"matrix": [1, 3], "x": 3.5, "y": 1},
157 {"matrix": [1, 4], "x": 4.5, "y": 1},
158 {"matrix": [1, 5], "x": 5.5, "y": 1},
159 {"matrix": [1, 6], "x": 6.5, "y": 1},
160 {"matrix": [1, 7], "x": 7.5, "y": 1},
161 {"matrix": [1, 8], "x": 8.5, "y": 1},
162 {"matrix": [1, 9], "x": 9.5, "y": 1},
163 {"matrix": [1, 10], "x": 10.5, "y": 1},
164 {"matrix": [1, 11], "x": 11.5, "y": 1},
165 {"matrix": [1, 12], "x": 12.5, "y": 1},
166 {"matrix": [1, 13], "x": 13.5, "y": 1, "w": 1.5},
167 {"matrix": [2, 0], "x": 0, "y": 2, "w": 1.75},
168 {"matrix": [2, 1], "x": 1.75, "y": 2},
169 {"matrix": [2, 2], "x": 2.75, "y": 2},
170 {"matrix": [2, 3], "x": 3.75, "y": 2},
171 {"matrix": [2, 4], "x": 4.75, "y": 2},
172 {"matrix": [2, 5], "x": 5.75, "y": 2},
173 {"matrix": [2, 6], "x": 6.75, "y": 2},
174 {"matrix": [2, 7], "x": 7.75, "y": 2},
175 {"matrix": [2, 8], "x": 8.75, "y": 2},
176 {"matrix": [2, 9], "x": 9.75, "y": 2},
177 {"matrix": [2, 10], "x": 10.75, "y": 2},
178 {"matrix": [2, 11], "x": 11.75, "y": 2},
179 {"matrix": [2, 13], "x": 12.75, "y": 2, "w": 2.25},
180 {"matrix": [3, 0], "x": 0, "y": 3, "w": 2.25},
181 {"matrix": [3, 1], "x": 2.25, "y": 3},
182 {"matrix": [3, 2], "x": 3.25, "y": 3},
183 {"matrix": [3, 3], "x": 4.25, "y": 3},
184 {"matrix": [3, 4], "x": 5.25, "y": 3},
185 {"matrix": [3, 5], "x": 6.25, "y": 3},
186 {"matrix": [3, 6], "x": 7.25, "y": 3},
187 {"matrix": [3, 7], "x": 8.25, "y": 3},
188 {"matrix": [3, 8], "x": 9.25, "y": 3},
189 {"matrix": [3, 9], "x": 10.25, "y": 3},
190 {"matrix": [3, 10], "x": 11.25, "y": 3},
191 {"matrix": [3, 12], "x": 12.25, "y": 3, "w": 2.75},
192 {"matrix": [4, 0], "x": 0, "y": 4, "w": 1.25},
193 {"matrix": [4, 1], "x": 1.25, "y": 4, "w": 1.25},
194 {"matrix": [4, 2], "x": 2.5, "y": 4, "w": 1.25},
195 {"matrix": [4, 4], "x": 3.75, "y": 4.5, "w": 2.5, "h": 0.5},
196 {"matrix": [4, 5], "x": 3.75, "y": 4, "h": 0.5, "w":6.25},
197 {"matrix": [4, 6], "x": 6.25, "y": 4.5, "h": 0.5, "w":1.25},
198 {"matrix": [4, 8], "x": 7.5, "y": 4.5, "w": 2.5, "h": 0.5},
199 {"matrix": [4, 9], "x": 10, "y": 4, "w": 1.25},
200 {"matrix": [4, 10], "x": 11.25, "y": 4, "w": 1.25},
201 {"matrix": [4, 11], "x": 12.5, "y": 4, "w": 1.25},
202 {"matrix": [4, 13], "x": 13.75, "y": 4, "w": 1.25}
203 ]
204 },
205 "LAYOUT_60_ansi": {
206 "layout": [
207 {"matrix": [0, 0], "x": 0, "y": 0, "w": 1},
208 {"matrix": [0, 1], "x": 1, "y": 0},
209 {"matrix": [0, 2], "x": 2, "y": 0},
210 {"matrix": [0, 3], "x": 3, "y": 0},
211 {"matrix": [0, 4], "x": 4, "y": 0},
212 {"matrix": [0, 5], "x": 5, "y": 0},
213 {"matrix": [0, 6], "x": 6, "y": 0},
214 {"matrix": [0, 7], "x": 7, "y": 0},
215 {"matrix": [0, 8], "x": 8, "y": 0},
216 {"matrix": [0, 9], "x": 9, "y": 0},
217 {"matrix": [0, 10], "x": 10, "y": 0},
218 {"matrix": [0, 11], "x": 11, "y": 0},
219 {"matrix": [0, 12], "x": 12, "y": 0},
220 {"matrix": [0, 13], "x": 13, "y": 0, "w": 2},
221 {"matrix": [1, 0], "x": 0, "y": 1, "w": 1.5},
222 {"matrix": [1, 1], "x": 1.5, "y": 1},
223 {"matrix": [1, 2], "x": 2.5, "y": 1},
224 {"matrix": [1, 3], "x": 3.5, "y": 1},
225 {"matrix": [1, 4], "x": 4.5, "y": 1},
226 {"matrix": [1, 5], "x": 5.5, "y": 1},
227 {"matrix": [1, 6], "x": 6.5, "y": 1},
228 {"matrix": [1, 7], "x": 7.5, "y": 1},
229 {"matrix": [1, 8], "x": 8.5, "y": 1},
230 {"matrix": [1, 9], "x": 9.5, "y": 1},
231 {"matrix": [1, 10], "x": 10.5, "y": 1},
232 {"matrix": [1, 11], "x": 11.5, "y": 1},
233 {"matrix": [1, 12], "x": 12.5, "y": 1},
234 {"matrix": [1, 13], "x": 13.5, "y": 1, "w": 1.5},
235 {"matrix": [2, 0], "x": 0, "y": 2, "w": 1.75},
236 {"matrix": [2, 1], "x": 1.75, "y": 2},
237 {"matrix": [2, 2], "x": 2.75, "y": 2},
238 {"matrix": [2, 3], "x": 3.75, "y": 2},
239 {"matrix": [2, 4], "x": 4.75, "y": 2},
240 {"matrix": [2, 5], "x": 5.75, "y": 2},
241 {"matrix": [2, 6], "x": 6.75, "y": 2},
242 {"matrix": [2, 7], "x": 7.75, "y": 2},
243 {"matrix": [2, 8], "x": 8.75, "y": 2},
244 {"matrix": [2, 9], "x": 9.75, "y": 2},
245 {"matrix": [2, 10], "x": 10.75, "y": 2},
246 {"matrix": [2, 11], "x": 11.75, "y": 2},
247 {"matrix": [2, 13], "x": 12.75, "y": 2, "w": 2.25},
248 {"matrix": [3, 0], "x": 0, "y": 3, "w": 2.25},
249 {"matrix": [3, 1], "x": 2.25, "y": 3},
250 {"matrix": [3, 2], "x": 3.25, "y": 3},
251 {"matrix": [3, 3], "x": 4.25, "y": 3},
252 {"matrix": [3, 4], "x": 5.25, "y": 3},
253 {"matrix": [3, 5], "x": 6.25, "y": 3},
254 {"matrix": [3, 6], "x": 7.25, "y": 3},
255 {"matrix": [3, 7], "x": 8.25, "y": 3},
256 {"matrix": [3, 8], "x": 9.25, "y": 3},
257 {"matrix": [3, 9], "x": 10.25, "y": 3},
258 {"matrix": [3, 10], "x": 11.25, "y": 3},
259 {"matrix": [3, 12], "x": 12.25, "y": 3, "w": 2.75},
260 {"matrix": [4, 0], "x": 0, "y": 4, "w": 1.25},
261 {"matrix": [4, 1], "x": 1.25, "y": 4, "w": 1.25},
262 {"matrix": [4, 2], "x": 2.5, "y": 4, "w": 1.25},
263 {"matrix": [4, 5], "x": 3.75, "y": 4, "w": 6.25},
264 {"matrix": [4, 9], "x": 10, "y": 4, "w": 1.25},
265 {"matrix": [4, 10], "x": 11.25, "y": 4, "w": 1.25},
266 {"matrix": [4, 11], "x": 12.5, "y": 4, "w": 1.25},
267 {"matrix": [4, 13], "x": 13.75, "y": 4, "w": 1.25}
268 ]
269 },
270 "LAYOUT_60_ansi_split_space": {
271 "layout": [
272 {"matrix": [0, 0], "x": 0, "y": 0, "w": 1},
273 {"matrix": [0, 1], "x": 1, "y": 0},
274 {"matrix": [0, 2], "x": 2, "y": 0},
275 {"matrix": [0, 3], "x": 3, "y": 0},
276 {"matrix": [0, 4], "x": 4, "y": 0},
277 {"matrix": [0, 5], "x": 5, "y": 0},
278 {"matrix": [0, 6], "x": 6, "y": 0},
279 {"matrix": [0, 7], "x": 7, "y": 0},
280 {"matrix": [0, 8], "x": 8, "y": 0},
281 {"matrix": [0, 9], "x": 9, "y": 0},
282 {"matrix": [0, 10], "x": 10, "y": 0},
283 {"matrix": [0, 11], "x": 11, "y": 0},
284 {"matrix": [0, 12], "x": 12, "y": 0},
285 {"matrix": [0, 13], "x": 13, "y": 0, "w": 2},
286 {"matrix": [1, 0], "x": 0, "y": 1, "w": 1.5},
287 {"matrix": [1, 1], "x": 1.5, "y": 1},
288 {"matrix": [1, 2], "x": 2.5, "y": 1},
289 {"matrix": [1, 3], "x": 3.5, "y": 1},
290 {"matrix": [1, 4], "x": 4.5, "y": 1},
291 {"matrix": [1, 5], "x": 5.5, "y": 1},
292 {"matrix": [1, 6], "x": 6.5, "y": 1},
293 {"matrix": [1, 7], "x": 7.5, "y": 1},
294 {"matrix": [1, 8], "x": 8.5, "y": 1},
295 {"matrix": [1, 9], "x": 9.5, "y": 1},
296 {"matrix": [1, 10], "x": 10.5, "y": 1},
297 {"matrix": [1, 11], "x": 11.5, "y": 1},
298 {"matrix": [1, 12], "x": 12.5, "y": 1},
299 {"matrix": [1, 13], "x": 13.5, "y": 1, "w": 1.5},
300 {"matrix": [2, 0], "x": 0, "y": 2, "w": 1.75},
301 {"matrix": [2, 1], "x": 1.75, "y": 2},
302 {"matrix": [2, 2], "x": 2.75, "y": 2},
303 {"matrix": [2, 3], "x": 3.75, "y": 2},
304 {"matrix": [2, 4], "x": 4.75, "y": 2},
305 {"matrix": [2, 5], "x": 5.75, "y": 2},
306 {"matrix": [2, 6], "x": 6.75, "y": 2},
307 {"matrix": [2, 7], "x": 7.75, "y": 2},
308 {"matrix": [2, 8], "x": 8.75, "y": 2},
309 {"matrix": [2, 9], "x": 9.75, "y": 2},
310 {"matrix": [2, 10], "x": 10.75, "y": 2},
311 {"matrix": [2, 11], "x": 11.75, "y": 2},
312 {"matrix": [2, 13], "x": 12.75, "y": 2, "w": 2.25},
313 {"matrix": [3, 0], "x": 0, "y": 3, "w": 2.25},
314 {"matrix": [3, 1], "x": 2.25, "y": 3},
315 {"matrix": [3, 2], "x": 3.25, "y": 3},
316 {"matrix": [3, 3], "x": 4.25, "y": 3},
317 {"matrix": [3, 4], "x": 5.25, "y": 3},
318 {"matrix": [3, 5], "x": 6.25, "y": 3},
319 {"matrix": [3, 6], "x": 7.25, "y": 3},
320 {"matrix": [3, 7], "x": 8.25, "y": 3},
321 {"matrix": [3, 8], "x": 9.25, "y": 3},
322 {"matrix": [3, 9], "x": 10.25, "y": 3},
323 {"matrix": [3, 10], "x": 11.25, "y": 3},
324 {"matrix": [3, 12], "x": 12.25, "y": 3, "w": 2.75},
325 {"matrix": [4, 0], "x": 0, "y": 4, "w": 1.25},
326 {"matrix": [4, 1], "x": 1.25, "y": 4, "w": 1.25},
327 {"matrix": [4, 2], "x": 2.5, "y": 4, "w": 1.25},
328 {"matrix": [4, 4], "x": 3.75, "y": 4, "w": 2.5},
329 {"matrix": [4, 6], "x": 6.25, "y": 4, "w": 1.25},
330 {"matrix": [4, 8], "x": 7.5, "y": 4, "w": 2.5},
331 {"matrix": [4, 9], "x": 10, "y": 4, "w": 1.25},
332 {"matrix": [4, 10], "x": 11.25, "y": 4, "w": 1.25},
333 {"matrix": [4, 11], "x": 12.5, "y": 4, "w": 1.25},
334 {"matrix": [4, 13], "x": 13.75, "y": 4, "w": 1.25}
335 ]
336 }
337 }
338}
diff --git a/keyboards/skyloong/gk61/pro_48/keymaps/default/keymap.c b/keyboards/skyloong/gk61/pro_48/keymaps/default/keymap.c
new file mode 100644
index 0000000000..9534f25d80
--- /dev/null
+++ b/keyboards/skyloong/gk61/pro_48/keymaps/default/keymap.c
@@ -0,0 +1,44 @@
1// Copyright 2021 JZ-Skyloong (@JZ-Skyloong)
2// SPDX-License-Identifier: GPL-2.0-or-later
3
4#include QMK_KEYBOARD_H
5
6const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
7 /*
8 * ┌───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┐
9 * │Esc│ 1 │ 2 │ 3 │ 4 │ 5 │ 6 │ 7 │ 8 │ 9 │ 0 │ - │ = │Bsp│
10 * ├───┼───┼───┼───┼───┼───┼───┼───┼───┼───┼───┼───┼───┼───┤
11 * │Tab│ Q │ W │ E | R │ T │ Y │ U │ I │ O │ P │ [ │ ] │ \ │
12 * ├───┼───┼───┼───┼───┼───┼───┼───┼───┼───┼───┼───┼───┼───┤
13 * │Cap│ A │ S │ D │ F │ G │ H │ J │ K │ L │ ; │ ' │ |Ent│
14 * ├───┼───┼───┼───┼───┼───┼───┼───┼───┼───┼───┼───┼───┼───┤
15 * │Sft│ Z │ X │ C │ V │ B │ N │ M │ , │ . │ / │ |Sft| │
16 * ├───┼───┼───┼───┼───┼───┼───┼───┼───┼───┼───┼───┼───┼───┤
17 * │Ctl│GUI│Alt│ │Spc│Mut│ │ |Spc|Alt│App│Ctl│ │Mo1|
18 * └───┴───┴───┴───┴───┴───┴───┴───┴───┴───┴───┴───┴───┴───┘
19 */
20 [0] = LAYOUT_all(
21 KC_ESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSPC,
22 KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSLS,
23 KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT,
24 KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT,
25 KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_SPC, KC_MUTE, KC_SPC, KC_RALT, KC_APP, KC_RCTL, MO(1)
26 ),
27
28 [1] = LAYOUT_all(
29 KC_GRV, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, _______,
30 _______, RGB_TOG, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
31 _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
32 _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
33 _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______
34 )
35
36};
37
38#if defined(ENCODER_MAP_ENABLE)
39const uint16_t PROGMEM encoder_map[][NUM_ENCODERS][NUM_DIRECTIONS] = {
40 [0] = { ENCODER_CCW_CW(KC_VOLD, KC_VOLU) },
41 [1] = { ENCODER_CCW_CW(RGB_HUD, RGB_HUI) }
42};
43#endif
44
diff --git a/keyboards/skyloong/gk61/pro_48/keymaps/default/rules.mk b/keyboards/skyloong/gk61/pro_48/keymaps/default/rules.mk
new file mode 100644
index 0000000000..ee32568148
--- /dev/null
+++ b/keyboards/skyloong/gk61/pro_48/keymaps/default/rules.mk
@@ -0,0 +1 @@
ENCODER_MAP_ENABLE = yes
diff --git a/keyboards/skyloong/gk61/pro_48/keymaps/via/keymap.c b/keyboards/skyloong/gk61/pro_48/keymaps/via/keymap.c
new file mode 100644
index 0000000000..e63830f519
--- /dev/null
+++ b/keyboards/skyloong/gk61/pro_48/keymaps/via/keymap.c
@@ -0,0 +1,68 @@
1// Copyright 2021 JZ-Skyloong (@JZ-Skyloong)
2// SPDX-License-Identifier: GPL-2.0-or-later
3
4#include QMK_KEYBOARD_H
5
6enum layer_names {
7 _WIN,
8 _MAC,
9 _WIN_INDEX,
10 _MAC_INDEX
11};
12
13const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
14 /*
15 * ┌───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┐
16 * │Esc│ 1 │ 2 │ 3 │ 4 │ 5 │ 6 │ 7 │ 8 │ 9 │ 0 │ - │ = │Bsp│
17 * ├───┼───┼───┼───┼───┼───┼───┼───┼───┼───┼───┼───┼───┼───┤
18 * │Tab│ Q │ W │ E | R │ T │ Y │ U │ I │ O │ P │ [ │ ] │ \ │
19 * ├───┼───┼───┼───┼───┼───┼───┼───┼───┼───┼───┼───┼───┼───┤
20 * │Cap│ A │ S │ D │ F │ G │ H │ J │ K │ L │ ; │ ' │ |Ent│
21 * ├───┼───┼───┼───┼───┼───┼───┼───┼───┼───┼───┼───┼───┼───┤
22 * │Sft│ Z │ X │ C │ V │ B │ N │ M │ , │ . │ / │ |Sft| │
23 * ├───┼───┼───┼───┼───┼───┼───┼───┼───┼───┼───┼───┼───┼───┤
24 * │Ctl│GUI│Alt│ │Spc│Spc│Mut│ |Spc|Alt│App│Ctl│ │Mox|
25 * └───┴───┴───┴───┴───┴───┴───┴───┴───┴───┴───┴───┴───┴───┘
26 */
27 [_WIN] = LAYOUT_all(
28 KC_ESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSPC,
29 KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSLS,
30 KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT,
31 KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT,
32 KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_SPC, KC_MUTE, KC_SPC, KC_RALT, KC_APP, KC_RCTL, MO(_WIN_INDEX)
33 ),
34
35 [_MAC] = LAYOUT_all(
36 _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
37 _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
38 _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
39 _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
40 _______, KC_LALT, KC_LGUI, _______, _______, _______, _______, KC_RGUI, KC_RALT, _______, MO(_MAC_INDEX)
41 ),
42
43 [_WIN_INDEX] = LAYOUT_all(
44 KC_GRV , KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_DEL,
45 _______, _______, TO(0), TO(1), _______, _______, _______, _______, _______, _______, RGB_M_P, RGB_RMOD, RGB_RMOD, RGB_TOG,
46 _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, RGB_SPD, RGB_SPI, _______,
47 _______, _______, _______, _______, _______, _______, _______, _______, RGB_VAD, RGB_VAI, KC_UP, _______,
48 _______, _______, _______, _______, _______, _______, _______, KC_LEFT, KC_DOWN, KC_RIGHT, _______
49 ),
50
51 [_MAC_INDEX] = LAYOUT_all(
52 KC_GRV , KC_F14, KC_F15, C(KC_UP), G(KC_D), G(KC_SPC), LSG(KC_4), KC_MPRV, KC_MPLY, KC_MNXT, KC_MUTE, KC_VOLD, KC_VOLU, KC_DEL,
53 _______, _______, TO(0), TO(1), _______, _______, _______, _______, _______, _______, RGB_M_P, RGB_RMOD, RGB_RMOD, RGB_TOG,
54 _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, RGB_SPD, RGB_SPI, _______,
55 _______, _______, _______, _______, _______, _______, _______, _______, RGB_VAD, RGB_VAI, KC_UP, _______,
56 _______, _______, _______, _______, _______, _______, _______, KC_LEFT, KC_DOWN, KC_RIGHT, _______
57 )
58};
59
60#if defined(ENCODER_MAP_ENABLE)
61const uint16_t PROGMEM encoder_map[][NUM_ENCODERS][NUM_DIRECTIONS] = {
62 [_WIN] = { ENCODER_CCW_CW(KC_VOLD, KC_VOLU) },
63 [_MAC] = { ENCODER_CCW_CW(KC_TRNS, KC_TRNS) },
64 [_WIN_INDEX] = { ENCODER_CCW_CW(RGB_HUD, RGB_HUI) },
65 [_MAC_INDEX] = { ENCODER_CCW_CW(RGB_HUD, RGB_HUI) }
66};
67#endif
68
diff --git a/keyboards/skyloong/gk61/pro_48/keymaps/via/rules.mk b/keyboards/skyloong/gk61/pro_48/keymaps/via/rules.mk
new file mode 100644
index 0000000000..f1adcab005
--- /dev/null
+++ b/keyboards/skyloong/gk61/pro_48/keymaps/via/rules.mk
@@ -0,0 +1,2 @@
1VIA_ENABLE = yes
2ENCODER_MAP_ENABLE = yes
diff --git a/keyboards/skyloong/gk61/pro_48/mcuconf.h b/keyboards/skyloong/gk61/pro_48/mcuconf.h
new file mode 100644
index 0000000000..91dde6cc42
--- /dev/null
+++ b/keyboards/skyloong/gk61/pro_48/mcuconf.h
@@ -0,0 +1,11 @@
1// Copyright 2023 linlin012 (@linlin012)
2// SPDX-License-Identifier: GPL-2.0-or-later
3#pragma once
4
5#include_next <mcuconf.h>
6
7#undef STM32_I2C_USE_I2C1
8#define STM32_I2C_USE_I2C1 TRUE
9
10#undef STM32_I2C_USE_DMA
11#define STM32_I2C_USE_DMA TRUE
diff --git a/keyboards/skyloong/gk61/pro_48/pro_48.c b/keyboards/skyloong/gk61/pro_48/pro_48.c
new file mode 100644
index 0000000000..e4f64c022f
--- /dev/null
+++ b/keyboards/skyloong/gk61/pro_48/pro_48.c
@@ -0,0 +1,227 @@
1// Copyright 2023 linlin012 (@linlin012)
2// SPDX-License-Identifier: GPL-2.0-or-later
3#include "quantum.h"
4_Bool FN_WIN = 0;
5_Bool FN_MAC = 0;
6_Bool L_WIN = 0;
7_Bool L_MAC = 0;
8
9#if defined(RGB_MATRIX_ENABLE) /*&& defined(CAPS_LOCK_INDEX)*/
10const is31_led PROGMEM g_is31_leds[RGB_MATRIX_LED_COUNT] = {
11/* Refer to IS31 manual for these locations
12 * driver
13 * | R location
14 * | | G location
15 * | | | B location
16 * | | | | */
17 {0, CS1_SW1, CS2_SW1, CS3_SW1},
18 {0, CS1_SW2, CS2_SW2, CS3_SW2},
19 {0, CS1_SW3, CS2_SW3, CS3_SW3},
20 {0, CS1_SW4, CS2_SW4, CS3_SW4},
21 {0, CS1_SW5, CS2_SW5, CS3_SW5},
22 {0, CS1_SW6, CS2_SW6, CS3_SW6},
23 {0, CS1_SW7, CS2_SW7, CS3_SW7},
24 {0, CS1_SW8, CS2_SW8, CS3_SW8},
25 {0, CS1_SW9, CS2_SW9, CS3_SW9},
26 {0, CS1_SW10, CS2_SW10, CS3_SW10},
27 {0, CS1_SW11, CS2_SW11, CS3_SW11},
28 {0, CS16_SW1, CS17_SW1, CS18_SW1},
29 {0, CS16_SW2, CS17_SW2, CS18_SW2},
30 {0, CS16_SW3, CS17_SW3, CS18_SW3},
31
32 {0, CS4_SW1, CS5_SW1, CS6_SW1},
33 {0, CS4_SW2, CS5_SW2, CS6_SW2},
34 {0, CS4_SW3, CS5_SW3, CS6_SW3},
35 {0, CS4_SW4, CS5_SW4, CS6_SW4},
36 {0, CS4_SW5, CS5_SW5, CS6_SW5},
37 {0, CS4_SW6, CS5_SW6, CS6_SW6},
38 {0, CS4_SW7, CS5_SW7, CS6_SW7},
39 {0, CS4_SW8, CS5_SW8, CS6_SW8},
40 {0, CS4_SW9, CS5_SW9, CS6_SW9},
41 {0, CS4_SW10, CS5_SW10, CS6_SW10},
42 {0, CS4_SW11, CS5_SW11, CS6_SW11},
43 {0, CS16_SW4, CS17_SW4, CS18_SW4},
44 {0, CS16_SW5, CS17_SW5, CS18_SW5},
45 {0, CS16_SW6, CS17_SW6, CS18_SW6},
46
47 {0, CS7_SW1, CS8_SW1, CS9_SW1},
48 {0, CS7_SW2, CS8_SW2, CS9_SW2},
49 {0, CS7_SW3, CS8_SW3, CS9_SW3},
50 {0, CS7_SW4, CS8_SW4, CS9_SW4},
51 {0, CS7_SW5, CS8_SW5, CS9_SW5},
52 {0, CS7_SW6, CS8_SW6, CS9_SW6},
53 {0, CS7_SW7, CS8_SW7, CS9_SW7},
54 {0, CS7_SW8, CS8_SW8, CS9_SW8},
55 {0, CS7_SW9, CS8_SW9, CS9_SW9},
56 {0, CS7_SW10, CS8_SW10, CS9_SW10},
57 {0, CS7_SW11, CS8_SW11, CS9_SW11},
58 {0, CS16_SW7, CS17_SW7, CS18_SW7},
59 {0, CS16_SW8, CS17_SW8, CS18_SW8},
60
61 {0, CS10_SW1, CS11_SW1, CS12_SW1},
62 {0, CS10_SW2, CS11_SW2, CS12_SW2},
63 {0, CS10_SW3, CS11_SW3, CS12_SW3},
64 {0, CS10_SW4, CS11_SW4, CS12_SW4},
65 {0, CS10_SW5, CS11_SW5, CS12_SW5},
66 {0, CS10_SW6, CS11_SW6, CS12_SW6},
67 {0, CS10_SW7, CS11_SW7, CS12_SW7},
68 {0, CS10_SW8, CS11_SW8, CS12_SW8},
69 {0, CS10_SW9, CS11_SW9, CS12_SW9},
70 {0, CS10_SW10, CS11_SW10, CS12_SW10},
71 {0, CS10_SW11, CS11_SW11, CS12_SW11},
72 {0, CS16_SW9, CS17_SW9, CS18_SW9},
73
74 {0, CS13_SW1, CS14_SW1, CS15_SW1},
75 {0, CS13_SW2, CS14_SW2, CS15_SW2},
76 {0, CS13_SW3, CS14_SW3, CS15_SW3},
77 {0, CS13_SW4, CS14_SW4, CS15_SW4},
78 {0, CS13_SW5, CS14_SW5, CS15_SW5},
79 {0, CS13_SW5, CS14_SW5, CS15_SW5},
80 {0, CS13_SW6, CS14_SW6, CS15_SW6},
81 {0, CS13_SW7, CS14_SW7, CS15_SW7},
82 {0, CS13_SW8, CS14_SW8, CS15_SW8},
83 {0, CS13_SW9, CS14_SW9, CS15_SW9},
84 {0, CS13_SW10, CS14_SW10, CS15_SW10}
85};
86
87bool rgb_matrix_indicators_advanced_kb(uint8_t led_min, uint8_t led_max) {
88 if (!rgb_matrix_indicators_advanced_user(led_min, led_max)) {
89 return false;
90 }
91
92 if (host_keyboard_led_state().caps_lock) {
93 RGB_MATRIX_INDICATOR_SET_COLOR(CAPS_LOCK_INDEX, 255, 255, 255);
94 } else {
95 if (!rgb_matrix_get_flags()) {
96 RGB_MATRIX_INDICATOR_SET_COLOR(CAPS_LOCK_INDEX, 0, 0, 0);
97 }
98 }
99
100 switch (get_highest_layer(layer_state)) {
101 case 2:{
102 RGB_MATRIX_INDICATOR_SET_COLOR(WIN_MOD_INDEX, 255, 255, 255);
103 if (!rgb_matrix_get_flags()) {
104 RGB_MATRIX_INDICATOR_SET_COLOR(MAC_MOD_INDEX, 0, 0, 0);
105 }
106 } break;
107 case 3:{
108 RGB_MATRIX_INDICATOR_SET_COLOR(MAC_MOD_INDEX, 255, 255, 255);
109 if (!rgb_matrix_get_flags()) {
110 RGB_MATRIX_INDICATOR_SET_COLOR(WIN_MOD_INDEX, 0, 0, 0);
111 }
112 } break;
113
114 case 0:{
115 if (L_WIN) {
116 RGB_MATRIX_INDICATOR_SET_COLOR(WIN_MOD_INDEX, 255, 255, 255);
117 if (!rgb_matrix_get_flags()) {
118 RGB_MATRIX_INDICATOR_SET_COLOR(MAC_MOD_INDEX, 0, 0, 0);
119 }
120 }else{
121 if (!rgb_matrix_get_flags()) {
122 RGB_MATRIX_INDICATOR_SET_COLOR(WIN_MOD_INDEX, 0, 0, 0);
123 }
124 }
125 } break;
126
127 case 1:{
128 if (L_MAC) {
129 RGB_MATRIX_INDICATOR_SET_COLOR(MAC_MOD_INDEX, 255, 255, 255);
130 if (!rgb_matrix_get_flags()) {
131 RGB_MATRIX_INDICATOR_SET_COLOR(WIN_MOD_INDEX, 0, 0, 0);
132 }
133 }else{
134 if (!rgb_matrix_get_flags()) {
135 RGB_MATRIX_INDICATOR_SET_COLOR(MAC_MOD_INDEX, 0, 0, 0);
136 }
137 }
138 } break;
139
140 default:{
141 if (!rgb_matrix_get_flags()) {
142 RGB_MATRIX_INDICATOR_SET_COLOR(WIN_MOD_INDEX, 0, 0, 0);
143 RGB_MATRIX_INDICATOR_SET_COLOR(MAC_MOD_INDEX, 0, 0, 0);
144 }
145 }
146 }
147 return false;
148}
149
150
151void suspend_power_down_kb(void) {
152 writePinLow(SDB);
153 suspend_power_down_user();
154}
155
156void suspend_wakeup_init_kb(void) {
157 writePinHigh(SDB);
158 suspend_wakeup_init_user();
159}
160#endif
161
162bool process_record_kb(uint16_t keycode, keyrecord_t *record) {
163 if (!process_record_user(keycode, record)) {
164 return false;
165 }
166 switch (keycode) {
167# ifdef RGB_MATRIX_ENABLE
168 case RGB_TOG:
169 if (record->event.pressed) {
170 switch (rgb_matrix_get_flags()) {
171 case LED_FLAG_ALL: {
172 rgb_matrix_set_flags(LED_FLAG_NONE);
173 rgb_matrix_set_color_all(0, 0, 0);
174 } break;
175 default: {
176 rgb_matrix_set_flags(LED_FLAG_ALL);
177 } break;
178 }
179 }
180 return false;
181# endif
182 case TO(0):
183 if (record->event.pressed) {
184 L_WIN = 1;
185 set_single_persistent_default_layer(0); // Save default layer 0 to eeprom
186 } else {
187 L_WIN = 0;
188 }
189 return true; // continue all further processing of this key
190
191 case MO(2):
192 if (record->event.pressed) {
193 FN_WIN = 1;
194 } else {
195 FN_WIN = 0;
196 }
197 return true; // continue all further processing of this key
198
199 case TO(1):
200 if (record->event.pressed) {
201 L_MAC = 1;
202 set_single_persistent_default_layer(1); //Save default layer 1 to eeprom
203 } else {
204 L_MAC = 0;
205 }
206 return true; // continue all further processing of this key
207
208 case MO(3):
209 if (record->event.pressed) {
210 FN_MAC = 1;
211 } else {
212 FN_MAC = 0;
213 }
214 return true; // continue all further processing of this key
215 default:
216 return true;
217 }
218}
219
220void board_init(void) {
221 // JTAG-DP Disabled and SW-DP Disabled
222 AFIO->MAPR = (AFIO->MAPR & ~AFIO_MAPR_SWJ_CFG_Msk) | AFIO_MAPR_SWJ_CFG_DISABLE;
223# ifdef RGB_MATRIX_ENABLE
224 setPinOutput(SDB);
225 writePinHigh(SDB);
226# endif
227}
diff --git a/keyboards/skyloong/gk61/pro_48/readme.md b/keyboards/skyloong/gk61/pro_48/readme.md
new file mode 100644
index 0000000000..babfec4a3b
--- /dev/null
+++ b/keyboards/skyloong/gk61/pro_48/readme.md
@@ -0,0 +1,33 @@
1# GK61 PRO 48
2
3![GK61 PRO](https://i.imgur.com/DTetyVLh.jpg)
4
5## The PCB features:
6* QMK & VIA compatibility
7* RGB Matrix backlight
8* The space bar position switch can be interchanged with encoder module.
9
10
11The following is the QMK Firmware for the Destop 60% keylayout - designed in Dongguan Jizhi Electronic Technology Co., Ltd
12
13* Keyboard Maintainer: [NaturalZh](https://github.com/NaturalZh)
14* Hardware Supported: DestopPCB for Skyloong keylayout 60%, STM32F103C8T6
15* Hardware Availability: http://www.skyloong.com.cn https://skyloong.vip
16
17Make example for this keyboard (after setting up your build environment):
18
19 make skyloong/gk61/pro_48:default
20
21Flashing example for this keyboard:
22
23 make skyloong/gk61/pro_48:default:flash
24
25See the [build environment setup](https://docs.qmk.fm/#/getting_started_build_tools) and the [make instructions](https://docs.qmk.fm/#/getting_started_make_guide) for more information. Brand new to QMK? Start with our [Complete Newbs Guide](https://docs.qmk.fm/#/newbs).
26
27## Bootloader
28
29Enter the bootloader in 3 ways:
30
31* **Bootmagic reset**: Hold down the key at (0,0) in the matrix (usually the top left key or Escape) and plug in the keyboard
32* **Physical reset button**: Briefly press the button on the back of the PCB - some may have pads you must short instead
33* **Keycode in layout**: Press the key mapped to `QK_BOOT` if it is available
diff --git a/keyboards/skyloong/gk61/pro_48/rules.mk b/keyboards/skyloong/gk61/pro_48/rules.mk
new file mode 100644
index 0000000000..3bbd261429
--- /dev/null
+++ b/keyboards/skyloong/gk61/pro_48/rules.mk
@@ -0,0 +1 @@
# File intentionally blank