aboutsummaryrefslogtreecommitdiffstats
path: root/keyboards/paprikman/albacore
diff options
context:
space:
mode:
authorJack Sangdahl2025-09-09 11:08:20 +0200
committerGitHub2025-09-09 11:08:20 +0200
commit2818085d3fffb645e1835326104534ee94b03fdb (patch)
tree90564a01f3bc77227322ccc5206ef734733c451f /keyboards/paprikman/albacore
parentd17671cd23ffe94be29b696fbdcaeeb2b5d47018 (diff)
Migrate `g_led_config` to DD (P) (#25622)
Diffstat (limited to 'keyboards/paprikman/albacore')
-rw-r--r--keyboards/paprikman/albacore/albacore.c30
-rw-r--r--keyboards/paprikman/albacore/keyboard.json10
2 files changed, 10 insertions, 30 deletions
diff --git a/keyboards/paprikman/albacore/albacore.c b/keyboards/paprikman/albacore/albacore.c
deleted file mode 100644
index b6cf742a11..0000000000
--- a/keyboards/paprikman/albacore/albacore.c
+++ /dev/null
@@ -1,30 +0,0 @@
-/* Copyright 2021 paprikman
- *
- * 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 = { {
- { 0, 1, 2, 3 },
- { 7, 6, 5, 4 }
-}, {
- { 56, 16 }, { 112, 16 }, { 168, 16 }, { 224, 16 },
- { 56, 24 }, { 112, 24 }, { 168, 24 }, { 224, 24 }
-}, {
- 1, 1, 1, 1,
- 1, 1, 1, 1
-} };
-#endif
diff --git a/keyboards/paprikman/albacore/keyboard.json b/keyboards/paprikman/albacore/keyboard.json
index 8706c67bcd..a2005221c3 100644
--- a/keyboards/paprikman/albacore/keyboard.json
+++ b/keyboards/paprikman/albacore/keyboard.json
@@ -10,6 +10,16 @@
},
"rgb_matrix": {
"driver": "ws2812",
+ "layout": [
+ {"matrix": [0, 0], "x": 0, "y": 0, "flags": 1},
+ {"matrix": [0, 1], "x": 75, "y": 0, "flags": 1},
+ {"matrix": [0, 2], "x": 150, "y": 0, "flags": 1},
+ {"matrix": [0, 3], "x": 224, "y": 0, "flags": 1},
+ {"matrix": [1, 3], "x": 0, "y": 64, "flags": 1},
+ {"matrix": [1, 2], "x": 75, "y": 64, "flags": 1},
+ {"matrix": [1, 1], "x": 150, "y": 64, "flags": 1},
+ {"matrix": [1, 0], "x": 224, "y": 64, "flags": 1}
+ ],
"max_brightness": 220,
"sleep": true
},