summaryrefslogtreecommitdiff
path: root/keyboards/handwired
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/handwired')
-rw-r--r--keyboards/handwired/2x5keypad/2x5keypad.h11
-rw-r--r--keyboards/handwired/2x5keypad/info.json20
-rw-r--r--keyboards/handwired/6key/6key.c2
-rw-r--r--keyboards/handwired/6key/6key.h27
-rw-r--r--keyboards/handwired/6key/info.json9
-rw-r--r--keyboards/handwired/6macro/6macro.h35
-rw-r--r--keyboards/handwired/6macro/info.json10
-rw-r--r--keyboards/handwired/aplx2/aplx2.h25
-rw-r--r--keyboards/handwired/aplx2/info.json4
-rw-r--r--keyboards/handwired/arrow_pad/arrow_pad.h35
-rw-r--r--keyboards/handwired/arrow_pad/info.json78
-rw-r--r--keyboards/handwired/arrow_pad/keymaps/pad_21/keymap.c13
-rw-r--r--keyboards/handwired/bstk100/bstk100.h43
-rw-r--r--keyboards/handwired/bstk100/info.json40
-rw-r--r--keyboards/handwired/ck4x4/ck4x4.h15
-rw-r--r--keyboards/handwired/ck4x4/info.json32
-rw-r--r--keyboards/handwired/frankie_macropad/frankie_macropad.h39
-rw-r--r--keyboards/handwired/frankie_macropad/info.json20
-rw-r--r--keyboards/handwired/gamenum/gamenum.c2
-rw-r--r--keyboards/handwired/gamenum/gamenum.h19
-rw-r--r--keyboards/handwired/gamenum/info.json38
-rw-r--r--keyboards/handwired/leftynumpad/info.json50
-rw-r--r--keyboards/handwired/leftynumpad/leftynumpad.h42
-rw-r--r--keyboards/handwired/lovelive9/info.json18
-rw-r--r--keyboards/handwired/lovelive9/lovelive9.h9
-rw-r--r--keyboards/handwired/mechboards_micropad/info.json7
-rw-r--r--keyboards/handwired/mechboards_micropad/mechboards_micropad.h33
-rw-r--r--keyboards/handwired/misterdeck/info.json24
-rw-r--r--keyboards/handwired/misterdeck/misterdeck.h30
-rw-r--r--keyboards/handwired/mutepad/info.json8
-rw-r--r--keyboards/handwired/mutepad/mutepad.h19
-rw-r--r--keyboards/handwired/nicekey/info.json2
-rw-r--r--keyboards/handwired/nicekey/nicekey.h9
-rw-r--r--keyboards/handwired/novem/info.json20
-rw-r--r--keyboards/handwired/novem/novem.h31
-rw-r--r--keyboards/handwired/nozbe_macro/info.json8
-rw-r--r--keyboards/handwired/nozbe_macro/nozbe_macro.h25
-rw-r--r--keyboards/handwired/numpad20/info.json44
-rw-r--r--keyboards/handwired/numpad20/numpad20.h17
-rw-r--r--keyboards/handwired/obuwunkunubi/spaget/info.json54
-rw-r--r--keyboards/handwired/obuwunkunubi/spaget/spaget.h47
-rw-r--r--keyboards/handwired/postageboard/info.json6
-rw-r--r--keyboards/handwired/postageboard/postageboard.h26
-rw-r--r--keyboards/handwired/snatchpad/info.json16
-rw-r--r--keyboards/handwired/snatchpad/snatchpad.c2
-rw-r--r--keyboards/handwired/snatchpad/snatchpad.h24
-rw-r--r--keyboards/handwired/splittest/info.json5
-rw-r--r--keyboards/handwired/splittest/splittest.h5
-rw-r--r--keyboards/handwired/sticc14/info.json32
-rw-r--r--keyboards/handwired/sticc14/sticc14.h40
-rw-r--r--keyboards/handwired/tennie/info.json15
-rw-r--r--keyboards/handwired/tennie/tennie.c2
-rw-r--r--keyboards/handwired/tennie/tennie.h37
-rw-r--r--keyboards/handwired/trackpoint/info.json6
-rw-r--r--keyboards/handwired/trackpoint/trackpoint.h10
55 files changed, 318 insertions, 922 deletions
diff --git a/keyboards/handwired/2x5keypad/2x5keypad.h b/keyboards/handwired/2x5keypad/2x5keypad.h
index 6284e83b72..6fcdd2128c 100644
--- a/keyboards/handwired/2x5keypad/2x5keypad.h
+++ b/keyboards/handwired/2x5keypad/2x5keypad.h
@@ -6,16 +6,5 @@
#define BLUE_LED B5
#define GREEN_LED B6
-
-#define LAYOUT( \
- K00, K01, K02, K03, K04, \
- K10, K11, K12, K13, K14 \
-) { \
- { K00, K01, K02, K03, K04 }, \
- { K10, K11, K12, K13, K14 } \
-}
-
-
-
void turn_off_leds(void);
void turn_on_led(pin_t pin);
diff --git a/keyboards/handwired/2x5keypad/info.json b/keyboards/handwired/2x5keypad/info.json
index 3679eca918..1df0ccbdee 100644
--- a/keyboards/handwired/2x5keypad/info.json
+++ b/keyboards/handwired/2x5keypad/info.json
@@ -18,17 +18,17 @@
"layouts": {
"LAYOUT": {
"layout": [
- {"x":0, "y":0},
- {"x":1, "y":0},
- {"x":2, "y":0},
- {"x":3, "y":0},
- {"x":4, "y":0},
+ {"matrix": [0, 0], "x": 0, "y": 0},
+ {"matrix": [0, 1], "x": 1, "y": 0},
+ {"matrix": [0, 2], "x": 2, "y": 0},
+ {"matrix": [0, 3], "x": 3, "y": 0},
+ {"matrix": [0, 4], "x": 4, "y": 0},
- {"x":0, "y":1},
- {"x":1, "y":1},
- {"x":2, "y":1},
- {"x":3, "y":1},
- {"x":4, "y":1}
+ {"matrix": [1, 0], "x": 0, "y": 1},
+ {"matrix": [1, 1], "x": 1, "y": 1},
+ {"matrix": [1, 2], "x": 2, "y": 1},
+ {"matrix": [1, 3], "x": 3, "y": 1},
+ {"matrix": [1, 4], "x": 4, "y": 1}
]
}
}
diff --git a/keyboards/handwired/6key/6key.c b/keyboards/handwired/6key/6key.c
index 22c766a30f..93b9477dce 100644
--- a/keyboards/handwired/6key/6key.c
+++ b/keyboards/handwired/6key/6key.c
@@ -13,7 +13,7 @@
* 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 "6key.h"
+#include "quantum.h"
bool dip_switch_update_kb(uint8_t index, bool active) {
if (!dip_switch_update_user(index, active)) { return false; }
diff --git a/keyboards/handwired/6key/6key.h b/keyboards/handwired/6key/6key.h
deleted file mode 100644
index f63abc35d2..0000000000
--- a/keyboards/handwired/6key/6key.h
+++ /dev/null
@@ -1,27 +0,0 @@
- /* Copyright 2020 Bratzworth
- *
- * 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/>.
- */
-#pragma once
-
-#include "quantum.h"
-
-#define LAYOUT( \
- k00, k01, k02, \
- k03, k04, k05 \
-) \
-{ \
- { k00, k01, k02 }, \
- { k03, k04, k05 } \
-}
diff --git a/keyboards/handwired/6key/info.json b/keyboards/handwired/6key/info.json
index fec35620a2..39c26006d6 100644
--- a/keyboards/handwired/6key/info.json
+++ b/keyboards/handwired/6key/info.json
@@ -18,8 +18,13 @@
"layouts": {
"LAYOUT": {
"layout": [
- {"label":"k00", "x":0, "y":0}, {"label":"k01", "x":1, "y":0}, {"label":"k02", "x":2, "y":0},
- {"label":"k10", "x":0, "y":1}, {"label":"k11", "x":1, "y":1}, {"label":"k12", "x":2, "y":1}
+ {"matrix": [0, 0], "x": 0, "y": 0},
+ {"matrix": [0, 1], "x": 1, "y": 0},
+ {"matrix": [0, 2], "x": 2, "y": 0},
+
+ {"matrix": [1, 0], "x": 0, "y": 1},
+ {"matrix": [1, 1], "x": 1, "y": 1},
+ {"matrix": [1, 2], "x": 2, "y": 1}
]
}
}
diff --git a/keyboards/handwired/6macro/6macro.h b/keyboards/handwired/6macro/6macro.h
deleted file mode 100644
index c1d5005128..0000000000
--- a/keyboards/handwired/6macro/6macro.h
+++ /dev/null
@@ -1,35 +0,0 @@
-/* Copyright 2019 joaofbmaia
- *
- * 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/>.
- */
-#pragma once
-
-#include "quantum.h"
-
-/* This a shortcut to help you visually see your layout.
- *
- * The first section contains all of the arguments representing the physical
- * layout of the board and position of the keys.
- *
- * The second converts the arguments into a two-dimensional array which
- * represents the switch matrix.
- */
-#define LAYOUT( \
- k00, k01, k02, \
- k10, k11, k12 \
-) \
-{ \
- { k00, k01, k02 }, \
- { k10, k11, k12 }, \
-}
diff --git a/keyboards/handwired/6macro/info.json b/keyboards/handwired/6macro/info.json
index d081a75d3e..02111f4746 100644
--- a/keyboards/handwired/6macro/info.json
+++ b/keyboards/handwired/6macro/info.json
@@ -17,7 +17,15 @@
"bootloader": "atmel-dfu",
"layouts": {
"LAYOUT": {
- "layout": [{"label":"k00", "x":0, "y":0}, {"label":"k01", "x":1, "y":0}, {"label":"k02", "x":2, "y":0}, {"label":"k10", "x":0, "y":1}, {"label":"k11", "x":1, "y":1}, {"label":"k12", "x":2, "y":1}]
+ "layout": [
+ {"label": "k00", "matrix": [0, 0], "x": 0, "y": 0},
+ {"label": "k01", "matrix": [0, 1], "x": 1, "y": 0},
+ {"label": "k02", "matrix": [0, 2], "x": 2, "y": 0},
+
+ {"label": "k10", "matrix": [1, 0], "x": 0, "y": 1},
+ {"label": "k11", "matrix": [1, 1], "x": 1, "y": 1},
+ {"label": "k12", "matrix": [1, 2], "x": 2, "y": 1}
+ ]
}
}
}
diff --git a/keyboards/handwired/aplx2/aplx2.h b/keyboards/handwired/aplx2/aplx2.h
deleted file mode 100644
index a47b064b96..0000000000
--- a/keyboards/handwired/aplx2/aplx2.h
+++ /dev/null
@@ -1,25 +0,0 @@
-/*
-Copyright 2020 April Aplyard <alex.fragiou@gmail.com>
-
-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/>.
-*/
-
-#pragma once
-#include "quantum.h"
-
-#define LAYOUT( \
- K00, K01 \
-) { \
- { K00 , K01 } \
-}
diff --git a/keyboards/handwired/aplx2/info.json b/keyboards/handwired/aplx2/info.json
index 76aff146f2..d3f7962fe7 100644
--- a/keyboards/handwired/aplx2/info.json
+++ b/keyboards/handwired/aplx2/info.json
@@ -18,8 +18,8 @@
"layouts": {
"LAYOUT": {
"layout": [
- {"x":0, "y":0},
- {"x":1, "y":0}
+ {"matrix": [0, 0], "x": 0, "y": 0},
+ {"matrix": [0, 1], "x": 1, "y": 0}
]
}
}
diff --git a/keyboards/handwired/arrow_pad/arrow_pad.h b/keyboards/handwired/arrow_pad/arrow_pad.h
deleted file mode 100644
index 489dae2a4e..0000000000
--- a/keyboards/handwired/arrow_pad/arrow_pad.h
+++ /dev/null
@@ -1,35 +0,0 @@
-#pragma once
-
-#include "quantum.h"
-
-#define XXX KC_NO
-
-// This is the 21-key keypad to 4x6 element matrix mapping
-#define LAYOUT( \
- k00, k01, k02, k03, \
- k10, k11, k12, k13, \
- k20, k21, k22, k23, \
- k30, k31, k32, k33, \
- k40, k41, k42, k43, \
- k50, k51, k52, k53 \
-) { \
- { k00, k01, k02, k03 }, \
- { k10, k11, k12, k13 }, \
- { k20, k21, k22, k23 }, \
- { k30, k31, k32, k33 }, \
- { k40, k41, k42, k43 }, \
- { k50, k51, k52, k53 } \
-}
-
-// This is the 21-key keypad to 2x11 element matrix mapping
-#define LAYOUT_pad21( \
- k00, k01, k02, k03, \
- k10, k11, k12, k13, \
- k04, k05, k06, \
- k14, k15, k16, k07, \
- k08, k09, k0A, \
- k19, k1A, k17 \
-) { \
- { k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0A }, \
- { k10, k11, k12, k13, k14, k15, k16, k17, XXX, k19, k1A } \
-}
diff --git a/keyboards/handwired/arrow_pad/info.json b/keyboards/handwired/arrow_pad/info.json
index 91690cf83e..b9d705f3bf 100644
--- a/keyboards/handwired/arrow_pad/info.json
+++ b/keyboards/handwired/arrow_pad/info.json
@@ -21,55 +21,35 @@
"layouts": {
"LAYOUT": {
"layout": [
- {"label":"KM_ESC", "x":0, "y":0},
- {"label":"KM_TAB", "x":1, "y":0},
- {"label":"KM_BSL", "x":2, "y":0},
- {"label":"KM_ARR", "x":3, "y":0},
- {"label":"KM_NUM", "x":0, "y":1},
- {"label":"KM_FSL", "x":1, "y":1},
- {"label":"KM_AST", "x":2, "y":1},
- {"label":"KM_MIN", "x":3, "y":1},
- {"label":"KM___7", "x":0, "y":2},
- {"label":"KM___8", "x":1, "y":2},
- {"label":"KM___9", "x":2, "y":2},
- {"label":"KM_EQU", "x":3, "y":2},
- {"label":"KM___4", "x":0, "y":3},
- {"label":"KM___5", "x":1, "y":3},
- {"label":"KM___6", "x":2, "y":3},
- {"label":"KM_PLS", "x":3, "y":3},
- {"label":"KM___1", "x":0, "y":4},
- {"label":"KM___2", "x":1, "y":4},
- {"label":"KM___3", "x":2, "y":4},
- {"label":"___ENT", "x":3, "y":4},
- {"label":"KM___0", "x":0, "y":5},
- {"label":"_____0", "x":1, "y":5},
- {"label":"KM_DOT", "x":2, "y":5},
- {"label":"KM_ENT", "x":3, "y":5}
- ]
- },
- "LAYOUT_pad21": {
- "layout": [
- {"label":"KM_ESC", "x":0, "y":0},
- {"label":"KM_TAB", "x":1, "y":0},
- {"label":"KM_BSL", "x":2, "y":0},
- {"label":"KM_ARR", "x":3, "y":0},
- {"label":"KM_NUM", "x":0, "y":1},
- {"label":"KM_FSL", "x":1, "y":1},
- {"label":"KM_AST", "x":2, "y":1},
- {"label":"KM_MIN", "x":3, "y":1},
- {"label":"KM___7", "x":0, "y":2},
- {"label":"KM___8", "x":1, "y":2},
- {"label":"KM___9", "x":2, "y":2},
- {"label":"KM___4", "x":0, "y":3},
- {"label":"KM___5", "x":1, "y":3},
- {"label":"KM___6", "x":2, "y":3},
- {"label":"KM_PLS", "x":3, "y":2, "h":2},
- {"label":"KM___1", "x":0, "y":4},
- {"label":"KM___2", "x":1, "y":4},
- {"label":"KM___3", "x":2, "y":4},
- {"label":"KM___0", "x":0, "y":5, "w":2},
- {"label":"KM_DOT", "x":2, "y":5},
- {"label":"KM_ENT", "x":3, "y":4, "h":2}
+ {"matrix": [0, 0], "x": 0, "y": 0},
+ {"matrix": [0, 1], "x": 1, "y": 0},
+ {"matrix": [0, 2], "x": 2, "y": 0},
+ {"matrix": [0, 3], "x": 3, "y": 0},
+
+ {"matrix": [1, 0], "x": 0, "y": 1},
+ {"matrix": [1, 1], "x": 1, "y": 1},
+ {"matrix": [1, 2], "x": 2, "y": 1},
+ {"matrix": [1, 3], "x": 3, "y": 1},
+
+ {"matrix": [2, 0], "x": 0, "y": 2},
+ {"matrix": [2, 1], "x": 1, "y": 2},
+ {"matrix": [2, 2], "x": 2, "y": 2},
+ {"matrix": [2, 3], "x": 3, "y": 2},
+
+ {"matrix": [3, 0], "x": 0, "y": 3},
+ {"matrix": [3, 1], "x": 1, "y": 3},
+ {"matrix": [3, 2], "x": 2, "y": 3},
+ {"matrix": [3, 3], "x": 3, "y": 3},
+
+ {"matrix": [4, 0], "x": 0, "y": 4},
+ {"matrix": [4, 1], "x": 1, "y": 4},
+ {"matrix": [4, 2], "x": 2, "y": 4},
+ {"matrix": [4, 3], "x": 3, "y": 4},
+
+ {"matrix": [5, 0], "x": 0, "y": 5},
+ {"matrix": [5, 1], "x": 1, "y": 5},
+ {"matrix": [5, 2], "x": 2, "y": 5},
+ {"matrix": [5, 3], "x": 3, "y": 5}
]
}
}
diff --git a/keyboards/handwired/arrow_pad/keymaps/pad_21/keymap.c b/keyboards/handwired/arrow_pad/keymaps/pad_21/keymap.c
index bc940420fe..cf291c00cf 100644
--- a/keyboards/handwired/arrow_pad/keymaps/pad_21/keymap.c
+++ b/keyboards/handwired/arrow_pad/keymaps/pad_21/keymap.c
@@ -2,6 +2,19 @@
#include QMK_KEYBOARD_H
#include "led.h"
+// This is the 21-key keypad to 2x11 element matrix mapping
+#define LAYOUT_pad21( \
+ k00, k01, k02, k03, \
+ k10, k11, k12, k13, \
+ k04, k05, k06, \
+ k14, k15, k16, k07, \
+ k08, k09, k0A, \
+ k19, k1A, k17 \
+) { \
+ { k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0A }, \
+ { k10, k11, k12, k13, k14, k15, k16, k17, XXX, k19, k1A } \
+}
+
enum layers {
LAYER_BASE,
LAYER_EDIT,
diff --git a/keyboards/handwired/bstk100/bstk100.h b/keyboards/handwired/bstk100/bstk100.h
deleted file mode 100644
index 42a6da437f..0000000000
--- a/keyboards/handwired/bstk100/bstk100.h
+++ /dev/null
@@ -1,43 +0,0 @@
-/* Copyright 2021 FREE WING,Y.Sakamoto
- * http://www.neko.ne.jp/~freewing/
- *
- * 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/>.
- */
-
-#pragma once
-
-#include "quantum.h"
-
-/* This is a shortcut to help you visually see your layout.
- *
- * The first section contains all of the arguments representing the physical
- * layout of the board and position of the keys.
- *
- * The second converts the arguments into a two-dimensional array which
- * represents the switch matrix.
- */
-#define LAYOUT( \
- k00, \
- k34, k03, k02, k13, \
- k10, k11, k12, k01, \
- k20, k21, k22, k23, \
- k30, k31, k32, k33, \
- k40, k41, k43 \
-) { \
- { k00, k01, k02, k03, KC_NO }, \
- { k10, k11, k12, k13, KC_NO }, \
- { k20, k21, k22, k23, KC_NO }, \
- { k30, k31, k32, k33, k34 }, \
- { k40, k41, KC_NO, k43, KC_NO } \
-}
diff --git a/keyboards/handwired/bstk100/info.json b/keyboards/handwired/bstk100/info.json
index 4d316b4397..257203511a 100644
--- a/keyboards/handwired/bstk100/info.json
+++ b/keyboards/handwired/bstk100/info.json
@@ -24,31 +24,31 @@
"layouts": {
"LAYOUT": {
"layout": [
- {"label": "k00", "x": 0, "y": 0},
+ {"matrix": [0, 0], "x": 0, "y": 0},
- {"label": "k34", "x": 0, "y": 1},
- {"label": "k03", "x": 1, "y": 1},
- {"label": "k02", "x": 2, "y": 1},
- {"label": "k13", "x": 3, "y": 1},
+ {"matrix": [3, 4], "x": 0, "y": 1},
+ {"matrix": [0, 3], "x": 1, "y": 1},
+ {"matrix": [0, 2], "x": 2, "y": 1},
+ {"matrix": [1, 3], "x": 3, "y": 1},
- {"label": "k10", "x": 0, "y": 2},
- {"label": "k11", "x": 1, "y": 2},
- {"label": "k12", "x": 2, "y": 2},
- {"label": "k01", "x": 3, "y": 2},
+ {"matrix": [1, 0], "x": 0, "y": 2},
+ {"matrix": [1, 1], "x": 1, "y": 2},
+ {"matrix": [1, 2], "x": 2, "y": 2},
+ {"matrix": [0, 1], "x": 3, "y": 2},
- {"label": "k20", "x": 0, "y": 3},
- {"label": "k21", "x": 1, "y": 3},
- {"label": "k22", "x": 2, "y": 3},
- {"label": "k23", "x": 3, "y": 3},
+ {"matrix": [2, 0], "x": 0, "y": 3},
+ {"matrix": [2, 1], "x": 1, "y": 3},
+ {"matrix": [2, 2], "x": 2, "y": 3},
+ {"matrix": [2, 3], "x": 3, "y": 3},
- {"label": "k30", "x": 0, "y": 4},
- {"label": "k31", "x": 1, "y": 4},
- {"label": "k32", "x": 2, "y": 4},
- {"label": "k33", "x": 3, "y": 4, "h": 2},
+ {"matrix": [3, 0], "x": 0, "y": 4},
+ {"matrix": [3, 1], "x": 1, "y": 4},
+ {"matrix": [3, 2], "x": 2, "y": 4},
+ {"matrix": [3, 3], "x": 3, "y": 4, "h": 2},
- {"label": "k40", "x": 0, "y": 5},
- {"label": "k41", "x": 1, "y": 5},
- {"label": "k43", "x": 2, "y": 5}
+ {"matrix": [4, 0], "x": 0, "y": 5},
+ {"matrix": [4, 1], "x": 1, "y": 5},
+ {"matrix": [4, 3], "x": 2, "y": 5}
]
}
}
diff --git a/keyboards/handwired/ck4x4/ck4x4.h b/keyboards/handwired/ck4x4/ck4x4.h
deleted file mode 100644
index 33c1b8dd99..0000000000
--- a/keyboards/handwired/ck4x4/ck4x4.h
+++ /dev/null
@@ -1,15 +0,0 @@
-#pragma once
-
-#include "quantum.h"
-
-#define LAYOUT( \
- k00, k01, k02, k03, \
- k10, k11, k12, k13, \
- k20, k21, k22, k23, \
- k30, k31, k32, k33 \
-) {\
-{ k00, k01, k02, k03 }, \
-{ k10, k11, k12, k13 }, \
-{ k20, k21, k22, k23 }, \
-{ k30, k31, k32, k33 }, \
-}
diff --git a/keyboards/handwired/ck4x4/info.json b/keyboards/handwired/ck4x4/info.json
index 661f4edb2a..8caf00aefd 100644
--- a/keyboards/handwired/ck4x4/info.json
+++ b/keyboards/handwired/ck4x4/info.json
@@ -18,25 +18,25 @@
"layouts": {
"LAYOUT": {
"layout": [
- {"x":0, "y":0},
- {"x":1, "y":0},
- {"x":2, "y":0},
- {"x":3, "y":0},
+ {"matrix": [0, 0], "x": 0, "y": 0},
+ {"matrix": [0, 1], "x": 1, "y": 0},
+ {"matrix": [0, 2], "x": 2, "y": 0},
+ {"matrix": [0, 3], "x": 3, "y": 0},
- {"x":0, "y":1},
- {"x":1, "y":1},
- {"x":2, "y":1},
- {"x":3, "y":1},
+ {"matrix": [1, 0], "x": 0, "y": 1},
+ {"matrix": [1, 1], "x": 1, "y": 1},
+ {"matrix": [1, 2], "x": 2, "y": 1},
+ {"matrix": [1, 3], "x": 3, "y": 1},
- {"x":0, "y":2},
- {"x":1, "y":2},
- {"x":2, "y":2},
- {"x":3, "y":2},
+ {"matrix": [2, 0], "x": 0, "y": 2},
+ {"matrix": [2, 1], "x": 1, "y": 2},
+ {"matrix": [2, 2], "x": 2, "y": 2},
+ {"matrix": [2, 3], "x": 3, "y": 2},
- {"x":0, "y":3},
- {"x":1, "y":3},
- {"x":2, "y":3},
- {"x":3, "y":3}
+ {"matrix": [3, 0], "x": 0, "y": 3},
+ {"matrix": [3, 1], "x": 1, "y": 3},
+ {"matrix": [3, 2], "x": 2, "y": 3},
+ {"matrix": [3, 3], "x": 3, "y": 3}
]
}
}
diff --git a/keyboards/handwired/frankie_macropad/frankie_macropad.h b/keyboards/handwired/frankie_macropad/frankie_macropad.h
deleted file mode 100644
index cfd3124ba1..0000000000
--- a/keyboards/handwired/frankie_macropad/frankie_macropad.h
+++ /dev/null
@@ -1,39 +0,0 @@
-/* Copyright 2021 Eric Wood
- *
- * 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/>.
- */
-
-#pragma once
-
-#include "quantum.h"
-
-#define ___ KC_NO
-
-/* This is a shortcut to help you visually see your layout.
- *
- * The first section contains all of the arguments representing the physical
- * layout of the board and position of the keys.
- *
- * The second converts the arguments into a two-dimensional array which
- * represents the switch matrix.
- */
-#define LAYOUT( \
- k02, k03, \
- k10, k11, k12, k13, \
- k20, k21, k22, k23 \
-) { \
- { ___, ___, k02, k03 }, \
- { k10, k11, k12, k13 }, \
- { k20, k21, k22, k23 } \
-}
diff --git a/keyboards/handwired/frankie_macropad/info.json b/keyboards/handwired/frankie_macropad/info.json
index 3416222269..24da71eb8d 100644
--- a/keyboards/handwired/frankie_macropad/info.json
+++ b/keyboards/handwired/frankie_macropad/info.json
@@ -27,18 +27,18 @@
"layouts": {
"LAYOUT": {
"layout": [
- {"label": "k02", "x": 2, "y": 0},
- {"label": "k03", "x": 3, "y": 0},
+ {"matrix": [0, 2], "x": 2, "y": 0},
+ {"matrix": [0, 3], "x": 3, "y": 0},
- {"label": "k10", "x": 0, "y": 1},
- {"label": "k11", "x": 1, "y": 1},
- {"label": "k12", "x": 2, "y": 1},
- {"label": "k13", "x": 3, "y": 1},
+ {"matrix": [1, 0], "x": 0, "y": 1},
+ {"matrix": [1, 1], "x": 1, "y": 1},
+ {"matrix": [1, 2], "x": 2, "y": 1},
+ {"matrix": [1, 3], "x": 3, "y": 1},
- {"label": "k20", "x": 0, "y": 2},
- {"label": "k21", "x": 1, "y": 2},
- {"label": "k22", "x": 2, "y": 2},
- {"label": "k23", "x": 3, "y": 2}
+ {"matrix": [2, 0], "x": 0, "y": 2},
+ {"matrix": [2, 1], "x": 1, "y": 2},
+ {"matrix": [2, 2], "x": 2, "y": 2},
+ {"matrix": [2, 3], "x": 3, "y": 2}
]
}
}
diff --git a/keyboards/handwired/gamenum/gamenum.c b/keyboards/handwired/gamenum/gamenum.c
index 8048194bbc..25493d94c3 100644
--- a/keyboards/handwired/gamenum/gamenum.c
+++ b/keyboards/handwired/gamenum/gamenum.c
@@ -1,4 +1,4 @@
-#include "gamenum.h"
+#include "quantum.h"
void matrix_init_kb(void) {
// put your keyboard start-up code here
diff --git a/keyboards/handwired/gamenum/gamenum.h b/keyboards/handwired/gamenum/gamenum.h
deleted file mode 100644
index 48883b1185..0000000000
--- a/keyboards/handwired/gamenum/gamenum.h
+++ /dev/null
@@ -1,19 +0,0 @@
-#pragma once
-
-#include "quantum.h"
-
-#define XXX KC_NO
-
-#define LAYOUT( \
- k00, k01, k02, k03, \
- k10, k11, k12, k13, \
- k20, k21, k22, \
- k30, k31, k32, \
- k41, k42, k43 \
-) { \
- { k00, k01, k02, k03 }, \
- { k10, k11, k12, k13 }, \
- { k20, k21, k22, XXX }, \
- { k30, k31, k32, XXX }, \
- { XXX, k41, k42, k43 } \
-}
diff --git a/keyboards/handwired/gamenum/info.json b/keyboards/handwired/gamenum/info.json
index e35fb4a4e5..bb12b3b1f7 100644
--- a/keyboards/handwired/gamenum/info.json
+++ b/keyboards/handwired/gamenum/info.json
@@ -18,23 +18,27 @@
"layouts": {
"LAYOUT": {
"layout": [
- {"label":"Fn", "x":0, "y":0},
- {"label":"/", "x":1, "y":0},
- {"label":"*", "x":2, "y":0},
- {"label":"-", "x":3, "y":0},
- {"label":"7", "x":0, "y":1},
- {"label":"8", "x":1, "y":1},
- {"label":"9", "x":2, "y":1},
- {"label":"+", "x":3, "y":1, "h":2},
- {"label":"4", "x":0, "y":2},
- {"label":"5", "x":1, "y":2},
- {"label":"6", "x":2, "y":2},
- {"label":"1", "x":0, "y":3},
- {"label":"2", "x":1, "y":3},
- {"label":"3", "x":2, "y":3},
- {"label":"0", "x":0, "y":4, "w":2},
- {"label":".", "x":2, "y":4},
- {"label":"Ent", "x":3, "y":3, "h":2}
+ {"matrix": [0, 0], "x": 0, "y": 0},
+ {"matrix": [0, 1], "x": 1, "y": 0},
+ {"matrix": [0, 2], "x": 2, "y": 0},
+ {"matrix": [0, 3], "x": 3, "y": 0},
+
+ {"matrix": [1, 0], "x": 0, "y": 1},
+ {"matrix": [1, 1], "x": 1, "y": 1},
+ {"matrix": [1, 2], "x": 2, "y": 1},
+ {"matrix": [1, 3], "x": 3, "y": 1, "h": 2},
+
+ {"matrix": [2, 0], "x": 0, "y": 2},
+ {"matrix": [2, 1], "x": 1, "y": 2},
+ {"matrix": [2, 2], "x": 2, "y": 2},
+
+ {"matrix": [3, 0], "x": 0, "y": 3},
+ {"matrix": [3, 1], "x": 1, "y": 3},
+ {"matrix": [3, 2], "x": 2, "y": 3},
+
+ {"matrix": [4, 1], "x": 0, "y": 4, "w": 2},
+ {"matrix": [4, 2], "x": 2, "y": 4},
+ {"matrix": [4, 3], "x": 3, "y": 3, "h": 2}
]
}
}
diff --git a/keyboards/handwired/leftynumpad/info.json b/keyboards/handwired/leftynumpad/info.json
index c265fe3cfe..0a769a43f9 100644
--- a/keyboards/handwired/leftynumpad/info.json
+++ b/keyboards/handwired/leftynumpad/info.json
@@ -19,29 +19,33 @@
"layouts": {
"LAYOUT": {
"layout": [
- {"label":"0,0", "x":0, "y":0},
- {"label":"1,0", "x":1, "y":0},
- {"label":"2,0", "x":2, "y":0},
- {"label":"3,0", "x":3, "y":0},
- {"label":"4,0", "x":4, "y":0},
- {"label":"0,1", "x":0, "y":1},
- {"label":"1,1", "x":1, "y":1},
- {"label":"2,1", "x":2, "y":1},
- {"label":"3,1", "x":3, "y":1},
- {"label":"0,2", "x":0, "y":2},
- {"label":"1,2", "x":1, "y":2},
- {"label":"2,2", "x":2, "y":2},
- {"label":"3,2", "x":3, "y":2},
- {"label":"5,1", "x":4, "y":1, "h":2},
- {"label":"0,3", "x":0, "y":3},
- {"label":"1,3", "x":1, "y":3},
- {"label":"2,3", "x":2, "y":3},
- {"label":"3,3", "x":3, "y":3},
- {"label":"0,4", "x":0, "y":4},
- {"label":"1,4", "x":1, "y":4},
- {"label":"2,4", "x":2, "y":4},
- {"label":"3,4", "x":3, "y":4},
- {"label":"4,3", "x":4, "y":3, "h":2}
+ {"matrix": [0, 0], "x": 0, "y": 0},
+ {"matrix": [0, 1], "x": 1, "y": 0},
+ {"matrix": [0, 2], "x": 2, "y": 0},
+ {"matrix": [0, 3], "x": 3, "y": 0},
+ {"matrix": [0, 4], "x": 4, "y": 0},
+
+ {"matrix": [1, 0], "x": 0, "y": 1},
+ {"matrix": [1, 1], "x": 1, "y": 1},
+ {"matrix": [1, 2], "x": 2, "y": 1},
+ {"matrix": [1, 3], "x": 3, "y": 1},
+
+ {"matrix": [2, 0], "x": 0, "y": 2},
+ {"matrix": [2, 1], "x": 1, "y": 2},
+ {"matrix": [2, 2], "x": 2, "y": 2},
+ {"matrix": [2, 3], "x": 3, "y": 2},
+ {"matrix": [2, 4], "x": 4, "y": 1, "h": 2},
+
+ {"matrix": [3, 0], "x": 0, "y": 3},
+ {"matrix": [3, 1], "x": 1, "y": 3},
+ {"matrix": [3, 2], "x": 2, "y": 3},
+ {"matrix": [3, 3], "x": 3, "y": 3},
+
+ {"matrix": [4, 0], "x": 0, "y": 4},
+ {"matrix": [4, 1], "x": 1, "y": 4},
+ {"matrix": [4, 2], "x": 2, "y": 4},
+ {"matrix": [4, 3], "x": 3, "y": 4},
+ {"matrix": [4, 4], "x": 4, "y": 3, "h": 2}
]
}
}
diff --git a/keyboards/handwired/leftynumpad/leftynumpad.h b/keyboards/handwired/leftynumpad/leftynumpad.h
deleted file mode 100644
index 7f3ebb8441..0000000000
--- a/keyboards/handwired/leftynumpad/leftynumpad.h
+++ /dev/null
@@ -1,42 +0,0 @@
-/* Copyright 2020 Tom Swartz
- *
- * 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/>.
- */
-
-#pragma once
-
-#include "quantum.h"
-
-/* This is a shortcut to help you visually see your layout.
- *
- * The first section contains all of the arguments representing the physical
- * layout of the board and position of the keys.
- *
- * The second converts the arguments into a two-dimensional array which
- * represents the switch matrix.
- */
-#define LAYOUT( \
- K05, K15, K25, K35, K45, \
- K04, K14, K24, K34, \
- K03, K13, K23, K33, K43, \
- K02, K12, K22, K32, \
- K01, K11, K21, K31, K41 \
-) \
-{ \
- { K05, K15, K25, K35, K45 }, \
- { K04, K14, K24, K34 }, \
- { K03, K13, K23, K33, K43 }, \
- { K02, K12, K22, K32 }, \
- { K01, K11, K21, K31, K41 } \
-}
diff --git a/keyboards/handwired/lovelive9/info.json b/keyboards/handwired/lovelive9/info.json
index f5cecc75e5..945b489751 100644
--- a/keyboards/handwired/lovelive9/info.json
+++ b/keyboards/handwired/lovelive9/info.json
@@ -21,15 +21,15 @@
"layouts": {
"LAYOUT": {
"layout": [
- {"x": 0, "y": 0},
- {"x": 0.5, "y": 1.25},
- {"x": 1.5, "y": 2.5},
- {"x": 2.75, "y": 3.25},
- {"x": 4, "y": 3.5},
- {"x": 5.25, "y": 3.25},
- {"x": 6.5, "y": 2.5},
- {"x": 7.5, "y": 1.25},
- {"x": 8, "y": 0}
+ {"matrix": [0, 0], "x": 0, "y": 0},
+ {"matrix": [0, 1], "x": 0.5, "y": 1.25},
+ {"matrix": [0, 2], "x": 1.5, "y": 2.5},
+ {"matrix": [0, 3], "x": 2.75, "y": 3.25},
+ {"matrix": [0, 4], "x": 4, "y": 3.5},
+ {"matrix": [0, 5], "x": 5.25, "y": 3.25},
+ {"matrix": [0, 6], "x": 6.5, "y": 2.5},
+ {"matrix": [0, 7], "x": 7.5, "y": 1.25},
+ {"matrix": [0, 8], "x": 8, "y": 0}
]
}
}
diff --git a/keyboards/handwired/lovelive9/lovelive9.h b/keyboards/handwired/lovelive9/lovelive9.h
deleted file mode 100644
index f6fb1f94cc..0000000000
--- a/keyboards/handwired/lovelive9/lovelive9.h
+++ /dev/null
@@ -1,9 +0,0 @@
-#pragma once
-
-#include "quantum.h"
-#define LAYOUT( \
- k00, k01, k02, k03, k04, k05, k06, k07, k08 \
-) \
-{ \
- { k00, k01, k02, k03, k04, k05, k06, k07, k08 } \
-}
diff --git a/keyboards/handwired/mechboards_micropad/info.json b/keyboards/handwired/mechboards_micropad/info.json
index 6d751780f6..7da646d1fe 100644
--- a/keyboards/handwired/mechboards_micropad/info.json
+++ b/keyboards/handwired/mechboards_micropad/info.json
@@ -17,7 +17,12 @@
"bootloader": "caterina",
"layouts": {
"LAYOUT": {
- "layout": [{"label":"1", "x":0, "y":0}, {"label":"2", "x":1, "y":0}, {"label":"3", "x":2, "y":0}, {"label":"4", "x":3, "y":0}]
+ "layout": [
+ {"matrix": [0, 0], "x": 0, "y": 0},
+ {"matrix": [0, 1], "x": 1, "y": 0},
+ {"matrix": [0, 2], "x": 2, "y": 0},
+ {"matrix": [0, 3], "x": 3, "y": 0}
+ ]
}
}
}
diff --git a/keyboards/handwired/mechboards_micropad/mechboards_micropad.h b/keyboards/handwired/mechboards_micropad/mechboards_micropad.h
deleted file mode 100644
index 9839084862..0000000000
--- a/keyboards/handwired/mechboards_micropad/mechboards_micropad.h
+++ /dev/null
@@ -1,33 +0,0 @@
-/* Copyright 2019 Yiancar
- *
- * 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/>.
- */
-#pragma once
-
-#include "quantum.h"
-
-/* This a shortcut to help you visually see your layout.
- *
- * The first section contains all of the arguments representing the physical
- * layout of the board and position of the keys.
- *
- * The second converts the arguments into a two-dimensional array which
- * represents the switch matrix.
- */
-#define LAYOUT( \
- k00, k01, k02, k03 \
-) \
-{ \
- { k00, k01, k02, k03 } \
-}
diff --git a/keyboards/handwired/misterdeck/info.json b/keyboards/handwired/misterdeck/info.json
index 94fb213025..59062f16dc 100644
--- a/keyboards/handwired/misterdeck/info.json
+++ b/keyboards/handwired/misterdeck/info.json
@@ -18,20 +18,20 @@
"layouts": {
"LAYOUT": {
"layout": [
- {"x": 0, "y": 0},
- {"x": 1, "y": 0},
- {"x": 2, "y": 0},
- {"x": 3, "y": 0},
+ {"matrix": [0, 0], "x": 0, "y": 0},
+ {"matrix": [0, 1], "x": 1, "y": 0},
+ {"matrix": [0, 2], "x": 2, "y": 0},
+ {"matrix": [0, 3], "x": 3, "y": 0},
- {"x": 0, "y": 1},
- {"x": 1, "y": 1},
- {"x": 2, "y": 1},
- {"x": 3, "y": 1},
+ {"matrix": [1, 0], "x": 0, "y": 1},
+ {"matrix": [1, 1], "x": 1, "y": 1},
+ {"matrix": [1, 2], "x": 2, "y": 1},
+ {"matrix": [1, 3], "x": 3, "y": 1},
- {"x": 0, "y": 2},
- {"x": 1, "y": 2},
- {"x": 2, "y": 2},
- {"x": 3, "y": 2}
+ {"matrix": [2, 0], "x": 0, "y": 2},
+ {"matrix": [2, 1], "x": 1, "y": 2},
+ {"matrix": [2, 2], "x": 2, "y": 2},
+ {"matrix": [2, 3], "x": 3, "y": 2}
]
}
}
diff --git a/keyboards/handwired/misterdeck/misterdeck.h b/keyboards/handwired/misterdeck/misterdeck.h
deleted file mode 100644
index 324ccb755f..0000000000
--- a/keyboards/handwired/misterdeck/misterdeck.h
+++ /dev/null
@@ -1,30 +0,0 @@
-/*
- * Copyright 2021 Chris Broekema (broekema@gmail.com)
- *
- * 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/>.
- */
-
-#pragma once
-
-#include "quantum.h"
-
-#define LAYOUT( \
- k00, k01, k02, k03, \
- k10, k11, k12, k13, \
- k20, k21, k22, k23 \
-) { \
- { k00, k01, k02, k03 }, \
- { k10, k11, k12, k13 }, \
- { k20, k21, k22, k23 } \
-}
diff --git a/keyboards/handwired/mutepad/info.json b/keyboards/handwired/mutepad/info.json
index 15b8d4bc69..b0bcfe4829 100644
--- a/keyboards/handwired/mutepad/info.json
+++ b/keyboards/handwired/mutepad/info.json
@@ -23,10 +23,10 @@
"layouts": {
"LAYOUT": {
"layout": [
- {"label": "k00", "x": 0, "y": 0},
- {"label": "k01", "x": 1, "y": 0},
- {"label": "k02", "x": 2, "y": 0},
- {"label": "k03", "x": 3, "y": 0}
+ {"matrix": [0, 0], "x": 0, "y": 0},
+ {"matrix": [0, 1], "x": 1, "y": 0},
+ {"matrix": [0, 2], "x": 2, "y": 0},
+ {"matrix": [0, 3], "x": 3, "y": 0}
]
}
}
diff --git a/keyboards/handwired/mutepad/mutepad.h b/keyboards/handwired/mutepad/mutepad.h
deleted file mode 100644
index 57c317cb60..0000000000
--- a/keyboards/handwired/mutepad/mutepad.h
+++ /dev/null
@@ -1,19 +0,0 @@
-// Copyright 2022 JoshwJB (@JoshwJB)
-// SPDX-License-Identifier: GPL-2.0-or-later
-
-#pragma once
-
-#include "quantum.h"
-
-/* This is a shortcut to help you visually see your layout.
- *
- * The first section contains all of the arguments representing the physical
- * layout of the board and position of the keys.
- *
- * The second converts the arguments into a two-dimensional array which
- * represents the switch matrix.
- */
-#define LAYOUT(K00, K01, K02, K03) \
- { \
- { K00, K01, K02, K03 } \
- }
diff --git a/keyboards/handwired/nicekey/info.json b/keyboards/handwired/nicekey/info.json
index 20a10a7e83..066e5b852f 100644
--- a/keyboards/handwired/nicekey/info.json
+++ b/keyboards/handwired/nicekey/info.json
@@ -18,7 +18,7 @@
"layouts": {
"LAYOUT": {
"layout": [
- {"x":0, "y":0}
+ {"matrix": [0, 0], "x": 0, "y": 0}
]
}
}
diff --git a/keyboards/handwired/nicekey/nicekey.h b/keyboards/handwired/nicekey/nicekey.h
deleted file mode 100644
index f008be168e..0000000000
--- a/keyboards/handwired/nicekey/nicekey.h
+++ /dev/null
@@ -1,9 +0,0 @@
-#pragma once
-
-#include "quantum.h"
-
-#define LAYOUT( \
- k00 \
-) { \
- { k00 } \
-}
diff --git a/keyboards/handwired/novem/info.json b/keyboards/handwired/novem/info.json
index be6e3a1764..bc70d64ed4 100644
--- a/keyboards/handwired/novem/info.json
+++ b/keyboards/handwired/novem/info.json
@@ -18,15 +18,17 @@
"layouts": {
"LAYOUT": {
"layout": [
- {"label":"k00", "x":0, "y":0},
- {"label":"k01", "x":1, "y":0},
- {"label":"k02", "x":2, "y":0},
- {"label":"k03", "x":0, "y":1},
- {"label":"k04", "x":1, "y":1},
- {"label":"k05", "x":2, "y":1},
- {"label":"k06", "x":0, "y":2},
- {"label":"k07", "x":1, "y":2},
- {"label":"k08", "x":2, "y":2}
+ {"matrix": [0, 0], "x": 0, "y": 0},
+ {"matrix": [0, 1], "x": 1, "y": 0},
+ {"matrix": [0, 2], "x": 2, "y": 0},
+
+ {"matrix": [1, 0], "x": 0, "y": 1},
+ {"matrix": [1, 1], "x": 1, "y": 1},
+ {"matrix": [1, 2], "x": 2, "y": 1},
+
+ {"matrix": [2, 0], "x": 0, "y": 2},
+ {"matrix": [2, 1], "x": 1, "y": 2},
+ {"matrix": [2, 2], "x": 2, "y": 2}
]
}
}
diff --git a/keyboards/handwired/novem/novem.h b/keyboards/handwired/novem/novem.h
deleted file mode 100644
index b1040094e0..0000000000
--- a/keyboards/handwired/novem/novem.h
+++ /dev/null
@@ -1,31 +0,0 @@
-/* Copyright 2020 Jose I. Martinez
- *
- * 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/>.
- */
-
-#pragma once
-
-#include "quantum.h"
-
-
-#define LAYOUT( \
- k00, k01, k02, \
- k03, k04, k05, \
- k06, k07, k08 \
-) \
-{ \
- { k00, k01, k02 }, \
- { k03, k04, k05 }, \
- { k06, k07, k08 }, \
-}
diff --git a/keyboards/handwired/nozbe_macro/info.json b/keyboards/handwired/nozbe_macro/info.json
index 5d796312cc..a4b37eec4a 100644
--- a/keyboards/handwired/nozbe_macro/info.json
+++ b/keyboards/handwired/nozbe_macro/info.json
@@ -21,10 +21,10 @@
"layouts": {
"LAYOUT": {
"layout": [
- {"label":"k00", "x":0, "y":0},
- {"label":"k01", "x":1, "y":0},
- {"label":"k02", "x":2, "y":0},
- {"label":"k03", "x":3, "y":0}
+ {"matrix": [0, 0], "x": 0, "y": 0},
+ {"matrix": [0, 1], "x": 1, "y": 0},
+ {"matrix": [0, 2], "x": 2, "y": 0},
+ {"matrix": [0, 3], "x": 3, "y": 0}
]
}
}
diff --git a/keyboards/handwired/nozbe_macro/nozbe_macro.h b/keyboards/handwired/nozbe_macro/nozbe_macro.h
deleted file mode 100644
index 2c2c95091b..0000000000
--- a/keyboards/handwired/nozbe_macro/nozbe_macro.h
+++ /dev/null
@@ -1,25 +0,0 @@
-/* Copyright 2021 Marcin Leon Omelan (@rozPierog)
- *
- * 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/>.
- */
-
-#pragma once
-
-#include "quantum.h"
-
-#define LAYOUT( \
- k00, k01, k02, k03 \
-) { \
- { k00, k01, k02, k03 } \
-}
diff --git a/keyboards/handwired/numpad20/info.json b/keyboards/handwired/numpad20/info.json
index fb3a11e400..5c96b7e5db 100644
--- a/keyboards/handwired/numpad20/info.json
+++ b/keyboards/handwired/numpad20/info.json
@@ -18,26 +18,30 @@
"layouts": {
"LAYOUT": {
"layout": [
- {"label":"K00", "x":0, "y":0},
- {"label":"K01", "x":1, "y":0},
- {"label":"K02", "x":2, "y":0},
- {"label":"K03", "x":3, "y":0},
- {"label":"K10", "x":0, "y":1},
- {"label":"K11", "x":1, "y":1},
- {"label":"K12", "x":2, "y":1},
- {"label":"K13", "x":3, "y":1},
- {"label":"K20", "x":0, "y":2},
- {"label":"K21", "x":1, "y":2},
- {"label":"K22", "x":2, "y":2},
- {"label":"K23", "x":3, "y":2},
- {"label":"K30", "x":0, "y":3},
- {"label":"K31", "x":1, "y":3},
- {"label":"K32", "x":2, "y":3},
- {"label":"K33", "x":3, "y":3},
- {"label":"K40", "x":0, "y":4},
- {"label":"K41", "x":1, "y":4},
- {"label":"K42", "x":2, "y":4},
- {"label":"K43", "x":3, "y":4}
+ {"matrix": [0, 0], "x": 0, "y": 0},
+ {"matrix": [0, 1], "x": 1, "y": 0},
+ {"matrix": [0, 2], "x": 2, "y": 0},
+ {"matrix": [0, 3], "x": 3, "y": 0},
+
+ {"matrix": [1, 0], "x": 0, "y": 1},
+ {"matrix": [1, 1], "x": 1, "y": 1},
+ {"matrix": [1, 2], "x": 2, "y": 1},
+ {"matrix": [1, 3], "x": 3, "y": 1},
+
+ {"matrix": [2, 0], "x": 0, "y": 2},
+ {"matrix": [2, 1], "x": 1, "y": 2},
+ {"matrix": [2, 2], "x": 2, "y": 2},
+ {"matrix": [2, 3], "x": 3, "y": 2},
+
+ {"matrix": [3, 0], "x": 0, "y": 3},
+ {"matrix": [3, 1], "x": 1, "y": 3},
+ {"matrix": [3, 2], "x": 2, "y": 3},
+ {"matrix": [3, 3], "x": 3, "y": 3},
+
+ {"matrix": [4, 0], "x": 0, "y": 4},
+ {"matrix": [4, 1], "x": 1, "y": 4},
+ {"matrix": [4, 2], "x": 2, "y": 4},
+ {"matrix": [4, 3], "x": 3, "y": 4}
]
}
}
diff --git a/keyboards/handwired/numpad20/numpad20.h b/keyboards/handwired/numpad20/numpad20.h
deleted file mode 100644
index 03fdd6d923..0000000000
--- a/keyboards/handwired/numpad20/numpad20.h
+++ /dev/null
@@ -1,17 +0,0 @@
-#pragma once
-
-#include "quantum.h"
-
-#define LAYOUT( \
- k00, k01, k02, k03, \
- k10, k11, k12, k13, \
- k20, k21, k22, k23, \
- k30, k31, k32, k33, \
- k40, k41, k42, k43 \
-) { \
- { k00, k01, k02, k03 }, \
- { k10, k11, k12, k13 }, \
- { k20, k21, k22, k23 }, \
- { k30, k31, k32, k33 }, \
- { k40, k41, k42, k43 } \
-}
diff --git a/keyboards/handwired/obuwunkunubi/spaget/info.json b/keyboards/handwired/obuwunkunubi/spaget/info.json
index 6bec9fa163..001705ee72 100644
--- a/keyboards/handwired/obuwunkunubi/spaget/info.json
+++ b/keyboards/handwired/obuwunkunubi/spaget/info.json
@@ -24,30 +24,36 @@
"layouts": {
"LAYOUT": {
"layout": [
- {"x":0, "y":0},
- {"x":3, "y":0},
- {"x":0, "y":1.5},
- {"x":1, "y":1.5},
- {"x":2, "y":1.5},
- {"x":3, "y":1.5},
- {"x":0, "y":2.5},
- {"x":1, "y":2.5},
- {"x":2, "y":2.5},
- {"x":3, "y":2.5},
- {"x":0, "y":3.5},
- {"x":1, "y":3.5},
- {"x":2, "y":3.5},
- {"x":0, "y":4.5},
- {"x":1, "y":4.5},
- {"x":2, "y":4.5},
- {"x":3, "y":3.5, "h":2},
- {"x":0, "y":5.5},
- {"x":1, "y":5.5},
- {"x":2, "y":5.5},
- {"x":0, "y":6.5, "w":2},
- {"x":2, "y":6.5},
- {"x":3, "y":5.5, "h":2}
- ]
+ {"matrix": [2, 3], "x": 0, "y": 0},
+ {"matrix": [4, 3], "x": 3, "y": 0},
+
+ {"matrix": [0, 0], "x": 0, "y": 1.5},
+ {"matrix": [0, 1], "x": 1, "y": 1.5},
+ {"matrix": [0, 2], "x": 2, "y": 1.5},
+ {"matrix": [0, 3], "x": 3, "y": 1.5},
+
+ {"matrix": [1, 0], "x": 0, "y": 2.5},
+ {"matrix": [1, 1], "x": 1, "y": 2.5},
+ {"matrix": [1, 2], "x": 2, "y": 2.5},
+ {"matrix": [1, 3], "x": 3, "y": 2.5},
+
+ {"matrix": [2, 0], "x": 0, "y": 3.5},
+ {"matrix": [2, 1], "x": 1, "y": 3.5},
+ {"matrix": [2, 2], "x": 2, "y": 3.5},
+
+ {"matrix": [3, 0], "x": 0, "y": 4.5},
+ {"matrix": [3, 1], "x": 1, "y": 4.5},
+ {"matrix": [3, 2], "x": 2, "y": 4.5},
+ {"matrix": [3, 3], "x": 3, "y": 3.5, "h": 2},
+
+ {"matrix": [4, 0], "x": 0, "y": 5.5},
+ {"matrix": [4, 1], "x": 1, "y": 5.5},
+ {"matrix": [4, 2], "x": 2, "y": 5.5},
+
+ {"matrix": [5, 1], "x": 0, "y": 6.5, "w": 2},
+ {"matrix": [5, 2], "x": 2, "y": 6.5},
+ {"matrix": [5, 3], "x": 3, "y": 5.5, "h": 2}
+ ]
}
}
}
diff --git a/keyboards/handwired/obuwunkunubi/spaget/spaget.h b/keyboards/handwired/obuwunkunubi/spaget/spaget.h
deleted file mode 100644
index 7d4b9e9dff..0000000000
--- a/keyboards/handwired/obuwunkunubi/spaget/spaget.h
+++ /dev/null
@@ -1,47 +0,0 @@
-/* Copyright 2020 obuwunkunubi
- *
- * 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/>.
- */
-#pragma once
-
-#include "quantum.h"
-
-/* This a shortcut to help you visually see your layout.
- *
- * The first section contains all of the arguments representing the physical
- * layout of the board and position of the keys.
- *
- * The second converts the arguments into a two-dimensional array which
- * represents the switch matrix.
- */
-
-// readability
-#define XXX KC_NO
-
-#define LAYOUT( \
- K23, K43, \
- K00, K01, K02, K03, \
- K10, K11, K12, K13, \
- K20, K21, K22, \
- K30, K31, K32, K33, \
- K40, K41, K42, \
- K51, K52, K53 \
-) { \
- { K00, K01, K02, K03 }, \
- { K10, K11, K12, K13 }, \
- { K20, K21, K22, K23 }, \
- { K30, K31, K32, K33 }, \
- { K40, K41, K42, K43 }, \
- { XXX, K51, K52, K53 } \
-}
diff --git a/keyboards/handwired/postageboard/info.json b/keyboards/handwired/postageboard/info.json
index d15d6ef750..2f4e674d59 100644
--- a/keyboards/handwired/postageboard/info.json
+++ b/keyboards/handwired/postageboard/info.json
@@ -10,9 +10,9 @@
"layouts": {
"LAYOUT": {
"layout": [
- {"x":0, "y":0},
- {"x":1, "y":0},
- {"x":2, "y":0}
+ {"matrix": [0, 0], "x": 0, "y": 0},
+ {"matrix": [0, 1], "x": 1, "y": 0},
+ {"matrix": [0, 2], "x": 2, "y": 0}
]
}
}
diff --git a/keyboards/handwired/postageboard/postageboard.h b/keyboards/handwired/postageboard/postageboard.h
deleted file mode 100644
index 5bd9ceee5a..0000000000
--- a/keyboards/handwired/postageboard/postageboard.h
+++ /dev/null
@@ -1,26 +0,0 @@
-/* Copyright 2019 Yan-Fa Li
- *
- * 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/>.
- */
-
-#pragma once
-
-#include "quantum.h"
-
-#define LAYOUT( \
- k00, k01, k02 \
-) \
-{ \
- { k00, k01, k02 } \
-}
diff --git a/keyboards/handwired/snatchpad/info.json b/keyboards/handwired/snatchpad/info.json
index 908a390c33..162f5601b5 100644
--- a/keyboards/handwired/snatchpad/info.json
+++ b/keyboards/handwired/snatchpad/info.json
@@ -24,16 +24,16 @@
"layouts": {
"LAYOUT": {
"layout": [
- {"x": 1, "y": 0},
- {"x": 2, "y": 0},
- {"x": 3, "y": 0},
+ {"matrix": [0, 0], "x": 1, "y": 0},
+ {"matrix": [0, 1], "x": 2, "y": 0},
+ {"matrix": [0, 2], "x": 3, "y": 0},
- {"x": 1, "y": 1},
- {"x": 2, "y": 1},
- {"x": 3, "y": 1},
+ {"matrix": [1, 0], "x": 1, "y": 1},
+ {"matrix": [1, 1], "x": 2, "y": 1},
+ {"matrix": [1, 2], "x": 3, "y": 1},
- {"x": 0, "y": 2},
- {"x": 4, "y": 2}
+ {"matrix": [2, 0], "x": 0, "y": 2},
+ {"matrix": [2, 2], "x": 4, "y": 2}
]
}
}
diff --git a/keyboards/handwired/snatchpad/snatchpad.c b/keyboards/handwired/snatchpad/snatchpad.c
index 621ba11123..89d32c036b 100644
--- a/keyboards/handwired/snatchpad/snatchpad.c
+++ b/keyboards/handwired/snatchpad/snatchpad.c
@@ -1,7 +1,7 @@
// Copyright 2022 xia0 (@xia0)
// SPDX-License-Identifier: GPL-2.0-or-later
-#include "snatchpad.h"
+#include "quantum.h"
#ifdef ENCODER_ENABLE
bool encoder_update_kb(uint8_t index, bool clockwise) {
diff --git a/keyboards/handwired/snatchpad/snatchpad.h b/keyboards/handwired/snatchpad/snatchpad.h
deleted file mode 100644
index 07d6bd2093..0000000000
--- a/keyboards/handwired/snatchpad/snatchpad.h
+++ /dev/null
@@ -1,24 +0,0 @@
-// Copyright 2022 xia0 (@xia0)
-// SPDX-License-Identifier: GPL-2.0-or-later
-
-#pragma once
-
-#include "quantum.h"
-
-/* This is a shortcut to help you visually see your layout.
- *
- * The first section contains all of the arguments representing the physical
- * layout of the board and position of the keys.
- *
- * The second converts the arguments into a two-dimensional array which
- * represents the switch matrix.
- */
-#define LAYOUT( \
- k00, k01, k02, \
- k10, k11, k12, \
- k20, k22 \
-) { \
- { k00 , k01 , k02 }, \
- { k10 , k11 , k12 }, \
- { k20 , KC_NO , k22 } \
-}
diff --git a/keyboards/handwired/splittest/info.json b/keyboards/handwired/splittest/info.json
index 973eebd1f9..efd82d20c4 100644
--- a/keyboards/handwired/splittest/info.json
+++ b/keyboards/handwired/splittest/info.json
@@ -11,8 +11,9 @@
"layouts": {
"LAYOUT": {
"layout": [
- {"x": 0,"y": 0},
- {"x": 1,"y": 0}
+ {"matrix": [0, 0], "x": 0, "y": 0},
+
+ {"matrix": [1, 0], "x": 1, "y": 0}
]
}
}
diff --git a/keyboards/handwired/splittest/splittest.h b/keyboards/handwired/splittest/splittest.h
deleted file mode 100644
index 17b7081a02..0000000000
--- a/keyboards/handwired/splittest/splittest.h
+++ /dev/null
@@ -1,5 +0,0 @@
-#pragma once
-
-#include "quantum.h"
-
-#define LAYOUT(L1, R1) {{L1}, {R1}}
diff --git a/keyboards/handwired/sticc14/info.json b/keyboards/handwired/sticc14/info.json
index 7733b642ec..8659152f52 100644
--- a/keyboards/handwired/sticc14/info.json
+++ b/keyboards/handwired/sticc14/info.json
@@ -18,20 +18,24 @@
"layouts": {
"LAYOUT": {
"layout": [
- {"label":"K00", "x":0, "y":0},
- {"label":"K01", "x":1, "y":0},
- {"label":"K02", "x":2, "y":0},
- {"label":"K10", "x":0, "y":1},
- {"label":"K11", "x":1, "y":1},
- {"label":"K12", "x":2, "y":1},
- {"label":"K20", "x":0, "y":2},
- {"label":"K21", "x":1, "y":2},
- {"label":"K22", "x":2, "y":2},
- {"label":"K30", "x":0, "y":3},
- {"label":"K31", "x":1, "y":3},
- {"label":"K32", "x":2, "y":3},
- {"label":"K40", "x":0, "y":4, "w":2},
- {"label":"K41", "x":2, "y":4}
+ {"matrix": [0, 0], "x": 0, "y": 0},
+ {"matrix": [0, 1], "x": 1, "y": 0},
+ {"matrix": [0, 2], "x": 2, "y": 0},
+
+ {"matrix": [1, 0], "x": 0, "y": 1},
+ {"matrix": [1, 1], "x": 1, "y": 1},
+ {"matrix": [1, 2], "x": 2, "y": 1},
+
+ {"matrix": [2, 0], "x": 0, "y": 2},
+ {"matrix": [2, 1], "x": 1, "y": 2},
+ {"matrix": [2, 2], "x": 2, "y": 2},
+
+ {"matrix": [3, 0], "x": 0, "y": 3},
+ {"matrix": [3, 1], "x": 1, "y": 3},
+ {"matrix": [3, 2], "x": 2, "y": 3},
+
+ {"matrix": [4, 0], "x": 0, "y": 4, "w": 2},
+ {"matrix": [4, 1], "x": 2, "y": 4}
]
}
}
diff --git a/keyboards/handwired/sticc14/sticc14.h b/keyboards/handwired/sticc14/sticc14.h
deleted file mode 100644
index 1a5f51e41a..0000000000
--- a/keyboards/handwired/sticc14/sticc14.h
+++ /dev/null
@@ -1,40 +0,0 @@
-/* Copyright 2019 ErkHal
- *
- * 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/>.
- */
-#pragma once
-
-#include "quantum.h"
-
-/* This a shortcut to help you visually see your layout.
- *
- * The first section contains all of the arguments representing the physical
- * layout of the board and position of the keys.
- *
- * The second converts the arguments into a two-dimensional array which
- * represents the switch matrix.
- */
-#define LAYOUT( \
- K00, K01, K02, \
- K10, K11, K12, \
- K20, K21, K22, \
- K30, K31, K32, \
- K40, K41 \
-) { \
- { K00, K01, K02 }, \
- { K10, K11, K12 }, \
- { K20, K21, K22 }, \
- { K30, K31, K32 }, \
- { K40, K41} \
-}
diff --git a/keyboards/handwired/tennie/info.json b/keyboards/handwired/tennie/info.json
index a6e31cba07..0df5170fff 100644
--- a/keyboards/handwired/tennie/info.json
+++ b/keyboards/handwired/tennie/info.json
@@ -17,7 +17,20 @@
"bootloader": "caterina",
"layouts": {
"LAYOUT": {
- "layout": [{"x":0.5, "y":0}, {"x":1.5, "y":0}, {"x":2.5, "y":0}, {"x":0, "y":1}, {"x":1, "y":1}, {"x":2, "y":1}, {"x":3, "y":1}, {"x":0.5, "y":2}, {"x":1.5, "y":2}, {"x":2.5, "y":2}]
+ "layout": [
+ {"matrix": [0, 0], "x": 0.5, "y": 0},
+ {"matrix": [0, 1], "x": 1.5, "y": 0},
+ {"matrix": [0, 2], "x": 2.5, "y": 0},
+
+ {"matrix": [1, 0], "x": 0, "y": 1},
+ {"matrix": [1, 1], "x": 1, "y": 1},
+ {"matrix": [1, 2], "x": 2, "y": 1},
+ {"matrix": [1, 3], "x": 3, "y": 1},
+
+ {"matrix": [2, 0], "x": 0.5, "y": 2},
+ {"matrix": [2, 1], "x": 1.5, "y": 2},
+ {"matrix": [2, 2], "x": 2.5, "y": 2}
+ ]
}
}
}
diff --git a/keyboards/handwired/tennie/tennie.c b/keyboards/handwired/tennie/tennie.c
index 508430ba06..0b257e0a06 100644
--- a/keyboards/handwired/tennie/tennie.c
+++ b/keyboards/handwired/tennie/tennie.c
@@ -13,7 +13,7 @@
* 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 "tennie.h"
+#include "quantum.h"
void matrix_post_init(void) {
rgblight_enable_noeeprom();
diff --git a/keyboards/handwired/tennie/tennie.h b/keyboards/handwired/tennie/tennie.h
deleted file mode 100644
index 8ab0d04c52..0000000000
--- a/keyboards/handwired/tennie/tennie.h
+++ /dev/null
@@ -1,37 +0,0 @@
-/* Copyright 2018 Jack Hildebrandt
- *
- * 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/>.
- */
-#pragma once
-
-#include "quantum.h"
-
-/* This a shortcut to help you visually see your layout.
- *
- * The first section contains all of the arguments representing the physical
- * layout of the board and position of the keys.
- *
- * The second converts the arguments into a two-dimensional array which
- * represents the switch matrix.
- */
-#define LAYOUT( \
- K00, K01, K02, \
- K10, K11, K12, K13, \
- K20, K21, K22 \
-) \
-{ \
- { K00, K01, K02, KC_NO }, \
- { K10, K11, K12, K13 }, \
- { K20, K21, K22, KC_NO }, \
-}
diff --git a/keyboards/handwired/trackpoint/info.json b/keyboards/handwired/trackpoint/info.json
index a1778c2220..92098b09c6 100644
--- a/keyboards/handwired/trackpoint/info.json
+++ b/keyboards/handwired/trackpoint/info.json
@@ -18,9 +18,9 @@
"layouts": {
"LAYOUT": {
"layout": [
- {"x": 0,"y": 0},
- {"x": 1,"y": 0},
- {"x": 2,"y": 0}
+ {"matrix": [0, 0], "x": 0, "y": 0},
+ {"matrix": [0, 1], "x": 1, "y": 0},
+ {"matrix": [0, 2], "x": 2, "y": 0}
]
}
}
diff --git a/keyboards/handwired/trackpoint/trackpoint.h b/keyboards/handwired/trackpoint/trackpoint.h
deleted file mode 100644
index a26000d521..0000000000
--- a/keyboards/handwired/trackpoint/trackpoint.h
+++ /dev/null
@@ -1,10 +0,0 @@
-#pragma once
-
-#include "quantum.h"
-
-#define LAYOUT( \
- k00, k01, k02 \
-) \
-{ \
- { k00, k01, k02} \
-}