aboutsummaryrefslogtreecommitdiffstats
path: root/keyboards/yushakobo
diff options
context:
space:
mode:
authorJack Sangdahl2025-09-11 19:34:10 +0200
committerGitHub2025-09-11 19:34:10 +0200
commit74b0f054c1850baab3a4a66b6296ebe240a6b7ae (patch)
tree39f770a772cbb08f59ba0e99a3fc8d62eb388936 /keyboards/yushakobo
parent6eee1940e8b9ce9a2b57f7fcec3cd92224b6113f (diff)
Migrate `g_led_config` to DD (YZ) (#25650)
Diffstat (limited to 'keyboards/yushakobo')
-rw-r--r--keyboards/yushakobo/quick17/keyboard.json20
-rw-r--r--keyboards/yushakobo/quick17/quick17.c37
2 files changed, 20 insertions, 37 deletions
diff --git a/keyboards/yushakobo/quick17/keyboard.json b/keyboards/yushakobo/quick17/keyboard.json
index 627642a179..621bbf810a 100644
--- a/keyboards/yushakobo/quick17/keyboard.json
+++ b/keyboards/yushakobo/quick17/keyboard.json
@@ -18,6 +18,26 @@
},
"rgb_matrix": {
"driver": "ws2812",
+ "layout": [
+ {"matrix": [1, 0], "x": 0, "y": 32, "flags": 4},
+ {"matrix": [1, 1], "x": 44, "y": 32, "flags": 4},
+ {"matrix": [2, 0], "x": 0, "y": 64, "flags": 4},
+ {"matrix": [2, 1], "x": 44, "y": 64, "flags": 4},
+ {"matrix": [2, 2], "x": 89, "y": 64, "flags": 4},
+ {"matrix": [2, 3], "x": 134, "y": 64, "flags": 4},
+ {"matrix": [2, 4], "x": 179, "y": 64, "flags": 4},
+ {"matrix": [2, 5], "x": 224, "y": 64, "flags": 4},
+ {"matrix": [1, 5], "x": 224, "y": 32, "flags": 4},
+ {"matrix": [1, 4], "x": 179, "y": 32, "flags": 4},
+ {"matrix": [1, 3], "x": 134, "y": 32, "flags": 4},
+ {"matrix": [1, 2], "x": 89, "y": 32, "flags": 4},
+ {"matrix": [0, 0], "x": 0, "y": 0, "flags": 4},
+ {"matrix": [0, 1], "x": 44, "y": 0, "flags": 4},
+ {"matrix": [0, 2], "x": 89, "y": 0, "flags": 4},
+ {"matrix": [0, 3], "x": 134, "y": 0, "flags": 4},
+ {"matrix": [0, 4], "x": 179, "y": 0, "flags": 4},
+ {"matrix": [0, 5], "x": 224, "y": 0, "flags": 4}
+ ],
"max_brightness": 150,
"sat_steps": 8,
"sleep": true,
diff --git a/keyboards/yushakobo/quick17/quick17.c b/keyboards/yushakobo/quick17/quick17.c
deleted file mode 100644
index d6fe84199b..0000000000
--- a/keyboards/yushakobo/quick17/quick17.c
+++ /dev/null
@@ -1,37 +0,0 @@
-/* Copyright 2021 yushakobo
- *
- * 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/>.
- */
-
-#include "quantum.h"
-
-#ifdef RGB_MATRIX_ENABLE
-led_config_t g_led_config = {
- {
- {12, 13, 14, 15, 16, 17},
- {0, 1, 11, 10, 9, 8},
- {2, 3, 4, 5, 6, 7}
- },
- {
- {0,32}, {44,32}, {0,64}, {44,64}, {89,64}, {134,64},
- {179,64},{224,64},{224,32},{179,32},{134,32},{89,32},
- {0,0}, {44,0}, {89,0}, {134,0}, {179,0}, {224,0}
- },
- {
- 4, 4, 4, 4, 4, 4,
- 4, 4, 4, 4, 4, 4,
- 4, 4, 4, 4, 4, 4
- }
-};
-#endif