aboutsummaryrefslogtreecommitdiffstats
path: root/keyboards/labbe
diff options
context:
space:
mode:
authorJack Sangdahl2025-09-09 12:50:36 +0200
committerGitHub2025-09-09 12:50:36 +0200
commitdb9b295aa720721ea3e3f94617a90dfc7dcbad58 (patch)
tree994d9f3b6a4c3d9b87ffc63e2a47bcdd03878463 /keyboards/labbe
parent3934a7f3c8e153d020d84fc5823379d3af21cfe9 (diff)
Migrate `g_led_config` to DD (L) (#25617)
Diffstat (limited to 'keyboards/labbe')
-rw-r--r--keyboards/labbe/labbeminiv1/keyboard.json9
-rw-r--r--keyboards/labbe/labbeminiv1/labbeminiv1.c36
2 files changed, 9 insertions, 36 deletions
diff --git a/keyboards/labbe/labbeminiv1/keyboard.json b/keyboards/labbe/labbeminiv1/keyboard.json
index e1b94dfa4e..905a180d22 100644
--- a/keyboards/labbe/labbeminiv1/keyboard.json
+++ b/keyboards/labbe/labbeminiv1/keyboard.json
@@ -26,6 +26,15 @@
"diode_direction": "COL2ROW",
"processor": "atmega32u4",
"bootloader": "atmel-dfu",
+ "rgb_matrix": {
+ "driver": "ws2812",
+ "layout": [
+ {"matrix": [0, 1], "x": 112, "y": 0, "flags": 4},
+ {"matrix": [1, 0], "x": 0, "y": 64, "flags": 4},
+ {"matrix": [1, 1], "x": 112, "y": 64, "flags": 4},
+ {"matrix": [1, 2], "x": 224, "y": 64, "flags": 4}
+ ]
+ },
"layouts": {
"LAYOUT_wasd": {
"layout": [
diff --git a/keyboards/labbe/labbeminiv1/labbeminiv1.c b/keyboards/labbe/labbeminiv1/labbeminiv1.c
deleted file mode 100644
index a2ce367c5b..0000000000
--- a/keyboards/labbe/labbeminiv1/labbeminiv1.c
+++ /dev/null
@@ -1,36 +0,0 @@
-/*
- * 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 = {
- {
- // Key Matrix to LED Index
- {NO_LED, 0, NO_LED},
- {1, 2, 3}
- },
- {
- // LED Index to Physical Position
- {112, 0},
- {0, 64}, {112, 64}, {224, 64},
- },
- {
- // LED Index to Flag
- 4,
- 4, 4, 4
- }
-};
-#endif \ No newline at end of file