summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2023-02-19 18:55:12 +1100
committerGitHub <noreply@github.com>2023-02-19 18:55:12 +1100
commite837a32b2b4d6eb96ffacad0022699d67c0f8f1e (patch)
treef5628f3adb0c1403aa919c909c6a768d2bee0588
parent2222836f092ff52e0e93250ff91048cbb9071877 (diff)
Move layouts for direct_pins boards to data driven (#19872)
-rw-r--r--keyboards/0xcb/1337/1337.c2
-rw-r--r--keyboards/0xcb/1337/1337.h40
-rw-r--r--keyboards/0xcb/1337/info.json18
-rw-r--r--keyboards/0xcb/tutelpad/info.json16
-rw-r--r--keyboards/0xcb/tutelpad/tutelpad.c2
-rw-r--r--keyboards/0xcb/tutelpad/tutelpad.h35
-rw-r--r--keyboards/1k/1k.c16
-rw-r--r--keyboards/1k/1k.h33
-rw-r--r--keyboards/1k/info.json2
-rw-r--r--keyboards/25keys/cassette42/cassette42.c16
-rw-r--r--keyboards/25keys/cassette42/cassette42.h34
-rw-r--r--keyboards/25keys/cassette42/info.json9
-rw-r--r--keyboards/40percentclub/4pack/4pack.c2
-rw-r--r--keyboards/40percentclub/4pack/4pack.h33
-rw-r--r--keyboards/40percentclub/4pack/info.json7
-rw-r--r--keyboards/40percentclub/nano/info.json14
-rw-r--r--keyboards/40percentclub/nano/nano.c1
-rw-r--r--keyboards/40percentclub/nano/nano.h13
-rw-r--r--keyboards/40percentclub/nein/info.json18
-rw-r--r--keyboards/40percentclub/nein/nein.c16
-rw-r--r--keyboards/40percentclub/nein/nein.h37
-rw-r--r--keyboards/40percentclub/sixpack/info.json8
-rw-r--r--keyboards/40percentclub/sixpack/sixpack.c2
-rw-r--r--keyboards/40percentclub/sixpack/sixpack.h34
-rw-r--r--keyboards/8pack/8pack.c1
-rw-r--r--keyboards/8pack/8pack.h11
-rw-r--r--keyboards/8pack/info.json14
-rw-r--r--keyboards/8pack/rev11/info.json14
-rw-r--r--keyboards/8pack/rev11/rev11.c1
-rw-r--r--keyboards/8pack/rev11/rev11.h11
-rw-r--r--keyboards/8pack/rev12/info.json14
-rw-r--r--keyboards/8pack/rev12/rev12.c1
-rw-r--r--keyboards/8pack/rev12/rev12.h11
-rw-r--r--keyboards/a_dux/a_dux.c2
-rw-r--r--keyboards/a_dux/a_dux.h49
-rw-r--r--keyboards/a_dux/info.json71
-rw-r--r--keyboards/adafruit/macropad/info.json26
-rw-r--r--keyboards/adafruit/macropad/macropad.c2
-rw-r--r--keyboards/adafruit/macropad/macropad.h38
-rw-r--r--keyboards/anavi/knob1/info.json2
-rw-r--r--keyboards/anavi/knob1/knob1.c2
-rw-r--r--keyboards/anavi/knob1/knob1.h30
-rw-r--r--keyboards/anavi/macropad8/info.json11
-rw-r--r--keyboards/anavi/macropad8/macropad8.c1
-rw-r--r--keyboards/anavi/macropad8/macropad8.h11
-rw-r--r--keyboards/arrayperipherals/1x4p1/1x4p1.c18
-rw-r--r--keyboards/arrayperipherals/1x4p1/1x4p1.h26
-rw-r--r--keyboards/arrayperipherals/1x4p1/info.json10
-rw-r--r--keyboards/botanicalkeyboards/fm2u/fm2u.c17
-rw-r--r--keyboards/botanicalkeyboards/fm2u/fm2u.h113
-rw-r--r--keyboards/botanicalkeyboards/fm2u/info.json38
-rw-r--r--keyboards/bpiphany/sixshooter/info.json9
-rw-r--r--keyboards/bpiphany/sixshooter/sixshooter.h8
-rw-r--r--keyboards/clueboard/california/california.c1
-rw-r--r--keyboards/clueboard/california/california.h3
-rw-r--r--keyboards/crypt_macro/crypt_macro.c16
-rw-r--r--keyboards/crypt_macro/crypt_macro.h28
-rw-r--r--keyboards/crypt_macro/info.json7
-rw-r--r--keyboards/dailycraft/owl8/info.json32
-rw-r--r--keyboards/dailycraft/owl8/owl8.c17
-rw-r--r--keyboards/dailycraft/owl8/owl8.h38
-rw-r--r--keyboards/dailycraft/stickey4/info.json16
-rw-r--r--keyboards/dailycraft/stickey4/stickey4.c17
-rw-r--r--keyboards/dailycraft/stickey4/stickey4.h36
-rw-r--r--keyboards/dekunukem/duckypad/duckypad.c2
-rw-r--r--keyboards/dekunukem/duckypad/duckypad.h32
-rw-r--r--keyboards/dekunukem/duckypad/info.json34
-rw-r--r--keyboards/ferris/0_1/info.json50
-rw-r--r--keyboards/ferris/0_2/info.json50
-rw-r--r--keyboards/ferris/info.json50
-rw-r--r--keyboards/ferris/sweep/info.json51
-rw-r--r--keyboards/ferris/sweep/sweep.c2
-rw-r--r--keyboards/ferris/sweep/sweep.h48
-rw-r--r--keyboards/geekboards/macropad_v2/info.json16
-rw-r--r--keyboards/geekboards/macropad_v2/macropad_v2.c2
-rw-r--r--keyboards/geekboards/macropad_v2/macropad_v2.h26
-rw-r--r--keyboards/handwired/aball/aball.c17
-rw-r--r--keyboards/handwired/aball/aball.h21
-rw-r--r--keyboards/handwired/aball/info.json2
-rw-r--r--keyboards/handwired/bdn9_ble/bdn9_ble.c1
-rw-r--r--keyboards/handwired/bdn9_ble/bdn9_ble.h37
-rw-r--r--keyboards/handwired/bdn9_ble/info.json18
-rw-r--r--keyboards/handwired/bento/bento.c16
-rw-r--r--keyboards/handwired/bento/bento.h20
-rw-r--r--keyboards/handwired/bento/rev1/info.json12
-rw-r--r--keyboards/handwired/bento/rev1/rev1.c2
-rw-r--r--keyboards/handwired/bento/rev1/rev1.h36
-rw-r--r--keyboards/handwired/dc/mc/001/001.c17
-rw-r--r--keyboards/handwired/dc/mc/001/001.h33
-rw-r--r--keyboards/handwired/dc/mc/001/info.json10
-rw-r--r--keyboards/handwired/lemonpad/info.json12
-rw-r--r--keyboards/handwired/lemonpad/lemonpad.c17
-rw-r--r--keyboards/handwired/lemonpad/lemonpad.h38
-rw-r--r--keyboards/handwired/stream_cheap/2x3/2x3.c1
-rw-r--r--keyboards/handwired/stream_cheap/2x3/2x3.h11
-rw-r--r--keyboards/handwired/stream_cheap/2x3/info.json12
-rw-r--r--keyboards/handwired/stream_cheap/2x4/2x4.c1
-rw-r--r--keyboards/handwired/stream_cheap/2x4/2x4.h12
-rw-r--r--keyboards/handwired/stream_cheap/2x4/info.json16
-rw-r--r--keyboards/handwired/stream_cheap/2x5/2x5.c1
-rw-r--r--keyboards/handwired/stream_cheap/2x5/2x5.h11
-rw-r--r--keyboards/handwired/stream_cheap/2x5/info.json20
-rw-r--r--keyboards/ianklug/grooveboard/grooveboard.c17
-rw-r--r--keyboards/ianklug/grooveboard/grooveboard.h33
-rw-r--r--keyboards/ianklug/grooveboard/info.json8
-rw-r--r--keyboards/kb_elmo/isolation/info.json2
-rw-r--r--keyboards/kb_elmo/isolation/isolation.c17
-rw-r--r--keyboards/kb_elmo/isolation/isolation.h25
-rw-r--r--keyboards/keebio/bamfk1/bamfk1.c4
-rw-r--r--keyboards/keebio/bamfk1/bamfk1.h14
-rw-r--r--keyboards/keebio/bamfk1/info.json14
-rw-r--r--keyboards/keebio/bdn9/bdn9.c1
-rw-r--r--keyboards/keebio/bdn9/bdn9.h7
-rw-r--r--keyboards/keebio/bdn9/info.json18
-rw-r--r--keyboards/keebio/bdn9/rev1/rev1.c2
-rw-r--r--keyboards/keebio/bdn9/rev1/rev1.h38
-rw-r--r--keyboards/keebio/bdn9/rev2/rev2.c2
-rw-r--r--keyboards/keebio/bdn9/rev2/rev2.h38
-rw-r--r--keyboards/keebio/choconum/choconum.c1
-rw-r--r--keyboards/keebio/choconum/choconum.h49
-rw-r--r--keyboards/keebio/choconum/info.json74
-rw-r--r--keyboards/keebio/stick/info.json24
-rw-r--r--keyboards/keebio/stick/stick.c2
-rw-r--r--keyboards/keebio/stick/stick.h26
-rw-r--r--keyboards/keebio/tukey/info.json4
-rw-r--r--keyboards/keebio/tukey/tukey.c16
-rw-r--r--keyboards/keebio/tukey/tukey.h20
-rw-r--r--keyboards/keyhive/uno/info.json4
-rw-r--r--keyboards/keyhive/uno/rev1/rev1.h25
-rw-r--r--keyboards/keyhive/uno/rev2/rev2.h25
-rw-r--r--keyboards/keyhive/uno/uno.c17
-rw-r--r--keyboards/keyhive/uno/uno.h25
-rw-r--r--keyboards/ktec/staryu/info.json8
-rwxr-xr-xkeyboards/ktec/staryu/staryu.c17
-rwxr-xr-xkeyboards/ktec/staryu/staryu.h28
-rw-r--r--keyboards/leafcutterlabs/bigknob/bigknob.c17
-rw-r--r--keyboards/leafcutterlabs/bigknob/bigknob.h27
-rw-r--r--keyboards/leafcutterlabs/bigknob/info.json11
-rw-r--r--keyboards/littlealby/mute/info.json4
-rw-r--r--keyboards/littlealby/mute/mute.c16
-rw-r--r--keyboards/littlealby/mute/mute.h24
-rw-r--r--keyboards/macro3/info.json16
-rw-r--r--keyboards/macro3/macro3.c2
-rw-r--r--keyboards/macro3/macro3.h16
-rw-r--r--keyboards/makeymakey/info.json36
-rw-r--r--keyboards/makeymakey/makeymakey.c2
-rw-r--r--keyboards/makeymakey/makeymakey.h32
-rw-r--r--keyboards/miniaxe/info.json49
-rw-r--r--keyboards/miniaxe/miniaxe.c16
-rw-r--r--keyboards/miniaxe/miniaxe.h49
-rw-r--r--keyboards/minimacro5/info.json8
-rw-r--r--keyboards/minimacro5/minimacro5.c1
-rw-r--r--keyboards/minimacro5/minimacro5.h9
-rw-r--r--keyboards/mixi/info.json18
-rw-r--r--keyboards/mixi/mixi.c2
-rw-r--r--keyboards/mixi/mixi.h13
-rwxr-xr-xkeyboards/novelkeys/nk1/info.json4
-rw-r--r--keyboards/novelkeys/nk1/nk1.c17
-rw-r--r--keyboards/novelkeys/nk1/nk1.h25
-rw-r--r--keyboards/nullbitsco/scramble/info.json31
-rw-r--r--keyboards/nullbitsco/scramble/scramble.c18
-rw-r--r--keyboards/nullbitsco/scramble/scramble.h34
-rw-r--r--keyboards/nullbitsco/scramble/v1/v1.h2
-rw-r--r--keyboards/nullbitsco/scramble/v2/v2.h2
-rw-r--r--keyboards/obosob/steal_this_keyboard/info.json68
-rw-r--r--keyboards/obosob/steal_this_keyboard/steal_this_keyboard.c16
-rw-r--r--keyboards/obosob/steal_this_keyboard/steal_this_keyboard.h46
-rw-r--r--keyboards/peranekofactory/tone/rev1/info.json11
-rw-r--r--keyboards/peranekofactory/tone/rev1/rev1.c17
-rw-r--r--keyboards/peranekofactory/tone/rev1/rev1.h35
-rw-r--r--keyboards/peranekofactory/tone/rev2/info.json11
-rw-r--r--keyboards/peranekofactory/tone/rev2/rev2.c17
-rw-r--r--keyboards/peranekofactory/tone/rev2/rev2.h35
-rw-r--r--keyboards/ploopyco/mouse/info.json16
-rw-r--r--keyboards/ploopyco/mouse/mouse.h3
-rw-r--r--keyboards/ploopyco/trackball/info.json10
-rw-r--r--keyboards/ploopyco/trackball/trackball.h3
-rw-r--r--keyboards/ploopyco/trackball_mini/info.json10
-rw-r--r--keyboards/ploopyco/trackball_mini/trackball_mini.h3
-rw-r--r--keyboards/ploopyco/trackball_nano/info.json2
-rw-r--r--keyboards/ploopyco/trackball_nano/trackball_nano.h2
-rw-r--r--keyboards/sendyyeah/pix/info.json10
-rw-r--r--keyboards/sendyyeah/pix/pix.c2
-rw-r--r--keyboards/sendyyeah/pix/pix.h23
-rw-r--r--keyboards/sergiopoverony/creator_pro/creator_pro.h10
-rw-r--r--keyboards/sergiopoverony/creator_pro/info.json18
-rw-r--r--keyboards/spaceman/2_milk/2_milk.c16
-rw-r--r--keyboards/spaceman/2_milk/2_milk.h26
-rw-r--r--keyboards/spaceman/2_milk/info.json5
-rw-r--r--keyboards/splitkb/zima/info.json24
-rw-r--r--keyboards/splitkb/zima/zima.c2
-rw-r--r--keyboards/splitkb/zima/zima.h29
-rw-r--r--keyboards/synthlabs/solo/solo.c2
-rw-r--r--keyboards/synthlabs/solo/solo.h41
-rwxr-xr-xkeyboards/tominabox1/bigboy/bigboy.c2
-rwxr-xr-xkeyboards/tominabox1/bigboy/bigboy.h34
-rw-r--r--keyboards/tominabox1/bigboy/info.json15
-rw-r--r--keyboards/ungodly/nines/info.json18
-rw-r--r--keyboards/ungodly/nines/nines.c2
-rw-r--r--keyboards/ungodly/nines/nines.h37
-rw-r--r--keyboards/winkeys/mini_winni/info.json11
-rw-r--r--keyboards/winkeys/mini_winni/mini_winni.c18
-rw-r--r--keyboards/winkeys/mini_winni/mini_winni.h27
-rw-r--r--keyboards/winry/winry315/info.json144
-rw-r--r--keyboards/winry/winry315/winry315.h60
-rw-r--r--keyboards/xiudi/xd002/info.json4
-rw-r--r--keyboards/xiudi/xd002/xd002.c16
-rw-r--r--keyboards/xiudi/xd002/xd002.h33
-rw-r--r--keyboards/xiudi/xd004/info.json7
-rw-r--r--keyboards/xiudi/xd004/xd004.c1
-rw-r--r--keyboards/xiudi/xd004/xd004.h15
-rw-r--r--keyboards/yatara/drink_me/drink_me.c17
-rw-r--r--keyboards/yatara/drink_me/drink_me.h25
-rw-r--r--keyboards/yatara/drink_me/info.json24
-rw-r--r--keyboards/yeehaw/info.json17
-rw-r--r--keyboards/yeehaw/yeehaw.c16
-rw-r--r--keyboards/yeehaw/yeehaw.h25
-rw-r--r--keyboards/yushakobo/quick7/info.json12
-rw-r--r--keyboards/yushakobo/quick7/quick7.c17
-rw-r--r--keyboards/yushakobo/quick7/quick7.h38
-rw-r--r--keyboards/yynmt/acperience12/acperience12.c17
-rw-r--r--keyboards/yynmt/acperience12/acperience12.h23
-rw-r--r--keyboards/yynmt/acperience12/rev1/info.json18
-rw-r--r--keyboards/yynmt/acperience12/rev1/rev1.c17
-rw-r--r--keyboards/yynmt/acperience12/rev1/rev1.h37
-rw-r--r--keyboards/z12/info.json24
-rw-r--r--keyboards/z12/z12.c2
-rw-r--r--keyboards/z12/z12.h34
-rw-r--r--keyboards/z34/info.json68
-rw-r--r--keyboards/z34/z34.c17
-rw-r--r--keyboards/z34/z34.h39
231 files changed, 965 insertions, 3523 deletions
diff --git a/keyboards/0xcb/1337/1337.c b/keyboards/0xcb/1337/1337.c
index 85781209b3..d5937540b2 100644
--- a/keyboards/0xcb/1337/1337.c
+++ b/keyboards/0xcb/1337/1337.c
@@ -14,7 +14,7 @@ GNU General Public License for more details.
14You should have received a copy of the GNU General Public License 14You should have received a copy of the GNU General Public License
15along with this program. If not, see <http://www.gnu.org/licenses/>. 15along with this program. If not, see <http://www.gnu.org/licenses/>.
16*/ 16*/
17#include "1337.h" 17#include "quantum.h"
18 18
19void eeconfig_init_kb(void) { 19void eeconfig_init_kb(void) {
20#ifdef BACKLIGHT_ENABLE 20#ifdef BACKLIGHT_ENABLE
diff --git a/keyboards/0xcb/1337/1337.h b/keyboards/0xcb/1337/1337.h
deleted file mode 100644
index e1f238c126..0000000000
--- a/keyboards/0xcb/1337/1337.h
+++ /dev/null
@@ -1,40 +0,0 @@
1/*
2Copyright 2021 0xCB - Conor Burns
3
4This program is free software: you can redistribute it and/or modify
5it under the terms of the GNU General Public License as published by
6the Free Software Foundation, either version 2 of the License, or
7(at your option) any later version.
8
9This program is distributed in the hope that it will be useful,
10but WITHOUT ANY WARRANTY; without even the implied warranty of
11MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12GNU General Public License for more details.
13
14You should have received a copy of the GNU General Public License
15along with this program. If not, see <http://www.gnu.org/licenses/>.
16*/
17#pragma once
18
19#include "quantum.h"
20
21/* This a shortcut to help you visually see your layout.
22 *
23 * The first section contains all of the arguments representing the physical
24 * layout of the board and position of the keys.
25 *
26 * The second converts the arguments into a two-dimensional array which
27 * represents the switch matrix.
28 */
29// clang-format off
30 #define LAYOUT( \
31 KA1, KA2, KA3, \
32 KB1, KB2, KB3, \
33 KC1, KC2, KC3 \
34 ) \
35 { \
36 { KA1, KA2, KA3 }, \
37 { KB1, KB2, KB3 }, \
38 { KC1, KC2, KC3 } \
39 }
40// clang-format on
diff --git a/keyboards/0xcb/1337/info.json b/keyboards/0xcb/1337/info.json
index ca04777536..fb4480e1b0 100644
--- a/keyboards/0xcb/1337/info.json
+++ b/keyboards/0xcb/1337/info.json
@@ -20,15 +20,15 @@
20 "layouts": { 20 "layouts": {
21 "LAYOUT": { 21 "LAYOUT": {
22 "layout": [ 22 "layout": [
23 {"x":0, "y":0}, 23 {"x":0, "y":0, "matrix": [0, 0]},
24 {"x":1, "y":0}, 24 {"x":1, "y":0, "matrix": [0, 1]},
25 {"x":2, "y":0}, 25 {"x":2, "y":0, "matrix": [0, 2]},
26 {"x":0, "y":1}, 26 {"x":0, "y":1, "matrix": [1, 0]},
27 {"x":1, "y":1}, 27 {"x":1, "y":1, "matrix": [1, 1]},
28 {"x":2, "y":1}, 28 {"x":2, "y":1, "matrix": [1, 2]},
29 {"x":0, "y":2}, 29 {"x":0, "y":2, "matrix": [2, 0]},
30 {"x":1, "y":2}, 30 {"x":1, "y":2, "matrix": [2, 1]},
31 {"x":2, "y":2} 31 {"x":2, "y":2, "matrix": [2, 2]}
32 ] 32 ]
33 } 33 }
34 } 34 }
diff --git a/keyboards/0xcb/tutelpad/info.json b/keyboards/0xcb/tutelpad/info.json
index 0d9585dbb5..646b4dc882 100644
--- a/keyboards/0xcb/tutelpad/info.json
+++ b/keyboards/0xcb/tutelpad/info.json
@@ -22,15 +22,15 @@
22 "layouts": { 22 "layouts": {
23 "LAYOUT": { 23 "LAYOUT": {
24 "layout": [ 24 "layout": [
25 {"label": "k03", "x": 0, "y": 0}, 25 {"x": 0, "y": 0, "matrix": [0, 0]},
26 {"label": "k02", "x": 1, "y": 0}, 26 {"x": 1, "y": 0, "matrix": [0, 1]},
27 {"label": "k01", "x": 2, "y": 0}, 27 {"x": 2, "y": 0, "matrix": [0, 2]},
28 {"label": "k00", "x": 3, "y": 0}, 28 {"x": 3, "y": 0, "matrix": [0, 3]},
29 29
30 {"label": "k13", "x": 0, "y": 1}, 30 {"x": 0, "y": 1, "matrix": [1, 0]},
31 {"label": "k12", "x": 1, "y": 1}, 31 {"x": 1, "y": 1, "matrix": [1, 1]},
32 {"label": "k11", "x": 2, "y": 1}, 32 {"x": 2, "y": 1, "matrix": [1, 2]},
33 {"label": "k10", "x": 3, "y": 1} 33 {"x": 3, "y": 1, "matrix": [1, 3]}
34 ] 34 ]
35 } 35 }
36 } 36 }
diff --git a/keyboards/0xcb/tutelpad/tutelpad.c b/keyboards/0xcb/tutelpad/tutelpad.c
index 25c2d22219..36671d5bd1 100644
--- a/keyboards/0xcb/tutelpad/tutelpad.c
+++ b/keyboards/0xcb/tutelpad/tutelpad.c
@@ -14,7 +14,7 @@
14 * along with this program. If not, see <http://www.gnu.org/licenses/>. 14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */ 15 */
16 16
17#include "tutelpad.h" 17#include "quantum.h"
18 18
19#ifdef OLED_ENABLE 19#ifdef OLED_ENABLE
20 20
diff --git a/keyboards/0xcb/tutelpad/tutelpad.h b/keyboards/0xcb/tutelpad/tutelpad.h
deleted file mode 100644
index 0115c50fa4..0000000000
--- a/keyboards/0xcb/tutelpad/tutelpad.h
+++ /dev/null
@@ -1,35 +0,0 @@
1/* Copyright 2022 ItsFiremanSam
2 *
3 * This program is free software: you can redistribute it and/or modify
4 * it under the terms of the GNU General Public License as published by
5 * the Free Software Foundation, either version 2 of the License, or
6 * (at your option) any later version.
7 *
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
12 *
13 * You should have received a copy of the GNU General Public License
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */
16
17#pragma once
18
19#include "quantum.h"
20
21/* This is a shortcut to help you visually see your layout.
22 *
23 * The first section contains all of the arguments representing the physical
24 * layout of the board and position of the keys.
25 *
26 * The second converts the arguments into a two-dimensional array which
27 * represents the switch matrix.
28 */
29#define LAYOUT( \
30 k00, k01, k02, k03, \
31 k10, k11, k12, k13 \
32) { \
33 { k00, k01, k02, k03 }, \
34 { k10, k11, k12, k13 } \
35}
diff --git a/keyboards/1k/1k.c b/keyboards/1k/1k.c
deleted file mode 100644
index 0e8f44b44d..0000000000
--- a/keyboards/1k/1k.c
+++ /dev/null
@@ -1,16 +0,0 @@
1/* Copyright 2020 zvecr<git@zvecr.com>
2 *
3 * This program is free software: you can redistribute it and/or modify
4 * it under the terms of the GNU General Public License as published by
5 * the Free Software Foundation, either version 2 of the License, or
6 * (at your option) any later version.
7 *
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
12 *
13 * You should have received a copy of the GNU General Public License
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */
16#include "1k.h"
diff --git a/keyboards/1k/1k.h b/keyboards/1k/1k.h
deleted file mode 100644
index a6142bc5c5..0000000000
--- a/keyboards/1k/1k.h
+++ /dev/null
@@ -1,33 +0,0 @@
1/* Copyright 2020 zvecr<git@zvecr.com>
2 *
3 * This program is free software: you can redistribute it and/or modify
4 * it under the terms of the GNU General Public License as published by
5 * the Free Software Foundation, either version 2 of the License, or
6 * (at your option) any later version.
7 *
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
12 *
13 * You should have received a copy of the GNU General Public License
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */
16#pragma once
17
18#include "quantum.h"
19
20/* This a shortcut to help you visually see your layout.
21 *
22 * The first section contains all of the arguments representing the physical
23 * layout of the board and position of the keys.
24 *
25 * The second converts the arguments into a two-dimensional array which
26 * represents the switch matrix.
27 */
28#define LAYOUT_ortho_1x1( \
29 K01 \
30) \
31{ \
32 { K01 }, \
33}
diff --git a/keyboards/1k/info.json b/keyboards/1k/info.json
index 8a27d94862..5168b69081 100644
--- a/keyboards/1k/info.json
+++ b/keyboards/1k/info.json
@@ -16,7 +16,7 @@
16 "layouts": { 16 "layouts": {
17 "LAYOUT_ortho_1x1": { 17 "LAYOUT_ortho_1x1": {
18 "layout": [ 18 "layout": [
19 {"x":0, "y":0} 19 {"x":0, "y":0, "matrix": [0, 0]}
20 ] 20 ]
21 } 21 }
22 } 22 }
diff --git a/keyboards/25keys/cassette42/cassette42.c b/keyboards/25keys/cassette42/cassette42.c
deleted file mode 100644
index f5ca2b8a98..0000000000
--- a/keyboards/25keys/cassette42/cassette42.c
+++ /dev/null
@@ -1,16 +0,0 @@
1/* Copyright 2019 monksoffunk
2 *
3 * This program is free software: you can redistribute it and/or modify
4 * it under the terms of the GNU General Public License as published by
5 * the Free Software Foundation, either version 2 of the License, or
6 * (at your option) any later version.
7 *
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
12 *
13 * You should have received a copy of the GNU General Public License
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */
16#include "cassette42.h"
diff --git a/keyboards/25keys/cassette42/cassette42.h b/keyboards/25keys/cassette42/cassette42.h
deleted file mode 100644
index 32a686f3de..0000000000
--- a/keyboards/25keys/cassette42/cassette42.h
+++ /dev/null
@@ -1,34 +0,0 @@
1/* Copyright 2019 monksoffunk
2 *
3 * This program is free software: you can redistribute it and/or modify
4 * it under the terms of the GNU General Public License as published by
5 * the Free Software Foundation, either version 2 of the License, or
6 * (at your option) any later version.
7 *
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
12 *
13 * You should have received a copy of the GNU General Public License
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */
16#pragma once
17
18#include "quantum.h"
19
20/* This a shortcut to help you visually see your layout.
21 *
22 * The first section contains all of the arguments representing the physical
23 * layout of the board and position of the keys.
24 *
25 * The second converts the arguments into a two-dimensional array which
26 * represents the switch matrix.
27 */
28#define LAYOUT( \
29 k10, k11, \
30 k00, k01, k02, k03\
31) \
32{ \
33 { k00, k01, k02, k03, k10, k11 }, \
34}
diff --git a/keyboards/25keys/cassette42/info.json b/keyboards/25keys/cassette42/info.json
index 546e02ab63..280733feb9 100644
--- a/keyboards/25keys/cassette42/info.json
+++ b/keyboards/25keys/cassette42/info.json
@@ -17,7 +17,14 @@
17 }, 17 },
18 "layouts": { 18 "layouts": {
19 "LAYOUT": { 19 "LAYOUT": {
20 "layout": [{"x":0.5, "y":0.75}, {"x":2.5, "y":0.75}, {"x":0, "y":1.75}, {"x":1, "y":1.75}, {"x":2, "y":1.75}, {"x":3, "y":1.75}] 20 "layout": [
21 {"x":0.5, "y":0.75, "matrix": [0, 4]},
22 {"x":2.5, "y":0.75, "matrix": [0, 5]},
23 {"x":0, "y":1.75, "matrix": [0, 0]},
24 {"x":1, "y":1.75, "matrix": [0, 1]},
25 {"x":2, "y":1.75, "matrix": [0, 2]},
26 {"x":3, "y":1.75, "matrix": [0, 3]}
27 ]
21 } 28 }
22 } 29 }
23} 30}
diff --git a/keyboards/40percentclub/4pack/4pack.c b/keyboards/40percentclub/4pack/4pack.c
index 4ab3575ca4..bd2efa5620 100644
--- a/keyboards/40percentclub/4pack/4pack.c
+++ b/keyboards/40percentclub/4pack/4pack.c
@@ -13,7 +13,7 @@
13 * You should have received a copy of the GNU General Public License 13 * You should have received a copy of the GNU General Public License
14 * along with this program. If not, see <http://www.gnu.org/licenses/>. 14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */ 15 */
16#include "4pack.h" 16#include "quantum.h"
17 17
18// Optional override functions below. 18// Optional override functions below.
19// You can leave any or all of these undefined. 19// You can leave any or all of these undefined.
diff --git a/keyboards/40percentclub/4pack/4pack.h b/keyboards/40percentclub/4pack/4pack.h
deleted file mode 100644
index 1340300ace..0000000000
--- a/keyboards/40percentclub/4pack/4pack.h
+++ /dev/null
@@ -1,33 +0,0 @@
1/* Copyright 2019 Arda Kilicdagi
2 *
3 * This program is free software: you can redistribute it and/or modify
4 * it under the terms of the GNU General Public License as published by
5 * the Free Software Foundation, either version 2 of the License, or
6 * (at your option) any later version.
7 *
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
12 *
13 * You should have received a copy of the GNU General Public License
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */
16#pragma once
17
18#include "quantum.h"
19
20/* This a shortcut to help you visually see your layout.
21 *
22 * The first section contains all of the arguments representing the physical
23 * layout of the board and position of the keys.
24 *
25 * The second converts the arguments into a two-dimensional array which
26 * represents the switch matrix.
27 */
28#define LAYOUT( \
29 k00, k01, k02, k03 \
30) \
31{ \
32 { k00, k01, k02, k03 }, \
33}
diff --git a/keyboards/40percentclub/4pack/info.json b/keyboards/40percentclub/4pack/info.json
index 1665c7b35b..9cdb584b0c 100644
--- a/keyboards/40percentclub/4pack/info.json
+++ b/keyboards/40percentclub/4pack/info.json
@@ -17,7 +17,12 @@
17 }, 17 },
18 "layouts": { 18 "layouts": {
19 "LAYOUT": { 19 "LAYOUT": {
20 "layout": [{"x":0, "y":0}, {"x":1, "y":0}, {"x":2, "y":0}, {"x":3, "y":0}] 20 "layout": [
21 {"x":0, "y":0, "matrix": [0, 0]},
22 {"x":1, "y":0, "matrix": [0, 1]},
23 {"x":2, "y":0, "matrix": [0, 2]},
24 {"x":3, "y":0, "matrix": [0, 3]}
25 ]
21 } 26 }
22 } 27 }
23} 28}
diff --git a/keyboards/40percentclub/nano/info.json b/keyboards/40percentclub/nano/info.json
index 430129a6a1..86c73f1943 100644
--- a/keyboards/40percentclub/nano/info.json
+++ b/keyboards/40percentclub/nano/info.json
@@ -16,9 +16,21 @@
16 ["D1", "D0", "D4", "C6"] 16 ["D1", "D0", "D4", "C6"]
17 ] 17 ]
18 }, 18 },
19 "layout_aliases": {
20 "LAYOUT": "LAYOUT_ortho_2x4"
21 },
19 "layouts": { 22 "layouts": {
20 "LAYOUT_ortho_2x4": { 23 "LAYOUT_ortho_2x4": {
21 "layout": [{"x":0, "y":0}, {"x":1, "y":0}, {"x":2, "y":0}, {"x":3, "y":0}, {"x":0, "y":1}, {"x":1, "y":1}, {"x":2, "y":1}, {"x":3, "y":1}] 24 "layout": [
25 {"x":0, "y":0, "matrix": [0, 0]},
26 {"x":1, "y":0, "matrix": [0, 1]},
27 {"x":2, "y":0, "matrix": [0, 2]},
28 {"x":3, "y":0, "matrix": [0, 3]},
29 {"x":0, "y":1, "matrix": [1, 0]},
30 {"x":1, "y":1, "matrix": [1, 1]},
31 {"x":2, "y":1, "matrix": [1, 2]},
32 {"x":3, "y":1, "matrix": [1, 3]}
33 ]
22 } 34 }
23 } 35 }
24} 36}
diff --git a/keyboards/40percentclub/nano/nano.c b/keyboards/40percentclub/nano/nano.c
deleted file mode 100644
index 8761e8add4..0000000000
--- a/keyboards/40percentclub/nano/nano.c
+++ /dev/null
@@ -1 +0,0 @@
1#include "nano.h"
diff --git a/keyboards/40percentclub/nano/nano.h b/keyboards/40percentclub/nano/nano.h
deleted file mode 100644
index 881309738b..0000000000
--- a/keyboards/40percentclub/nano/nano.h
+++ /dev/null
@@ -1,13 +0,0 @@
1#pragma once
2
3#include "quantum.h"
4
5#define LAYOUT_ortho_2x4( \
6 k01, k02, k03, k04, \
7 k05, k06, k07, k08 \
8 ) { \
9 { k01, k02, k03, k04 }, \
10 { k05, k06, k07, k08 } \
11}
12
13#define LAYOUT LAYOUT_ortho_2x4
diff --git a/keyboards/40percentclub/nein/info.json b/keyboards/40percentclub/nein/info.json
index ba39cb834d..9a335dad43 100644
--- a/keyboards/40percentclub/nein/info.json
+++ b/keyboards/40percentclub/nein/info.json
@@ -20,15 +20,15 @@
20 "layouts": { 20 "layouts": {
21 "LAYOUT_ortho_3x3": { 21 "LAYOUT_ortho_3x3": {
22 "layout": [ 22 "layout": [
23 {"x":0, "y":0}, 23 {"x":0, "y":0, "matrix": [0, 0]},
24 {"x":1, "y":0}, 24 {"x":1, "y":0, "matrix": [0, 1]},
25 {"x":2, "y":0}, 25 {"x":2, "y":0, "matrix": [0, 2]},
26 {"x":0, "y":1}, 26 {"x":0, "y":1, "matrix": [1, 0]},
27 {"x":1, "y":1}, 27 {"x":1, "y":1, "matrix": [1, 1]},
28 {"x":2, "y":1}, 28 {"x":2, "y":1, "matrix": [1, 2]},
29 {"x":0, "y":2}, 29 {"x":0, "y":2, "matrix": [2, 0]},
30 {"x":1, "y":2}, 30 {"x":1, "y":2, "matrix": [2, 1]},
31 {"x":2, "y":2} 31 {"x":2, "y":2, "matrix": [2, 2]}
32 ] 32 ]
33 } 33 }
34 } 34 }
diff --git a/keyboards/40percentclub/nein/nein.c b/keyboards/40percentclub/nein/nein.c
deleted file mode 100644
index 0b4d05d941..0000000000
--- a/keyboards/40percentclub/nein/nein.c
+++ /dev/null
@@ -1,16 +0,0 @@
1/* Copyright 2019
2 *
3 * This program is free software: you can redistribute it and/or modify
4 * it under the terms of the GNU General Public License as published by
5 * the Free Software Foundation, either version 2 of the License, or
6 * (at your option) any later version.
7 *
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
12 *
13 * You should have received a copy of the GNU General Public License
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */
16#include "nein.h"
diff --git a/keyboards/40percentclub/nein/nein.h b/keyboards/40percentclub/nein/nein.h
deleted file mode 100644
index fd0118f75b..0000000000
--- a/keyboards/40percentclub/nein/nein.h
+++ /dev/null
@@ -1,37 +0,0 @@
1/* Copyright 2019
2 *
3 * This program is free software: you can redistribute it and/or modify
4 * it under the terms of the GNU General Public License as published by
5 * the Free Software Foundation, either version 2 of the License, or
6 * (at your option) any later version.
7 *
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
12 *
13 * You should have received a copy of the GNU General Public License
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */
16#pragma once
17
18#include "quantum.h"
19
20/* This a shortcut to help you visually see your layout.
21 *
22 * The first section contains all of the arguments representing the physical
23 * layout of the board and position of the keys.
24 *
25 * The second converts the arguments into a two-dimensional array which
26 * represents the switch matrix.
27 */
28#define LAYOUT_ortho_3x3( \
29 k00, k01, k02, \
30 k10, k11, k12, \
31 k20, k21, k22 \
32) \
33{ \
34 { k00, k01, k02 }, \
35 { k10, k11, k12 }, \
36 { k20, k21, k22 } \
37}
diff --git a/keyboards/40percentclub/sixpack/info.json b/keyboards/40percentclub/sixpack/info.json
index 9c3015b5dd..4e7f39c9c6 100644
--- a/keyboards/40percentclub/sixpack/info.json
+++ b/keyboards/40percentclub/sixpack/info.json
@@ -25,8 +25,12 @@
25 "layouts": { 25 "layouts": {
26 "LAYOUT_ortho_2x3": { 26 "LAYOUT_ortho_2x3": {
27 "layout": [ 27 "layout": [
28 {"x":0, "y":0}, {"x":1, "y":0}, {"x":2, "y":0}, 28 {"x":0, "y":0, "matrix": [0, 0]},
29 {"x":0, "y":1}, {"x":1, "y":1}, {"x":2, "y":1} 29 {"x":1, "y":0, "matrix": [0, 1]},
30 {"x":2, "y":0, "matrix": [0, 2]},
31 {"x":0, "y":1, "matrix": [1, 0]},
32 {"x":1, "y":1, "matrix": [1, 1]},
33 {"x":2, "y":1, "matrix": [1, 2]}
30 ] 34 ]
31 } 35 }
32 } 36 }
diff --git a/keyboards/40percentclub/sixpack/sixpack.c b/keyboards/40percentclub/sixpack/sixpack.c
index cc0e9e3add..c8c7bad444 100644
--- a/keyboards/40percentclub/sixpack/sixpack.c
+++ b/keyboards/40percentclub/sixpack/sixpack.c
@@ -13,7 +13,7 @@
13 * You should have received a copy of the GNU General Public License 13 * You should have received a copy of the GNU General Public License
14 * along with this program. If not, see <http://www.gnu.org/licenses/>. 14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */ 15 */
16#include "sixpack.h" 16#include "quantum.h"
17 17
18void matrix_init_kb(void) { 18void matrix_init_kb(void) {
19 setPinOutput(B6); // Backlight cathodes Col.3 19 setPinOutput(B6); // Backlight cathodes Col.3
diff --git a/keyboards/40percentclub/sixpack/sixpack.h b/keyboards/40percentclub/sixpack/sixpack.h
deleted file mode 100644
index 94db5ee9e8..0000000000
--- a/keyboards/40percentclub/sixpack/sixpack.h
+++ /dev/null
@@ -1,34 +0,0 @@
1/* Copyright 2020
2 *
3 * This program is free software: you can redistribute it and/or modify
4 * it under the terms of the GNU General Public License as published by
5 * the Free Software Foundation, either version 2 of the License, or
6 * (at your option) any later version.
7 *
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
12 *
13 * You should have received a copy of the GNU General Public License
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */
16#pragma once
17
18#include "quantum.h"
19
20/* This a shortcut to help you visually see your layout.
21 *
22 * The first section contains all of the arguments representing the physical
23 * layout of the board and position of the keys.
24 *
25 * The second converts the arguments into a two-dimensional array which
26 * represents the switch matrix.
27 */
28#define LAYOUT_ortho_2x3( \
29 k00, k01, k02, \
30 k10, k11, k12 \
31) { \
32 { k00, k01, k02 }, \
33 { k10, k11, k12 } \
34}
diff --git a/keyboards/8pack/8pack.c b/keyboards/8pack/8pack.c
deleted file mode 100644
index e89d7281de..0000000000
--- a/keyboards/8pack/8pack.c
+++ /dev/null
@@ -1 +0,0 @@
1#include "8pack.h"
diff --git a/keyboards/8pack/8pack.h b/keyboards/8pack/8pack.h
deleted file mode 100644
index 1c4ffb55b8..0000000000
--- a/keyboards/8pack/8pack.h
+++ /dev/null
@@ -1,11 +0,0 @@
1#pragma once
2
3#include "quantum.h"
4
5#ifdef KEYBOARD_8pack_rev11
6 #include "rev11.h"
7#endif
8
9#ifdef KEYBOARD_8pack_rev12
10 #include "rev12.h"
11#endif \ No newline at end of file
diff --git a/keyboards/8pack/info.json b/keyboards/8pack/info.json
index fa33b2644f..63cc0e23de 100644
--- a/keyboards/8pack/info.json
+++ b/keyboards/8pack/info.json
@@ -14,19 +14,5 @@
14 ["F4", "F5", "F6", "F7"], 14 ["F4", "F5", "F6", "F7"],
15 ["B1", "B3", "B2", "B6"] 15 ["B1", "B3", "B2", "B6"]
16 ] 16 ]
17 },
18 "layouts": {
19 "LAYOUT": {
20 "layout": [
21 {"x":0, "y":0},
22 {"x":1, "y":0},
23 {"x":2, "y":0},
24 {"x":3, "y":0},
25 {"x":0, "y":1},
26 {"x":1, "y":1},
27 {"x":2, "y":1},
28 {"x":3, "y":1}
29 ]
30 }
31 } 17 }
32} 18}
diff --git a/keyboards/8pack/rev11/info.json b/keyboards/8pack/rev11/info.json
index 90ac25f360..6d4d61fe13 100644
--- a/keyboards/8pack/rev11/info.json
+++ b/keyboards/8pack/rev11/info.json
@@ -1,5 +1,19 @@
1{ 1{
2 "usb": { 2 "usb": {
3 "device_version": "0.0.1" 3 "device_version": "0.0.1"
4 },
5 "layouts": {
6 "LAYOUT": {
7 "layout": [
8 {"x":0, "y":0, "matrix": [1, 3]},
9 {"x":1, "y":0, "matrix": [1, 2]},
10 {"x":2, "y":0, "matrix": [1, 1]},
11 {"x":3, "y":0, "matrix": [1, 0]},
12 {"x":0, "y":1, "matrix": [0, 3]},
13 {"x":1, "y":1, "matrix": [0, 2]},
14 {"x":2, "y":1, "matrix": [0, 1]},
15 {"x":3, "y":1, "matrix": [0, 0]}
16 ]
17 }
4 } 18 }
5} 19}
diff --git a/keyboards/8pack/rev11/rev11.c b/keyboards/8pack/rev11/rev11.c
deleted file mode 100644
index c54ecbe87e..0000000000
--- a/keyboards/8pack/rev11/rev11.c
+++ /dev/null
@@ -1 +0,0 @@
1#include "rev11.h"
diff --git a/keyboards/8pack/rev11/rev11.h b/keyboards/8pack/rev11/rev11.h
deleted file mode 100644
index ebf8529ad0..0000000000
--- a/keyboards/8pack/rev11/rev11.h
+++ /dev/null
@@ -1,11 +0,0 @@
1#pragma once
2
3#include "8pack.h"
4
5#define LAYOUT( \
6 K00, K01, K02, K03, \
7 K10, K11, K12, K13 \
8) { \
9 { K13, K12, K11, K10 }, \
10 { K03, K02, K01, K00 } \
11}
diff --git a/keyboards/8pack/rev12/info.json b/keyboards/8pack/rev12/info.json
index e557e4d307..05b1a290ae 100644
--- a/keyboards/8pack/rev12/info.json
+++ b/keyboards/8pack/rev12/info.json
@@ -1,5 +1,19 @@
1{ 1{
2 "usb": { 2 "usb": {
3 "device_version": "0.0.2" 3 "device_version": "0.0.2"
4 },
5 "layouts": {
6 "LAYOUT": {
7 "layout": [
8 {"x":0, "y":0, "matrix": [0, 3]},
9 {"x":1, "y":0, "matrix": [0, 2]},
10 {"x":2, "y":0, "matrix": [0, 1]},
11 {"x":3, "y":0, "matrix": [0, 0]},
12 {"x":0, "y":1, "matrix": [1, 3]},
13 {"x":1, "y":1, "matrix": [1, 2]},
14 {"x":2, "y":1, "matrix": [1, 1]},
15 {"x":3, "y":1, "matrix": [1, 0]}
16 ]
17 }
4 } 18 }
5} 19}
diff --git a/keyboards/8pack/rev12/rev12.c b/keyboards/8pack/rev12/rev12.c
deleted file mode 100644
index b2d091af49..0000000000
--- a/keyboards/8pack/rev12/rev12.c
+++ /dev/null
@@ -1 +0,0 @@
1#include "rev12.h"
diff --git a/keyboards/8pack/rev12/rev12.h b/keyboards/8pack/rev12/rev12.h
deleted file mode 100644
index 3efeb06de5..0000000000
--- a/keyboards/8pack/rev12/rev12.h
+++ /dev/null
@@ -1,11 +0,0 @@
1#pragma once
2
3#include "8pack.h"
4
5#define LAYOUT( \
6 K00, K01, K02, K03, \
7 K10, K11, K12, K13 \
8) { \
9 { K03, K02, K01, K00 }, \
10 { K13, K12, K11, K10 } \
11}
diff --git a/keyboards/a_dux/a_dux.c b/keyboards/a_dux/a_dux.c
index 16bac16fa9..16c3406f48 100644
--- a/keyboards/a_dux/a_dux.c
+++ b/keyboards/a_dux/a_dux.c
@@ -17,7 +17,7 @@
17 * You should have received a copy of the GNU General Public License 17 * You should have received a copy of the GNU General Public License
18 * along with this program. If not, see <http://www.gnu.org/licenses/>. 18 * along with this program. If not, see <http://www.gnu.org/licenses/>.
19 */ 19 */
20#include "a_dux.h" 20#include "quantum.h"
21 21
22#ifdef SWAP_HANDS_ENABLE 22#ifdef SWAP_HANDS_ENABLE
23__attribute__ ((weak)) 23__attribute__ ((weak))
diff --git a/keyboards/a_dux/a_dux.h b/keyboards/a_dux/a_dux.h
deleted file mode 100644
index 83c0a3692b..0000000000
--- a/keyboards/a_dux/a_dux.h
+++ /dev/null
@@ -1,49 +0,0 @@
1/* Copyright 2018-2020 ENDO Katsuhiro <ka2hiro@curlybracket.co.jp> David Philip Barr <@davidphilipbarr> Pierre Chevalier <pierrechevalier83@gmail.com>
2 *
3 * This program is free software: you can redistribute it and/or modify
4 * it under the terms of the GNU General Public License as published by
5 * the Free Software Foundation, either version 2 of the License, or
6 * (at your option) any later version.
7 *
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
12 *
13 * You should have received a copy of the GNU General Public License
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */
16
17#include "quantum.h"
18
19/* This a shortcut to help you visually see your layout.
20 *
21 * The first section contains all of the arguments representing the physical
22 * layout of the board and position of the keys.
23 *
24 * The second converts the arguments into a two-dimensional array which
25 * represents the switch matrix.
26 */
27
28// readability
29#define ___ KC_NO
30
31#define LAYOUT_split_3x5_2( \
32 L01, L02, L03, L04, L05, R01, R02, R03, R04, R05, \
33 L06, L07, L08, L09, L10, R06, R07, R08, R09, R10, \
34 L11, L12, L13, L14, L15, R11, R12, R13, R14, R15, \
35 L16, L17, R16, R17 \
36 ) \
37 { \
38 { L01, L02, L03, L04, L05 }, \
39 { L06, L07, L08, L09, L10 }, \
40 { L11, L12, L13, L14, L15 }, \
41 { L16, L17, ___, ___, ___ }, \
42 { R01, R02, R03, R04, R05 }, \
43 { R06, R07, R08, R09, R10 }, \
44 { R11, R12, R13, R14, R15 }, \
45 { R16, R17, ___, ___, ___ } \
46 }
47
48#define LAYOUT LAYOUT_split_3x5_2
49
diff --git a/keyboards/a_dux/info.json b/keyboards/a_dux/info.json
index c0aef4bebf..29259a180c 100644
--- a/keyboards/a_dux/info.json
+++ b/keyboards/a_dux/info.json
@@ -35,50 +35,53 @@
35 } 35 }
36 }, 36 },
37 "community_layouts": ["split_3x5_2"], 37 "community_layouts": ["split_3x5_2"],
38 "layout_aliases": {
39 "LAYOUT": "LAYOUT_split_3x5_2"
40 },
38 "layouts": { 41 "layouts": {
39 "LAYOUT_split_3x5_2": { 42 "LAYOUT_split_3x5_2": {
40 "layout": [ 43 "layout": [
41 {"x": 0, "y": 1.33}, 44 {"x": 0, "y": 1.33, "matrix": [0, 0]},
42 {"x": 1, "y": 0.31}, 45 {"x": 1, "y": 0.31, "matrix": [0, 1]},
43 {"x": 2, "y": 0}, 46 {"x": 2, "y": 0, "matrix": [0, 2]},
44 {"x": 3, "y": 0.28}, 47 {"x": 3, "y": 0.28, "matrix": [0, 3]},
45 {"x": 4, "y": 0.42}, 48 {"x": 4, "y": 0.42, "matrix": [0, 4]},
46 49
47 {"x": 8, "y": 0.42}, 50 {"x": 8, "y": 0.42, "matrix": [4, 0]},
48 {"x": 9, "y": 0.28}, 51 {"x": 9, "y": 0.28, "matrix": [4, 1]},
49 {"x": 10, "y": 0}, 52 {"x": 10, "y": 0, "matrix": [4, 2]},
50 {"x": 11, "y": 0.31}, 53 {"x": 11, "y": 0.31, "matrix": [4, 3]},
51 {"x": 12, "y": 1.33}, 54 {"x": 12, "y": 1.33, "matrix": [4, 4]},
52 55
53 {"x": 0, "y": 2.33}, 56 {"x": 0, "y": 2.33, "matrix": [1, 0]},
54 {"x": 1, "y": 1.31}, 57 {"x": 1, "y": 1.31, "matrix": [1, 1]},
55 {"x": 2, "y": 1}, 58 {"x": 2, "y": 1, "matrix": [1, 2]},
56 {"x": 3, "y": 1.28}, 59 {"x": 3, "y": 1.28, "matrix": [1, 3]},
57 {"x": 4, "y": 1.42}, 60 {"x": 4, "y": 1.42, "matrix": [1, 4]},
58 61
59 {"x": 8, "y": 1.42}, 62 {"x": 8, "y": 1.42, "matrix": [5, 0]},
60 {"x": 9, "y": 1.28}, 63 {"x": 9, "y": 1.28, "matrix": [5, 1]},
61 {"x": 10, "y": 1}, 64 {"x": 10, "y": 1, "matrix": [5, 2]},
62 {"x": 11, "y": 1.31}, 65 {"x": 11, "y": 1.31, "matrix": [5, 3]},
63 {"x": 12, "y": 2.33}, 66 {"x": 12, "y": 2.33, "matrix": [5, 4]},
64 67
65 {"x": 0, "y": 3.33}, 68 {"x": 0, "y": 3.33, "matrix": [2, 0]},
66 {"x": 1, "y": 2.31}, 69 {"x": 1, "y": 2.31, "matrix": [2, 1]},
67 {"x": 2, "y": 2}, 70 {"x": 2, "y": 2, "matrix": [2, 2]},
68 {"x": 3, "y": 2.28}, 71 {"x": 3, "y": 2.28, "matrix": [2, 3]},
69 {"x": 4, "y": 2.42}, 72 {"x": 4, "y": 2.42, "matrix": [2, 4]},
70 73
71 {"x": 8, "y": 2.42}, 74 {"x": 8, "y": 2.42, "matrix": [6, 0]},
72 {"x": 9, "y": 2.28}, 75 {"x": 9, "y": 2.28, "matrix": [6, 1]},
73 {"x": 10, "y": 2}, 76 {"x": 10, "y": 2, "matrix": [6, 2]},
74 {"x": 11, "y": 2.31}, 77 {"x": 11, "y": 2.31, "matrix": [6, 3]},
75 {"x": 12, "y": 3.33}, 78 {"x": 12, "y": 3.33, "matrix": [6, 4]},
76 79
77 {"x": 4, "y": 3.75}, 80 {"x": 4, "y": 3.75, "matrix": [3, 0]},
78 {"x": 5, "y": 4}, 81 {"x": 5, "y": 4, "matrix": [3, 1]},
79 82
80 {"x": 7, "y": 4}, 83 {"x": 7, "y": 4, "matrix": [7, 0]},
81 {"x": 8, "y": 3.75} 84 {"x": 8, "y": 3.75, "matrix": [7, 1]}
82 ] 85 ]
83 } 86 }
84 } 87 }
diff --git a/keyboards/adafruit/macropad/info.json b/keyboards/adafruit/macropad/info.json
index 824419580c..4986a5974f 100644
--- a/keyboards/adafruit/macropad/info.json
+++ b/keyboards/adafruit/macropad/info.json
@@ -25,19 +25,19 @@
25 "layouts": { 25 "layouts": {
26 "LAYOUT": { 26 "LAYOUT": {
27 "layout": [ 27 "layout": [
28 {"label":"Mute", "x":2, "y":0}, 28 {"x":2, "y":0, "matrix": [0, 2]},
29 {"label":"Enter", "x":0, "y":1}, 29 {"x":0, "y":1, "matrix": [1, 0]},
30 {"label":"KC_0", "x":1, "y":1}, 30 {"x":1, "y":1, "matrix": [1, 1]},
31 {"label":"BackSpace", "x":2, "y":1}, 31 {"x":2, "y":1, "matrix": [1, 2]},
32 {"label":"KC_7", "x":0, "y":2}, 32 {"x":0, "y":2, "matrix": [2, 0]},
33 {"label":"KC_8", "x":1, "y":2}, 33 {"x":1, "y":2, "matrix": [2, 1]},
34 {"label":"KC_9", "x":2, "y":2}, 34 {"x":2, "y":2, "matrix": [2, 2]},
35 {"label":"KC_4", "x":0, "y":3}, 35 {"x":0, "y":3, "matrix": [3, 0]},
36 {"label":"KC_5", "x":1, "y":3}, 36 {"x":1, "y":3, "matrix": [3, 1]},
37 {"label":"KC_6", "x":2, "y":3}, 37 {"x":2, "y":3, "matrix": [3, 2]},
38 {"label":"KC_1", "x":0, "y":4}, 38 {"x":0, "y":4, "matrix": [4, 0]},
39 {"label":"KC_2", "x":1, "y":4}, 39 {"x":1, "y":4, "matrix": [4, 1]},
40 {"label":"KC_3", "x":2, "y":4} 40 {"x":2, "y":4, "matrix": [4, 2]}
41 ] 41 ]
42 } 42 }
43 } 43 }
diff --git a/keyboards/adafruit/macropad/macropad.c b/keyboards/adafruit/macropad/macropad.c
index a82a2dabb1..5cffdc6c97 100644
--- a/keyboards/adafruit/macropad/macropad.c
+++ b/keyboards/adafruit/macropad/macropad.c
@@ -14,7 +14,7 @@
14 * along with this program. If not, see <http://www.gnu.org/licenses/>. 14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */ 15 */
16 16
17#include "macropad.h" 17#include "quantum.h"
18 18
19#ifdef RGB_MATRIX_ENABLE 19#ifdef RGB_MATRIX_ENABLE
20 20
diff --git a/keyboards/adafruit/macropad/macropad.h b/keyboards/adafruit/macropad/macropad.h
deleted file mode 100644
index 6e2e3524b7..0000000000
--- a/keyboards/adafruit/macropad/macropad.h
+++ /dev/null
@@ -1,38 +0,0 @@
1/* Copyright 2022 Jose Pablo Ramirez <jp.ramangulo@gmail.com>
2 *
3 * This program is free software: you can redistribute it and/or modify
4 * it under the terms of the GNU General Public License as published by
5 * the Free Software Foundation, either version 2 of the License, or
6 * (at your option) any later version.
7 *
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
12 *
13 * You should have received a copy of the GNU General Public License
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */
16
17#pragma once
18
19#include "quantum.h"
20
21#define ___ KC_NO
22
23// clang-format off
24 #define LAYOUT( \
25 K02, \
26 K10, K11, K12, \
27 K20, K21, K22, \
28 K30, K31, K32, \
29 K40, K41, K42 \
30 ) \
31 { \
32 { ___, ___, K02 }, \
33 { K10, K11, K12 }, \
34 { K20, K21, K22 }, \
35 { K30, K31, K32 }, \
36 { K40, K41, K42 } \
37 }
38// clang-format on
diff --git a/keyboards/anavi/knob1/info.json b/keyboards/anavi/knob1/info.json
index 1bd66e9ef0..cb85035a22 100644
--- a/keyboards/anavi/knob1/info.json
+++ b/keyboards/anavi/knob1/info.json
@@ -52,7 +52,7 @@
52 "layouts": { 52 "layouts": {
53 "LAYOUT_k1": { 53 "LAYOUT_k1": {
54 "layout": [ 54 "layout": [
55 { "label":"Mute", "x": 0, "y": 0 } 55 { "x": 0, "y": 0, "matrix": [0, 0] }
56 ] 56 ]
57 } 57 }
58 }, 58 },
diff --git a/keyboards/anavi/knob1/knob1.c b/keyboards/anavi/knob1/knob1.c
index cfc3ac8a65..c1ed7b7726 100644
--- a/keyboards/anavi/knob1/knob1.c
+++ b/keyboards/anavi/knob1/knob1.c
@@ -1,7 +1,7 @@
1// Copyright 2022 Leon Anavi <leon@anavi.org> 1// Copyright 2022 Leon Anavi <leon@anavi.org>
2// SPDX-License-Identifier: GPL-2.0-or-later 2// SPDX-License-Identifier: GPL-2.0-or-later
3 3
4#include "encoder.h" 4#include "quantum.h"
5#include <stdio.h> 5#include <stdio.h>
6 6
7void keyboard_post_init_kb(void) { 7void keyboard_post_init_kb(void) {
diff --git a/keyboards/anavi/knob1/knob1.h b/keyboards/anavi/knob1/knob1.h
deleted file mode 100644
index c48170928c..0000000000
--- a/keyboards/anavi/knob1/knob1.h
+++ /dev/null
@@ -1,30 +0,0 @@
1/* Copyright 2022 Leon Anavi <leon@anavi.org>
2 *
3 * This program is free software: you can redistribute it and/or modify
4 * it under the terms of the GNU General Public License as published by
5 * the Free Software Foundation, either version 2 of the License, or
6 * (at your option) any later version.
7 *
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
12 *
13 * You should have received a copy of the GNU General Public License
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */
16
17#pragma once
18
19#include "quantum.h"
20
21#define ___ KC_NO
22
23// clang-format off
24 #define LAYOUT_k1( \
25 K02 \
26 ) \
27 { \
28 { K02 } \
29 }
30// clang-format on
diff --git a/keyboards/anavi/macropad8/info.json b/keyboards/anavi/macropad8/info.json
index 51e805059d..b152a7c1f1 100644
--- a/keyboards/anavi/macropad8/info.json
+++ b/keyboards/anavi/macropad8/info.json
@@ -18,7 +18,16 @@
18 }, 18 },
19 "layouts": { 19 "layouts": {
20 "LAYOUT_ortho_2x4": { 20 "LAYOUT_ortho_2x4": {
21 "layout": [{"x":0, "y":0}, {"x":1, "y":0}, {"x":2, "y":0}, {"x":3, "y":0}, {"x":0, "y":1}, {"x":1, "y":1}, {"x":2, "y":1}, {"x":3, "y":1}] 21 "layout": [
22 {"x":0, "y":0, "matrix": [0, 0]},
23 {"x":1, "y":0, "matrix": [0, 1]},
24 {"x":2, "y":0, "matrix": [0, 2]},
25 {"x":3, "y":0, "matrix": [0, 3]},
26 {"x":0, "y":1, "matrix": [1, 0]},
27 {"x":1, "y":1, "matrix": [1, 1]},
28 {"x":2, "y":1, "matrix": [1, 2]},
29 {"x":3, "y":1, "matrix": [1, 3]}
30 ]
22 } 31 }
23 } 32 }
24} 33}
diff --git a/keyboards/anavi/macropad8/macropad8.c b/keyboards/anavi/macropad8/macropad8.c
deleted file mode 100644
index 2859cd042d..0000000000
--- a/keyboards/anavi/macropad8/macropad8.c
+++ /dev/null
@@ -1 +0,0 @@
1#include "macropad8.h"
diff --git a/keyboards/anavi/macropad8/macropad8.h b/keyboards/anavi/macropad8/macropad8.h
deleted file mode 100644
index 3ebee830d3..0000000000
--- a/keyboards/anavi/macropad8/macropad8.h
+++ /dev/null
@@ -1,11 +0,0 @@
1#pragma once
2
3#include "quantum.h"
4
5#define LAYOUT_ortho_2x4( \
6 k01, k02, k03, k04, \
7 k05, k06, k07, k08 \
8 ) { \
9 { k01, k02, k03, k04 }, \
10 { k05, k06, k07, k08 } \
11}
diff --git a/keyboards/arrayperipherals/1x4p1/1x4p1.c b/keyboards/arrayperipherals/1x4p1/1x4p1.c
deleted file mode 100644
index 788ccff553..0000000000
--- a/keyboards/arrayperipherals/1x4p1/1x4p1.c
+++ /dev/null
@@ -1,18 +0,0 @@
1/*
2Copyright 2020 David Doan
3
4This program is free software: you can redistribute it and/or modify
5it under the terms of the GNU General Public License as published by
6the Free Software Foundation, either version 2 of the License, or
7(at your option) any later version.
8
9This program is distributed in the hope that it will be useful,
10but WITHOUT ANY WARRANTY; without even the implied warranty of
11MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12GNU General Public License for more details.
13
14You should have received a copy of the GNU General Public License
15along with this program. If not, see <http://www.gnu.org/licenses/>.
16*/
17
18#include "1x4p1.h"
diff --git a/keyboards/arrayperipherals/1x4p1/1x4p1.h b/keyboards/arrayperipherals/1x4p1/1x4p1.h
deleted file mode 100644
index 8f385a9086..0000000000
--- a/keyboards/arrayperipherals/1x4p1/1x4p1.h
+++ /dev/null
@@ -1,26 +0,0 @@
1/*
2Copyright 2020 David Doan
3
4This program is free software: you can redistribute it and/or modify
5it under the terms of the GNU General Public License as published by
6the Free Software Foundation, either version 2 of the License, or
7(at your option) any later version.
8
9This program is distributed in the hope that it will be useful,
10but WITHOUT ANY WARRANTY; without even the implied warranty of
11MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12GNU General Public License for more details.
13
14You should have received a copy of the GNU General Public License
15along with this program. If not, see <http://www.gnu.org/licenses/>.
16*/
17
18#pragma once
19
20#include "quantum.h"
21
22#define LAYOUT_ortho_1x5( \
23 k01, k02, k03, k04, k05\
24 ) { \
25 { k01, k02, k03, k04, k05} \
26}
diff --git a/keyboards/arrayperipherals/1x4p1/info.json b/keyboards/arrayperipherals/1x4p1/info.json
index 0441646af0..b124b20334 100644
--- a/keyboards/arrayperipherals/1x4p1/info.json
+++ b/keyboards/arrayperipherals/1x4p1/info.json
@@ -18,11 +18,11 @@
18 "layouts": { 18 "layouts": {
19 "LAYOUT_ortho_1x5": { 19 "LAYOUT_ortho_1x5": {
20 "layout": [ 20 "layout": [
21 {"label": "K01", "x":0, "y":0}, 21 {"x":0, "y":0, "matrix": [0, 0]},
22 {"label": "K02", "x":1, "y":0}, 22 {"x":1, "y":0, "matrix": [0, 1]},
23 {"label": "K03", "x":2, "y":0}, 23 {"x":2, "y":0, "matrix": [0, 2]},
24 {"label": "K04", "x":3, "y":0}, 24 {"x":3, "y":0, "matrix": [0, 3]},
25 {"label": "K05", "x":4, "y":0} 25 {"x":4, "y":0, "matrix": [0, 4]}
26 ] 26 ]
27 } 27 }
28 } 28 }
diff --git a/keyboards/botanicalkeyboards/fm2u/fm2u.c b/keyboards/botanicalkeyboards/fm2u/fm2u.c
deleted file mode 100644
index 9729e5eec0..0000000000
--- a/keyboards/botanicalkeyboards/fm2u/fm2u.c
+++ /dev/null
@@ -1,17 +0,0 @@
1/* Copyright 2020 mechmerlin
2 *
3 * This program is free software: you can redistribute it and/or modify
4 * it under the terms of the GNU General Public License as published by
5 * the Free Software Foundation, either version 2 of the License, or
6 * (at your option) any later version.
7 *
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
12 *
13 * You should have received a copy of the GNU General Public License
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */
16
17#include "fm2u.h"
diff --git a/keyboards/botanicalkeyboards/fm2u/fm2u.h b/keyboards/botanicalkeyboards/fm2u/fm2u.h
deleted file mode 100644
index 8316803259..0000000000
--- a/keyboards/botanicalkeyboards/fm2u/fm2u.h
+++ /dev/null
@@ -1,113 +0,0 @@
1/* Copyright 2020 mechmerlin
2 *
3 * This program is free software: you can redistribute it and/or modify
4 * it under the terms of the GNU General Public License as published by
5 * the Free Software Foundation, either version 2 of the License, or
6 * (at your option) any later version.
7 *
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
12 *
13 * You should have received a copy of the GNU General Public License
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */
16
17#pragma once
18
19#include "quantum.h"
20
21/* This is a shortcut to help you visually see your layout.
22 *
23 * The first section contains all of the arguments representing the physical
24 * layout of the board and position of the keys.
25 *
26 * The second converts the arguments into a two-dimensional array which
27 * represents the switch matrix.
28 */
29#define LAYOUT_1u( \
30 k00 \
31) { \
32 { k00 } \
33}
34
35#define LAYOUT_1u25( \
36 k00 \
37) { \
38 { k00 } \
39}
40
41#define LAYOUT_1u5( \
42 k00 \
43) { \
44 { k00 } \
45}
46
47#define LAYOUT_1u75( \
48 k00 \
49) { \
50 { k00 } \
51}
52
53#define LAYOUT_2u( \
54 k00 \
55) { \
56 { k00 } \
57}
58
59#define LAYOUT_2u25( \
60 k00 \
61) { \
62 { k00 } \
63}
64
65#define LAYOUT_2u75( \
66 k00 \
67) { \
68 { k00 } \
69}
70
71#define LAYOUT_3u( \
72 k00 \
73) { \
74 { k00 } \
75}
76
77#define LAYOUT_6u( \
78 k00 \
79) { \
80 { k00 } \
81}
82
83#define LAYOUT_6u25( \
84 k00 \
85) { \
86 { k00 } \
87}
88
89#define LAYOUT_7u( \
90 k00 \
91) { \
92 { k00 } \
93}
94
95#define LAYOUT_isoenter( \
96 k00 \
97) { \
98 { k00 } \
99}
100
101// Backward compatibility TODO: remove these
102#define LAYOUT_100u LAYOUT_1u
103#define LAYOUT_125u LAYOUT_1u25
104#define LAYOUT_150u LAYOUT_1u5
105#define LAYOUT_175u LAYOUT_1u75
106#define LAYOUT_200u LAYOUT_2u
107#define LAYOUT_225u LAYOUT_2u25
108#define LAYOUT_275u LAYOUT_2u75
109#define LAYOUT_300u LAYOUT_3u
110#define LAYOUT_600u LAYOUT_6u
111#define LAYOUT_625u LAYOUT_6u25
112#define LAYOUT_700u LAYOUT_7u
113#define LAYOUT_iso LAYOUT_isoenter
diff --git a/keyboards/botanicalkeyboards/fm2u/info.json b/keyboards/botanicalkeyboards/fm2u/info.json
index 09d617152b..0d4dd1e88b 100644
--- a/keyboards/botanicalkeyboards/fm2u/info.json
+++ b/keyboards/botanicalkeyboards/fm2u/info.json
@@ -15,65 +15,79 @@
15 ["C4"] 15 ["C4"]
16 ] 16 ]
17 }, 17 },
18 "layout_aliases": {
19 "LAYOUT_100u": "LAYOUT_1u",
20 "LAYOUT_125u": "LAYOUT_1u25",
21 "LAYOUT_150u": "LAYOUT_1u5",
22 "LAYOUT_175u": "LAYOUT_1u75",
23 "LAYOUT_200u": "LAYOUT_2u",
24 "LAYOUT_225u": "LAYOUT_2u25",
25 "LAYOUT_275u": "LAYOUT_2u75",
26 "LAYOUT_300u": "LAYOUT_3u",
27 "LAYOUT_600u": "LAYOUT_6u",
28 "LAYOUT_625u": "LAYOUT_6u25",
29 "LAYOUT_700u": "LAYOUT_7u",
30 "LAYOUT_iso": "LAYOUT_isoenter"
31 },
18 "layouts": { 32 "layouts": {
19 "LAYOUT_1u": { 33 "LAYOUT_1u": {
20 "layout": [ 34 "layout": [
21 {"x": 0, "y": 0} 35 {"x": 0, "y": 0, "matrix": [0, 0]}
22 ] 36 ]
23 }, 37 },
24 "LAYOUT_1u25": { 38 "LAYOUT_1u25": {
25 "layout": [ 39 "layout": [
26 {"x": 0, "y": 0, "w": 1.25} 40 {"x": 0, "y": 0, "w": 1.25, "matrix": [0, 0]}
27 ] 41 ]
28 }, 42 },
29 "LAYOUT_1u5": { 43 "LAYOUT_1u5": {
30 "layout": [ 44 "layout": [
31 {"x": 0, "y": 0, "w": 1.50} 45 {"x": 0, "y": 0, "w": 1.50, "matrix": [0, 0]}
32 ] 46 ]
33 }, 47 },
34 "LAYOUT_1u75": { 48 "LAYOUT_1u75": {
35 "layout": [ 49 "layout": [
36 {"x": 0, "y": 0, "w": 1.75} 50 {"x": 0, "y": 0, "w": 1.75, "matrix": [0, 0]}
37 ] 51 ]
38 }, 52 },
39 "LAYOUT_2u": { 53 "LAYOUT_2u": {
40 "layout": [ 54 "layout": [
41 {"x": 0, "y": 0, "w": 2} 55 {"x": 0, "y": 0, "w": 2, "matrix": [0, 0]}
42 ] 56 ]
43 }, 57 },
44 "LAYOUT_2u25": { 58 "LAYOUT_2u25": {
45 "layout": [ 59 "layout": [
46 {"x": 0, "y": 0, "w": 2.25} 60 {"x": 0, "y": 0, "w": 2.25, "matrix": [0, 0]}
47 ] 61 ]
48 }, 62 },
49 "LAYOUT_2u75": { 63 "LAYOUT_2u75": {
50 "layout": [ 64 "layout": [
51 {"x": 0, "y": 0, "w": 2.75} 65 {"x": 0, "y": 0, "w": 2.75, "matrix": [0, 0]}
52 ] 66 ]
53 }, 67 },
54 "LAYOUT_3u": { 68 "LAYOUT_3u": {
55 "layout": [ 69 "layout": [
56 {"x": 0, "y": 0, "w": 3} 70 {"x": 0, "y": 0, "w": 3, "matrix": [0, 0]}
57 ] 71 ]
58 }, 72 },
59 "LAYOUT_6u": { 73 "LAYOUT_6u": {
60 "layout": [ 74 "layout": [
61 {"x": 0, "y": 0, "w": 6} 75 {"x": 0, "y": 0, "w": 6, "matrix": [0, 0]}
62 ] 76 ]
63 }, 77 },
64 "LAYOUT_6u25": { 78 "LAYOUT_6u25": {
65 "layout": [ 79 "layout": [
66 {"x": 0, "y": 0, "w": 6.25} 80 {"x": 0, "y": 0, "w": 6.25, "matrix": [0, 0]}
67 ] 81 ]
68 }, 82 },
69 "LAYOUT_7u": { 83 "LAYOUT_7u": {
70 "layout": [ 84 "layout": [
71 {"x": 0, "y": 0, "w": 7} 85 {"x": 0, "y": 0, "w": 7, "matrix": [0, 0]}
72 ] 86 ]
73 }, 87 },
74 "LAYOUT_isoenter": { 88 "LAYOUT_isoenter": {
75 "layout": [ 89 "layout": [
76 {"x": 0.25, "y": 0, "w": 1.25, "h": 2} 90 {"x": 0.25, "y": 0, "w": 1.25, "h": 2, "matrix": [0, 0]}
77 ] 91 ]
78 } 92 }
79 } 93 }
diff --git a/keyboards/bpiphany/sixshooter/info.json b/keyboards/bpiphany/sixshooter/info.json
index 9f3637be0b..a6ab63f6ae 100644
--- a/keyboards/bpiphany/sixshooter/info.json
+++ b/keyboards/bpiphany/sixshooter/info.json
@@ -18,7 +18,14 @@
18 }, 18 },
19 "layouts": { 19 "layouts": {
20 "LAYOUT": { 20 "LAYOUT": {
21 "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}] 21 "layout": [
22 {"x":0, "y":0, "matrix": [0, 0]},
23 {"x":1, "y":0, "matrix": [0, 1]},
24 {"x":2, "y":0, "matrix": [0, 2]},
25 {"x":0, "y":1, "matrix": [1, 0]},
26 {"x":1, "y":1, "matrix": [1, 1]},
27 {"x":2, "y":1, "matrix": [1, 2]}
28 ]
22 } 29 }
23 } 30 }
24} 31}
diff --git a/keyboards/bpiphany/sixshooter/sixshooter.h b/keyboards/bpiphany/sixshooter/sixshooter.h
index 33ac9335e6..0d93c455ef 100644
--- a/keyboards/bpiphany/sixshooter/sixshooter.h
+++ b/keyboards/bpiphany/sixshooter/sixshooter.h
@@ -2,14 +2,6 @@
2 2
3#include "quantum.h" 3#include "quantum.h"
4 4
5#define LAYOUT( \
6 k00, k01, k02, \
7 k10, k11, k12 \
8) { \
9 { k00, k01, k02 }, \
10 { k10, k11, k12 } \
11}
12
13inline void sixshooter_led_0_on(void) { DDRB |= (1<<6); PORTB |= (1<<6); } 5inline void sixshooter_led_0_on(void) { DDRB |= (1<<6); PORTB |= (1<<6); }
14inline void sixshooter_led_1_on(void) { DDRC |= (1<<7); PORTC |= (1<<7); } 6inline void sixshooter_led_1_on(void) { DDRC |= (1<<7); PORTC |= (1<<7); }
15inline void sixshooter_led_2_on(void) { DDRD |= (1<<0); PORTD |= (1<<0); } 7inline void sixshooter_led_2_on(void) { DDRD |= (1<<0); PORTD |= (1<<0); }
diff --git a/keyboards/clueboard/california/california.c b/keyboards/clueboard/california/california.c
deleted file mode 100644
index 342184a1ae..0000000000
--- a/keyboards/clueboard/california/california.c
+++ /dev/null
@@ -1 +0,0 @@
1#include "california.h"
diff --git a/keyboards/clueboard/california/california.h b/keyboards/clueboard/california/california.h
deleted file mode 100644
index ef5b3f3e04..0000000000
--- a/keyboards/clueboard/california/california.h
+++ /dev/null
@@ -1,3 +0,0 @@
1#pragma once
2
3#include "quantum.h"
diff --git a/keyboards/crypt_macro/crypt_macro.c b/keyboards/crypt_macro/crypt_macro.c
deleted file mode 100644
index 32f8d0bf28..0000000000
--- a/keyboards/crypt_macro/crypt_macro.c
+++ /dev/null
@@ -1,16 +0,0 @@
1/* Copyright 2022 Yiancar-Designs
2 *
3 * This program is free software: you can redistribute it and/or modify
4 * it under the terms of the GNU General Public License as published by
5 * the Free Software Foundation, either version 2 of the License, or
6 * (at your option) any later version.
7 *
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
12 *
13 * You should have received a copy of the GNU General Public License
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */
16#include "crypt_macro.h"
diff --git a/keyboards/crypt_macro/crypt_macro.h b/keyboards/crypt_macro/crypt_macro.h
deleted file mode 100644
index d128db4dff..0000000000
--- a/keyboards/crypt_macro/crypt_macro.h
+++ /dev/null
@@ -1,28 +0,0 @@
1/* Copyright 2022 Yiancar-Designs
2 *
3 * This program is free software: you can redistribute it and/or modify
4 * it under the terms of the GNU General Public License as published by
5 * the Free Software Foundation, either version 2 of the License, or
6 * (at your option) any later version.
7 *
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
12 *
13 * You should have received a copy of the GNU General Public License
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */
16#pragma once
17
18#define XXX KC_NO
19
20#include "quantum.h"
21
22#define LAYOUT( \
23 K00, K01, K02, \
24 K11 \
25) { \
26 { K00, K01, K02 }, \
27 { XXX, K11, XXX } \
28}
diff --git a/keyboards/crypt_macro/info.json b/keyboards/crypt_macro/info.json
index 910777b90c..c26bf041fa 100644
--- a/keyboards/crypt_macro/info.json
+++ b/keyboards/crypt_macro/info.json
@@ -18,7 +18,12 @@
18 }, 18 },
19 "layouts": { 19 "layouts": {
20 "LAYOUT": { 20 "LAYOUT": {
21 "layout": [{"x":0, "y":0}, {"x":1, "y":0}, {"x":2, "y":0}, {"x":0.5, "y":1, "w":2}] 21 "layout": [
22 {"x":0, "y":0, "matrix": [0, 0]},
23 {"x":1, "y":0, "matrix": [0, 1]},
24 {"x":2, "y":0, "matrix": [0, 2]},
25 {"x":0.5, "y":1, "w":2, "matrix": [1, 1]}
26 ]
22 } 27 }
23 } 28 }
24} 29}
diff --git a/keyboards/dailycraft/owl8/info.json b/keyboards/dailycraft/owl8/info.json
index 02d503424d..1aed397e38 100644
--- a/keyboards/dailycraft/owl8/info.json
+++ b/keyboards/dailycraft/owl8/info.json
@@ -18,25 +18,25 @@
18 "layouts": { 18 "layouts": {
19 "LAYOUT": { 19 "LAYOUT": {
20 "layout": [ 20 "layout": [
21 {"x":0, "y":0}, 21 {"x":0, "y":0, "matrix": [0, 12]},
22 {"x":1, "y":0}, 22 {"x":1, "y":0, "matrix": [0, 13]},
23 {"x":2, "y":0}, 23 {"x":2, "y":0, "matrix": [0, 14]},
24 {"x":3, "y":0}, 24 {"x":3, "y":0, "matrix": [0, 15]},
25 25
26 {"x":0, "y":1.25}, 26 {"x":0, "y":1.25, "matrix": [0, 8]},
27 {"x":1, "y":1.25}, 27 {"x":1, "y":1.25, "matrix": [0, 9]},
28 {"x":2, "y":1.25}, 28 {"x":2, "y":1.25, "matrix": [0, 10]},
29 {"x":3, "y":1.25}, 29 {"x":3, "y":1.25, "matrix": [0, 11]},
30 30
31 {"x":0, "y":2.5}, 31 {"x":0, "y":2.5, "matrix": [0, 0]},
32 {"x":1, "y":2.5}, 32 {"x":1, "y":2.5, "matrix": [0, 1]},
33 {"x":2, "y":2.5}, 33 {"x":2, "y":2.5, "matrix": [0, 2]},
34 {"x":3, "y":2.5}, 34 {"x":3, "y":2.5, "matrix": [0, 3]},
35 35
36 {"x":0, "y":3.5}, 36 {"x":0, "y":3.5, "matrix": [0, 4]},
37 {"x":1, "y":3.5}, 37 {"x":1, "y":3.5, "matrix": [0, 5]},
38 {"x":2, "y":3.5}, 38 {"x":2, "y":3.5, "matrix": [0, 6]},
39 {"x":3, "y":3.5} 39 {"x":3, "y":3.5, "matrix": [0, 7]}
40 ] 40 ]
41 } 41 }
42 } 42 }
diff --git a/keyboards/dailycraft/owl8/owl8.c b/keyboards/dailycraft/owl8/owl8.c
deleted file mode 100644
index a31289891a..0000000000
--- a/keyboards/dailycraft/owl8/owl8.c
+++ /dev/null
@@ -1,17 +0,0 @@
1/* Copyright 2021 yfuku
2 *
3 * This program is free software: you can redistribute it and/or modify
4 * it under the terms of the GNU General Public License as published by
5 * the Free Software Foundation, either version 2 of the License, or
6 * (at your option) any later version.
7 *
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
12 *
13 * You should have received a copy of the GNU General Public License
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */
16
17#include "owl8.h"
diff --git a/keyboards/dailycraft/owl8/owl8.h b/keyboards/dailycraft/owl8/owl8.h
deleted file mode 100644
index 5e561f580c..0000000000
--- a/keyboards/dailycraft/owl8/owl8.h
+++ /dev/null
@@ -1,38 +0,0 @@
1/* Copyright 2021 yfuku
2 *
3 * This program is free software: you can redistribute it and/or modify
4 * it under the terms of the GNU General Public License as published by
5 * the Free Software Foundation, either version 2 of the License, or
6 * (at your option) any later version.
7 *
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
12 *
13 * You should have received a copy of the GNU General Public License
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */
16
17#pragma once
18
19#include "quantum.h"
20
21/* This is a shortcut to help you visually see your layout.
22 *
23 * The first section contains all of the arguments representing the physical
24 * layout of the board and position of the keys.
25 *
26 * The second converts the arguments into a two-dimensional array which
27 * represents the switch matrix.
28 */
29
30#define LAYOUT( \
31 k012, k013, k014, k015, \
32 k008, k009, k010, k011, \
33 k000, k001, k002, k003, \
34 k004, k005, k006, k007 \
35) \
36{ \
37 {k000, k001, k002, k003, k004, k005, k006, k007, k008, k009, k010, k011, k012, k013, k014, k015 } \
38}
diff --git a/keyboards/dailycraft/stickey4/info.json b/keyboards/dailycraft/stickey4/info.json
index 95d3539456..69dc1479a4 100644
--- a/keyboards/dailycraft/stickey4/info.json
+++ b/keyboards/dailycraft/stickey4/info.json
@@ -18,15 +18,15 @@
18 "layouts": { 18 "layouts": {
19 "LAYOUT": { 19 "LAYOUT": {
20 "layout": [ 20 "layout": [
21 {"x": 0, "y": 0}, 21 {"x": 0, "y": 0, "matrix": [0, 0]},
22 {"x": 1, "y": 0}, 22 {"x": 1, "y": 0, "matrix": [0, 1]},
23 {"x": 2, "y": 0}, 23 {"x": 2, "y": 0, "matrix": [0, 2]},
24 {"x": 3, "y": 0}, 24 {"x": 3, "y": 0, "matrix": [0, 3]},
25 25
26 {"label": "Encoder 1 CCW", "x": 0, "y": 1}, 26 {"label": "Encoder 1 CCW", "x": 0, "y": 1, "matrix": [0, 4]},
27 {"label": "Encoder 1 CW", "x": 1, "y": 1}, 27 {"label": "Encoder 1 CW", "x": 1, "y": 1, "matrix": [0, 5]},
28 {"label": "Encoder 2 CCW", "x": 2, "y": 1}, 28 {"label": "Encoder 2 CCW", "x": 2, "y": 1, "matrix": [0, 6]},
29 {"label": "Encoder 2 CW", "x": 3, "y": 1} 29 {"label": "Encoder 2 CW", "x": 3, "y": 1, "matrix": [0, 7]}
30 ] 30 ]
31 } 31 }
32 } 32 }
diff --git a/keyboards/dailycraft/stickey4/stickey4.c b/keyboards/dailycraft/stickey4/stickey4.c
deleted file mode 100644
index dd0ac4f5f2..0000000000
--- a/keyboards/dailycraft/stickey4/stickey4.c
+++ /dev/null
@@ -1,17 +0,0 @@
1/* Copyright 2021 yfuku
2 *
3 * This program is free software: you can redistribute it and/or modify
4 * it under the terms of the GNU General Public License as published by
5 * the Free Software Foundation, either version 2 of the License, or
6 * (at your option) any later version.
7 *
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
12 *
13 * You should have received a copy of the GNU General Public License
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */
16
17#include "stickey4.h"
diff --git a/keyboards/dailycraft/stickey4/stickey4.h b/keyboards/dailycraft/stickey4/stickey4.h
deleted file mode 100644
index 6a21a8f991..0000000000
--- a/keyboards/dailycraft/stickey4/stickey4.h
+++ /dev/null
@@ -1,36 +0,0 @@
1/* Copyright 2021 yfuku
2 *
3 * This program is free software: you can redistribute it and/or modify
4 * it under the terms of the GNU General Public License as published by
5 * the Free Software Foundation, either version 2 of the License, or
6 * (at your option) any later version.
7 *
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
12 *
13 * You should have received a copy of the GNU General Public License
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */
16
17#pragma once
18
19#include "quantum.h"
20
21/* This is a shortcut to help you visually see your layout.
22 *
23 * The first section contains all of the arguments representing the physical
24 * layout of the board and position of the keys.
25 *
26 * The second converts the arguments into a two-dimensional array which
27 * represents the switch matrix.
28 */
29
30#define LAYOUT( \
31 k00, k01, k02, k03, \
32 k04, k05, k06, k07 \
33) \
34{ \
35 {k00, k01, k02, k03, k04, k05, k06, k07 } \
36}
diff --git a/keyboards/dekunukem/duckypad/duckypad.c b/keyboards/dekunukem/duckypad/duckypad.c
index 5cadebd95e..d03d284b95 100644
--- a/keyboards/dekunukem/duckypad/duckypad.c
+++ b/keyboards/dekunukem/duckypad/duckypad.c
@@ -18,7 +18,7 @@ You should have received a copy of the GNU General Public License
18along with this program. If not, see <http://www.gnu.org/licenses/>. 18along with this program. If not, see <http://www.gnu.org/licenses/>.
19*/ 19*/
20 20
21#include "duckypad.h" 21#include "quantum.h"
22 22
23#ifdef RGB_MATRIX_ENABLE 23#ifdef RGB_MATRIX_ENABLE
24 24
diff --git a/keyboards/dekunukem/duckypad/duckypad.h b/keyboards/dekunukem/duckypad/duckypad.h
deleted file mode 100644
index 984eb9cdaf..0000000000
--- a/keyboards/dekunukem/duckypad/duckypad.h
+++ /dev/null
@@ -1,32 +0,0 @@
1/*
2
3QMK Firmware for dekuNukem/duckyPad
4
5Copyright (C) 2020 Anthony Som
6
7This program is free software: you can redistribute it and/or modify
8it under the terms of the GNU General Public License as published by
9the Free Software Foundation, either version 3 of the License, or
10(at your option) any later version.
11
12This program is distributed in the hope that it will be useful,
13but WITHOUT ANY WARRANTY; without even the implied warranty of
14MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15GNU General Public License for more details.
16
17You should have received a copy of the GNU General Public License
18along with this program. If not, see <http://www.gnu.org/licenses/>.
19*/
20
21#pragma once
22
23#include "quantum.h"
24
25#define LAYOUT( \
26 k00, k01, k02, \
27 k03, k04, k05, \
28 k06, k07, k08, \
29 k09, k010, k011, \
30 k012, k013, k014, \
31 k015, k016 \
32) {{k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k010, k011, k012, k013, k014, k015, k016}}
diff --git a/keyboards/dekunukem/duckypad/info.json b/keyboards/dekunukem/duckypad/info.json
index 06c2727080..a8dbe2e5b5 100644
--- a/keyboards/dekunukem/duckypad/info.json
+++ b/keyboards/dekunukem/duckypad/info.json
@@ -18,23 +18,23 @@
18 "layouts": { 18 "layouts": {
19 "LAYOUT": { 19 "LAYOUT": {
20 "layout": [ 20 "layout": [
21 {"x": 0, "y": 0}, 21 {"x": 0, "y": 0, "matrix": [0, 0]},
22 {"x": 1, "y": 0}, 22 {"x": 1, "y": 0, "matrix": [0, 1]},
23 {"x": 2, "y": 0}, 23 {"x": 2, "y": 0, "matrix": [0, 2]},
24 {"x": 0, "y": 1}, 24 {"x": 0, "y": 1, "matrix": [0, 3]},
25 {"x": 1, "y": 1}, 25 {"x": 1, "y": 1, "matrix": [0, 4]},
26 {"x": 2, "y": 1}, 26 {"x": 2, "y": 1, "matrix": [0, 5]},
27 {"x": 0, "y": 2}, 27 {"x": 0, "y": 2, "matrix": [0, 6]},
28 {"x": 1, "y": 2}, 28 {"x": 1, "y": 2, "matrix": [0, 7]},
29 {"x": 2, "y": 2}, 29 {"x": 2, "y": 2, "matrix": [0, 8]},
30 {"x": 0, "y": 3}, 30 {"x": 0, "y": 3, "matrix": [0, 9]},
31 {"x": 1, "y": 3}, 31 {"x": 1, "y": 3, "matrix": [0, 10]},
32 {"x": 2, "y": 3}, 32 {"x": 2, "y": 3, "matrix": [0, 11]},
33 {"x": 0, "y": 4}, 33 {"x": 0, "y": 4, "matrix": [0, 12]},
34 {"x": 1, "y": 4}, 34 {"x": 1, "y": 4, "matrix": [0, 13]},
35 {"x": 2, "y": 4}, 35 {"x": 2, "y": 4, "matrix": [0, 14]},
36 {"x": 3, "y": 4}, 36 {"x": 3, "y": 4, "matrix": [0, 15]},
37 {"x": 4, "y": 4} 37 {"x": 4, "y": 4, "matrix": [0, 16]}
38 ] 38 ]
39 } 39 }
40 } 40 }
diff --git a/keyboards/ferris/0_1/info.json b/keyboards/ferris/0_1/info.json
index c3a9971bae..0738a0491f 100644
--- a/keyboards/ferris/0_1/info.json
+++ b/keyboards/ferris/0_1/info.json
@@ -7,5 +7,53 @@
7 "device_version": "0.0.1" 7 "device_version": "0.0.1"
8 }, 8 },
9 "processor": "atmega32u4", 9 "processor": "atmega32u4",
10 "bootloader": "atmel-dfu" 10 "bootloader": "atmel-dfu",
11 "community_layouts": ["split_3x5_2"],
12 "layouts": {
13 "LAYOUT_split_3x5_2": {
14 "layout": [
15 {"x": 0, "y": 0.93},
16 {"x": 1, "y": 0.31},
17 {"x": 2, "y": 0},
18 {"x": 3, "y": 0.28},
19 {"x": 4, "y": 0.42},
20
21 {"x": 7, "y": 0.42},
22 {"x": 8, "y": 0.28},
23 {"x": 9, "y": 0},
24 {"x": 10, "y": 0.31},
25 {"x": 11, "y": 0.93},
26
27 {"x": 0, "y": 1.93},
28 {"x": 1, "y": 1.31},
29 {"x": 2, "y": 1},
30 {"x": 3, "y": 1.28},
31 {"x": 4, "y": 1.42},
32
33 {"x": 7, "y": 1.42},
34 {"x": 8, "y": 1.28},
35 {"x": 9, "y": 1},
36 {"x": 10, "y": 1.31},
37 {"x": 11, "y": 1.93},
38
39 {"x": 0, "y": 2.93},
40 {"x": 1, "y": 2.31},
41 {"x": 2, "y": 2},
42 {"x": 3, "y": 2.28},
43 {"x": 4, "y": 2.42},
44
45 {"x": 7, "y": 2.42},
46 {"x": 8, "y": 2.28},
47 {"x": 9, "y": 2},
48 {"x": 10, "y": 2.31},
49 {"x": 11, "y": 2.93},
50
51 {"x": 3.5, "y": 3.75},
52 {"x": 4.5, "y": 4},
53
54 {"x": 6.5, "y": 4},
55 {"x": 7.5, "y": 3.75}
56 ]
57 }
58 }
11} 59}
diff --git a/keyboards/ferris/0_2/info.json b/keyboards/ferris/0_2/info.json
index c0f7b92dfa..f2b6b4b07b 100644
--- a/keyboards/ferris/0_2/info.json
+++ b/keyboards/ferris/0_2/info.json
@@ -5,5 +5,53 @@
5 "device_version": "0.0.2" 5 "device_version": "0.0.2"
6 }, 6 },
7 "processor": "STM32F072", 7 "processor": "STM32F072",
8 "bootloader": "stm32-dfu" 8 "bootloader": "stm32-dfu",
9 "community_layouts": ["split_3x5_2"],
10 "layouts": {
11 "LAYOUT_split_3x5_2": {
12 "layout": [
13 {"x": 0, "y": 0.93},
14 {"x": 1, "y": 0.31},
15 {"x": 2, "y": 0},
16 {"x": 3, "y": 0.28},
17 {"x": 4, "y": 0.42},
18
19 {"x": 7, "y": 0.42},
20 {"x": 8, "y": 0.28},
21 {"x": 9, "y": 0},
22 {"x": 10, "y": 0.31},
23 {"x": 11, "y": 0.93},
24
25 {"x": 0, "y": 1.93},
26 {"x": 1, "y": 1.31},
27 {"x": 2, "y": 1},
28 {"x": 3, "y": 1.28},
29 {"x": 4, "y": 1.42},
30
31 {"x": 7, "y": 1.42},
32 {"x": 8, "y": 1.28},
33 {"x": 9, "y": 1},
34 {"x": 10, "y": 1.31},
35 {"x": 11, "y": 1.93},
36
37 {"x": 0, "y": 2.93},
38 {"x": 1, "y": 2.31},
39 {"x": 2, "y": 2},
40 {"x": 3, "y": 2.28},
41 {"x": 4, "y": 2.42},
42
43 {"x": 7, "y": 2.42},
44 {"x": 8, "y": 2.28},
45 {"x": 9, "y": 2},
46 {"x": 10, "y": 2.31},
47 {"x": 11, "y": 2.93},
48
49 {"x": 3.5, "y": 3.75},
50 {"x": 4.5, "y": 4},
51
52 {"x": 6.5, "y": 4},
53 {"x": 7.5, "y": 3.75}
54 ]
55 }
56 }
9} 57}
diff --git a/keyboards/ferris/info.json b/keyboards/ferris/info.json
index 6ee469ed7b..eea6a0abfb 100644
--- a/keyboards/ferris/info.json
+++ b/keyboards/ferris/info.json
@@ -1,52 +1,4 @@
1{ 1{
2 "url": "https://github.com/pierrechevalier83/ferris/", 2 "url": "https://github.com/pierrechevalier83/ferris/",
3 "maintainer": "@pierrec83", 3 "maintainer": "@pierrec83"
4 "community_layouts": ["split_3x5_2"],
5 "layouts": {
6 "LAYOUT_split_3x5_2": {
7 "layout": [
8 {"x": 0, "y": 0.93},
9 {"x": 1, "y": 0.31},
10 {"x": 2, "y": 0},
11 {"x": 3, "y": 0.28},
12 {"x": 4, "y": 0.42},
13
14 {"x": 7, "y": 0.42},
15 {"x": 8, "y": 0.28},
16 {"x": 9, "y": 0},
17 {"x": 10, "y": 0.31},
18 {"x": 11, "y": 0.93},
19
20 {"x": 0, "y": 1.93},
21 {"x": 1, "y": 1.31},
22 {"x": 2, "y": 1},
23 {"x": 3, "y": 1.28},
24 {"x": 4, "y": 1.42},
25
26 {"x": 7, "y": 1.42},
27 {"x": 8, "y": 1.28},
28 {"x": 9, "y": 1},
29 {"x": 10, "y": 1.31},
30 {"x": 11, "y": 1.93},
31
32 {"x": 0, "y": 2.93},
33 {"x": 1, "y": 2.31},
34 {"x": 2, "y": 2},
35 {"x": 3, "y": 2.28},
36 {"x": 4, "y": 2.42},
37
38 {"x": 7, "y": 2.42},
39 {"x": 8, "y": 2.28},
40 {"x": 9, "y": 2},
41 {"x": 10, "y": 2.31},
42 {"x": 11, "y": 2.93},
43
44 {"x": 3.5, "y": 3.75},
45 {"x": 4.5, "y": 4},
46
47 {"x": 6.5, "y": 4},
48 {"x": 7.5, "y": 3.75}
49 ]
50 }
51 }
52} 4}
diff --git a/keyboards/ferris/sweep/info.json b/keyboards/ferris/sweep/info.json
index 171b754476..3e3eeffe76 100644
--- a/keyboards/ferris/sweep/info.json
+++ b/keyboards/ferris/sweep/info.json
@@ -31,5 +31,56 @@
31 ] 31 ]
32 } 32 }
33 } 33 }
34 },
35 "community_layouts": ["split_3x5_2"],
36 "layout_aliases": {
37 "LAYOUT": "LAYOUT_split_3x5_2"
38 },
39 "layouts": {
40 "LAYOUT_split_3x5_2": {
41 "layout": [
42 {"x": 0, "y": 0.93, "matrix": [0, 0]},
43 {"x": 1, "y": 0.31, "matrix": [0, 1]},
44 {"x": 2, "y": 0, "matrix": [0, 2]},
45 {"x": 3, "y": 0.28, "matrix": [0, 3]},
46 {"x": 4, "y": 0.42, "matrix": [0, 4]},
47
48 {"x": 7, "y": 0.42, "matrix": [4, 0]},
49 {"x": 8, "y": 0.28, "matrix": [4, 1]},
50 {"x": 9, "y": 0, "matrix": [4, 2]},
51 {"x": 10, "y": 0.31, "matrix": [4, 3]},
52 {"x": 11, "y": 0.93, "matrix": [4, 4]},
53
54 {"x": 0, "y": 1.93, "matrix": [1, 0]},
55 {"x": 1, "y": 1.31, "matrix": [1, 1]},
56 {"x": 2, "y": 1, "matrix": [1, 2]},
57 {"x": 3, "y": 1.28, "matrix": [1, 3]},
58 {"x": 4, "y": 1.42, "matrix": [1, 4]},
59
60 {"x": 7, "y": 1.42, "matrix": [5, 0]},
61 {"x": 8, "y": 1.28, "matrix": [5, 1]},
62 {"x": 9, "y": 1, "matrix": [5, 2]},
63 {"x": 10, "y": 1.31, "matrix": [5, 3]},
64 {"x": 11, "y": 1.93, "matrix": [5, 4]},
65
66 {"x": 0, "y": 2.93, "matrix": [2, 0]},
67 {"x": 1, "y": 2.31, "matrix": [2, 1]},
68 {"x": 2, "y": 2, "matrix": [2, 2]},
69 {"x": 3, "y": 2.28, "matrix": [2, 3]},
70 {"x": 4, "y": 2.42, "matrix": [2, 4]},
71
72 {"x": 7, "y": 2.42, "matrix": [6, 0]},
73 {"x": 8, "y": 2.28, "matrix": [6, 1]},
74 {"x": 9, "y": 2, "matrix": [6, 2]},
75 {"x": 10, "y": 2.31, "matrix": [6, 3]},
76 {"x": 11, "y": 2.93, "matrix": [6, 4]},
77
78 {"x": 3.5, "y": 3.75, "matrix": [3, 0]},
79 {"x": 4.5, "y": 4, "matrix": [3, 1]},
80
81 {"x": 6.5, "y": 4, "matrix": [7, 0]},
82 {"x": 7.5, "y": 3.75, "matrix": [7, 1]}
83 ]
84 }
34 } 85 }
35} 86}
diff --git a/keyboards/ferris/sweep/sweep.c b/keyboards/ferris/sweep/sweep.c
index 98467f18ae..0d63f80cc1 100644
--- a/keyboards/ferris/sweep/sweep.c
+++ b/keyboards/ferris/sweep/sweep.c
@@ -13,7 +13,7 @@
13 * You should have received a copy of the GNU General Public License 13 * You should have received a copy of the GNU General Public License
14 * along with this program. If not, see <http://www.gnu.org/licenses/>. 14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */ 15 */
16#include "sweep.h" 16#include "quantum.h"
17 17
18#ifdef SWAP_HANDS_ENABLE 18#ifdef SWAP_HANDS_ENABLE
19__attribute__ ((weak)) 19__attribute__ ((weak))
diff --git a/keyboards/ferris/sweep/sweep.h b/keyboards/ferris/sweep/sweep.h
deleted file mode 100644
index ebfa4ede1d..0000000000
--- a/keyboards/ferris/sweep/sweep.h
+++ /dev/null
@@ -1,48 +0,0 @@
1/* Copyright 2018-2020 ENDO Katsuhiro <ka2hiro@curlybracket.co.jp> David Philip Barr <@davidphilipbarr> Pierre Chevalier <pierrechevalier83@gmail.com>
2 *
3 * This program is free software: you can redistribute it and/or modify
4 * it under the terms of the GNU General Public License as published by
5 * the Free Software Foundation, either version 2 of the License, or
6 * (at your option) any later version.
7 *
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
12 *
13 * You should have received a copy of the GNU General Public License
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */
16
17#include "quantum.h"
18
19/* This a shortcut to help you visually see your layout.
20 *
21 * The first section contains all of the arguments representing the physical
22 * layout of the board and position of the keys.
23 *
24 * The second converts the arguments into a two-dimensional array which
25 * represents the switch matrix.
26 */
27
28// readability
29#define ___ KC_NO
30
31#define LAYOUT_split_3x5_2( \
32 L01, L02, L03, L04, L05, R01, R02, R03, R04, R05, \
33 L06, L07, L08, L09, L10, R06, R07, R08, R09, R10, \
34 L11, L12, L13, L14, L15, R11, R12, R13, R14, R15, \
35 L16, L17, R16, R17 \
36 ) \
37 { \
38 { L01, L02, L03, L04, L05 }, \
39 { L06, L07, L08, L09, L10 }, \
40 { L11, L12, L13, L14, L15 }, \
41 { L16, L17, ___, ___ , ___}, \
42 { R01, R02, R03, R04, R05 }, \
43 { R06, R07, R08, R09, R10 }, \
44 { R11, R12, R13, R14, R15 }, \
45 { R16, R17, ___, ___, ___ } \
46 }
47
48#define LAYOUT LAYOUT_split_3x5_2
diff --git a/keyboards/geekboards/macropad_v2/info.json b/keyboards/geekboards/macropad_v2/info.json
index b84877a8dc..5bb1cc5ee8 100644
--- a/keyboards/geekboards/macropad_v2/info.json
+++ b/keyboards/geekboards/macropad_v2/info.json
@@ -20,15 +20,15 @@
20 "layouts": { 20 "layouts": {
21 "LAYOUT_ortho_2x4": { 21 "LAYOUT_ortho_2x4": {
22 "layout": [ 22 "layout": [
23 {"label": "K0", "x": 0, "y": 0}, 23 {"x": 0, "y": 0, "matrix": [0, 0]},
24 {"label": "K1", "x": 1, "y": 0}, 24 {"x": 1, "y": 0, "matrix": [0, 1]},
25 {"label": "K2", "x": 2, "y": 0}, 25 {"x": 2, "y": 0, "matrix": [0, 2]},
26 {"label": "K3", "x": 3, "y": 0}, 26 {"x": 3, "y": 0, "matrix": [0, 3]},
27 27
28 {"label": "K4", "x": 0, "y": 1}, 28 {"x": 0, "y": 1, "matrix": [1, 0]},
29 {"label": "K5", "x": 1, "y": 1}, 29 {"x": 1, "y": 1, "matrix": [1, 1]},
30 {"label": "K6", "x": 2, "y": 1}, 30 {"x": 2, "y": 1, "matrix": [1, 2]},
31 {"label": "K7", "x": 3, "y": 1} 31 {"x": 3, "y": 1, "matrix": [1, 3]}
32 ] 32 ]
33 } 33 }
34 } 34 }
diff --git a/keyboards/geekboards/macropad_v2/macropad_v2.c b/keyboards/geekboards/macropad_v2/macropad_v2.c
index df8581cc58..191290d3fa 100644
--- a/keyboards/geekboards/macropad_v2/macropad_v2.c
+++ b/keyboards/geekboards/macropad_v2/macropad_v2.c
@@ -13,7 +13,7 @@
13 * You should have received a copy of the GNU General Public License 13 * You should have received a copy of the GNU General Public License
14 * along with this program. If not, see <http://www.gnu.org/licenses/>. 14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */ 15 */
16#include QMK_KEYBOARD_H 16#include "quantum.h"
17 17
18#ifdef RGB_MATRIX_ENABLE 18#ifdef RGB_MATRIX_ENABLE
19led_config_t g_led_config = { { 19led_config_t g_led_config = { {
diff --git a/keyboards/geekboards/macropad_v2/macropad_v2.h b/keyboards/geekboards/macropad_v2/macropad_v2.h
deleted file mode 100644
index 7fe684deb7..0000000000
--- a/keyboards/geekboards/macropad_v2/macropad_v2.h
+++ /dev/null
@@ -1,26 +0,0 @@
1/* Copyright 2020 Geekboards ltd. (geekboards.ru / geekboards.de)
2 *
3 * This program is free software: you can redistribute it and/or modify
4 * it under the terms of the GNU General Public License as published by
5 * the Free Software Foundation, either version 2 of the License, or
6 * (at your option) any later version.
7 *
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
12 *
13 * You should have received a copy of the GNU General Public License
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */
16#pragma once
17
18#include "quantum.h"
19
20#define LAYOUT_ortho_2x4( \
21 k00, k01, k02, k03, \
22 k10, k11, k12, k13 \
23) { \
24 { k00, k01, k02, k03 }, \
25 { k10, k11, k12, k13 } \
26}
diff --git a/keyboards/handwired/aball/aball.c b/keyboards/handwired/aball/aball.c
deleted file mode 100644
index 3f12243ac6..0000000000
--- a/keyboards/handwired/aball/aball.c
+++ /dev/null
@@ -1,17 +0,0 @@
1/* Copyright 2020 Richard Sutherland
2 *
3 * This program is free software: you can redistribute it and/or modify
4 * it under the terms of the GNU General Public License as published by
5 * the Free Software Foundation, either version 2 of the License, or
6 * (at your option) any later version.
7 *
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
12 *
13 * You should have received a copy of the GNU General Public License
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */
16
17#include "aball.h"
diff --git a/keyboards/handwired/aball/aball.h b/keyboards/handwired/aball/aball.h
deleted file mode 100644
index d6cb21bafc..0000000000
--- a/keyboards/handwired/aball/aball.h
+++ /dev/null
@@ -1,21 +0,0 @@
1/* Copyright 2020 Richard Sutherland
2 *
3 * This program is free software: you can redistribute it and/or modify
4 * it under the terms of the GNU General Public License as published by
5 * the Free Software Foundation, either version 2 of the License, or
6 * (at your option) any later version.
7 *
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
12 *
13 * You should have received a copy of the GNU General Public License
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */
16
17#pragma once
18
19#include "quantum.h"
20
21#define LAYOUT(k00) {{ k00 }}
diff --git a/keyboards/handwired/aball/info.json b/keyboards/handwired/aball/info.json
index 84d277c136..a90a831f8a 100644
--- a/keyboards/handwired/aball/info.json
+++ b/keyboards/handwired/aball/info.json
@@ -18,7 +18,7 @@
18 "layouts": { 18 "layouts": {
19 "LAYOUT": { 19 "LAYOUT": {
20 "layout": [ 20 "layout": [
21 {"x":0, "y":0} 21 {"x":0, "y":0, "matrix": [0, 0]}
22 ] 22 ]
23 } 23 }
24 } 24 }
diff --git a/keyboards/handwired/bdn9_ble/bdn9_ble.c b/keyboards/handwired/bdn9_ble/bdn9_ble.c
deleted file mode 100644
index 75fe7fff71..0000000000
--- a/keyboards/handwired/bdn9_ble/bdn9_ble.c
+++ /dev/null
@@ -1 +0,0 @@
1#include "bdn9_ble.h"
diff --git a/keyboards/handwired/bdn9_ble/bdn9_ble.h b/keyboards/handwired/bdn9_ble/bdn9_ble.h
deleted file mode 100644
index 8a45113264..0000000000
--- a/keyboards/handwired/bdn9_ble/bdn9_ble.h
+++ /dev/null
@@ -1,37 +0,0 @@
1/* Copyright 2019 Danny Nguyen <danny@keeb.io>
2 *
3 * This program is free software: you can redistribute it and/or modify
4 * it under the terms of the GNU General Public License as published by
5 * the Free Software Foundation, either version 2 of the License, or
6 * (at your option) any later version.
7 *
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
12 *
13 * You should have received a copy of the GNU General Public License
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */
16#pragma once
17
18#include "quantum.h"
19
20/* This a shortcut to help you visually see your layout.
21 *
22 * The first section contains all of the arguments representing the physical
23 * layout of the board and position of the keys.
24 *
25 * The second converts the arguments into a two-dimensional array which
26 * represents the switch matrix.
27 */
28#define LAYOUT( \
29 KA1, KA2, KA3, \
30 KB1, KB2, KB3, \
31 KC1, KC2, KC3 \
32) \
33{ \
34 { KA1, KA2, KA3 }, \
35 { KB1, KB2, KB3 }, \
36 { KC1, KC2, KC3 } \
37}
diff --git a/keyboards/handwired/bdn9_ble/info.json b/keyboards/handwired/bdn9_ble/info.json
index 359939713a..303e26ba05 100644
--- a/keyboards/handwired/bdn9_ble/info.json
+++ b/keyboards/handwired/bdn9_ble/info.json
@@ -20,15 +20,15 @@
20 "layouts": { 20 "layouts": {
21 "LAYOUT": { 21 "LAYOUT": {
22 "layout": [ 22 "layout": [
23 {"x":0, "y":0}, 23 {"x":0, "y":0, "matrix": [0, 0]},
24 {"x":1, "y":0}, 24 {"x":1, "y":0, "matrix": [0, 1]},
25 {"x":2, "y":0}, 25 {"x":2, "y":0, "matrix": [0, 2]},
26 {"x":0, "y":1}, 26 {"x":0, "y":1, "matrix": [1, 0]},
27 {"x":1, "y":1}, 27 {"x":1, "y":1, "matrix": [1, 1]},
28 {"x":2, "y":1}, 28 {"x":2, "y":1, "matrix": [1, 2]},
29 {"x":0, "y":2}, 29 {"x":0, "y":2, "matrix": [2, 0]},
30 {"x":1, "y":2}, 30 {"x":1, "y":2, "matrix": [2, 1]},
31 {"x":2, "y":2} 31 {"x":2, "y":2, "matrix": [2, 2]}
32 ] 32 ]
33 } 33 }
34 } 34 }
diff --git a/keyboards/handwired/bento/bento.c b/keyboards/handwired/bento/bento.c
deleted file mode 100644
index 904e0e5b65..0000000000
--- a/keyboards/handwired/bento/bento.c
+++ /dev/null
@@ -1,16 +0,0 @@
1/* Copyright 2020 GhostSeven <work@ghost7.com>
2 *
3 * This program is free software: you can redistribute it and/or modify
4 * it under the terms of the GNU General Public License as published by
5 * the Free Software Foundation, either version 2 of the License, or
6 * (at your option) any later version.
7 *
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
12 *
13 * You should have received a copy of the GNU General Public License
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */
16#include "bento.h"
diff --git a/keyboards/handwired/bento/bento.h b/keyboards/handwired/bento/bento.h
deleted file mode 100644
index 106882860a..0000000000
--- a/keyboards/handwired/bento/bento.h
+++ /dev/null
@@ -1,20 +0,0 @@
1/* Copyright 2020 GhostSeven <work@ghost7.com>
2 *
3 * This program is free software: you can redistribute it and/or modify
4 * it under the terms of the GNU General Public License as published by
5 * the Free Software Foundation, either version 2 of the License, or
6 * (at your option) any later version.
7 *
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
12 *
13 * You should have received a copy of the GNU General Public License
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */
16#pragma once
17
18#ifdef KEYBOARD_handwired_bento_rev1
19 #include "rev1.h"
20#endif
diff --git a/keyboards/handwired/bento/rev1/info.json b/keyboards/handwired/bento/rev1/info.json
index 2b3012b399..057931bb4e 100644
--- a/keyboards/handwired/bento/rev1/info.json
+++ b/keyboards/handwired/bento/rev1/info.json
@@ -19,12 +19,12 @@
19 "layouts": { 19 "layouts": {
20 "LAYOUT": { 20 "LAYOUT": {
21 "layout": [ 21 "layout": [
22 {"x":0, "y":0}, 22 {"x":0, "y":0, "matrix": [0, 0]},
23 {"x":1, "y":0}, 23 {"x":1, "y":0, "matrix": [0, 1]},
24 {"x":2, "y":0}, 24 {"x":2, "y":0, "matrix": [0, 2]},
25 {"x":0, "y":1}, 25 {"x":0, "y":1, "matrix": [1, 0]},
26 {"x":1, "y":1}, 26 {"x":1, "y":1, "matrix": [1, 1]},
27 {"x":2, "y":1} 27 {"x":2, "y":1, "matrix": [1, 2]}
28 ] 28 ]
29 } 29 }
30 } 30 }
diff --git a/keyboards/handwired/bento/rev1/rev1.c b/keyboards/handwired/bento/rev1/rev1.c
index 4ab5dc2fd0..1dd5b683f1 100644
--- a/keyboards/handwired/bento/rev1/rev1.c
+++ b/keyboards/handwired/bento/rev1/rev1.c
@@ -13,7 +13,7 @@
13 * You should have received a copy of the GNU General Public License 13 * You should have received a copy of the GNU General Public License
14 * along with this program. If not, see <http://www.gnu.org/licenses/>. 14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */ 15 */
16#include "rev1.h" 16#include "quantum.h"
17 17
18void eeconfig_init_kb(void) { 18void eeconfig_init_kb(void) {
19#ifdef RGBLIGHT_ENABLE 19#ifdef RGBLIGHT_ENABLE
diff --git a/keyboards/handwired/bento/rev1/rev1.h b/keyboards/handwired/bento/rev1/rev1.h
deleted file mode 100644
index a0b8ce2796..0000000000
--- a/keyboards/handwired/bento/rev1/rev1.h
+++ /dev/null
@@ -1,36 +0,0 @@
1/* Copyright 2020 GhostSeven <work@ghost7.com>
2 *
3 * This program is free software: you can redistribute it and/or modify
4 * it under the terms of the GNU General Public License as published by
5 * the Free Software Foundation, either version 2 of the License, or
6 * (at your option) any later version.
7 *
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
12 *
13 * You should have received a copy of the GNU General Public License
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */
16#pragma once
17
18#include "bento.h"
19#include "quantum.h"
20
21/* This a shortcut to help you visually see your layout.
22 *
23 * The first section contains all of the arguments representing the physical
24 * layout of the board and position of the keys.
25 *
26 * The second converts the arguments into a two-dimensional array which
27 * represents the switch matrix.
28 */
29#define LAYOUT( \
30 KA1, KA2, KA3, \
31 KB1, KB2, KB3 \
32) \
33{ \
34 { KA1, KA2, KA3 }, \
35 { KB1, KB2, KB3 } \
36}
diff --git a/keyboards/handwired/dc/mc/001/001.c b/keyboards/handwired/dc/mc/001/001.c
deleted file mode 100644
index 4745469fd6..0000000000
--- a/keyboards/handwired/dc/mc/001/001.c
+++ /dev/null
@@ -1,17 +0,0 @@
1/* Copyright 2021 Daniel Cormier
2 *
3 * This program is free software: you can redistribute it and/or modify
4 * it under the terms of the GNU General Public License as published by
5 * the Free Software Foundation, either version 2 of the License, or
6 * (at your option) any later version.
7 *
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
12 *
13 * You should have received a copy of the GNU General Public License
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */
16
17#include "001.h"
diff --git a/keyboards/handwired/dc/mc/001/001.h b/keyboards/handwired/dc/mc/001/001.h
deleted file mode 100644
index 317655162e..0000000000
--- a/keyboards/handwired/dc/mc/001/001.h
+++ /dev/null
@@ -1,33 +0,0 @@
1/* Copyright 2021 Daniel Cormier
2 *
3 * This program is free software: you can redistribute it and/or modify
4 * it under the terms of the GNU General Public License as published by
5 * the Free Software Foundation, either version 2 of the License, or
6 * (at your option) any later version.
7 *
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
12 *
13 * You should have received a copy of the GNU General Public License
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */
16
17#pragma once
18
19#include "quantum.h"
20
21/* This is a shortcut to help you visually see your layout.
22 *
23 * The first section contains all of the arguments representing the physical
24 * layout of the board and position of the keys.
25 *
26 * The second converts the arguments into a two-dimensional array which
27 * represents the switch matrix.
28 */
29#define LAYOUT( \
30 k00, k01, k02, k03, k04 \
31) { \
32 { k00, k01, k02, k03, k04 } \
33}
diff --git a/keyboards/handwired/dc/mc/001/info.json b/keyboards/handwired/dc/mc/001/info.json
index d14c92150b..78c75f3713 100644
--- a/keyboards/handwired/dc/mc/001/info.json
+++ b/keyboards/handwired/dc/mc/001/info.json
@@ -22,11 +22,11 @@
22 "layouts": { 22 "layouts": {
23 "LAYOUT": { 23 "LAYOUT": {
24 "layout": [ 24 "layout": [
25 {"label": "Mute", "x": 0, "y": 0}, 25 {"x": 0, "y": 0, "matrix": [0, 0]},
26 {"label": "Stop", "x": 1, "y": 0}, 26 {"x": 1, "y": 0, "matrix": [0, 1]},
27 {"label": "Previous", "x": 2, "y": 0}, 27 {"x": 2, "y": 0, "matrix": [0, 2]},
28 {"label": "Next", "x": 3, "y": 0}, 28 {"x": 3, "y": 0, "matrix": [0, 3]},
29 {"label": "Play/Pause", "x": 4, "y": 0} 29 {"x": 4, "y": 0, "matrix": [0, 4]}
30 ] 30 ]
31 } 31 }
32 } 32 }
diff --git a/keyboards/handwired/lemonpad/info.json b/keyboards/handwired/lemonpad/info.json
index 9cbcf4f4f7..4655cde341 100644
--- a/keyboards/handwired/lemonpad/info.json
+++ b/keyboards/handwired/lemonpad/info.json
@@ -19,13 +19,13 @@
19 "layouts": { 19 "layouts": {
20 "LAYOUT": { 20 "LAYOUT": {
21 "layout": [ 21 "layout": [
22 {"label": "k00", "x": 0, "y": 0}, 22 {"x": 0, "y": 0, "matrix": [0, 0]},
23 {"label": "k01", "x": 1, "y": 0}, 23 {"x": 1, "y": 0, "matrix": [0, 1]},
24 {"label": "k02", "x": 2, "y": 0}, 24 {"x": 2, "y": 0, "matrix": [0, 2]},
25 25
26 {"label": "k10", "x": 0, "y": 1}, 26 {"x": 0, "y": 1, "matrix": [1, 0]},
27 {"label": "k11", "x": 1, "y": 1}, 27 {"x": 1, "y": 1, "matrix": [1, 1]},
28 {"label": "k12", "x": 2, "y": 1} 28 {"x": 2, "y": 1, "matrix": [1, 2]}
29 ] 29 ]
30 } 30 }
31 } 31 }
diff --git a/keyboards/handwired/lemonpad/lemonpad.c b/keyboards/handwired/lemonpad/lemonpad.c
deleted file mode 100644
index cb5c1461a5..0000000000
--- a/keyboards/handwired/lemonpad/lemonpad.c
+++ /dev/null
@@ -1,17 +0,0 @@
1/* Copyright 2022 dari-studios (@dari-studios)
2 *
3 * This program is free software: you can redistribute it and/or modify
4 * it under the terms of the GNU General Public License as published by
5 * the Free Software Foundation, either version 2 of the License, or
6 * (at your option) any later version.
7 *
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
12 *
13 * You should have received a copy of the GNU General Public License
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */
16
17#include "lemonpad.h"
diff --git a/keyboards/handwired/lemonpad/lemonpad.h b/keyboards/handwired/lemonpad/lemonpad.h
deleted file mode 100644
index 8f9b64c19a..0000000000
--- a/keyboards/handwired/lemonpad/lemonpad.h
+++ /dev/null
@@ -1,38 +0,0 @@
1/* Copyright 2022 dari-studios (@dari-studios)
2 *
3 * This program is free software: you can redistribute it and/or modify
4 * it under the terms of the GNU General Public License as published by
5 * the Free Software Foundation, either version 2 of the License, or
6 * (at your option) any later version.
7 *
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
12 *
13 * You should have received a copy of the GNU General Public License
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */
16
17#pragma once
18
19#include "quantum.h"
20
21/* This is a shortcut to help you visually see your layout.
22 *
23 * The first section contains all of the arguments representing the physical
24 * layout of the board and position of the keys.
25 *
26 * The second converts the arguments into a two-dimensional array which
27 * represents the switch matrix.
28 */
29
30//Top 3 on the usb port side, bottom 3 on the opposite side
31
32#define LAYOUT( \
33 k00, k01, k02, \
34 k10, k11, k12 \
35) { \
36 { k00, k01, k02 }, \
37 { k10, k11, k12 }, \
38}
diff --git a/keyboards/handwired/stream_cheap/2x3/2x3.c b/keyboards/handwired/stream_cheap/2x3/2x3.c
deleted file mode 100644
index 6889747873..0000000000
--- a/keyboards/handwired/stream_cheap/2x3/2x3.c
+++ /dev/null
@@ -1 +0,0 @@
1#include "2x3.h"
diff --git a/keyboards/handwired/stream_cheap/2x3/2x3.h b/keyboards/handwired/stream_cheap/2x3/2x3.h
deleted file mode 100644
index 12e9a46096..0000000000
--- a/keyboards/handwired/stream_cheap/2x3/2x3.h
+++ /dev/null
@@ -1,11 +0,0 @@
1#pragma once
2
3#include "quantum.h"
4
5#define LAYOUT_ortho_2x3( \
6 K00, K01, K02, \
7 K03, K04, K05 \
8) { \
9 { K00, K01, K02}, \
10 { K03, K04, K05} \
11}
diff --git a/keyboards/handwired/stream_cheap/2x3/info.json b/keyboards/handwired/stream_cheap/2x3/info.json
index 555d9540af..937d462918 100644
--- a/keyboards/handwired/stream_cheap/2x3/info.json
+++ b/keyboards/handwired/stream_cheap/2x3/info.json
@@ -20,12 +20,12 @@
20 "layouts": { 20 "layouts": {
21 "LAYOUT_ortho_2x3": { 21 "LAYOUT_ortho_2x3": {
22 "layout": [ 22 "layout": [
23 {"label":"K00", "x":0, "y":0}, 23 {"x":0, "y":0, "matrix": [0, 0]},
24 {"label":"K01", "x":1, "y":0}, 24 {"x":1, "y":0, "matrix": [0, 1]},
25 {"label":"K02", "x":2, "y":0}, 25 {"x":2, "y":0, "matrix": [0, 2]},
26 {"label":"K03", "x":0, "y":1}, 26 {"x":0, "y":1, "matrix": [1, 0]},
27 {"label":"K04", "x":1, "y":1}, 27 {"x":1, "y":1, "matrix": [1, 1]},
28 {"label":"K05", "x":2, "y":1} 28 {"x":2, "y":1, "matrix": [1, 2]}
29 ] 29 ]
30 } 30 }
31 } 31 }
diff --git a/keyboards/handwired/stream_cheap/2x4/2x4.c b/keyboards/handwired/stream_cheap/2x4/2x4.c
deleted file mode 100644
index a0519d21b7..0000000000
--- a/keyboards/handwired/stream_cheap/2x4/2x4.c
+++ /dev/null
@@ -1 +0,0 @@
1#include "2x4.h"
diff --git a/keyboards/handwired/stream_cheap/2x4/2x4.h b/keyboards/handwired/stream_cheap/2x4/2x4.h
deleted file mode 100644
index 37d37af728..0000000000
--- a/keyboards/handwired/stream_cheap/2x4/2x4.h
+++ /dev/null
@@ -1,12 +0,0 @@
1#pragma once
2
3#include "quantum.h"
4
5#define LAYOUT_ortho_2x4(\
6 K00, K01, K02, K03, \
7 K04, K05, K06, K07 \
8) \
9 { \
10 { K00,K01,K02,K03}, \
11 { K04,K05,K06,K07} \
12}
diff --git a/keyboards/handwired/stream_cheap/2x4/info.json b/keyboards/handwired/stream_cheap/2x4/info.json
index d298a30c14..1e67a91d48 100644
--- a/keyboards/handwired/stream_cheap/2x4/info.json
+++ b/keyboards/handwired/stream_cheap/2x4/info.json
@@ -19,14 +19,14 @@
19 "layouts": { 19 "layouts": {
20 "LAYOUT_ortho_2x4": { 20 "LAYOUT_ortho_2x4": {
21 "layout": [ 21 "layout": [
22 {"label":"K00", "x":0, "y":0}, 22 {"x":0, "y":0, "matrix": [0, 0]},
23 {"label":"K01", "x":1, "y":0}, 23 {"x":1, "y":0, "matrix": [0, 1]},
24 {"label":"K02", "x":2, "y":0}, 24 {"x":2, "y":0, "matrix": [0, 2]},
25 {"label":"K03", "x":3, "y":0}, 25 {"x":3, "y":0, "matrix": [0, 3]},
26 {"label":"K04", "x":0, "y":1}, 26 {"x":0, "y":1, "matrix": [1, 0]},
27 {"label":"K05", "x":1, "y":1}, 27 {"x":1, "y":1, "matrix": [1, 1]},
28 {"label":"K06", "x":2, "y":1}, 28 {"x":2, "y":1, "matrix": [1, 2]},
29 {"label":"K07", "x":3, "y":1} 29 {"x":3, "y":1, "matrix": [1, 3]}
30 ] 30 ]
31 } 31 }
32 } 32 }
diff --git a/keyboards/handwired/stream_cheap/2x5/2x5.c b/keyboards/handwired/stream_cheap/2x5/2x5.c
deleted file mode 100644
index 70969a316a..0000000000
--- a/keyboards/handwired/stream_cheap/2x5/2x5.c
+++ /dev/null
@@ -1 +0,0 @@
1#include "2x5.h"
diff --git a/keyboards/handwired/stream_cheap/2x5/2x5.h b/keyboards/handwired/stream_cheap/2x5/2x5.h
deleted file mode 100644
index f01c8302a2..0000000000
--- a/keyboards/handwired/stream_cheap/2x5/2x5.h
+++ /dev/null
@@ -1,11 +0,0 @@
1#pragma once
2
3#include "quantum.h"
4
5#define LAYOUT_ortho_2x5( \
6 K00, K01, K02, K03, K04, \
7 K10, K11, K12, K13, K14 \
8) { \
9 { K00, K01, K02, K03, K04 }, \
10 { K10, K11, K12, K13, K14 } \
11}
diff --git a/keyboards/handwired/stream_cheap/2x5/info.json b/keyboards/handwired/stream_cheap/2x5/info.json
index 3a81177f31..4bfe269ee6 100644
--- a/keyboards/handwired/stream_cheap/2x5/info.json
+++ b/keyboards/handwired/stream_cheap/2x5/info.json
@@ -19,16 +19,16 @@
19 "layouts": { 19 "layouts": {
20 "LAYOUT_ortho_2x5": { 20 "LAYOUT_ortho_2x5": {
21 "layout": [ 21 "layout": [
22 {"label":"K00", "x":0, "y":0}, 22 {"x":0, "y":0, "matrix": [0, 0]},
23 {"label":"K01", "x":1, "y":0}, 23 {"x":1, "y":0, "matrix": [0, 1]},
24 {"label":"K02", "x":2, "y":0}, 24 {"x":2, "y":0, "matrix": [0, 2]},
25 {"label":"K03", "x":3, "y":0}, 25 {"x":3, "y":0, "matrix": [0, 3]},
26 {"label":"K04", "x":4, "y":0}, 26 {"x":4, "y":0, "matrix": [0, 4]},
27 {"label":"K10", "x":0, "y":1}, 27 {"x":0, "y":1, "matrix": [1, 0]},
28 {"label":"K11", "x":1, "y":1}, 28 {"x":1, "y":1, "matrix": [1, 1]},
29 {"label":"K12", "x":2, "y":1}, 29 {"x":2, "y":1, "matrix": [1, 2]},
30 {"label":"K13", "x":3, "y":1}, 30 {"x":3, "y":1, "matrix": [1, 3]},
31 {"label":"K14", "x":4, "y":1} 31 {"x":4, "y":1, "matrix": [1, 4]}
32 ] 32 ]
33 } 33 }
34 } 34 }
diff --git a/keyboards/ianklug/grooveboard/grooveboard.c b/keyboards/ianklug/grooveboard/grooveboard.c
deleted file mode 100644
index 711e9f301d..0000000000
--- a/keyboards/ianklug/grooveboard/grooveboard.c
+++ /dev/null
@@ -1,17 +0,0 @@
1/* Copyright 2021 ianklug
2 *
3 * This program is free software: you can redistribute it and/or modify
4 * it under the terms of the GNU General Public License as published by
5 * the Free Software Foundation, either version 2 of the License, or
6 * (at your option) any later version.
7 *
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
12 *
13 * You should have received a copy of the GNU General Public License
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */
16
17#include "grooveboard.h"
diff --git a/keyboards/ianklug/grooveboard/grooveboard.h b/keyboards/ianklug/grooveboard/grooveboard.h
deleted file mode 100644
index 51f519e8a0..0000000000
--- a/keyboards/ianklug/grooveboard/grooveboard.h
+++ /dev/null
@@ -1,33 +0,0 @@
1/* Copyright 2021 ianklug
2 *
3 * This program is free software: you can redistribute it and/or modify
4 * it under the terms of the GNU General Public License as published by
5 * the Free Software Foundation, either version 2 of the License, or
6 * (at your option) any later version.
7 *
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
12 *
13 * You should have received a copy of the GNU General Public License
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */
16
17#pragma once
18
19#include "quantum.h"
20
21/* This is a shortcut to help you visually see your layout.
22 *
23 * The first section contains all of the arguments representing the physical
24 * layout of the board and position of the keys.
25 *
26 * The second converts the arguments into a two-dimensional array which
27 * represents the switch matrix.
28 */
29#define LAYOUT( \
30 k00, k01, k02, k03 \
31) { \
32 { k00, k01, k02, k03 } \
33}
diff --git a/keyboards/ianklug/grooveboard/info.json b/keyboards/ianklug/grooveboard/info.json
index a885514071..bf4cadae84 100644
--- a/keyboards/ianklug/grooveboard/info.json
+++ b/keyboards/ianklug/grooveboard/info.json
@@ -18,10 +18,10 @@
18 "layouts": { 18 "layouts": {
19 "LAYOUT": { 19 "LAYOUT": {
20 "layout": [ 20 "layout": [
21 {"label": "k00", "x": 0, "y": 0, "w": 1, "h": 1}, 21 {"x": 0, "y": 0, "matrix": [0, 0]},
22 {"label": "k01", "x": 1, "y": 0, "w": 1, "h": 1}, 22 {"x": 1, "y": 0, "matrix": [0, 1]},
23 {"label": "k02", "x": 4, "y": 0, "w": 1, "h": 1}, 23 {"x": 4, "y": 0, "matrix": [0, 2]},
24 {"label": "k03", "x": 5, "y": 0, "w": 1, "h": 1} 24 {"x": 5, "y": 0, "matrix": [0, 3]}
25 ] 25 ]
26 } 26 }
27 } 27 }
diff --git a/keyboards/kb_elmo/isolation/info.json b/keyboards/kb_elmo/isolation/info.json
index 262b12056d..6d108299d0 100644
--- a/keyboards/kb_elmo/isolation/info.json
+++ b/keyboards/kb_elmo/isolation/info.json
@@ -18,7 +18,7 @@
18 "layouts": { 18 "layouts": {
19 "LAYOUT": { 19 "LAYOUT": {
20 "layout": [ 20 "layout": [
21 {"x":0.25, "y":0, "w":1.25, "h":2} 21 {"x":0.25, "y":0, "w":1.25, "h":2, "matrix": [0, 0]}
22 ] 22 ]
23 } 23 }
24 } 24 }
diff --git a/keyboards/kb_elmo/isolation/isolation.c b/keyboards/kb_elmo/isolation/isolation.c
deleted file mode 100644
index 09b8c95541..0000000000
--- a/keyboards/kb_elmo/isolation/isolation.c
+++ /dev/null
@@ -1,17 +0,0 @@
1/* Copyright 2021 kb-elmo<mail@elmo.space>
2 *
3 * This program is free software: you can redistribute it and/or modify
4 * it under the terms of the GNU General Public License as published by
5 * the Free Software Foundation, either version 2 of the License, or
6 * (at your option) any later version.
7 *
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
12 *
13 * You should have received a copy of the GNU General Public License
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */
16
17#include "isolation.h"
diff --git a/keyboards/kb_elmo/isolation/isolation.h b/keyboards/kb_elmo/isolation/isolation.h
deleted file mode 100644
index 580189ea25..0000000000
--- a/keyboards/kb_elmo/isolation/isolation.h
+++ /dev/null
@@ -1,25 +0,0 @@
1/* Copyright 2021 kb-elmo<mail@elmo.space>
2 *
3 * This program is free software: you can redistribute it and/or modify
4 * it under the terms of the GNU General Public License as published by
5 * the Free Software Foundation, either version 2 of the License, or
6 * (at your option) any later version.
7 *
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
12 *
13 * You should have received a copy of the GNU General Public License
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */
16
17#pragma once
18
19#include "quantum.h"
20
21#define LAYOUT( \
22 k00 \
23) { \
24 { k00 } \
25}
diff --git a/keyboards/keebio/bamfk1/bamfk1.c b/keyboards/keebio/bamfk1/bamfk1.c
deleted file mode 100644
index eddd7e624e..0000000000
--- a/keyboards/keebio/bamfk1/bamfk1.c
+++ /dev/null
@@ -1,4 +0,0 @@
1// Copyright 2021 Danny Nguyen (@nooges)
2// SPDX-License-Identifier: GPL-2.0-or-later
3
4#include "bamfk1.h"
diff --git a/keyboards/keebio/bamfk1/bamfk1.h b/keyboards/keebio/bamfk1/bamfk1.h
deleted file mode 100644
index be1fd00808..0000000000
--- a/keyboards/keebio/bamfk1/bamfk1.h
+++ /dev/null
@@ -1,14 +0,0 @@
1// Copyright 2021 Danny Nguyen (@nooges)
2// SPDX-License-Identifier: GPL-2.0-or-later
3
4#pragma once
5
6#include "quantum.h"
7
8#define LAYOUT( \
9 k00, e01, e02, \
10 e01a, e01b, e02a, e02b \
11) { \
12 { k00, e01, e02, KC_NO }, \
13 { e01a, e01b, e02a, e02b } \
14}
diff --git a/keyboards/keebio/bamfk1/info.json b/keyboards/keebio/bamfk1/info.json
index 9390f7d56f..c39cbd3ce0 100644
--- a/keyboards/keebio/bamfk1/info.json
+++ b/keyboards/keebio/bamfk1/info.json
@@ -19,14 +19,14 @@
19 "layouts": { 19 "layouts": {
20 "LAYOUT": { 20 "LAYOUT": {
21 "layout": [ 21 "layout": [
22 {"label": "k00", "x": 1.5, "y": 0, "h":2, "w": 2}, 22 {"x": 1.5, "y": 0, "h":2, "w": 2, "matrix": [0, 0]},
23 {"label": "k01", "x": 0.5, "y": 2.25}, 23 {"x": 0.5, "y": 2.25, "matrix": [0, 1]},
24 {"label": "k02", "x": 3.5, "y": 2.25}, 24 {"x": 3.5, "y": 2.25, "matrix": [0, 2]},
25 25
26 {"label": "k10", "x": 0, "y": 3.5}, 26 {"x": 0, "y": 3.5, "matrix": [1, 0]},
27 {"label": "k11", "x": 1, "y": 3.5}, 27 {"x": 1, "y": 3.5, "matrix": [1, 1]},
28 {"label": "k12", "x": 3, "y": 3.5}, 28 {"x": 3, "y": 3.5, "matrix": [1, 2]},
29 {"label": "k13", "x": 4, "y": 3.5} 29 {"x": 4, "y": 3.5, "matrix": [1, 3]}
30 ] 30 ]
31 } 31 }
32 } 32 }
diff --git a/keyboards/keebio/bdn9/bdn9.c b/keyboards/keebio/bdn9/bdn9.c
deleted file mode 100644
index 0ff55fd6d4..0000000000
--- a/keyboards/keebio/bdn9/bdn9.c
+++ /dev/null
@@ -1 +0,0 @@
1#include "bdn9.h"
diff --git a/keyboards/keebio/bdn9/bdn9.h b/keyboards/keebio/bdn9/bdn9.h
deleted file mode 100644
index 94ba78a6ad..0000000000
--- a/keyboards/keebio/bdn9/bdn9.h
+++ /dev/null
@@ -1,7 +0,0 @@
1#pragma once
2
3#ifdef KEYBOARD_keebio_bdn9_rev1
4 #include "rev1.h"
5#elif KEYBOARD_keebio_bdn9_rev2
6 #include "rev2.h"
7#endif
diff --git a/keyboards/keebio/bdn9/info.json b/keyboards/keebio/bdn9/info.json
index 4bb378ea7a..19a0241234 100644
--- a/keyboards/keebio/bdn9/info.json
+++ b/keyboards/keebio/bdn9/info.json
@@ -8,15 +8,15 @@
8 "layouts": { 8 "layouts": {
9 "LAYOUT": { 9 "LAYOUT": {
10 "layout": [ 10 "layout": [
11 {"x":0, "y":0}, 11 {"x":0, "y":0, "matrix": [0, 0]},
12 {"x":1, "y":0}, 12 {"x":1, "y":0, "matrix": [0, 1]},
13 {"x":2, "y":0}, 13 {"x":2, "y":0, "matrix": [0, 2]},
14 {"x":0, "y":1}, 14 {"x":0, "y":1, "matrix": [1, 0]},
15 {"x":1, "y":1}, 15 {"x":1, "y":1, "matrix": [1, 1]},
16 {"x":2, "y":1}, 16 {"x":2, "y":1, "matrix": [1, 2]},
17 {"x":0, "y":2}, 17 {"x":0, "y":2, "matrix": [2, 0]},
18 {"x":1, "y":2}, 18 {"x":1, "y":2, "matrix": [2, 1]},
19 {"x":2, "y":2} 19 {"x":2, "y":2, "matrix": [2, 2]}
20 ] 20 ]
21 } 21 }
22 } 22 }
diff --git a/keyboards/keebio/bdn9/rev1/rev1.c b/keyboards/keebio/bdn9/rev1/rev1.c
index f064ca51df..567de03af4 100644
--- a/keyboards/keebio/bdn9/rev1/rev1.c
+++ b/keyboards/keebio/bdn9/rev1/rev1.c
@@ -1,4 +1,4 @@
1#include "rev1.h" 1#include "quantum.h"
2 2
3void eeconfig_init_kb(void) { 3void eeconfig_init_kb(void) {
4#ifdef BACKLIGHT_ENABLE 4#ifdef BACKLIGHT_ENABLE
diff --git a/keyboards/keebio/bdn9/rev1/rev1.h b/keyboards/keebio/bdn9/rev1/rev1.h
deleted file mode 100644
index 9e04032d81..0000000000
--- a/keyboards/keebio/bdn9/rev1/rev1.h
+++ /dev/null
@@ -1,38 +0,0 @@
1/* Copyright 2019 Danny Nguyen <danny@keeb.io>
2 *
3 * This program is free software: you can redistribute it and/or modify
4 * it under the terms of the GNU General Public License as published by
5 * the Free Software Foundation, either version 2 of the License, or
6 * (at your option) any later version.
7 *
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
12 *
13 * You should have received a copy of the GNU General Public License
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */
16#pragma once
17
18#include "bdn9.h"
19#include "quantum.h"
20
21/* This a shortcut to help you visually see your layout.
22 *
23 * The first section contains all of the arguments representing the physical
24 * layout of the board and position of the keys.
25 *
26 * The second converts the arguments into a two-dimensional array which
27 * represents the switch matrix.
28 */
29#define LAYOUT( \
30 KA1, KA2, KA3, \
31 KB1, KB2, KB3, \
32 KC1, KC2, KC3 \
33) \
34{ \
35 { KA1, KA2, KA3 }, \
36 { KB1, KB2, KB3 }, \
37 { KC1, KC2, KC3 } \
38}
diff --git a/keyboards/keebio/bdn9/rev2/rev2.c b/keyboards/keebio/bdn9/rev2/rev2.c
index 14b556823f..5c6d940325 100644
--- a/keyboards/keebio/bdn9/rev2/rev2.c
+++ b/keyboards/keebio/bdn9/rev2/rev2.c
@@ -1,4 +1,4 @@
1#include "rev2.h" 1#include "quantum.h"
2 2
3#ifdef RGB_MATRIX_ENABLE 3#ifdef RGB_MATRIX_ENABLE
4led_config_t g_led_config = { { 4led_config_t g_led_config = { {
diff --git a/keyboards/keebio/bdn9/rev2/rev2.h b/keyboards/keebio/bdn9/rev2/rev2.h
deleted file mode 100644
index 0f0603c1d6..0000000000
--- a/keyboards/keebio/bdn9/rev2/rev2.h
+++ /dev/null
@@ -1,38 +0,0 @@
1/* Copyright 2020 Danny Nguyen <danny@keeb.io>
2 *
3 * This program is free software: you can redistribute it and/or modify
4 * it under the terms of the GNU General Public License as published by
5 * the Free Software Foundation, either version 2 of the License, or
6 * (at your option) any later version.
7 *
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
12 *
13 * You should have received a copy of the GNU General Public License
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */
16#pragma once
17
18#include "bdn9.h"
19#include "quantum.h"
20
21/* This a shortcut to help you visually see your layout.
22 *
23 * The first section contains all of the arguments representing the physical
24 * layout of the board and position of the keys.
25 *
26 * The second converts the arguments into a two-dimensional array which
27 * represents the switch matrix.
28 */
29#define LAYOUT( \
30 KA1, KA2, KA3, \
31 KB1, KB2, KB3, \
32 KC1, KC2, KC3 \
33) \
34{ \
35 { KA1, KA2, KA3 }, \
36 { KB1, KB2, KB3 }, \
37 { KC1, KC2, KC3 } \
38}
diff --git a/keyboards/keebio/choconum/choconum.c b/keyboards/keebio/choconum/choconum.c
deleted file mode 100644
index 5360a716d7..0000000000
--- a/keyboards/keebio/choconum/choconum.c
+++ /dev/null
@@ -1 +0,0 @@
1#include "choconum.h"
diff --git a/keyboards/keebio/choconum/choconum.h b/keyboards/keebio/choconum/choconum.h
deleted file mode 100644
index e77c5886ec..0000000000
--- a/keyboards/keebio/choconum/choconum.h
+++ /dev/null
@@ -1,49 +0,0 @@
1/* Copyright 2020 Keebio
2 *
3 * This program is free software: you can redistribute it and/or modify
4 * it under the terms of the GNU General Public License as published by
5 * the Free Software Foundation, either version 2 of the License, or
6 * (at your option) any later version.
7 *
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
12 *
13 * You should have received a copy of the GNU General Public License
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */
16
17#pragma once
18
19#include "quantum.h"
20
21#define LAYOUT_ortho_5x4( \
22 KA1, KA2, KA3, KA4, \
23 KB1, KB2, KB3, KB4, \
24 KC1, KC2, KC3, KC4, \
25 KD1, KD2, KD3, KD4, \
26 KE1, KE2, KE3, KE4 \
27) \
28{ \
29 { KA1, KA2, KA3, KA4 }, \
30 { KB1, KB2, KB3, KB4 }, \
31 { KC1, KC2, KC3, KC4 }, \
32 { KD1, KD2, KD3, KD4 }, \
33 { KE1, KE2, KE3, KE4 } \
34}
35
36#define LAYOUT_numpad_5x4( \
37 KA1, KA2, KA3, KA4, \
38 KB1, KB2, KB3, KB4, \
39 KC1, KC2, KC3, \
40 KD1, KD2, KD3, KD4, \
41 KE1, KE3 \
42) \
43{ \
44 { KA1, KA2, KA3, KA4 }, \
45 { KB1, KB2, KB3, KB4 }, \
46 { KC1, KC2, KC3, KC_NO }, \
47 { KD1, KD2, KD3, KD4 }, \
48 { KE1, KC_NO, KE3, KC_NO } \
49}
diff --git a/keyboards/keebio/choconum/info.json b/keyboards/keebio/choconum/info.json
index b373df4850..856549eb96 100644
--- a/keyboards/keebio/choconum/info.json
+++ b/keyboards/keebio/choconum/info.json
@@ -23,55 +23,55 @@
23 "layouts": { 23 "layouts": {
24 "LAYOUT_numpad_5x4": { 24 "LAYOUT_numpad_5x4": {
25 "layout": [ 25 "layout": [
26 {"x":0, "y":0}, 26 {"x":0, "y":0, "matrix": [0, 0]},
27 {"x":1, "y":0}, 27 {"x":1, "y":0, "matrix": [0, 1]},
28 {"x":2, "y":0}, 28 {"x":2, "y":0, "matrix": [0, 2]},
29 {"x":3, "y":0}, 29 {"x":3, "y":0, "matrix": [0, 3]},
30 30
31 {"x":0, "y":1}, 31 {"x":0, "y":1, "matrix": [1, 0]},
32 {"x":1, "y":1}, 32 {"x":1, "y":1, "matrix": [1, 1]},
33 {"x":2, "y":1}, 33 {"x":2, "y":1, "matrix": [1, 2]},
34 {"x":3, "y":1, "h":2}, 34 {"x":3, "y":1, "h":2, "matrix": [1, 3]},
35 35
36 {"x":0, "y":2}, 36 {"x":0, "y":2, "matrix": [2, 0]},
37 {"x":1, "y":2}, 37 {"x":1, "y":2, "matrix": [2, 1]},
38 {"x":2, "y":2}, 38 {"x":2, "y":2, "matrix": [2, 2]},
39 39
40 {"x":0, "y":3}, 40 {"x":0, "y":3, "matrix": [3, 0]},
41 {"x":1, "y":3}, 41 {"x":1, "y":3, "matrix": [3, 1]},
42 {"x":2, "y":3}, 42 {"x":2, "y":3, "matrix": [3, 2]},
43 {"x":3, "y":3, "h":2}, 43 {"x":3, "y":3, "h":2, "matrix": [3, 3]},
44 44
45 {"x":0, "y":4,"w":2}, 45 {"x":0, "y":4,"w":2, "matrix": [4, 0]},
46 {"x":2, "y":4} 46 {"x":2, "y":4, "matrix": [4, 2]}
47 ] 47 ]
48 }, 48 },
49 "LAYOUT_ortho_5x4": { 49 "LAYOUT_ortho_5x4": {
50 "layout": [ 50 "layout": [
51 {"x":0, "y":0}, 51 {"x":0, "y":0, "matrix": [0, 0]},
52 {"x":1, "y":0}, 52 {"x":1, "y":0, "matrix": [0, 1]},
53 {"x":2, "y":0}, 53 {"x":2, "y":0, "matrix": [0, 2]},
54 {"x":3, "y":0}, 54 {"x":3, "y":0, "matrix": [0, 3]},
55 55
56 {"x":0, "y":1}, 56 {"x":0, "y":1, "matrix": [1, 0]},
57 {"x":1, "y":1}, 57 {"x":1, "y":1, "matrix": [1, 1]},
58 {"x":2, "y":1}, 58 {"x":2, "y":1, "matrix": [1, 2]},
59 {"x":3, "y":1}, 59 {"x":3, "y":1, "matrix": [1, 3]},
60 60
61 {"x":0, "y":2}, 61 {"x":0, "y":2, "matrix": [2, 0]},
62 {"x":1, "y":2}, 62 {"x":1, "y":2, "matrix": [2, 1]},
63 {"x":2, "y":2}, 63 {"x":2, "y":2, "matrix": [2, 2]},
64 {"x":3, "y":2}, 64 {"x":3, "y":2, "matrix": [2, 3]},
65 65
66 {"x":0, "y":3}, 66 {"x":0, "y":3, "matrix": [3, 0]},
67 {"x":1, "y":3}, 67 {"x":1, "y":3, "matrix": [3, 1]},
68 {"x":2, "y":3}, 68 {"x":2, "y":3, "matrix": [3, 2]},
69 {"x":3, "y":3}, 69 {"x":3, "y":3, "matrix": [3, 3]},
70 70
71 {"x":0, "y":4}, 71 {"x":0, "y":4, "matrix": [4, 0]},
72 {"x":1, "y":4}, 72 {"x":1, "y":4, "matrix": [4, 1]},
73 {"x":2, "y":4}, 73 {"x":2, "y":4, "matrix": [4, 2]},
74 {"x":3, "y":4} 74 {"x":3, "y":4, "matrix": [4, 3]}
75 ] 75 ]
76 } 76 }
77 } 77 }
diff --git a/keyboards/keebio/stick/info.json b/keyboards/keebio/stick/info.json
index ff91ee9f24..268e56032d 100644
--- a/keyboards/keebio/stick/info.json
+++ b/keyboards/keebio/stick/info.json
@@ -18,18 +18,18 @@
18 "layouts": { 18 "layouts": {
19 "LAYOUT": { 19 "LAYOUT": {
20 "layout": [ 20 "layout": [
21 { "label": "F1", "x": 0, "y": 0 }, 21 { "x": 0, "y": 0, "matrix": [0, 0] },
22 { "label": "F2", "x": 1, "y": 0 }, 22 { "x": 1, "y": 0, "matrix": [0, 1] },
23 { "label": "F3", "x": 2, "y": 0 }, 23 { "x": 2, "y": 0, "matrix": [0, 2] },
24 { "label": "F4", "x": 3, "y": 0 }, 24 { "x": 3, "y": 0, "matrix": [0, 3] },
25 { "label": "F5", "x": 4, "y": 0 }, 25 { "x": 4, "y": 0, "matrix": [0, 4] },
26 { "label": "F6", "x": 5, "y": 0 }, 26 { "x": 5, "y": 0, "matrix": [0, 5] },
27 { "label": "F7", "x": 6, "y": 0 }, 27 { "x": 6, "y": 0, "matrix": [0, 6] },
28 { "label": "F8", "x": 7, "y": 0 }, 28 { "x": 7, "y": 0, "matrix": [0, 7] },
29 { "label": "F9", "x": 8, "y": 0 }, 29 { "x": 8, "y": 0, "matrix": [0, 8] },
30 { "label": "F10", "x": 9, "y": 0 }, 30 { "x": 9, "y": 0, "matrix": [0, 9] },
31 { "label": "F11", "x": 10, "y": 0 }, 31 { "x": 10, "y": 0, "matrix": [0, 10] },
32 { "label": "F12", "x": 11, "y": 0 } 32 { "x": 11, "y": 0, "matrix": [0, 11] }
33 ] 33 ]
34 } 34 }
35 } 35 }
diff --git a/keyboards/keebio/stick/stick.c b/keyboards/keebio/stick/stick.c
index 8db839de3b..6fac145091 100644
--- a/keyboards/keebio/stick/stick.c
+++ b/keyboards/keebio/stick/stick.c
@@ -15,7 +15,7 @@ You should have received a copy of the GNU General Public License
15along with this program. If not, see <http://www.gnu.org/licenses/>. 15along with this program. If not, see <http://www.gnu.org/licenses/>.
16*/ 16*/
17 17
18#include "stick.h" 18#include "quantum.h"
19 19
20#ifdef RGB_MATRIX_ENABLE 20#ifdef RGB_MATRIX_ENABLE
21led_config_t g_led_config = { { 21led_config_t g_led_config = { {
diff --git a/keyboards/keebio/stick/stick.h b/keyboards/keebio/stick/stick.h
deleted file mode 100644
index 758d7d5b97..0000000000
--- a/keyboards/keebio/stick/stick.h
+++ /dev/null
@@ -1,26 +0,0 @@
1/*
2Copyright 2021 Danny Nguyen <danny@keeb.io>
3
4This program is free software: you can redistribute it and/or modify
5it under the terms of the GNU General Public License as published by
6the Free Software Foundation, either version 2 of the License, or
7(at your option) any later version.
8
9This program is distributed in the hope that it will be useful,
10but WITHOUT ANY WARRANTY; without even the implied warranty of
11MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12GNU General Public License for more details.
13
14You should have received a copy of the GNU General Public License
15along with this program. If not, see <http://www.gnu.org/licenses/>.
16*/
17
18#pragma once
19
20#include "quantum.h"
21
22#define LAYOUT( \
23 A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12 \
24 ) { \
25 {A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12} \
26 }
diff --git a/keyboards/keebio/tukey/info.json b/keyboards/keebio/tukey/info.json
index 2be3e55e70..3f34d8e604 100644
--- a/keyboards/keebio/tukey/info.json
+++ b/keyboards/keebio/tukey/info.json
@@ -18,8 +18,8 @@
18 "layouts": { 18 "layouts": {
19 "LAYOUT": { 19 "LAYOUT": {
20 "layout": [ 20 "layout": [
21 {"x":0, "y":0}, 21 {"x":0, "y":0, "matrix": [0, 0]},
22 {"x":1, "y":0} 22 {"x":1, "y":0, "matrix": [0, 1]}
23 ] 23 ]
24 } 24 }
25 } 25 }
diff --git a/keyboards/keebio/tukey/tukey.c b/keyboards/keebio/tukey/tukey.c
deleted file mode 100644
index a4582370e4..0000000000
--- a/keyboards/keebio/tukey/tukey.c
+++ /dev/null
@@ -1,16 +0,0 @@
1/* Copyright 2019 Keebio
2 *
3 * This program is free software: you can redistribute it and/or modify
4 * it under the terms of the GNU General Public License as published by
5 * the Free Software Foundation, either version 2 of the License, or
6 * (at your option) any later version.
7 *
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
12 *
13 * You should have received a copy of the GNU General Public License
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */
16#include "tukey.h"
diff --git a/keyboards/keebio/tukey/tukey.h b/keyboards/keebio/tukey/tukey.h
deleted file mode 100644
index b8e40bb04d..0000000000
--- a/keyboards/keebio/tukey/tukey.h
+++ /dev/null
@@ -1,20 +0,0 @@
1/* Copyright 2019 Keebio
2 *
3 * This program is free software: you can redistribute it and/or modify
4 * it under the terms of the GNU General Public License as published by
5 * the Free Software Foundation, either version 2 of the License, or
6 * (at your option) any later version.
7 *
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
12 *
13 * You should have received a copy of the GNU General Public License
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */
16#pragma once
17
18#include "quantum.h"
19
20#define LAYOUT(k00, k01) { {k00, k01} }
diff --git a/keyboards/keyhive/uno/info.json b/keyboards/keyhive/uno/info.json
index 9d39163a1b..9c239fc5ea 100644
--- a/keyboards/keyhive/uno/info.json
+++ b/keyboards/keyhive/uno/info.json
@@ -8,7 +8,9 @@
8 }, 8 },
9 "layouts": { 9 "layouts": {
10 "LAYOUT": { 10 "LAYOUT": {
11 "layout": [ {"x": 0, "y": 0 }] 11 "layout": [
12 {"x": 0, "y": 0, "matrix": [0, 0]}
13 ]
12 } 14 }
13 } 15 }
14 } 16 }
diff --git a/keyboards/keyhive/uno/rev1/rev1.h b/keyboards/keyhive/uno/rev1/rev1.h
deleted file mode 100644
index 691bdd1dc3..0000000000
--- a/keyboards/keyhive/uno/rev1/rev1.h
+++ /dev/null
@@ -1,25 +0,0 @@
1/* Copyright 2020 Snipeye
2 *
3 * This program is free software: you can redistribute it and/or modify
4 * it under the terms of the GNU General Public License as published by
5 * the Free Software Foundation, either version 2 of the License, or
6 * (at your option) any later version.
7 *
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
12 *
13 * You should have received a copy of the GNU General Public License
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */
16
17#pragma once
18
19#include "quantum.h"
20
21#define LAYOUT( \
22 K00 \
23) { \
24 { K00 } \
25}
diff --git a/keyboards/keyhive/uno/rev2/rev2.h b/keyboards/keyhive/uno/rev2/rev2.h
deleted file mode 100644
index 691bdd1dc3..0000000000
--- a/keyboards/keyhive/uno/rev2/rev2.h
+++ /dev/null
@@ -1,25 +0,0 @@
1/* Copyright 2020 Snipeye
2 *
3 * This program is free software: you can redistribute it and/or modify
4 * it under the terms of the GNU General Public License as published by
5 * the Free Software Foundation, either version 2 of the License, or
6 * (at your option) any later version.
7 *
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
12 *
13 * You should have received a copy of the GNU General Public License
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */
16
17#pragma once
18
19#include "quantum.h"
20
21#define LAYOUT( \
22 K00 \
23) { \
24 { K00 } \
25}
diff --git a/keyboards/keyhive/uno/uno.c b/keyboards/keyhive/uno/uno.c
deleted file mode 100644
index 5ffb28865b..0000000000
--- a/keyboards/keyhive/uno/uno.c
+++ /dev/null
@@ -1,17 +0,0 @@
1/* Copyright 2020 Snipeye
2 *
3 * This program is free software: you can redistribute it and/or modify
4 * it under the terms of the GNU General Public License as published by
5 * the Free Software Foundation, either version 2 of the License, or
6 * (at your option) any later version.
7 *
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
12 *
13 * You should have received a copy of the GNU General Public License
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */
16
17#include "uno.h"
diff --git a/keyboards/keyhive/uno/uno.h b/keyboards/keyhive/uno/uno.h
deleted file mode 100644
index e25dc25f73..0000000000
--- a/keyboards/keyhive/uno/uno.h
+++ /dev/null
@@ -1,25 +0,0 @@
1/* Copyright 2020 Snipeye
2 *
3 * This program is free software: you can redistribute it and/or modify
4 * it under the terms of the GNU General Public License as published by
5 * the Free Software Foundation, either version 2 of the License, or
6 * (at your option) any later version.
7 *
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
12 *
13 * You should have received a copy of the GNU General Public License
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */
16
17#pragma once
18
19#include "quantum.h"
20
21#if defined(KEYBOARD_keyhive_uno_rev1)
22# include "rev1.h"
23#elif defined(KEYBOARD_keyhive_uno_rev2)
24# include "rev2.h"
25#endif
diff --git a/keyboards/ktec/staryu/info.json b/keyboards/ktec/staryu/info.json
index b366c60315..0463c08ccc 100644
--- a/keyboards/ktec/staryu/info.json
+++ b/keyboards/ktec/staryu/info.json
@@ -21,7 +21,13 @@
21 }, 21 },
22 "layouts": { 22 "layouts": {
23 "LAYOUT": { 23 "LAYOUT": {
24 "layout": [{"x":1, "y":0}, {"x":2, "y":0}, {"x":0, "y":1}, {"x":1, "y":1}, {"x":2, "y":1}] 24 "layout": [
25 {"x":1, "y":0, "matrix": [0, 1]},
26 {"x":2, "y":0, "matrix": [0, 2]},
27 {"x":0, "y":1, "matrix": [1, 0]},
28 {"x":1, "y":1, "matrix": [1, 1]},
29 {"x":2, "y":1, "matrix": [1, 2]}
30 ]
25 } 31 }
26 } 32 }
27} 33}
diff --git a/keyboards/ktec/staryu/staryu.c b/keyboards/ktec/staryu/staryu.c
deleted file mode 100755
index 4adadf2015..0000000000
--- a/keyboards/ktec/staryu/staryu.c
+++ /dev/null
@@ -1,17 +0,0 @@
1/*
2Copyright 2018 Cole Markham
3
4This program is free software: you can redistribute it and/or modify
5it under the terms of the GNU General Public License as published by
6the Free Software Foundation, either version 2 of the License, or
7(at your option) any later version.
8
9This program is distributed in the hope that it will be useful,
10but WITHOUT ANY WARRANTY; without even the implied warranty of
11MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12GNU General Public License for more details.
13
14You should have received a copy of the GNU General Public License
15along with this program. If not, see <http://www.gnu.org/licenses/>.
16*/
17#include "staryu.h"
diff --git a/keyboards/ktec/staryu/staryu.h b/keyboards/ktec/staryu/staryu.h
deleted file mode 100755
index bdce5806f7..0000000000
--- a/keyboards/ktec/staryu/staryu.h
+++ /dev/null
@@ -1,28 +0,0 @@
1/*
2Copyright 2018 Cole Markham
3
4This program is free software: you can redistribute it and/or modify
5it under the terms of the GNU General Public License as published by
6the Free Software Foundation, either version 2 of the License, or
7(at your option) any later version.
8
9This program is distributed in the hope that it will be useful,
10but WITHOUT ANY WARRANTY; without even the implied warranty of
11MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12GNU General Public License for more details.
13
14You should have received a copy of the GNU General Public License
15along with this program. If not, see <http://www.gnu.org/licenses/>.
16*/
17#pragma once
18
19#include "quantum.h"
20#define ___ KC_NO
21
22#define LAYOUT( \
23 K01, K02, \
24 K10, K11, K12 \
25) { \
26 { ___, K01, K02 }, \
27 { K10, K11, K12 } \
28}
diff --git a/keyboards/leafcutterlabs/bigknob/bigknob.c b/keyboards/leafcutterlabs/bigknob/bigknob.c
deleted file mode 100644
index 4fcb70e748..0000000000
--- a/keyboards/leafcutterlabs/bigknob/bigknob.c
+++ /dev/null
@@ -1,17 +0,0 @@
1/* Copyright 2021 Craig Gardner
2 *
3 * This program is free software: you can redistribute it and/or modify
4 * it under the terms of the GNU General Public License as published by
5 * the Free Software Foundation, either version 2 of the License, or
6 * (at your option) any later version.
7 *
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
12 *
13 * You should have received a copy of the GNU General Public License
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */
16
17#include "bigknob.h" \ No newline at end of file
diff --git a/keyboards/leafcutterlabs/bigknob/bigknob.h b/keyboards/leafcutterlabs/bigknob/bigknob.h
deleted file mode 100644
index bb8e3fcaaf..0000000000
--- a/keyboards/leafcutterlabs/bigknob/bigknob.h
+++ /dev/null
@@ -1,27 +0,0 @@
1/* Copyright 2021 Craig Gardner
2 *
3 * This program is free software: you can redistribute it and/or modify
4 * it under the terms of the GNU General Public License as published by
5 * the Free Software Foundation, either version 2 of the License, or
6 * (at your option) any later version.
7 *
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
12 *
13 * You should have received a copy of the GNU General Public License
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */
16
17#pragma once
18
19#include "quantum.h"
20
21#define LAYOUT_ortho_1x5( \
22 k01, k02, k03, k04, k05\
23 ) { \
24 { k01, k02, k03, k04, k05 } \
25}
26
27#define LAYOUT LAYOUT_ortho_1x5 \ No newline at end of file
diff --git a/keyboards/leafcutterlabs/bigknob/info.json b/keyboards/leafcutterlabs/bigknob/info.json
index ac8f8077d3..2a8830c308 100644
--- a/keyboards/leafcutterlabs/bigknob/info.json
+++ b/keyboards/leafcutterlabs/bigknob/info.json
@@ -15,9 +15,18 @@
15 ["B7", "D4", "D6", "F6", "F7"] 15 ["B7", "D4", "D6", "F6", "F7"]
16 ] 16 ]
17 }, 17 },
18 "layout_aliases": {
19 "LAYOUT": "LAYOUT_ortho_1x5"
20 },
18 "layouts": { 21 "layouts": {
19 "LAYOUT_ortho_1x5": { 22 "LAYOUT_ortho_1x5": {
20 "layout": [{"x":0, "y":0}, {"x":1, "y":0}, {"x":2, "y":0}, {"x":3, "y":0}, {"x":4, "y":0}] 23 "layout": [
24 {"x":0, "y":0, "matrix": [0, 0]},
25 {"x":1, "y":0, "matrix": [0, 1]},
26 {"x":2, "y":0, "matrix": [0, 2]},
27 {"x":3, "y":0, "matrix": [0, 3]},
28 {"x":4, "y":0, "matrix": [0, 4]}
29 ]
21 } 30 }
22 } 31 }
23} 32}
diff --git a/keyboards/littlealby/mute/info.json b/keyboards/littlealby/mute/info.json
index ed6761b7a9..8837e60778 100644
--- a/keyboards/littlealby/mute/info.json
+++ b/keyboards/littlealby/mute/info.json
@@ -17,7 +17,9 @@
17 }, 17 },
18 "layouts": { 18 "layouts": {
19 "LAYOUT": { 19 "LAYOUT": {
20 "layout": [ {"x": 0, "y": 0 }] 20 "layout": [
21 {"x": 0, "y": 0, "matrix": [0, 0]}
22 ]
21 } 23 }
22 } 24 }
23} 25}
diff --git a/keyboards/littlealby/mute/mute.c b/keyboards/littlealby/mute/mute.c
deleted file mode 100644
index 4a207b8f38..0000000000
--- a/keyboards/littlealby/mute/mute.c
+++ /dev/null
@@ -1,16 +0,0 @@
1/* Copyright 2019 albybatber
2 *
3 * This program is free software: you can redistribute it and/or modify
4 * it under the terms of the GNU General Public License as published by
5 * the Free Software Foundation, either version 2 of the License, or
6 * (at your option) any later version.
7 *
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
12 *
13 * You should have received a copy of the GNU General Public License
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */
16#include "mute.h"
diff --git a/keyboards/littlealby/mute/mute.h b/keyboards/littlealby/mute/mute.h
deleted file mode 100644
index ea8acd815f..0000000000
--- a/keyboards/littlealby/mute/mute.h
+++ /dev/null
@@ -1,24 +0,0 @@
1/* Copyright 2019 albybarber
2 *
3 * This program is free software: you can redistribute it and/or modify
4 * it under the terms of the GNU General Public License as published by
5 * the Free Software Foundation, either version 2 of the License, or
6 * (at your option) any later version.
7 *
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
12 *
13 * You should have received a copy of the GNU General Public License
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */
16#pragma once
17
18#include "quantum.h"
19
20#define LAYOUT( \
21 K00 \
22) { \
23 { K00 } \
24}
diff --git a/keyboards/macro3/info.json b/keyboards/macro3/info.json
index d8479b2a00..89720d9b70 100644
--- a/keyboards/macro3/info.json
+++ b/keyboards/macro3/info.json
@@ -22,15 +22,15 @@
22 "layouts": { 22 "layouts": {
23 "LAYOUT_ortho_2x4": { 23 "LAYOUT_ortho_2x4": {
24 "layout": [ 24 "layout": [
25 {"x": 0, "y": 0}, 25 {"x": 0, "y": 0, "matrix": [0, 0]},
26 {"x": 1, "y": 0}, 26 {"x": 1, "y": 0, "matrix": [0, 1]},
27 {"x": 2, "y": 0}, 27 {"x": 2, "y": 0, "matrix": [0, 2]},
28 {"x": 3, "y": 0}, 28 {"x": 3, "y": 0, "matrix": [0, 3]},
29 29
30 {"x": 0, "y": 1}, 30 {"x": 0, "y": 1, "matrix": [1, 0]},
31 {"x": 1, "y": 1}, 31 {"x": 1, "y": 1, "matrix": [1, 1]},
32 {"x": 2, "y": 1}, 32 {"x": 2, "y": 1, "matrix": [1, 2]},
33 {"x": 3, "y": 1} 33 {"x": 3, "y": 1, "matrix": [1, 3]}
34 ] 34 ]
35 } 35 }
36 } 36 }
diff --git a/keyboards/macro3/macro3.c b/keyboards/macro3/macro3.c
index 0937abfc83..54fce243ab 100644
--- a/keyboards/macro3/macro3.c
+++ b/keyboards/macro3/macro3.c
@@ -3,7 +3,7 @@
3 * SPDX-License-Identifier: GPL-2.0+ 3 * SPDX-License-Identifier: GPL-2.0+
4 */ 4 */
5 5
6#include "macro3.h" 6#include "quantum.h"
7 7
8#ifdef ENCODER_ENABLE 8#ifdef ENCODER_ENABLE
9bool encoder_update_kb(uint8_t index, bool clockwise) { 9bool encoder_update_kb(uint8_t index, bool clockwise) {
diff --git a/keyboards/macro3/macro3.h b/keyboards/macro3/macro3.h
deleted file mode 100644
index 4a5071cbfe..0000000000
--- a/keyboards/macro3/macro3.h
+++ /dev/null
@@ -1,16 +0,0 @@
1/* Copyright 2020 David Philip Barr <@davidphilipbarr>
2 * Copyright 2021 @filterpaper
3 * SPDX-License-Identifier: GPL-2.0+
4 */
5
6#include "quantum.h"
7
8#define LAYOUT_ortho_2x4( \
9 K00, K01, K02, K03, \
10 K10, K11, K12, K13 \
11) \
12{ \
13 { K00, K01, K02, K03 }, \
14 { K10, K11, K12, K13 } \
15}
16
diff --git a/keyboards/makeymakey/info.json b/keyboards/makeymakey/info.json
index c3114dd744..19e3f7e858 100644
--- a/keyboards/makeymakey/info.json
+++ b/keyboards/makeymakey/info.json
@@ -21,24 +21,24 @@
21 "layouts": { 21 "layouts": {
22 "LAYOUT": { 22 "LAYOUT": {
23 "layout": [ 23 "layout": [
24 {"x":0, "y":0}, 24 {"x":0, "y":0, "matrix": [0, 0]},
25 {"x":1, "y":0}, 25 {"x":1, "y":0, "matrix": [0, 1]},
26 {"x":2, "y":0}, 26 {"x":2, "y":0, "matrix": [0, 2]},
27 {"x":3, "y":0}, 27 {"x":3, "y":0, "matrix": [0, 3]},
28 {"x":4, "y":0}, 28 {"x":4, "y":0, "matrix": [0, 4]},
29 {"x":5, "y":0}, 29 {"x":5, "y":0, "matrix": [0, 5]},
30 {"x":0, "y":1}, 30 {"x":0, "y":1, "matrix": [1, 0]},
31 {"x":1, "y":1}, 31 {"x":1, "y":1, "matrix": [1, 1]},
32 {"x":2, "y":1}, 32 {"x":2, "y":1, "matrix": [1, 2]},
33 {"x":3, "y":1}, 33 {"x":3, "y":1, "matrix": [1, 3]},
34 {"x":4, "y":1}, 34 {"x":4, "y":1, "matrix": [1, 4]},
35 {"x":5, "y":1}, 35 {"x":5, "y":1, "matrix": [1, 5]},
36 {"x":0, "y":2}, 36 {"x":0, "y":2, "matrix": [2, 0]},
37 {"x":1, "y":2}, 37 {"x":1, "y":2, "matrix": [2, 1]},
38 {"x":2, "y":2}, 38 {"x":2, "y":2, "matrix": [2, 2]},
39 {"x":3, "y":2}, 39 {"x":3, "y":2, "matrix": [2, 3]},
40 {"x":4, "y":2}, 40 {"x":4, "y":2, "matrix": [2, 4]},
41 {"x":5, "y":2} 41 {"x":5, "y":2, "matrix": [2, 5]}
42 ] 42 ]
43 } 43 }
44 } 44 }
diff --git a/keyboards/makeymakey/makeymakey.c b/keyboards/makeymakey/makeymakey.c
index ade9200de4..5b8edd4655 100644
--- a/keyboards/makeymakey/makeymakey.c
+++ b/keyboards/makeymakey/makeymakey.c
@@ -14,7 +14,7 @@
14 * along with this program. If not, see <http://www.gnu.org/licenses/>. 14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */ 15 */
16 16
17#include "makeymakey.h" 17#include "quantum.h"
18 18
19static pin_t pins[MATRIX_ROWS][MATRIX_COLS] = DIRECT_PINS; 19static pin_t pins[MATRIX_ROWS][MATRIX_COLS] = DIRECT_PINS;
20static pin_t led_pins[LED_PINS] = LED_PINS_HW; 20static pin_t led_pins[LED_PINS] = LED_PINS_HW;
diff --git a/keyboards/makeymakey/makeymakey.h b/keyboards/makeymakey/makeymakey.h
deleted file mode 100644
index 9b8c273d86..0000000000
--- a/keyboards/makeymakey/makeymakey.h
+++ /dev/null
@@ -1,32 +0,0 @@
1/* Copyright 2022 Jose Pablo Ramirez <jp.ramangulo@gmail.com>
2 *
3 * This program is free software: you can redistribute it and/or modify
4 * it under the terms of the GNU General Public License as published by
5 * the Free Software Foundation, either version 2 of the License, or
6 * (at your option) any later version.
7 *
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
12 *
13 * You should have received a copy of the GNU General Public License
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */
16
17#pragma once
18
19#include "quantum.h"
20
21// clang-format off
22 #define LAYOUT( \
23 K00, K01, K02, K03, K04, K05, \
24 K10, K11, K12, K13, K14, K15, \
25 K20, K21, K22, K23, K24, K25 \
26 ) \
27 { \
28 { K00, K01, K02, K03, K04, K05 }, \
29 { K10, K11, K12, K13, K14, K15 }, \
30 { K20, K21, K22, K23, K24, K25 } \
31 }
32// clang-format on
diff --git a/keyboards/miniaxe/info.json b/keyboards/miniaxe/info.json
index e8e1872f88..292f69085a 100644
--- a/keyboards/miniaxe/info.json
+++ b/keyboards/miniaxe/info.json
@@ -22,9 +22,56 @@
22 ] 22 ]
23 }, 23 },
24 "community_layouts": ["split_3x5_3"], 24 "community_layouts": ["split_3x5_3"],
25 "layout_aliases": {
26 "LAYOUT": "LAYOUT_split_3x5_3"
27 },
25 "layouts": { 28 "layouts": {
26 "LAYOUT_split_3x5_3": { 29 "LAYOUT_split_3x5_3": {
27 "layout": [{"label":"Q", "x":0, "y":0}, {"label":"W", "x":1, "y":0}, {"label":"E", "x":2, "y":0}, {"label":"R", "x":3, "y":0}, {"label":"T", "x":4, "y":0}, {"label":"Y", "x":6, "y":0}, {"label":"U", "x":7, "y":0}, {"label":"I", "x":8, "y":0}, {"label":"O", "x":9, "y":0}, {"label":"P", "x":10, "y":0}, {"label":"A", "x":0, "y":1}, {"label":"S", "x":1, "y":1}, {"label":"D", "x":2, "y":1}, {"label":"F", "x":3, "y":1}, {"label":"G", "x":4, "y":1}, {"label":"J", "x":6, "y":1}, {"label":"J", "x":7, "y":1}, {"label":"K", "x":8, "y":1}, {"label":"L", "x":9, "y":1}, {"label":";", "x":10, "y":1}, {"label":"Z", "x":0, "y":2}, {"label":"X", "x":1, "y":2}, {"label":"C", "x":2, "y":2}, {"label":"V", "x":3, "y":2}, {"label":"B", "x":4, "y":2}, {"label":"N", "x":6, "y":2}, {"label":"M", "x":7, "y":2}, {"label":",", "x":8, "y":2}, {"label":".", "x":9, "y":2}, {"label":"/", "x":10, "y":2}, {"label":"Cmd", "x":2, "y":3}, {"label":"&dArr;", "x":3, "y":3}, {"label":"Ctrl", "x":4, "y":3}, {"x":6, "y":3}, {"label":"&uArr;", "x":7, "y":3}, {"label":"Opt", "x":8, "y":3}] 30 "layout": [
31 {"x":0, "y":0, "matrix": [0, 0]},
32 {"x":1, "y":0, "matrix": [0, 1]},
33 {"x":2, "y":0, "matrix": [0, 2]},
34 {"x":3, "y":0, "matrix": [0, 3]},
35 {"x":4, "y":0, "matrix": [0, 4]},
36
37 {"x":6, "y":0, "matrix": [4, 0]},
38 {"x":7, "y":0, "matrix": [4, 1]},
39 {"x":8, "y":0, "matrix": [4, 2]},
40 {"x":9, "y":0, "matrix": [4, 3]},
41 {"x":10, "y":0, "matrix": [4, 4]},
42
43 {"x":0, "y":1, "matrix": [1, 0]},
44 {"x":1, "y":1, "matrix": [1, 1]},
45 {"x":2, "y":1, "matrix": [1, 2]},
46 {"x":3, "y":1, "matrix": [1, 3]},
47 {"x":4, "y":1, "matrix": [1, 4]},
48
49 {"x":6, "y":1, "matrix": [5, 0]},
50 {"x":7, "y":1, "matrix": [5, 1]},
51 {"x":8, "y":1, "matrix": [5, 2]},
52 {"x":9, "y":1, "matrix": [5, 3]},
53 {"x":10, "y":1, "matrix": [5, 4]},
54
55 {"x":0, "y":2, "matrix": [2, 0]},
56 {"x":1, "y":2, "matrix": [2, 1]},
57 {"x":2, "y":2, "matrix": [2, 2]},
58 {"x":3, "y":2, "matrix": [2, 3]},
59 {"x":4, "y":2, "matrix": [2, 4]},
60
61 {"x":6, "y":2, "matrix": [6, 0]},
62 {"x":7, "y":2, "matrix": [6, 1]},
63 {"x":8, "y":2, "matrix": [6, 2]},
64 {"x":9, "y":2, "matrix": [6, 3]},
65 {"x":10, "y":2, "matrix": [6, 4]},
66
67 {"x":2, "y":3, "matrix": [3, 0]},
68 {"x":3, "y":3, "matrix": [3, 1]},
69 {"x":4, "y":3, "matrix": [3, 2]},
70
71 {"x":6, "y":3, "matrix": [7, 0]},
72 {"x":7, "y":3, "matrix": [7, 1]},
73 {"x":8, "y":3, "matrix": [7, 2]}
74 ]
28 } 75 }
29 } 76 }
30} 77}
diff --git a/keyboards/miniaxe/miniaxe.c b/keyboards/miniaxe/miniaxe.c
deleted file mode 100644
index bda61784ed..0000000000
--- a/keyboards/miniaxe/miniaxe.c
+++ /dev/null
@@ -1,16 +0,0 @@
1/* Copyright 2018 ENDO Katsuhiro <ka2hiro@curlybracket.co.jp>
2 *
3 * This program is free software: you can redistribute it and/or modify
4 * it under the terms of the GNU General Public License as published by
5 * the Free Software Foundation, either version 2 of the License, or
6 * (at your option) any later version.
7 *
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
12 *
13 * You should have received a copy of the GNU General Public License
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */
16#include "miniaxe.h"
diff --git a/keyboards/miniaxe/miniaxe.h b/keyboards/miniaxe/miniaxe.h
deleted file mode 100644
index fc23865c36..0000000000
--- a/keyboards/miniaxe/miniaxe.h
+++ /dev/null
@@ -1,49 +0,0 @@
1/* Copyright 2018 ENDO Katsuhiro <ka2hiro@curlybracket.co.jp>
2 *
3 * This program is free software: you can redistribute it and/or modify
4 * it under the terms of the GNU General Public License as published by
5 * the Free Software Foundation, either version 2 of the License, or
6 * (at your option) any later version.
7 *
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
12 *
13 * You should have received a copy of the GNU General Public License
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */
16
17#pragma once
18
19#include "quantum.h"
20
21/* This a shortcut to help you visually see your layout.
22 *
23 * The first section contains all of the arguments representing the physical
24 * layout of the board and position of the keys.
25 *
26 * The second converts the arguments into a two-dimensional array which
27 * represents the switch matrix.
28 */
29
30// readability
31#define ___ KC_NO
32
33#define LAYOUT_split_3x5_3( \
34 L01, L02, L03, L04, L05, R01, R02, R03, R04, R05, \
35 L06, L07, L08, L09, L10, R06, R07, R08, R09, R10, \
36 L11, L12, L13, L14, L15, R11, R12, R13, R14, R15, \
37 L16, L17, L18, R16, R17, R18 \
38) { \
39 { L01, L02, L03, L04, L05 }, \
40 { L06, L07, L08, L09, L10 }, \
41 { L11, L12, L13, L14, L15 }, \
42 { L16, L17, L18, ___, ___ }, \
43 { R01, R02, R03, R04, R05 }, \
44 { R06, R07, R08, R09, R10 }, \
45 { R11, R12, R13, R14, R15 }, \
46 { R16, R17, R18, ___, ___ } \
47}
48
49#define LAYOUT LAYOUT_split_3x5_3
diff --git a/keyboards/minimacro5/info.json b/keyboards/minimacro5/info.json
index 1ecd8f7b8c..a4969498ed 100644
--- a/keyboards/minimacro5/info.json
+++ b/keyboards/minimacro5/info.json
@@ -17,7 +17,13 @@
17 }, 17 },
18 "layouts": { 18 "layouts": {
19 "LAYOUT_ortho_1x5": { 19 "LAYOUT_ortho_1x5": {
20 "layout": [{"x":0, "y":0}, {"x":1, "y":0}, {"x":2, "y":0}, {"x":3, "y":0}, {"x":5, "y":0}] 20 "layout": [
21 {"x":0, "y":0, "matrix": [0, 0]},
22 {"x":1, "y":0, "matrix": [0, 1]},
23 {"x":2, "y":0, "matrix": [0, 2]},
24 {"x":3, "y":0, "matrix": [0, 3]},
25 {"x":5, "y":0, "matrix": [0, 4]}
26 ]
21 } 27 }
22 } 28 }
23} 29}
diff --git a/keyboards/minimacro5/minimacro5.c b/keyboards/minimacro5/minimacro5.c
deleted file mode 100644
index 7f9c5af1c7..0000000000
--- a/keyboards/minimacro5/minimacro5.c
+++ /dev/null
@@ -1 +0,0 @@
1#include "minimacro5.h"
diff --git a/keyboards/minimacro5/minimacro5.h b/keyboards/minimacro5/minimacro5.h
deleted file mode 100644
index 2d61ed893b..0000000000
--- a/keyboards/minimacro5/minimacro5.h
+++ /dev/null
@@ -1,9 +0,0 @@
1#pragma once
2
3#include "quantum.h"
4
5#define LAYOUT_ortho_1x5( \
6 k01, k02, k03, k04, k05\
7 ) { \
8 { k01, k02, k03, k04, k05 } \
9}
diff --git a/keyboards/mixi/info.json b/keyboards/mixi/info.json
index cfc774bc2b..584a8f85b7 100644
--- a/keyboards/mixi/info.json
+++ b/keyboards/mixi/info.json
@@ -20,15 +20,15 @@
20 "layouts": { 20 "layouts": {
21 "LAYOUT": { 21 "LAYOUT": {
22 "layout": [ 22 "layout": [
23 {"x":0, "y":0}, 23 {"x":0, "y":0, "matrix": [0, 0]},
24 {"x":1, "y":0}, 24 {"x":1, "y":0, "matrix": [0, 1]},
25 {"x":2, "y":0}, 25 {"x":2, "y":0, "matrix": [0, 2]},
26 {"x":0, "y":1}, 26 {"x":0, "y":1, "matrix": [1, 0]},
27 {"x":1, "y":1}, 27 {"x":1, "y":1, "matrix": [1, 1]},
28 {"x":2, "y":1}, 28 {"x":2, "y":1, "matrix": [1, 2]},
29 {"x":0, "y":2}, 29 {"x":0, "y":2, "matrix": [2, 0]},
30 {"x":1, "y":2}, 30 {"x":1, "y":2, "matrix": [2, 1]},
31 {"x":2, "y":2} 31 {"x":2, "y":2, "matrix": [2, 2]}
32 ] 32 ]
33 } 33 }
34 } 34 }
diff --git a/keyboards/mixi/mixi.c b/keyboards/mixi/mixi.c
index f99c942f2d..e8da7fdac2 100644
--- a/keyboards/mixi/mixi.c
+++ b/keyboards/mixi/mixi.c
@@ -1,4 +1,4 @@
1#include "mixi.h" 1#include "quantum.h"
2 2
3void eeconfig_init_kb(void) { 3void eeconfig_init_kb(void) {
4#ifdef RGBLIGHT_ENABLE 4#ifdef RGBLIGHT_ENABLE
diff --git a/keyboards/mixi/mixi.h b/keyboards/mixi/mixi.h
deleted file mode 100644
index 8b2bc7090b..0000000000
--- a/keyboards/mixi/mixi.h
+++ /dev/null
@@ -1,13 +0,0 @@
1#pragma once
2
3#include "quantum.h"
4
5#define LAYOUT( \
6 K00, K01, K02, \
7 K10, K11, K12, \
8 K20, K21, K22 \
9 ) { \
10 { K00, K01, K02 }, \
11 { K10, K11, K12 }, \
12 { K20, K21, K22 } \
13}
diff --git a/keyboards/novelkeys/nk1/info.json b/keyboards/novelkeys/nk1/info.json
index c9fa789b70..28f270038c 100755
--- a/keyboards/novelkeys/nk1/info.json
+++ b/keyboards/novelkeys/nk1/info.json
@@ -18,7 +18,9 @@
18 "community_layouts": ["ortho_1x1"], 18 "community_layouts": ["ortho_1x1"],
19 "layouts": { 19 "layouts": {
20 "LAYOUT_ortho_1x1": { 20 "LAYOUT_ortho_1x1": {
21 "layout": [{"x": 0, "y": 0}] 21 "layout": [
22 {"x": 0, "y": 0, "matrix": [0, 0]}
23 ]
22 } 24 }
23 } 25 }
24} 26}
diff --git a/keyboards/novelkeys/nk1/nk1.c b/keyboards/novelkeys/nk1/nk1.c
deleted file mode 100644
index 6833478568..0000000000
--- a/keyboards/novelkeys/nk1/nk1.c
+++ /dev/null
@@ -1,17 +0,0 @@
1/* Copyright 2021 Yiancar
2 *
3 * This program is free software: you can redistribute it and/or modify
4 * it under the terms of the GNU General Public License as published by
5 * the Free Software Foundation, either version 2 of the License, or
6 * (at your option) any later version.
7 *
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
12 *
13 * You should have received a copy of the GNU General Public License
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */
16
17#include "nk1.h"
diff --git a/keyboards/novelkeys/nk1/nk1.h b/keyboards/novelkeys/nk1/nk1.h
deleted file mode 100644
index 3962e18516..0000000000
--- a/keyboards/novelkeys/nk1/nk1.h
+++ /dev/null
@@ -1,25 +0,0 @@
1/* Copyright 2021 Yiancar
2 *
3 * This program is free software: you can redistribute it and/or modify
4 * it under the terms of the GNU General Public License as published by
5 * the Free Software Foundation, either version 2 of the License, or
6 * (at your option) any later version.
7 *
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
12 *
13 * You should have received a copy of the GNU General Public License
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */
16
17#pragma once
18
19#include "quantum.h"
20
21#define LAYOUT_ortho_1x1( \
22 K00 \
23) { \
24 { K00 } \
25}
diff --git a/keyboards/nullbitsco/scramble/info.json b/keyboards/nullbitsco/scramble/info.json
index 216d83e49e..32bb6f299e 100644
--- a/keyboards/nullbitsco/scramble/info.json
+++ b/keyboards/nullbitsco/scramble/info.json
@@ -12,31 +12,12 @@
12 "layouts": { 12 "layouts": {
13 "LAYOUT": { 13 "LAYOUT": {
14 "layout": [ 14 "layout": [
15 { 15 {"x": 0, "y": 0, "matrix": [0, 0]},
16 "label": "n", 16 {"x": 1, "y": 0, "matrix": [0, 1]},
17 "x": 0, 17 {"x": 2, "y": 0, "matrix": [0, 2]},
18 "y": 0 18 {"x": 0, "y": 1, "matrix": [1, 0]},
19 }, 19 {"x": 1, "y": 1, "matrix": [1, 1]},
20 { 20 {"x": 2, "y": 1, "matrix": [1, 2]}
21 "x": 1,
22 "y": 0
23 },
24 {
25 "x": 2,
26 "y": 0
27 },
28 {
29 "x": 0,
30 "y": 1
31 },
32 {
33 "x": 1,
34 "y": 1
35 },
36 {
37 "x": 2,
38 "y": 1
39 }
40 ] 21 ]
41 } 22 }
42 } 23 }
diff --git a/keyboards/nullbitsco/scramble/scramble.c b/keyboards/nullbitsco/scramble/scramble.c
deleted file mode 100644
index c8a55e0d48..0000000000
--- a/keyboards/nullbitsco/scramble/scramble.c
+++ /dev/null
@@ -1,18 +0,0 @@
1/*
2Copyright 2021 Jay Greco
3
4This program is free software: you can redistribute it and/or modify
5it under the terms of the GNU General Public License as published by
6the Free Software Foundation, either version 2 of the License, or
7(at your option) any later version.
8
9This program is distributed in the hope that it will be useful,
10but WITHOUT ANY WARRANTY; without even the implied warranty of
11MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12GNU General Public License for more details.
13
14You should have received a copy of the GNU General Public License
15along with this program. If not, see <http://www.gnu.org/licenses/>.
16*/
17
18#include QMK_KEYBOARD_H
diff --git a/keyboards/nullbitsco/scramble/scramble.h b/keyboards/nullbitsco/scramble/scramble.h
deleted file mode 100644
index 22c112040b..0000000000
--- a/keyboards/nullbitsco/scramble/scramble.h
+++ /dev/null
@@ -1,34 +0,0 @@
1/* Copyright 2021 Jay Greco
2 *
3 * This program is free software: you can redistribute it and/or modify
4 * it under the terms of the GNU General Public License as published by
5 * the Free Software Foundation, either version 2 of the License, or
6 * (at your option) any later version.
7 *
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
12 *
13 * You should have received a copy of the GNU General Public License
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */
16
17#pragma once
18
19#include "quantum.h"
20
21#if defined(KEYBOARD_nullbitsco_scramble_v1)
22 #include "v1.h"
23#elif defined(KEYBOARD_nullbitsco_scramble_v2)
24 #include "v2.h"
25#endif
26
27// Layout is the same in all revisions
28#define LAYOUT( \
29 K01, K02, K03, \
30 K11, K12, K13 \
31) { \
32 {K01, K02, K03}, \
33 {K11, K12, K13}, \
34}
diff --git a/keyboards/nullbitsco/scramble/v1/v1.h b/keyboards/nullbitsco/scramble/v1/v1.h
index 5dc6d4a0e8..5c0b62357f 100644
--- a/keyboards/nullbitsco/scramble/v1/v1.h
+++ b/keyboards/nullbitsco/scramble/v1/v1.h
@@ -3,7 +3,7 @@
3 3
4#pragma once 4#pragma once
5 5
6#include "scramble.h" 6#include "quantum.h"
7 7
8// Indication LED settings 8// Indication LED settings
9#define LED_ON 2 9#define LED_ON 2
diff --git a/keyboards/nullbitsco/scramble/v2/v2.h b/keyboards/nullbitsco/scramble/v2/v2.h
index d278c0a86a..c86282f658 100644
--- a/keyboards/nullbitsco/scramble/v2/v2.h
+++ b/keyboards/nullbitsco/scramble/v2/v2.h
@@ -3,7 +3,7 @@
3 3
4#pragma once 4#pragma once
5 5
6#include "scramble.h" 6#include "quantum.h"
7#include <hal.h> 7#include <hal.h>
8 8
9enum led_mode { 9enum led_mode {
diff --git a/keyboards/obosob/steal_this_keyboard/info.json b/keyboards/obosob/steal_this_keyboard/info.json
index 9c06492dbe..e598ec3392 100644
--- a/keyboards/obosob/steal_this_keyboard/info.json
+++ b/keyboards/obosob/steal_this_keyboard/info.json
@@ -37,47 +37,47 @@
37 "layouts": { 37 "layouts": {
38 "LAYOUT_split_3x5_2": { 38 "LAYOUT_split_3x5_2": {
39 "layout": [ 39 "layout": [
40 {"x": 0, "y": 0.93}, 40 {"x": 0, "y": 0.93, "matrix": [0, 0]},
41 {"x": 1, "y": 0.31}, 41 {"x": 1, "y": 0.31, "matrix": [0, 1]},
42 {"x": 2, "y": 0}, 42 {"x": 2, "y": 0, "matrix": [0, 2]},
43 {"x": 3, "y": 0.28}, 43 {"x": 3, "y": 0.28, "matrix": [0, 3]},
44 {"x": 4, "y": 0.42}, 44 {"x": 4, "y": 0.42, "matrix": [0, 4]},
45 45
46 {"x": 7, "y": 0.42}, 46 {"x": 7, "y": 0.42, "matrix": [4, 0]},
47 {"x": 8, "y": 0.28}, 47 {"x": 8, "y": 0.28, "matrix": [4, 1]},
48 {"x": 9, "y": 0}, 48 {"x": 9, "y": 0, "matrix": [4, 2]},
49 {"x": 10, "y": 0.31}, 49 {"x": 10, "y": 0.31, "matrix": [4, 3]},
50 {"x": 11, "y": 0.93}, 50 {"x": 11, "y": 0.93, "matrix": [4, 4]},
51 51
52 {"x": 0, "y": 1.93}, 52 {"x": 0, "y": 1.93, "matrix": [1, 0]},
53 {"x": 1, "y": 1.31}, 53 {"x": 1, "y": 1.31, "matrix": [1, 1]},
54 {"x": 2, "y": 1}, 54 {"x": 2, "y": 1, "matrix": [1, 2]},
55 {"x": 3, "y": 1.28}, 55 {"x": 3, "y": 1.28, "matrix": [1, 3]},
56 {"x": 4, "y": 1.42}, 56 {"x": 4, "y": 1.42, "matrix": [1, 4]},
57 57
58 {"x": 7, "y": 1.42}, 58 {"x": 7, "y": 1.42, "matrix": [5, 0]},
59 {"x": 8, "y": 1.28}, 59 {"x": 8, "y": 1.28, "matrix": [5, 1]},
60 {"x": 9, "y": 1}, 60 {"x": 9, "y": 1, "matrix": [5, 2]},
61 {"x": 10, "y": 1.31}, 61 {"x": 10, "y": 1.31, "matrix": [5, 3]},
62 {"x": 11, "y": 1.93}, 62 {"x": 11, "y": 1.93, "matrix": [5, 4]},
63 63
64 {"x": 0, "y": 2.93}, 64 {"x": 0, "y": 2.93, "matrix": [2, 0]},
65 {"x": 1, "y": 2.31}, 65 {"x": 1, "y": 2.31, "matrix": [2, 1]},
66 {"x": 2, "y": 2}, 66 {"x": 2, "y": 2, "matrix": [2, 2]},
67 {"x": 3, "y": 2.28}, 67 {"x": 3, "y": 2.28, "matrix": [2, 3]},
68 {"x": 4, "y": 2.42}, 68 {"x": 4, "y": 2.42, "matrix": [2, 4]},
69 69
70 {"x": 7, "y": 2.42}, 70 {"x": 7, "y": 2.42, "matrix": [6, 0]},
71 {"x": 8, "y": 2.28}, 71 {"x": 8, "y": 2.28, "matrix": [6, 1]},
72 {"x": 9, "y": 2}, 72 {"x": 9, "y": 2, "matrix": [6, 2]},
73 {"x": 10, "y": 2.31}, 73 {"x": 10, "y": 2.31, "matrix": [6, 3]},
74 {"x": 11, "y": 2.93}, 74 {"x": 11, "y": 2.93, "matrix": [6, 4]},
75 75
76 {"x": 3.5, "y": 3.75}, 76 {"x": 3.5, "y": 3.75, "matrix": [3, 0]},
77 {"x": 4.5, "y": 4}, 77 {"x": 4.5, "y": 4, "matrix": [3, 1]},
78 78
79 {"x": 6.5, "y": 4}, 79 {"x": 6.5, "y": 4, "matrix": [7, 0]},
80 {"x": 7.5, "y": 3.75} 80 {"x": 7.5, "y": 3.75, "matrix": [7, 1]}
81 ] 81 ]
82 } 82 }
83 } 83 }
diff --git a/keyboards/obosob/steal_this_keyboard/steal_this_keyboard.c b/keyboards/obosob/steal_this_keyboard/steal_this_keyboard.c
deleted file mode 100644
index cd5ef5cdda..0000000000
--- a/keyboards/obosob/steal_this_keyboard/steal_this_keyboard.c
+++ /dev/null
@@ -1,16 +0,0 @@
1/* Copyright 2021 Obosob <obosob@riseup.net>
2 *
3 * This program is free software: you can redistribute it and/or modify
4 * it under the terms of the GNU General Public License as published by
5 * the Free Software Foundation, either version 2 of the License, or
6 * (at your option) any later version.
7 *
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
12 *
13 * You should have received a copy of the GNU General Public License
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */
16#include "steal_this_keyboard.h"
diff --git a/keyboards/obosob/steal_this_keyboard/steal_this_keyboard.h b/keyboards/obosob/steal_this_keyboard/steal_this_keyboard.h
deleted file mode 100644
index af7204f540..0000000000
--- a/keyboards/obosob/steal_this_keyboard/steal_this_keyboard.h
+++ /dev/null
@@ -1,46 +0,0 @@
1/* Copyright 2021 Obosob <obosob@riseup.net>
2 *
3 * This program is free software: you can redistribute it and/or modify
4 * it under the terms of the GNU General Public License as published by
5 * the Free Software Foundation, either version 2 of the License, or
6 * (at your option) any later version.
7 *
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
12 *
13 * You should have received a copy of the GNU General Public License
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */
16
17#include "quantum.h"
18
19/* This a shortcut to help you visually see your layout.
20 *
21 * The first section contains all of the arguments representing the physical
22 * layout of the board and position of the keys.
23 *
24 * The second converts the arguments into a two-dimensional array which
25 * represents the switch matrix.
26 */
27
28// readability
29#define ___ KC_NO
30
31#define LAYOUT_split_3x5_2( \
32 L01, L02, L03, L04, L05, R01, R02, R03, R04, R05, \
33 L06, L07, L08, L09, L10, R06, R07, R08, R09, R10, \
34 L11, L12, L13, L14, L15, R11, R12, R13, R14, R15, \
35 L16, L17, R16, R17 \
36 ) \
37 { \
38 { L01, L02, L03, L04, L05 }, \
39 { L06, L07, L08, L09, L10 }, \
40 { L11, L12, L13, L14, L15 }, \
41 { L16, L17, ___, ___ , ___}, \
42 { R01, R02, R03, R04, R05 }, \
43 { R06, R07, R08, R09, R10 }, \
44 { R11, R12, R13, R14, R15 }, \
45 { R16, R17, ___, ___, ___ } \
46 }
diff --git a/keyboards/peranekofactory/tone/rev1/info.json b/keyboards/peranekofactory/tone/rev1/info.json
index 16f1db0328..00afdbbdc7 100644
--- a/keyboards/peranekofactory/tone/rev1/info.json
+++ b/keyboards/peranekofactory/tone/rev1/info.json
@@ -17,7 +17,16 @@
17 }, 17 },
18 "layouts": { 18 "layouts": {
19 "LAYOUT": { 19 "LAYOUT": {
20 "layout": [{"x":0, "y":0}, {"x":1, "y":0}, {"x":2, "y":0}, {"x":3, "y":0}, {"x":0, "y":1}, {"x":1, "y":1}, {"x":2, "y":1}, {"x":3, "y":1}] 20 "layout": [
21 {"x":0, "y":0, "matrix": [0, 0]},
22 {"x":1, "y":0, "matrix": [0, 1]},
23 {"x":2, "y":0, "matrix": [0, 2]},
24 {"x":3, "y":0, "matrix": [0, 3]},
25 {"x":0, "y":1, "matrix": [0, 4]},
26 {"x":1, "y":1, "matrix": [0, 5]},
27 {"x":2, "y":1, "matrix": [0, 6]},
28 {"x":3, "y":1, "matrix": [0, 7]}
29 ]
21 } 30 }
22 } 31 }
23} 32}
diff --git a/keyboards/peranekofactory/tone/rev1/rev1.c b/keyboards/peranekofactory/tone/rev1/rev1.c
deleted file mode 100644
index df99ef2e0b..0000000000
--- a/keyboards/peranekofactory/tone/rev1/rev1.c
+++ /dev/null
@@ -1,17 +0,0 @@
1/* Copyright 2021 peraneko
2 *
3 * This program is free software: you can redistribute it and/or modify
4 * it under the terms of the GNU General Public License as published by
5 * the Free Software Foundation, either version 2 of the License, or
6 * (at your option) any later version.
7 *
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
12 *
13 * You should have received a copy of the GNU General Public License
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */
16
17#include "rev1.h"
diff --git a/keyboards/peranekofactory/tone/rev1/rev1.h b/keyboards/peranekofactory/tone/rev1/rev1.h
deleted file mode 100644
index 47f6423391..0000000000
--- a/keyboards/peranekofactory/tone/rev1/rev1.h
+++ /dev/null
@@ -1,35 +0,0 @@
1/* Copyright 2021 peraneko
2 *
3 * This program is free software: you can redistribute it and/or modify
4 * it under the terms of the GNU General Public License as published by
5 * the Free Software Foundation, either version 2 of the License, or
6 * (at your option) any later version.
7 *
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
12 *
13 * You should have received a copy of the GNU General Public License
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */
16
17#pragma once
18
19#include "quantum.h"
20
21/* This is a shortcut to help you visually see your layout.
22 *
23 * The first section contains all of the arguments representing the physical
24 * layout of the board and position of the keys.
25 *
26 * The second converts the arguments into a two-dimensional array which
27 * represents the switch matrix.
28 */
29#define LAYOUT( \
30 K00, K01, K02, K03, \
31 K04, K05, K06, K07 \
32) \
33{ \
34 { K00, K01, K02, K03, K04, K05, K06, K07 }, \
35}
diff --git a/keyboards/peranekofactory/tone/rev2/info.json b/keyboards/peranekofactory/tone/rev2/info.json
index 16f1db0328..00afdbbdc7 100644
--- a/keyboards/peranekofactory/tone/rev2/info.json
+++ b/keyboards/peranekofactory/tone/rev2/info.json
@@ -17,7 +17,16 @@
17 }, 17 },
18 "layouts": { 18 "layouts": {
19 "LAYOUT": { 19 "LAYOUT": {
20 "layout": [{"x":0, "y":0}, {"x":1, "y":0}, {"x":2, "y":0}, {"x":3, "y":0}, {"x":0, "y":1}, {"x":1, "y":1}, {"x":2, "y":1}, {"x":3, "y":1}] 20 "layout": [
21 {"x":0, "y":0, "matrix": [0, 0]},
22 {"x":1, "y":0, "matrix": [0, 1]},
23 {"x":2, "y":0, "matrix": [0, 2]},
24 {"x":3, "y":0, "matrix": [0, 3]},
25 {"x":0, "y":1, "matrix": [0, 4]},
26 {"x":1, "y":1, "matrix": [0, 5]},
27 {"x":2, "y":1, "matrix": [0, 6]},
28 {"x":3, "y":1, "matrix": [0, 7]}
29 ]
21 } 30 }
22 } 31 }
23} 32}
diff --git a/keyboards/peranekofactory/tone/rev2/rev2.c b/keyboards/peranekofactory/tone/rev2/rev2.c
deleted file mode 100644
index aa95110979..0000000000
--- a/keyboards/peranekofactory/tone/rev2/rev2.c
+++ /dev/null
@@ -1,17 +0,0 @@
1/* Copyright 2021 peraneko
2 *
3 * This program is free software: you can redistribute it and/or modify
4 * it under the terms of the GNU General Public License as published by
5 * the Free Software Foundation, either version 2 of the License, or
6 * (at your option) any later version.
7 *
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
12 *
13 * You should have received a copy of the GNU General Public License
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */
16
17#include "rev2.h"
diff --git a/keyboards/peranekofactory/tone/rev2/rev2.h b/keyboards/peranekofactory/tone/rev2/rev2.h
deleted file mode 100644
index 47f6423391..0000000000
--- a/keyboards/peranekofactory/tone/rev2/rev2.h
+++ /dev/null
@@ -1,35 +0,0 @@
1/* Copyright 2021 peraneko
2 *
3 * This program is free software: you can redistribute it and/or modify
4 * it under the terms of the GNU General Public License as published by
5 * the Free Software Foundation, either version 2 of the License, or
6 * (at your option) any later version.
7 *
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
12 *
13 * You should have received a copy of the GNU General Public License
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */
16
17#pragma once
18
19#include "quantum.h"
20
21/* This is a shortcut to help you visually see your layout.
22 *
23 * The first section contains all of the arguments representing the physical
24 * layout of the board and position of the keys.
25 *
26 * The second converts the arguments into a two-dimensional array which
27 * represents the switch matrix.
28 */
29#define LAYOUT( \
30 K00, K01, K02, K03, \
31 K04, K05, K06, K07 \
32) \
33{ \
34 { K00, K01, K02, K03, K04, K05, K06, K07 }, \
35}
diff --git a/keyboards/ploopyco/mouse/info.json b/keyboards/ploopyco/mouse/info.json
index 522f996ef8..c8889f59f9 100644
--- a/keyboards/ploopyco/mouse/info.json
+++ b/keyboards/ploopyco/mouse/info.json
@@ -21,14 +21,14 @@
21 "layouts": { 21 "layouts": {
22 "LAYOUT": { 22 "LAYOUT": {
23 "layout": [ 23 "layout": [
24 {"x":1, "y":0, "h":2}, 24 {"x":1, "y":0, "h":2, "matrix": [0, 6]},
25 {"x":2, "y":0, "h":2}, 25 {"x":2, "y":0, "h":2, "matrix": [0, 0]},
26 {"x":3, "y":0.25, "h":1.25}, 26 {"x":3, "y":0.25, "h":1.25, "matrix": [0, 1]},
27 {"x":4, "y":0, "h":2}, 27 {"x":4, "y":0, "h":2, "matrix": [0, 2]},
28 {"x":5, "y":0, "h":2}, 28 {"x":5, "y":0, "h":2, "matrix": [0, 5]},
29 {"x":0, "y":0}, 29 {"x":0, "y":0, "matrix": [0, 3]},
30 {"x":0, "y":1}, 30 {"x":0, "y":1, "matrix": [0, 4]},
31 {"x":3, "y":1.5} 31 {"x":3, "y":1.5, "matrix": [0, 7]}
32 ] 32 ]
33 } 33 }
34 } 34 }
diff --git a/keyboards/ploopyco/mouse/mouse.h b/keyboards/ploopyco/mouse/mouse.h
index 8383049aa5..508a883169 100644
--- a/keyboards/ploopyco/mouse/mouse.h
+++ b/keyboards/ploopyco/mouse/mouse.h
@@ -30,9 +30,6 @@
30 30
31void process_wheel(void); 31void process_wheel(void);
32 32
33#define LAYOUT(BLL, BL, BM, BR, BRR, BF, BB, BDPI) \
34 { {BL, BM, BR, BF, BB, BRR, BLL, BDPI}, }
35
36typedef union { 33typedef union {
37 uint32_t raw; 34 uint32_t raw;
38 struct { 35 struct {
diff --git a/keyboards/ploopyco/trackball/info.json b/keyboards/ploopyco/trackball/info.json
index 4d5fb44fac..a1f9c53284 100644
--- a/keyboards/ploopyco/trackball/info.json
+++ b/keyboards/ploopyco/trackball/info.json
@@ -14,11 +14,11 @@
14 "layouts": { 14 "layouts": {
15 "LAYOUT": { 15 "LAYOUT": {
16 "layout": [ 16 "layout": [
17 {"x":0, "y":0, "h":2}, 17 {"x":0, "y":0, "h":2, "matrix": [0, 0]},
18 {"x":1, "y":0.25, "h":1.5}, 18 {"x":1, "y":0.25, "h":1.5, "matrix": [0, 1]},
19 {"x":2, "y":0, "h":2}, 19 {"x":2, "y":0, "h":2, "matrix": [0, 2]},
20 {"x":3.5, "y":0, "h":2}, 20 {"x":3.5, "y":0, "h":2, "matrix": [0, 3]},
21 {"x":4.5, "y":0, "h":2} 21 {"x":4.5, "y":0, "h":2, "matrix": [0, 4]}
22 ] 22 ]
23 } 23 }
24 } 24 }
diff --git a/keyboards/ploopyco/trackball/trackball.h b/keyboards/ploopyco/trackball/trackball.h
index 8452a78ee7..e2e46b2c97 100644
--- a/keyboards/ploopyco/trackball/trackball.h
+++ b/keyboards/ploopyco/trackball/trackball.h
@@ -33,9 +33,6 @@
33#define OPT_ENC1_MUX 0 33#define OPT_ENC1_MUX 0
34#define OPT_ENC2_MUX 4 34#define OPT_ENC2_MUX 4
35 35
36#define LAYOUT(BL, BM, BR, BF, BB) \
37 { {BL, BM, BR, BF, BB}, }
38
39typedef union { 36typedef union {
40 uint32_t raw; 37 uint32_t raw;
41 struct { 38 struct {
diff --git a/keyboards/ploopyco/trackball_mini/info.json b/keyboards/ploopyco/trackball_mini/info.json
index 1c8ed6351a..e3daea0575 100644
--- a/keyboards/ploopyco/trackball_mini/info.json
+++ b/keyboards/ploopyco/trackball_mini/info.json
@@ -16,11 +16,11 @@
16 "layouts": { 16 "layouts": {
17 "LAYOUT": { 17 "LAYOUT": {
18 "layout": [ 18 "layout": [
19 {"x":0, "y":0, "h":2}, 19 {"x":0, "y":0, "h":2, "matrix": [0, 0]},
20 {"x":1, "y":0.25, "h":1.5}, 20 {"x":1, "y":0.25, "h":1.5, "matrix": [0, 1]},
21 {"x":2, "y":0, "h":2}, 21 {"x":2, "y":0, "h":2, "matrix": [0, 2]},
22 {"x":3.5, "y":0, "h":2}, 22 {"x":3.5, "y":0, "h":2, "matrix": [0, 3]},
23 {"x":4.5, "y":0, "h":2} 23 {"x":4.5, "y":0, "h":2, "matrix": [0, 4]}
24 ] 24 ]
25 } 25 }
26 } 26 }
diff --git a/keyboards/ploopyco/trackball_mini/trackball_mini.h b/keyboards/ploopyco/trackball_mini/trackball_mini.h
index 3af2a49b5e..3410751cb0 100644
--- a/keyboards/ploopyco/trackball_mini/trackball_mini.h
+++ b/keyboards/ploopyco/trackball_mini/trackball_mini.h
@@ -31,9 +31,6 @@
31 31
32void process_wheel(void); 32void process_wheel(void);
33 33
34#define LAYOUT(BL, BM, BR, BF, BB) \
35 { {BL, BM, BR, BF, BB}, }
36
37typedef union { 34typedef union {
38 uint32_t raw; 35 uint32_t raw;
39 struct { 36 struct {
diff --git a/keyboards/ploopyco/trackball_nano/info.json b/keyboards/ploopyco/trackball_nano/info.json
index 610efd27b3..522ff43d99 100644
--- a/keyboards/ploopyco/trackball_nano/info.json
+++ b/keyboards/ploopyco/trackball_nano/info.json
@@ -14,7 +14,7 @@
14 "layouts": { 14 "layouts": {
15 "LAYOUT": { 15 "LAYOUT": {
16 "layout": [ 16 "layout": [
17 {"x":0, "y":0} 17 {"x":0, "y":0, "matrix": [0, 0]}
18 ] 18 ]
19 } 19 }
20 } 20 }
diff --git a/keyboards/ploopyco/trackball_nano/trackball_nano.h b/keyboards/ploopyco/trackball_nano/trackball_nano.h
index d971627fc6..4cdbc7f11f 100644
--- a/keyboards/ploopyco/trackball_nano/trackball_nano.h
+++ b/keyboards/ploopyco/trackball_nano/trackball_nano.h
@@ -21,8 +21,6 @@
21 21
22#include "quantum.h" 22#include "quantum.h"
23 23
24#define LAYOUT(k00) {{ k00 }}
25
26typedef union { 24typedef union {
27 uint32_t raw; 25 uint32_t raw;
28 struct { 26 struct {
diff --git a/keyboards/sendyyeah/pix/info.json b/keyboards/sendyyeah/pix/info.json
index d3e5b413a1..495a525a43 100644
--- a/keyboards/sendyyeah/pix/info.json
+++ b/keyboards/sendyyeah/pix/info.json
@@ -18,11 +18,11 @@
18 "layouts": { 18 "layouts": {
19 "LAYOUT": { 19 "LAYOUT": {
20 "layout": [ 20 "layout": [
21 {"x":0, "y":0}, 21 {"x":0, "y":0, "matrix": [0, 0]},
22 {"x":1, "y":0}, 22 {"x":1, "y":0, "matrix": [0, 1]},
23 {"x":2, "y":0}, 23 {"x":2, "y":0, "matrix": [0, 2]},
24 {"x":3, "y":0}, 24 {"x":3, "y":0, "matrix": [0, 3]},
25 {"x":4, "y":0} 25 {"x":4, "y":0, "matrix": [0, 4]}
26 ] 26 ]
27 } 27 }
28 } 28 }
diff --git a/keyboards/sendyyeah/pix/pix.c b/keyboards/sendyyeah/pix/pix.c
index 07ef088cd1..1bd8627e16 100644
--- a/keyboards/sendyyeah/pix/pix.c
+++ b/keyboards/sendyyeah/pix/pix.c
@@ -14,7 +14,7 @@
14 * along with this program. If not, see <http://www.gnu.org/licenses/>. 14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */ 15 */
16 16
17#include "pix.h" 17#include "quantum.h"
18 18
19void eeconfig_init_kb(void) { 19void eeconfig_init_kb(void) {
20#ifdef RGBLIGHT_ENABLE 20#ifdef RGBLIGHT_ENABLE
diff --git a/keyboards/sendyyeah/pix/pix.h b/keyboards/sendyyeah/pix/pix.h
deleted file mode 100644
index a46792855f..0000000000
--- a/keyboards/sendyyeah/pix/pix.h
+++ /dev/null
@@ -1,23 +0,0 @@
1 /* Copyright 2020 sendyyeah
2 *
3 * This program is free software: you can redistribute it and/or modify
4 * it under the terms of the GNU General Public License as published by
5 * the Free Software Foundation, either version 2 of the License, or
6 * (at your option) any later version.
7 *
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
12 *
13 * You should have received a copy of the GNU General Public License
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */
16
17#pragma once
18
19#include "quantum.h"
20
21#define LAYOUT(K00, K01, K02, K03, K04) { \
22 { K00, K01, K02, K03, K04 }, \
23}
diff --git a/keyboards/sergiopoverony/creator_pro/creator_pro.h b/keyboards/sergiopoverony/creator_pro/creator_pro.h
index 566e94a77a..b5c7c37870 100644
--- a/keyboards/sergiopoverony/creator_pro/creator_pro.h
+++ b/keyboards/sergiopoverony/creator_pro/creator_pro.h
@@ -17,16 +17,6 @@
17#pragma once 17#pragma once
18#include "quantum.h" 18#include "quantum.h"
19 19
20#define LAYOUT( \
21K01, K02, K03, K04, \
22 K05, \
23K06, K07, K08, K09 \
24) { { \
25K01, K02, K03, K04, \
26 K05, \
27K06, K07, K08, K09 \
28} }
29
30/*led work*/ 20/*led work*/
31void turn_off_leds(void); 21void turn_off_leds(void);
32void turn_on_led(pin_t pin); 22void turn_on_led(pin_t pin);
diff --git a/keyboards/sergiopoverony/creator_pro/info.json b/keyboards/sergiopoverony/creator_pro/info.json
index 5b7a061e24..46889dbd1e 100644
--- a/keyboards/sergiopoverony/creator_pro/info.json
+++ b/keyboards/sergiopoverony/creator_pro/info.json
@@ -18,15 +18,15 @@
18 "layouts": { 18 "layouts": {
19 "LAYOUT": { 19 "LAYOUT": {
20 "layout": [ 20 "layout": [
21 {"x":0, "y":0}, 21 {"x":0, "y":0, "matrix": [0, 0]},
22 {"x":1, "y":0}, 22 {"x":1, "y":0, "matrix": [0, 1]},
23 {"x":2, "y":0}, 23 {"x":2, "y":0, "matrix": [0, 2]},
24 {"x":3, "y":0}, 24 {"x":3, "y":0, "matrix": [0, 3]},
25 {"x":4.5, "y":0.5}, 25 {"x":4.5, "y":0.5, "matrix": [0, 4]},
26 {"x":0, "y":1}, 26 {"x":0, "y":1, "matrix": [0, 5]},
27 {"x":1, "y":1}, 27 {"x":1, "y":1, "matrix": [0, 6]},
28 {"x":2, "y":1}, 28 {"x":2, "y":1, "matrix": [0, 7]},
29 {"x":3, "y":1} 29 {"x":3, "y":1, "matrix": [0, 8]}
30 ] 30 ]
31 } 31 }
32 } 32 }
diff --git a/keyboards/spaceman/2_milk/2_milk.c b/keyboards/spaceman/2_milk/2_milk.c
deleted file mode 100644
index 96071c2ad5..0000000000
--- a/keyboards/spaceman/2_milk/2_milk.c
+++ /dev/null
@@ -1,16 +0,0 @@
1/* Copyright 2019 Spaceman
2 *
3 * This program is free software: you can redistribute it and/or modify
4 * it under the terms of the GNU General Public License as published by
5 * the Free Software Foundation, either version 2 of the License, or
6 * (at your option) any later version.
7 *
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
12 *
13 * You should have received a copy of the GNU General Public License
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */
16#include "2_milk.h"
diff --git a/keyboards/spaceman/2_milk/2_milk.h b/keyboards/spaceman/2_milk/2_milk.h
deleted file mode 100644
index 7d90d2064f..0000000000
--- a/keyboards/spaceman/2_milk/2_milk.h
+++ /dev/null
@@ -1,26 +0,0 @@
1/* Copyright 2019 Spaceman
2 *
3 * This program is free software: you can redistribute it and/or modify
4 * it under the terms of the GNU General Public License as published by
5 * the Free Software Foundation, either version 2 of the License, or
6 * (at your option) any later version.
7 *
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
12 *
13 * You should have received a copy of the GNU General Public License
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */
16#pragma once
17
18#include "quantum.h"
19
20#define LAYOUT( \
21 K00, \
22 K01 \
23) { \
24 { K00 }, \
25 { K01 } \
26}
diff --git a/keyboards/spaceman/2_milk/info.json b/keyboards/spaceman/2_milk/info.json
index c1f31a3ba7..daba0b9851 100644
--- a/keyboards/spaceman/2_milk/info.json
+++ b/keyboards/spaceman/2_milk/info.json
@@ -18,7 +18,10 @@
18 }, 18 },
19 "layouts": { 19 "layouts": {
20 "LAYOUT": { 20 "LAYOUT": {
21 "layout": [ {"x": 0, "y": 0 }, {"x": 0, "y": 1 }] 21 "layout": [
22 {"x": 0, "y": 0, "matrix": [0, 0] },
23 {"x": 0, "y": 1, "matrix": [1, 0] }
24 ]
22 } 25 }
23 } 26 }
24} 27}
diff --git a/keyboards/splitkb/zima/info.json b/keyboards/splitkb/zima/info.json
index a38404cc97..ab1b8ae020 100644
--- a/keyboards/splitkb/zima/info.json
+++ b/keyboards/splitkb/zima/info.json
@@ -21,18 +21,18 @@
21 "layouts": { 21 "layouts": {
22 "LAYOUT_ortho_4x3": { 22 "LAYOUT_ortho_4x3": {
23 "layout": [ 23 "layout": [
24 {"label":"K00 (B0,B4)", "x":0, "y":1}, 24 {"x":0, "y":1, "matrix": [0, 0]},
25 {"label":"K01 (B0,B5)", "x":1, "y":1}, 25 {"x":1, "y":1, "matrix": [0, 1]},
26 {"label":"K02 (B0,B6)", "x":2, "y":1}, 26 {"x":2, "y":1, "matrix": [0, 2]},
27 {"label":"K10 (B1,B4)", "x":0, "y":2}, 27 {"x":0, "y":2, "matrix": [1, 0]},
28 {"label":"K11 (B1,B5)", "x":1, "y":2}, 28 {"x":1, "y":2, "matrix": [1, 1]},
29 {"label":"K12 (B1,B6)", "x":2, "y":2}, 29 {"x":2, "y":2, "matrix": [1, 2]},
30 {"label":"K20 (B2,B4)", "x":0, "y":3}, 30 {"x":0, "y":3, "matrix": [2, 0]},
31 {"label":"K21 (B2,B5)", "x":1, "y":3}, 31 {"x":1, "y":3, "matrix": [2, 1]},
32 {"label":"K22 (B2,B6)", "x":2, "y":3}, 32 {"x":2, "y":3, "matrix": [2, 2]},
33 {"label":"K30 (B3,B4)", "x":0, "y":4}, 33 {"x":0, "y":4, "matrix": [3, 0]},
34 {"label":"K31 (B3,B5)", "x":1, "y":4}, 34 {"x":1, "y":4, "matrix": [3, 1]},
35 {"label":"K32 (B3,B6)", "x":2, "y":4} 35 {"x":2, "y":4, "matrix": [3, 2]}
36 ] 36 ]
37 } 37 }
38 } 38 }
diff --git a/keyboards/splitkb/zima/zima.c b/keyboards/splitkb/zima/zima.c
index f39e3a39eb..2ac1f78d34 100644
--- a/keyboards/splitkb/zima/zima.c
+++ b/keyboards/splitkb/zima/zima.c
@@ -13,7 +13,7 @@
13 * You should have received a copy of the GNU General Public License 13 * You should have received a copy of the GNU General Public License
14 * along with this program. If not, see <http://www.gnu.org/licenses/>. 14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */ 15 */
16#include "zima.h" 16#include "quantum.h"
17#include <stdio.h> 17#include <stdio.h>
18 18
19#ifdef HAPTIC_ENABLE 19#ifdef HAPTIC_ENABLE
diff --git a/keyboards/splitkb/zima/zima.h b/keyboards/splitkb/zima/zima.h
deleted file mode 100644
index dc492ef107..0000000000
--- a/keyboards/splitkb/zima/zima.h
+++ /dev/null
@@ -1,29 +0,0 @@
1/* Copyright 2019 Thomas Baart
2 *
3 * This program is free software: you can redistribute it and/or modify
4 * it under the terms of the GNU General Public License as published by
5 * the Free Software Foundation, either version 2 of the License, or
6 * (at your option) any later version.
7 *
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
12 *
13 * You should have received a copy of the GNU General Public License
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */
16#pragma once
17
18#include "quantum.h"
19
20#define LAYOUT_ortho_4x3( \
21 k00, k01, k02, \
22 k03, k04, k05, \
23 k06, k07, k08, \
24 k09, k10, k11 \
25 ) { \
26 {k00, k01, k02}, \
27 {k03, k04, k05}, \
28 {k06, k07, k08}, \
29 {k09, k10, k11} }
diff --git a/keyboards/synthlabs/solo/solo.c b/keyboards/synthlabs/solo/solo.c
index b557a3505c..aca82c9ea3 100644
--- a/keyboards/synthlabs/solo/solo.c
+++ b/keyboards/synthlabs/solo/solo.c
@@ -1,7 +1,7 @@
1// Copyright 2022 Aaron Hong (@hongaaronc) 1// Copyright 2022 Aaron Hong (@hongaaronc)
2// SPDX-License-Identifier: GPL-2.0-or-later 2// SPDX-License-Identifier: GPL-2.0-or-later
3 3
4#include "solo.h" 4#include "quantum.h"
5 5
6#if !defined(VIA_ENABLE) && !defined(JOYSTICK_ENABLE) && defined(ENCODER_ENABLE) 6#if !defined(VIA_ENABLE) && !defined(JOYSTICK_ENABLE) && defined(ENCODER_ENABLE)
7bool encoder_update_kb(uint8_t index, bool clockwise) { 7bool encoder_update_kb(uint8_t index, bool clockwise) {
diff --git a/keyboards/synthlabs/solo/solo.h b/keyboards/synthlabs/solo/solo.h
deleted file mode 100644
index c487446a49..0000000000
--- a/keyboards/synthlabs/solo/solo.h
+++ /dev/null
@@ -1,41 +0,0 @@
1// Copyright 2022 Aaron Hong (@hongaaronc)
2// SPDX-License-Identifier: GPL-2.0-or-later
3
4#pragma once
5
6#include "quantum.h"
7
8#define XXX KC_NO
9
10// This a shortcut to help you visually see your layout.
11// The first section contains all of the arguments
12// The second converts the arguments into a two-dimensional array
13#define LAYOUT_all( \
14 k00, k01, k02, k03, k04, k05, k06, \
15 k10, k11, k12, \
16 k20, k21, k22, k23, k24, k25, k26 \
17) { \
18 { k00, k01, k02, k03, k04, k05, k06 }, \
19 { k10, k11, k12, XXX, XXX, XXX, XXX }, \
20 { k20, k21, k22, k23, k24, k25, k26 } \
21}
22
23#define LAYOUT_left( \
24 k01, k03, k05, \
25 k10, k11, k12, \
26 k20, k22, k24, k26 \
27) { \
28 { XXX, k01, XXX, k03, XXX, k05, XXX }, \
29 { k10, k11, k12, XXX, XXX, XXX, XXX }, \
30 { k20, XXX, k22, XXX, k24, XXX, k26 } \
31}
32
33#define LAYOUT_right( \
34 k25, k23, k21, \
35 k10, k11, k12, \
36 k06, k04, k02, k00 \
37) { \
38 { k00, XXX, k02, XXX, k04, XXX, k06 }, \
39 { k10, k11, k12, XXX, XXX, XXX, XXX }, \
40 { XXX, k21, XXX, k23, XXX, k25, XXX } \
41}
diff --git a/keyboards/tominabox1/bigboy/bigboy.c b/keyboards/tominabox1/bigboy/bigboy.c
index 3cb1ec442d..6871d81a62 100755
--- a/keyboards/tominabox1/bigboy/bigboy.c
+++ b/keyboards/tominabox1/bigboy/bigboy.c
@@ -14,7 +14,7 @@
14 * along with this program. If not, see <http://www.gnu.org/licenses/>. 14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */ 15 */
16 16
17#include "bigboy.h" 17#include "quantum.h"
18 18
19#ifdef ENCODER_ENABLE 19#ifdef ENCODER_ENABLE
20bool encoder_update_kb(uint8_t index, bool clockwise) { 20bool encoder_update_kb(uint8_t index, bool clockwise) {
diff --git a/keyboards/tominabox1/bigboy/bigboy.h b/keyboards/tominabox1/bigboy/bigboy.h
deleted file mode 100755
index ef3b4a44f9..0000000000
--- a/keyboards/tominabox1/bigboy/bigboy.h
+++ /dev/null
@@ -1,34 +0,0 @@
1/* Copyright 2022 tominabox1
2 *
3 * This program is free software: you can redistribute it and/or modify
4 * it under the terms of the GNU General Public License as published by
5 * the Free Software Foundation, either version 2 of the License, or
6 * (at your option) any later version.
7 *
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
12 *
13 * You should have received a copy of the GNU General Public License
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */
16
17#pragma once
18
19#include "quantum.h"
20
21
22#define LAYOUT( \
23 K00, K01, K02, \
24 K10, K11, K12 \
25) { \
26 { K00, K01, K02, }, \
27 { K10, K11, K12 }, \
28}
29
30#define LAYOUT_2us( \
31 K00, K01, K02 \
32) { \
33 { K00, K01, K02 }, \
34}
diff --git a/keyboards/tominabox1/bigboy/info.json b/keyboards/tominabox1/bigboy/info.json
index 79cf08b39b..cdddc688d1 100644
--- a/keyboards/tominabox1/bigboy/info.json
+++ b/keyboards/tominabox1/bigboy/info.json
@@ -18,10 +18,21 @@
18 }, 18 },
19 "layouts": { 19 "layouts": {
20 "LAYOUT": { 20 "LAYOUT": {
21 "layout": [{"label":"0,0", "x":0, "y":0}, {"label":"0,1", "x":1, "y":0}, {"label":"0,2", "x":2, "y":0}, {"label":"1,0", "x":0, "y":1}, {"label":"1,1", "x":1, "y":1}, {"label":"1,2", "x":2, "y":1}] 21 "layout": [
22 {"x":0, "y":0, "matrix": [0, 0]},
23 {"x":1, "y":0, "matrix": [0, 1]},
24 {"x":2, "y":0, "matrix": [0, 2]},
25 {"x":0, "y":1, "matrix": [1, 0]},
26 {"x":1, "y":1, "matrix": [1, 1]},
27 {"x":2, "y":1, "matrix": [1, 2]}
28 ]
22 }, 29 },
23 "LAYOUT_2us": { 30 "LAYOUT_2us": {
24 "layout": [{"label":"0,0", "x":0, "y":0, "h":2}, {"label":"0,1", "x":1, "y":0, "h":2}, {"label":"0,2", "x":2, "y":0, "h":2}] 31 "layout": [
32 {"x":0, "y":0, "h":2, "matrix": [0, 0]},
33 {"x":1, "y":0, "h":2, "matrix": [0, 1]},
34 {"x":2, "y":0, "h":2, "matrix": [0, 2]}
35 ]
25 } 36 }
26 } 37 }
27} 38}
diff --git a/keyboards/ungodly/nines/info.json b/keyboards/ungodly/nines/info.json
index 1e7dabe367..34b10245a8 100644
--- a/keyboards/ungodly/nines/info.json
+++ b/keyboards/ungodly/nines/info.json
@@ -20,15 +20,15 @@
20 "layouts": { 20 "layouts": {
21 "LAYOUT_ortho_3x3": { 21 "LAYOUT_ortho_3x3": {
22 "layout": [ 22 "layout": [
23 {"x":0, "y":0}, 23 {"x":0, "y":0, "matrix": [0, 0]},
24 {"x":1, "y":0}, 24 {"x":1, "y":0, "matrix": [0, 1]},
25 {"x":2, "y":0}, 25 {"x":2, "y":0, "matrix": [0, 2]},
26 {"x":0, "y":1}, 26 {"x":0, "y":1, "matrix": [1, 0]},
27 {"x":1, "y":1}, 27 {"x":1, "y":1, "matrix": [1, 1]},
28 {"x":2, "y":1}, 28 {"x":2, "y":1, "matrix": [1, 2]},
29 {"x":0, "y":2}, 29 {"x":0, "y":2, "matrix": [2, 0]},
30 {"x":1, "y":2}, 30 {"x":1, "y":2, "matrix": [2, 1]},
31 {"x":2, "y":2} 31 {"x":2, "y":2, "matrix": [2, 2]}
32 ] 32 ]
33 } 33 }
34 } 34 }
diff --git a/keyboards/ungodly/nines/nines.c b/keyboards/ungodly/nines/nines.c
index 08f8a9ad74..bfb3bb889d 100644
--- a/keyboards/ungodly/nines/nines.c
+++ b/keyboards/ungodly/nines/nines.c
@@ -13,7 +13,7 @@
13 * You should have received a copy of the GNU General Public License 13 * You should have received a copy of the GNU General Public License
14 * along with this program. If not, see <http://www.gnu.org/licenses/>. 14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */ 15 */
16 #include "nines.h" 16 #include "quantum.h"
17 17
18bool encoder_update_kb(uint8_t index, bool clockwise) { 18bool encoder_update_kb(uint8_t index, bool clockwise) {
19 if (!encoder_update_user(index, clockwise)) return false; 19 if (!encoder_update_user(index, clockwise)) return false;
diff --git a/keyboards/ungodly/nines/nines.h b/keyboards/ungodly/nines/nines.h
deleted file mode 100644
index f67615ecf9..0000000000
--- a/keyboards/ungodly/nines/nines.h
+++ /dev/null
@@ -1,37 +0,0 @@
1/* Copyright 2020 Ungodly Design <hello@ungodly.design>
2 *
3 * This program is free software: you can redistribute it and/or modify
4 * it under the terms of the GNU General Public License as published by
5 * the Free Software Foundation, either version 2 of the License, or
6 * (at your option) any later version.
7 *
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
12 *
13 * You should have received a copy of the GNU General Public License
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */
16 #pragma once
17
18#include "quantum.h"
19
20/* This a shortcut to help you visually see your layout.
21 *
22 * The first section contains all of the arguments representing the physical
23 * layout of the board and position of the keys.
24 *
25 * The second converts the arguments into a two-dimensional array which
26 * represents the switch matrix.
27 */
28#define LAYOUT_ortho_3x3( \
29 k00, k01, k02, \
30 k10, k11, k12, \
31 k20, k21, k22 \
32) \
33{ \
34 { k00, k01, k02 }, \
35 { k10, k11, k12 }, \
36 { k20, k21, k22 } \
37}
diff --git a/keyboards/winkeys/mini_winni/info.json b/keyboards/winkeys/mini_winni/info.json
index b3cba1658c..56a13deaf9 100644
--- a/keyboards/winkeys/mini_winni/info.json
+++ b/keyboards/winkeys/mini_winni/info.json
@@ -17,7 +17,16 @@
17 }, 17 },
18 "layouts": { 18 "layouts": {
19 "LAYOUT_all": { 19 "LAYOUT_all": {
20 "layout": [{"x":0, "y":0}, {"x":1, "y":0}, {"x":2, "y":0}, {"x":3, "y":0}, {"x":0, "y":1}, {"x":1, "y":1}, {"x":2, "y":1}, {"x":3, "y":1}] 20 "layout": [
21 {"x":0, "y":0, "matrix": [0, 0]},
22 {"x":1, "y":0, "matrix": [0, 1]},
23 {"x":2, "y":0, "matrix": [0, 2]},
24 {"x":3, "y":0, "matrix": [0, 3]},
25 {"x":0, "y":1, "matrix": [1, 0]},
26 {"x":1, "y":1, "matrix": [1, 1]},
27 {"x":2, "y":1, "matrix": [1, 2]},
28 {"x":3, "y":1, "matrix": [1, 3]}
29 ]
21 } 30 }
22 } 31 }
23} 32}
diff --git a/keyboards/winkeys/mini_winni/mini_winni.c b/keyboards/winkeys/mini_winni/mini_winni.c
deleted file mode 100644
index 35c75c4ad7..0000000000
--- a/keyboards/winkeys/mini_winni/mini_winni.c
+++ /dev/null
@@ -1,18 +0,0 @@
1/*
2Copyright 2021 Matthew Dias
3
4This program is free software: you can redistribute it and/or modify
5it under the terms of the GNU General Public License as published by
6the Free Software Foundation, either version 2 of the License, or
7(at your option) any later version.
8
9This program is distributed in the hope that it will be useful,
10but WITHOUT ANY WARRANTY; without even the implied warranty of
11MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12GNU General Public License for more details.
13
14You should have received a copy of the GNU General Public License
15along with this program. If not, see <http://www.gnu.org/licenses/>.
16*/
17
18#include "mini_winni.h"
diff --git a/keyboards/winkeys/mini_winni/mini_winni.h b/keyboards/winkeys/mini_winni/mini_winni.h
deleted file mode 100644
index 4d4374761d..0000000000
--- a/keyboards/winkeys/mini_winni/mini_winni.h
+++ /dev/null
@@ -1,27 +0,0 @@
1/*
2Copyright 2021 Matthew Dias
3
4This program is free software: you can redistribute it and/or modify
5it under the terms of the GNU General Public License as published by
6the Free Software Foundation, either version 2 of the License, or
7(at your option) any later version.
8
9This program is distributed in the hope that it will be useful,
10but WITHOUT ANY WARRANTY; without even the implied warranty of
11MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12GNU General Public License for more details.
13
14You should have received a copy of the GNU General Public License
15along with this program. If not, see <http://www.gnu.org/licenses/>.
16*/
17
18#pragma once
19
20#include "quantum.h"
21#define LAYOUT_all( \
22 K00, K01, K02, K03, \
23 K10, K11, K12, K13 \
24) { \
25 { K00, K01, K02, K03 }, \
26 { K10, K11, K12, K13 } \
27}
diff --git a/keyboards/winry/winry315/info.json b/keyboards/winry/winry315/info.json
index 5abc92a455..1b550c3122 100644
--- a/keyboards/winry/winry315/info.json
+++ b/keyboards/winry/winry315/info.json
@@ -21,90 +21,90 @@
21 "layouts": { 21 "layouts": {
22 "LAYOUT_top": { 22 "LAYOUT_top": {
23 "layout": [ 23 "layout": [
24 { "label": "E0", "x": 0.5, "y": 0.25 }, 24 { "x": 0.5, "y": 0.25, "matrix": [0, 17] },
25 { "label": "E1", "x": 1.75, "y": 0, "h": 1.5, "w": 1.5 }, 25 { "x": 1.75, "y": 0, "h": 1.5, "w": 1.5, "matrix": [0, 15] },
26 { "label": "E2", "x": 3.5, "y": 0.25 }, 26 { "x": 3.5, "y": 0.25, "matrix": [0, 16] },
27 { "label": "0", "x": 0, "y": 1.75 }, 27 { "x": 0, "y": 1.75, "matrix": [0, 0] },
28 { "label": "1", "x": 1, "y": 1.75 }, 28 { "x": 1, "y": 1.75, "matrix": [0, 1] },
29 { "label": "2", "x": 2, "y": 1.75 }, 29 { "x": 2, "y": 1.75, "matrix": [0, 2] },
30 { "label": "3", "x": 3, "y": 1.75 }, 30 { "x": 3, "y": 1.75, "matrix": [0, 3] },
31 { "label": "4", "x": 4, "y": 1.75 }, 31 { "x": 4, "y": 1.75, "matrix": [0, 4] },
32 { "label": "5", "x": 0, "y": 2.75 }, 32 { "x": 0, "y": 2.75, "matrix": [0, 5] },
33 { "label": "6", "x": 1, "y": 2.75 }, 33 { "x": 1, "y": 2.75, "matrix": [0, 6] },
34 { "label": "7", "x": 2, "y": 2.75 }, 34 { "x": 2, "y": 2.75, "matrix": [0, 7] },
35 { "label": "8", "x": 3, "y": 2.75 }, 35 { "x": 3, "y": 2.75, "matrix": [0, 8] },
36 { "label": "9", "x": 4, "y": 2.75 }, 36 { "x": 4, "y": 2.75, "matrix": [0, 9] },
37 { "label": "10", "x": 0, "y": 3.75 }, 37 { "x": 0, "y": 3.75, "matrix": [0, 10] },
38 { "label": "11", "x": 1, "y": 3.75 }, 38 { "x": 1, "y": 3.75, "matrix": [0, 11] },
39 { "label": "12", "x": 2, "y": 3.75 }, 39 { "x": 2, "y": 3.75, "matrix": [0, 12] },
40 { "label": "13", "x": 3, "y": 3.75 }, 40 { "x": 3, "y": 3.75, "matrix": [0, 13] },
41 { "label": "14", "x": 4, "y": 3.75 } 41 { "x": 4, "y": 3.75, "matrix": [0, 14] }
42 ] 42 ]
43 }, 43 },
44 "LAYOUT_left": { 44 "LAYOUT_left": {
45 "layout": [ 45 "layout": [
46 { "label": "E2", "x": 0.25, "y": 0.5 }, 46 { "x": 0.25, "y": 0.5, "matrix": [0, 16] },
47 { "label": "4", "x": 1.75, "y": 0 }, 47 { "x": 1.75, "y": 0, "matrix": [0, 4] },
48 { "label": "9", "x": 2.75, "y": 0 }, 48 { "x": 2.75, "y": 0, "matrix": [0, 9] },
49 { "label": "14", "x": 3.75, "y": 0 }, 49 { "x": 3.75, "y": 0, "matrix": [0, 14] },
50 { "label": "3", "x": 1.75, "y": 1 }, 50 { "x": 1.75, "y": 1, "matrix": [0, 3] },
51 { "label": "8", "x": 2.75, "y": 1 }, 51 { "x": 2.75, "y": 1, "matrix": [0, 8] },
52 { "label": "13", "x": 3.75, "y": 1 }, 52 { "x": 3.75, "y": 1, "matrix": [0, 13] },
53 { "label": "E1", "x": 0, "y": 1.75, "h": 1.5, "w": 1.5 }, 53 { "x": 0, "y": 1.75, "h": 1.5, "w": 1.5, "matrix": [0, 15] },
54 { "label": "2", "x": 1.75, "y": 2 }, 54 { "x": 1.75, "y": 2, "matrix": [0, 2] },
55 { "label": "7", "x": 2.75, "y": 2 }, 55 { "x": 2.75, "y": 2, "matrix": [0, 7] },
56 { "label": "12", "x": 3.75, "y": 2 }, 56 { "x": 3.75, "y": 2, "matrix": [0, 12] },
57 { "label": "1", "x": 1.75, "y": 3 }, 57 { "x": 1.75, "y": 3, "matrix": [0, 1] },
58 { "label": "6", "x": 2.75, "y": 3 }, 58 { "x": 2.75, "y": 3, "matrix": [0, 6] },
59 { "label": "11", "x": 3.75, "y": 3 }, 59 { "x": 3.75, "y": 3, "matrix": [0, 11] },
60 { "label": "E0", "x": 0.25, "y": 3.5 }, 60 { "x": 0.25, "y": 3.5, "matrix": [0, 17] },
61 { "label": "0", "x": 1.75, "y": 4 }, 61 { "x": 1.75, "y": 4, "matrix": [0, 0] },
62 { "label": "5", "x": 2.75, "y": 4 }, 62 { "x": 2.75, "y": 4, "matrix": [0, 5] },
63 { "label": "10", "x": 3.75, "y": 4 } 63 { "x": 3.75, "y": 4, "matrix": [0, 10] }
64 ] 64 ]
65 }, 65 },
66 "LAYOUT_right": { 66 "LAYOUT_right": {
67 "layout": [ 67 "layout": [
68 { "label": "10", "x": 0, "y": 0 }, 68 { "x": 0, "y": 0, "matrix": [0, 10] },
69 { "label": "5", "x": 1, "y": 0 }, 69 { "x": 1, "y": 0, "matrix": [0, 5] },
70 { "label": "0", "x": 2, "y": 0 }, 70 { "x": 2, "y": 0, "matrix": [0, 0] },
71 { "label": "E0", "x": 3.5, "y": 0.5 }, 71 { "x": 3.5, "y": 0.5, "matrix": [0, 17] },
72 { "label": "11", "x": 0, "y": 1 }, 72 { "x": 0, "y": 1, "matrix": [0, 11] },
73 { "label": "6", "x": 1, "y": 1 }, 73 { "x": 1, "y": 1, "matrix": [0, 6] },
74 { "label": "1", "x": 2, "y": 1 }, 74 { "x": 2, "y": 1, "matrix": [0, 1] },
75 { "label": "12", "x": 0, "y": 2 }, 75 { "x": 0, "y": 2, "matrix": [0, 12] },
76 { "label": "7", "x": 1, "y": 2 }, 76 { "x": 1, "y": 2, "matrix": [0, 7] },
77 { "label": "2", "x": 2, "y": 2 }, 77 { "x": 2, "y": 2, "matrix": [0, 2] },
78 { "label": "E1", "x": 3.25, "y": 1.75, "h": 1.5, "w": 1.5 }, 78 { "x": 3.25, "y": 1.75, "h": 1.5, "w": 1.5, "matrix": [0, 15] },
79 { "label": "13", "x": 0, "y": 3 }, 79 { "x": 0, "y": 3, "matrix": [0, 13] },
80 { "label": "8", "x": 1, "y": 3 }, 80 { "x": 1, "y": 3, "matrix": [0, 8] },
81 { "label": "3", "x": 2, "y": 3 }, 81 { "x": 2, "y": 3, "matrix": [0, 3] },
82 { "label": "14", "x": 0, "y": 4 }, 82 { "x": 0, "y": 4, "matrix": [0, 14] },
83 { "label": "9", "x": 1, "y": 4 }, 83 { "x": 1, "y": 4, "matrix": [0, 9] },
84 { "label": "4", "x": 2, "y": 4 }, 84 { "x": 2, "y": 4, "matrix": [0, 4] },
85 { "label": "E2", "x": 3.5, "y": 3.5 } 85 { "x": 3.5, "y": 3.5, "matrix": [0, 16] }
86 ] 86 ]
87 }, 87 },
88 "LAYOUT_bottom": { 88 "LAYOUT_bottom": {
89 "layout": [ 89 "layout": [
90 { "label": "14", "x": 0, "y": 0 }, 90 { "x": 0, "y": 0, "matrix": [0, 14] },
91 { "label": "13", "x": 1, "y": 0 }, 91 { "x": 1, "y": 0, "matrix": [0, 13] },
92 { "label": "12", "x": 2, "y": 0 }, 92 { "x": 2, "y": 0, "matrix": [0, 12] },
93 { "label": "11", "x": 3, "y": 0 }, 93 { "x": 3, "y": 0, "matrix": [0, 11] },
94 { "label": "10", "x": 4, "y": 0 }, 94 { "x": 4, "y": 0, "matrix": [0, 10] },
95 { "label": "9", "x": 0, "y": 1 }, 95 { "x": 0, "y": 1, "matrix": [0, 9] },
96 { "label": "8", "x": 1, "y": 1 }, 96 { "x": 1, "y": 1, "matrix": [0, 8] },
97 { "label": "7", "x": 2, "y": 1 }, 97 { "x": 2, "y": 1, "matrix": [0, 7] },
98 { "label": "6", "x": 3, "y": 1 }, 98 { "x": 3, "y": 1, "matrix": [0, 6] },
99 { "label": "5", "x": 4, "y": 1 }, 99 { "x": 4, "y": 1, "matrix": [0, 5] },
100 { "label": "4", "x": 0, "y": 2 }, 100 { "x": 0, "y": 2, "matrix": [0, 4] },
101 { "label": "3", "x": 1, "y": 2 }, 101 { "x": 1, "y": 2, "matrix": [0, 3] },
102 { "label": "2", "x": 2, "y": 2 }, 102 { "x": 2, "y": 2, "matrix": [0, 2] },
103 { "label": "1", "x": 3, "y": 2 }, 103 { "x": 3, "y": 2, "matrix": [0, 1] },
104 { "label": "0", "x": 4, "y": 2 }, 104 { "x": 4, "y": 2, "matrix": [0, 0] },
105 { "label": "E2", "x": 0.5, "y": 3.5 }, 105 { "x": 0.5, "y": 3.5, "matrix": [0, 16] },
106 { "label": "E1", "x": 1.75, "y": 3.25, "h": 1.5, "w": 1.5 }, 106 { "x": 1.75, "y": 3.25, "h": 1.5, "w": 1.5, "matrix": [0, 15] },
107 { "label": "E0", "x": 3.5, "y": 3.5 } 107 { "x": 3.5, "y": 3.5, "matrix": [0, 17] }
108 ] 108 ]
109 } 109 }
110 } 110 }
diff --git a/keyboards/winry/winry315/winry315.h b/keyboards/winry/winry315/winry315.h
index 4796089003..8129c9d6e0 100644
--- a/keyboards/winry/winry315/winry315.h
+++ b/keyboards/winry/winry315/winry315.h
@@ -24,63 +24,3 @@ enum winry315_orientation {
24// WINRY315_ORIENTATION_LEFT`) instead of adding custom code that calls this 24// WINRY315_ORIENTATION_LEFT`) instead of adding custom code that calls this
25// function. 25// function.
26void winry315_set_orientation(uint8_t orientation); 26void winry315_set_orientation(uint8_t orientation);
27
28// clang-format off
29
30// This is a shortcut to help you visually see your layout.
31//
32// The first section contains all of the arguments representing the physical
33// layout of the board and position of the keys.
34//
35// The second converts the arguments into a two-dimensional array which
36// represents the switch matrix.
37//
38// For this board multiple layouts are defined to make it easier to use the
39// board in a sideways orientation; the actual PCB supports only a single
40// layout (LAYOUT_top).
41
42// Default layout: encoders at the top side (WINRY315_ORIENTATION_TOP).
43#define LAYOUT_top( \
44 k17, k15, k16, \
45 k00, k01, k02, k03, k04, \
46 k05, k06, k07, k08, k09, \
47 k10, k11, k12, k13, k14 \
48) { \
49 { k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k10, k11, k12, k13, k14, k15, k16, k17, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO } \
50}
51
52// Encoders at the left side (WINRY315_ORIENTATION_LEFT).
53#define LAYOUT_left( \
54 k16, k04, k09, k14, \
55 k03, k08, k13, \
56 k15, k02, k07, k12, \
57 k01, k06, k11, \
58 k17, k00, k05, k10 \
59) { \
60 { k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k10, k11, k12, k13, k14, k15, k16, k17, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO } \
61}
62
63// Encoders at the right side (WINRY315_ORIENTATION_RIGHT).
64#define LAYOUT_right( \
65 k10, k05, k00, k17, \
66 k11, k06, k01, \
67 k12, k07, k02, k15, \
68 k13, k08, k03, \
69 k14, k09, k04, k16 \
70) { \
71 { k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k10, k11, k12, k13, k14, k15, k16, k17, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO } \
72}
73
74// Encoders at the bottom side (WINRY315_ORIENTATION_BOTTOM).
75#define LAYOUT_bottom( \
76 k14, k13, k12, k11, k10, \
77 k09, k08, k07, k06, k05, \
78 k04, k03, k02, k01, k00, \
79 k16, k15, k17 \
80) { \
81 { k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k10, k11, k12, k13, k14, k15, k16, k17, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO } \
82}
83
84#define LAYOUT_all LAYOUT_top
85
86// clang-format on
diff --git a/keyboards/xiudi/xd002/info.json b/keyboards/xiudi/xd002/info.json
index 4284b0548b..c160af5f85 100644
--- a/keyboards/xiudi/xd002/info.json
+++ b/keyboards/xiudi/xd002/info.json
@@ -16,8 +16,8 @@
16 "layouts": { 16 "layouts": {
17 "LAYOUT": { 17 "LAYOUT": {
18 "layout": [ 18 "layout": [
19 {"x":0, "y":0}, 19 {"x":0, "y":0, "matrix": [0, 0]},
20 {"x":1, "y":0} 20 {"x":1, "y":0, "matrix": [0, 1]}
21 ] 21 ]
22 } 22 }
23 } 23 }
diff --git a/keyboards/xiudi/xd002/xd002.c b/keyboards/xiudi/xd002/xd002.c
deleted file mode 100644
index e679b97243..0000000000
--- a/keyboards/xiudi/xd002/xd002.c
+++ /dev/null
@@ -1,16 +0,0 @@
1/* Copyright 2020 zvecr<git@zvecr.com>
2 *
3 * This program is free software: you can redistribute it and/or modify
4 * it under the terms of the GNU General Public License as published by
5 * the Free Software Foundation, either version 2 of the License, or
6 * (at your option) any later version.
7 *
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
12 *
13 * You should have received a copy of the GNU General Public License
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */
16#include "xd002.h"
diff --git a/keyboards/xiudi/xd002/xd002.h b/keyboards/xiudi/xd002/xd002.h
deleted file mode 100644
index 3d780191bb..0000000000
--- a/keyboards/xiudi/xd002/xd002.h
+++ /dev/null
@@ -1,33 +0,0 @@
1/* Copyright 2020 zvecr<git@zvecr.com>
2 *
3 * This program is free software: you can redistribute it and/or modify
4 * it under the terms of the GNU General Public License as published by
5 * the Free Software Foundation, either version 2 of the License, or
6 * (at your option) any later version.
7 *
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
12 *
13 * You should have received a copy of the GNU General Public License
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */
16#pragma once
17
18#include "quantum.h"
19
20/* This a shortcut to help you visually see your layout.
21 *
22 * The first section contains all of the arguments representing the physical
23 * layout of the board and position of the keys.
24 *
25 * The second converts the arguments into a two-dimensional array which
26 * represents the switch matrix.
27 */
28#define LAYOUT( \
29 K01, K02 \
30) \
31{ \
32 { K01, K02 }, \
33}
diff --git a/keyboards/xiudi/xd004/info.json b/keyboards/xiudi/xd004/info.json
index 77f57ce322..175b7873f3 100644
--- a/keyboards/xiudi/xd004/info.json
+++ b/keyboards/xiudi/xd004/info.json
@@ -16,7 +16,12 @@
16 }, 16 },
17 "layouts": { 17 "layouts": {
18 "LAYOUT_all": { 18 "LAYOUT_all": {
19 "layout": [{"label":"L", "x":0, "y":0}, {"label":"O", "x":1, "y":0}, {"label":"V", "x":2, "y":0}, {"label":"E", "x":3, "y":0}] 19 "layout": [
20 {"x":0, "y":0, "matrix": [0, 0]},
21 {"x":1, "y":0, "matrix": [0, 1]},
22 {"x":2, "y":0, "matrix": [0, 2]},
23 {"x":3, "y":0, "matrix": [0, 3]}
24 ]
20 } 25 }
21 } 26 }
22} 27}
diff --git a/keyboards/xiudi/xd004/xd004.c b/keyboards/xiudi/xd004/xd004.c
deleted file mode 100644
index 7f0b4e52c5..0000000000
--- a/keyboards/xiudi/xd004/xd004.c
+++ /dev/null
@@ -1 +0,0 @@
1#include "xd004.h"
diff --git a/keyboards/xiudi/xd004/xd004.h b/keyboards/xiudi/xd004/xd004.h
deleted file mode 100644
index a53ad537f7..0000000000
--- a/keyboards/xiudi/xd004/xd004.h
+++ /dev/null
@@ -1,15 +0,0 @@
1#pragma once
2
3#include "quantum.h"
4//#include "led.h"
5
6/* XD60 Keymap Definition Macro */
7/*
8 +--------------------------------+
9 | K0 K1 K2 K3 [----- USB
10 +--------------------------------+
11*/
12#define LAYOUT_all(K00, K01, K02, K03) \
13 { \
14 { K00, K01, K02, K03 } \
15 }
diff --git a/keyboards/yatara/drink_me/drink_me.c b/keyboards/yatara/drink_me/drink_me.c
deleted file mode 100644
index d5cac311ae..0000000000
--- a/keyboards/yatara/drink_me/drink_me.c
+++ /dev/null
@@ -1,17 +0,0 @@
1/* Copyright 2020 Yatara
2 *
3 * This program is free software: you can redistribute it and/or modify
4 * it under the terms of the GNU General Public License as published by
5 * the Free Software Foundation, either version 2 of the License, or
6 * (at your option) any later version.
7 *
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
12 *
13 * You should have received a copy of the GNU General Public License
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */
16
17#include "drink_me.h"
diff --git a/keyboards/yatara/drink_me/drink_me.h b/keyboards/yatara/drink_me/drink_me.h
deleted file mode 100644
index 9ed6dbf2ea..0000000000
--- a/keyboards/yatara/drink_me/drink_me.h
+++ /dev/null
@@ -1,25 +0,0 @@
1/* Copyright 2020 Yatara
2 *
3 * This program is free software: you can redistribute it and/or modify
4 * it under the terms of the GNU General Public License as published by
5 * the Free Software Foundation, either version 2 of the License, or
6 * (at your option) any later version.
7 *
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
12 *
13 * You should have received a copy of the GNU General Public License
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */
16
17#pragma once
18
19#include "quantum.h"
20
21#define LAYOUT( \
22 K00, K01, K02, K03 \
23) { \
24 { K00, K01, K02, K03 } \
25}
diff --git a/keyboards/yatara/drink_me/info.json b/keyboards/yatara/drink_me/info.json
index 3df62cf378..78838f143a 100644
--- a/keyboards/yatara/drink_me/info.json
+++ b/keyboards/yatara/drink_me/info.json
@@ -18,26 +18,10 @@
18 "layouts": { 18 "layouts": {
19 "LAYOUT": { 19 "LAYOUT": {
20 "layout": [ 20 "layout": [
21 { 21 {"x": 0, "y": 0, "matrix": [0, 0]},
22 "label": "K0", 22 {"x": 1, "y": 0, "matrix": [0, 1]},
23 "x": 0, 23 {"x": 2, "y": 0, "matrix": [0, 2]},
24 "y": 0 24 {"x": 3, "y": 0, "matrix": [0, 3]}
25 },
26 {
27 "label": "K1",
28 "x": 1,
29 "y": 0
30 },
31 {
32 "label": "K2",
33 "x": 2,
34 "y": 0
35 },
36 {
37 "label": "K3",
38 "x": 3,
39 "y": 0
40 }
41 ] 25 ]
42 } 26 }
43 } 27 }
diff --git a/keyboards/yeehaw/info.json b/keyboards/yeehaw/info.json
index 98a98cac91..c82f1fd5ff 100644
--- a/keyboards/yeehaw/info.json
+++ b/keyboards/yeehaw/info.json
@@ -17,7 +17,22 @@
17 }, 17 },
18 "layouts": { 18 "layouts": {
19 "LAYOUT": { 19 "LAYOUT": {
20 "layout": [{"label":"VOLU", "x":1, "y":0}, {"label":"VOLD", "x":1, "y":1}, {"label":"M1", "x":2, "y":1.5}, {"label":"UP", "x":3, "y":1.5}, {"label":"MNXT", "x":1, "y":2}, {"label":"M2", "x":4, "y":2}, {"label":"LEFT", "x":2, "y":2.5}, {"label":"DOWN", "x":3, "y":2.5}, {"label":"MO(1)", "x":0, "y":2.75}, {"label":"MPRV", "x":1, "y":3}, {"label":"RIGHT", "x":4, "y":3}, {"label":"MPLY", "x":2, "y":3.5}, {"label":"CTL S", "x":3, "y":3.5}, {"label":"RGB TOG", "x":2.5, "y":4.5}] 20 "layout": [
21 {"x":1, "y":0, "matrix": [0, 0]},
22 {"x":1, "y":1, "matrix": [0, 1]},
23 {"x":2, "y":1.5, "matrix": [0, 2]},
24 {"x":3, "y":1.5, "matrix": [0, 3]},
25 {"x":1, "y":2, "matrix": [0, 4]},
26 {"x":4, "y":2, "matrix": [0, 5]},
27 {"x":2, "y":2.5, "matrix": [0, 6]},
28 {"x":3, "y":2.5, "matrix": [0, 7]},
29 {"x":0, "y":2.75, "matrix": [0, 8]},
30 {"x":1, "y":3, "matrix": [0, 9]},
31 {"x":4, "y":3, "matrix": [0, 10]},
32 {"x":2, "y":3.5, "matrix": [0, 11]},
33 {"x":3, "y":3.5, "matrix": [0, 12]},
34 {"x":2.5, "y":4.5, "matrix": [0, 13]}
35 ]
21 } 36 }
22 } 37 }
23} 38}
diff --git a/keyboards/yeehaw/yeehaw.c b/keyboards/yeehaw/yeehaw.c
deleted file mode 100644
index 3c8a29cade..0000000000
--- a/keyboards/yeehaw/yeehaw.c
+++ /dev/null
@@ -1,16 +0,0 @@
1/* Copyright 2021 Caleb Lightfoot
2 *
3 * This program is free software: you can redistribute it and/or modify
4 * it under the terms of the GNU General Public License as published by
5 * the Free Software Foundation, either version 2 of the License, or
6 * (at your option) any later version.
7 *
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
12 *
13 * You should have received a copy of the GNU General Public License
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */
16#include "yeehaw.h"
diff --git a/keyboards/yeehaw/yeehaw.h b/keyboards/yeehaw/yeehaw.h
deleted file mode 100644
index 0d63efab97..0000000000
--- a/keyboards/yeehaw/yeehaw.h
+++ /dev/null
@@ -1,25 +0,0 @@
1/* Copyright 2021 Caleb Lightfoot
2 *
3 * This program is free software: you can redistribute it and/or modify
4 * it under the terms of the GNU General Public License as published by
5 * the Free Software Foundation, either version 2 of the License, or
6 * (at your option) any later version.
7 *
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
12 *
13 * You should have received a copy of the GNU General Public License
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */
16#pragma once
17
18#include "quantum.h"
19
20#define LAYOUT( \
21 K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K010, K011, K012, K013 \
22) { \
23{ K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K010, K011, K012, K013 } \
24 }
25
diff --git a/keyboards/yushakobo/quick7/info.json b/keyboards/yushakobo/quick7/info.json
index 6d6d4d6725..dfcd0e4f42 100644
--- a/keyboards/yushakobo/quick7/info.json
+++ b/keyboards/yushakobo/quick7/info.json
@@ -20,9 +20,15 @@
20 "layouts": { 20 "layouts": {
21 "LAYOUT": { 21 "LAYOUT": {
22 "layout": [ 22 "layout": [
23 {"x":0, "y":0}, {"x":1, "y":0}, {"x":2, "y":0}, 23 {"x":0, "y":0, "matrix": [0, 0]},
24 {"x":0, "y":1}, {"x":1, "y":1}, {"x":2, "y":1}, 24 {"x":1, "y":0, "matrix": [0, 1]},
25 {"x":0, "y":2}, {"x":1, "y":2}, {"x":2, "y":2} 25 {"x":2, "y":0, "matrix": [0, 2]},
26 {"x":0, "y":1, "matrix": [1, 0]},
27 {"x":1, "y":1, "matrix": [1, 1]},
28 {"x":2, "y":1, "matrix": [1, 2]},
29 {"x":0, "y":2, "matrix": [2, 0]},
30 {"x":1, "y":2, "matrix": [2, 1]},
31 {"x":2, "y":2, "matrix": [2, 2]}
26 ] 32 ]
27 } 33 }
28 } 34 }
diff --git a/keyboards/yushakobo/quick7/quick7.c b/keyboards/yushakobo/quick7/quick7.c
deleted file mode 100644
index 632bcf1ae5..0000000000
--- a/keyboards/yushakobo/quick7/quick7.c
+++ /dev/null
@@ -1,17 +0,0 @@
1/* Copyright 2020 yushakobo
2 *
3 * This program is free software: you can redistribute it and/or modify
4 * it under the terms of the GNU General Public License as published by
5 * the Free Software Foundation, either version 2 of the License, or
6 * (at your option) any later version.
7 *
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
12 *
13 * You should have received a copy of the GNU General Public License
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */
16
17#include "quick7.h"
diff --git a/keyboards/yushakobo/quick7/quick7.h b/keyboards/yushakobo/quick7/quick7.h
deleted file mode 100644
index 2e86487c7f..0000000000
--- a/keyboards/yushakobo/quick7/quick7.h
+++ /dev/null
@@ -1,38 +0,0 @@
1/* Copyright 2020 yushakobo
2 *
3 * This program is free software: you can redistribute it and/or modify
4 * it under the terms of the GNU General Public License as published by
5 * the Free Software Foundation, either version 2 of the License, or
6 * (at your option) any later version.
7 *
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
12 *
13 * You should have received a copy of the GNU General Public License
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */
16
17#pragma once
18
19#include "quantum.h"
20
21/* This is a shortcut to help you visually see your layout.
22 *
23 * The first section contains all of the arguments representing the physical
24 * layout of the board and position of the keys.
25 *
26 * The second converts the arguments into a two-dimensional array which
27 * represents the switch matrix.
28 */
29#define LAYOUT( \
30 k00, k01, k02, \
31 k10, k11, k12, \
32 k20, k21, k22 \
33) \
34{ \
35 { k00, k01, k02 }, \
36 { k10, k11, k12 }, \
37 { k20, k21, k22 } \
38}
diff --git a/keyboards/yynmt/acperience12/acperience12.c b/keyboards/yynmt/acperience12/acperience12.c
deleted file mode 100644
index 783f87b094..0000000000
--- a/keyboards/yynmt/acperience12/acperience12.c
+++ /dev/null
@@ -1,17 +0,0 @@
1/* Copyright 2021 yynmt
2 *
3 * This program is free software: you can redistribute it and/or modify
4 * it under the terms of the GNU General Public License as published by
5 * the Free Software Foundation, either version 2 of the License, or
6 * (at your option) any later version.
7 *
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
12 *
13 * You should have received a copy of the GNU General Public License
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */
16
17#include "acperience12.h"
diff --git a/keyboards/yynmt/acperience12/acperience12.h b/keyboards/yynmt/acperience12/acperience12.h
deleted file mode 100644
index 62102249e1..0000000000
--- a/keyboards/yynmt/acperience12/acperience12.h
+++ /dev/null
@@ -1,23 +0,0 @@
1/* Copyright 2021 yynmt
2 *
3 * This program is free software: you can redistribute it and/or modify
4 * it under the terms of the GNU General Public License as published by
5 * the Free Software Foundation, either version 2 of the License, or
6 * (at your option) any later version.
7 *
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
12 *
13 * You should have received a copy of the GNU General Public License
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */
16
17#pragma once
18
19#ifdef KEYBOARD_yynmt_acperience12_rev1
20# include "rev1.h"
21#endif
22
23#include "quantum.h"
diff --git a/keyboards/yynmt/acperience12/rev1/info.json b/keyboards/yynmt/acperience12/rev1/info.json
index 20d4f249c2..92f5c96212 100644
--- a/keyboards/yynmt/acperience12/rev1/info.json
+++ b/keyboards/yynmt/acperience12/rev1/info.json
@@ -23,12 +23,18 @@
23 "layouts": { 23 "layouts": {
24 "LAYOUT": { 24 "LAYOUT": {
25 "layout": [ 25 "layout": [
26 {"x":0, "y":0}, {"x":1, "y":0}, 26 {"x":0, "y":0, "matrix": [0, 0]},
27 {"x":0, "y":1}, {"x":1, "y":1}, 27 {"x":1, "y":0, "matrix": [0, 1]},
28 {"x":0, "y":2}, {"x":1, "y":2}, 28 {"x":0, "y":1, "matrix": [1, 0]},
29 {"x":0, "y":3}, {"x":1, "y":3}, 29 {"x":1, "y":1, "matrix": [1, 1]},
30 {"x":0, "y":4}, {"x":1, "y":4}, 30 {"x":0, "y":2, "matrix": [2, 0]},
31 {"x":0, "y":5}, {"x":1, "y":5} 31 {"x":1, "y":2, "matrix": [2, 1]},
32 {"x":0, "y":3, "matrix": [3, 0]},
33 {"x":1, "y":3, "matrix": [3, 1]},
34 {"x":0, "y":4, "matrix": [4, 0]},
35 {"x":1, "y":4, "matrix": [4, 1]},
36 {"x":0, "y":5, "matrix": [5, 0]},
37 {"x":1, "y":5, "matrix": [5, 1]}
32 ] 38 ]
33 } 39 }
34 } 40 }
diff --git a/keyboards/yynmt/acperience12/rev1/rev1.c b/keyboards/yynmt/acperience12/rev1/rev1.c
deleted file mode 100644
index f58e4a2b18..0000000000
--- a/keyboards/yynmt/acperience12/rev1/rev1.c
+++ /dev/null
@@ -1,17 +0,0 @@
1/* Copyright 2021 yynmt
2 *
3 * This program is free software: you can redistribute it and/or modify
4 * it under the terms of the GNU General Public License as published by
5 * the Free Software Foundation, either version 2 of the License, or
6 * (at your option) any later version.
7 *
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
12 *
13 * You should have received a copy of the GNU General Public License
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */
16
17#include "rev1.h"
diff --git a/keyboards/yynmt/acperience12/rev1/rev1.h b/keyboards/yynmt/acperience12/rev1/rev1.h
deleted file mode 100644
index 78c6c0c8ca..0000000000
--- a/keyboards/yynmt/acperience12/rev1/rev1.h
+++ /dev/null
@@ -1,37 +0,0 @@
1/* Copyright 2021 yynmt
2 *
3 * This program is free software: you can redistribute it and/or modify
4 * it under the terms of the GNU General Public License as published by
5 * the Free Software Foundation, either version 2 of the License, or
6 * (at your option) any later version.
7 *
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
12 *
13 * You should have received a copy of the GNU General Public License
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */
16
17#pragma once
18
19#include "acperience12.h"
20
21
22#define LAYOUT( \
23 K00, K01, \
24 K02, K03, \
25 K04, K05, \
26 K06, K07, \
27 K08, K09, \
28 K10, K11 \
29) \
30{ \
31 { K00, K01 }, \
32 { K02, K03 }, \
33 { K04, K05 }, \
34 { K06, K07 }, \
35 { K08, K09 }, \
36 { K10, K11 }, \
37}
diff --git a/keyboards/z12/info.json b/keyboards/z12/info.json
index baed03f0fe..4f899bf7d6 100644
--- a/keyboards/z12/info.json
+++ b/keyboards/z12/info.json
@@ -21,21 +21,21 @@
21 "layouts": { 21 "layouts": {
22 "LAYOUT": { 22 "LAYOUT": {
23 "layout": [ 23 "layout": [
24 {"x": 1, "y": 0}, 24 {"x": 1, "y": 0, "matrix": [0, 1]},
25 {"x": 2, "y": 0}, 25 {"x": 2, "y": 0, "matrix": [0, 2]},
26 26
27 {"x": 0, "y": 0.5}, 27 {"x": 0, "y": 0.5, "matrix": [1, 0]},
28 {"x": 1, "y": 1}, 28 {"x": 1, "y": 1, "matrix": [1, 1]},
29 {"x": 2, "y": 1}, 29 {"x": 2, "y": 1, "matrix": [1, 2]},
30 {"x": 3, "y": 0.5}, 30 {"x": 3, "y": 0.5, "matrix": [1, 3]},
31 31
32 {"x": 0.5, "y": 2}, 32 {"x": 0.5, "y": 2, "matrix": [2, 0]},
33 {"x": 1.5, "y": 2}, 33 {"x": 1.5, "y": 2, "matrix": [2, 1]},
34 {"x": 2.5, "y": 2}, 34 {"x": 2.5, "y": 2, "matrix": [2, 2]},
35 35
36 {"x": 0.5, "y": 3}, 36 {"x": 0.5, "y": 3, "matrix": [3, 0]},
37 {"x": 1.5, "y": 3}, 37 {"x": 1.5, "y": 3, "matrix": [3, 1]},
38 {"x": 2.5, "y": 3} 38 {"x": 2.5, "y": 3, "matrix": [3, 2]}
39 ] 39 ]
40 } 40 }
41 } 41 }
diff --git a/keyboards/z12/z12.c b/keyboards/z12/z12.c
index 2af8836cab..3edc9128e4 100644
--- a/keyboards/z12/z12.c
+++ b/keyboards/z12/z12.c
@@ -14,7 +14,7 @@
14 * along with this program. If not, see <http://www.gnu.org/licenses/>. 14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */ 15 */
16 16
17#include "z12.h" 17#include "quantum.h"
18 18
19#ifdef ENCODER_ENABLE 19#ifdef ENCODER_ENABLE
20bool encoder_update_kb(uint8_t index, bool clockwise) { 20bool encoder_update_kb(uint8_t index, bool clockwise) {
diff --git a/keyboards/z12/z12.h b/keyboards/z12/z12.h
deleted file mode 100644
index 0ea6c303f7..0000000000
--- a/keyboards/z12/z12.h
+++ /dev/null
@@ -1,34 +0,0 @@
1/* Copyright 2020 Sergi Meseguer <zigotica@gmail.com>
2 *
3 * This program is free software: you can redistribute it and/or modify
4 * it under the terms of the GNU General Public License as published by
5 * the Free Software Foundation, either version 2 of the License, or
6 * (at your option) any later version.
7 *
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
12 *
13 * You should have received a copy of the GNU General Public License
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */
16
17#include "quantum.h"
18
19/* This a shortcut to help you visually see your layout */
20
21#define ___ KC_NO
22
23#define LAYOUT( \
24 BN4, BN2, \
25 SW7, BN3, BN1, SW8, \
26 SW4, SW5, SW6, \
27 SW3, SW2, SW1 \
28 ) \
29 { \
30 { ___, BN4, BN2, ___ }, \
31 { SW7, BN3, BN1, SW8 }, \
32 { SW4, SW5, SW6, ___ }, \
33 { SW3, SW2, SW1, ___ }, \
34 }
diff --git a/keyboards/z34/info.json b/keyboards/z34/info.json
index 87f4225c5e..e82a6dd304 100644
--- a/keyboards/z34/info.json
+++ b/keyboards/z34/info.json
@@ -34,47 +34,47 @@
34 "layouts": { 34 "layouts": {
35 "LAYOUT": { 35 "LAYOUT": {
36 "layout": [ 36 "layout": [
37 {"x": 0, "y": 0.93}, 37 {"x": 0, "y": 0.93, "matrix": [0, 0]},
38 {"x": 1, "y": 0.31}, 38 {"x": 1, "y": 0.31, "matrix": [0, 1]},
39 {"x": 2, "y": 0}, 39 {"x": 2, "y": 0, "matrix": [0, 2]},
40 {"x": 3, "y": 0.28}, 40 {"x": 3, "y": 0.28, "matrix": [0, 3]},
41 {"x": 4, "y": 0.42}, 41 {"x": 4, "y": 0.42, "matrix": [0, 4]},
42 42
43 {"x": 7, "y": 0.42}, 43 {"x": 7, "y": 0.42, "matrix": [4, 0]},
44 {"x": 8, "y": 0.28}, 44 {"x": 8, "y": 0.28, "matrix": [4, 1]},
45 {"x": 9, "y": 0}, 45 {"x": 9, "y": 0, "matrix": [4, 2]},
46 {"x": 10, "y": 0.31}, 46 {"x": 10, "y": 0.31, "matrix": [4, 3]},
47 {"x": 11, "y": 0.93}, 47 {"x": 11, "y": 0.93, "matrix": [4, 4]},
48 48
49 {"x": 0, "y": 1.93}, 49 {"x": 0, "y": 1.93, "matrix": [1, 0]},
50 {"x": 1, "y": 1.31}, 50 {"x": 1, "y": 1.31, "matrix": [1, 1]},
51 {"x": 2, "y": 1}, 51 {"x": 2, "y": 1, "matrix": [1, 2]},
52 {"x": 3, "y": 1.28}, 52 {"x": 3, "y": 1.28, "matrix": [1, 3]},
53 {"x": 4, "y": 1.42}, 53 {"x": 4, "y": 1.42, "matrix": [1, 4]},
54 54
55 {"x": 7, "y": 1.42}, 55 {"x": 7, "y": 1.42, "matrix": [5, 0]},
56 {"x": 8, "y": 1.28}, 56 {"x": 8, "y": 1.28, "matrix": [5, 1]},
57 {"x": 9, "y": 1}, 57 {"x": 9, "y": 1, "matrix": [5, 2]},
58 {"x": 10, "y": 1.31}, 58 {"x": 10, "y": 1.31, "matrix": [5, 3]},
59 {"x": 11, "y": 1.93}, 59 {"x": 11, "y": 1.93, "matrix": [5, 4]},
60 60
61 {"x": 0, "y": 2.93}, 61 {"x": 0, "y": 2.93, "matrix": [2, 0]},
62 {"x": 1, "y": 2.31}, 62 {"x": 1, "y": 2.31, "matrix": [2, 1]},
63 {"x": 2, "y": 2}, 63 {"x": 2, "y": 2, "matrix": [2, 2]},
64 {"x": 3, "y": 2.28}, 64 {"x": 3, "y": 2.28, "matrix": [2, 3]},
65 {"x": 4, "y": 2.42}, 65 {"x": 4, "y": 2.42, "matrix": [2, 4]},
66 66
67 {"x": 7, "y": 2.42}, 67 {"x": 7, "y": 2.42, "matrix": [6, 0]},
68 {"x": 8, "y": 2.28}, 68 {"x": 8, "y": 2.28, "matrix": [6, 1]},
69 {"x": 9, "y": 2}, 69 {"x": 9, "y": 2, "matrix": [6, 2]},
70 {"x": 10, "y": 2.31}, 70 {"x": 10, "y": 2.31, "matrix": [6, 3]},
71 {"x": 11, "y": 2.93}, 71 {"x": 11, "y": 2.93, "matrix": [6, 4]},
72 72
73 {"x": 3.5, "y": 3.5}, 73 {"x": 3.5, "y": 3.5, "matrix": [3, 0]},
74 {"x": 4.5, "y": 4}, 74 {"x": 4.5, "y": 4, "matrix": [3, 1]},
75 75
76 {"x": 6.5, "y": 4}, 76 {"x": 6.5, "y": 4, "matrix": [7, 0]},
77 {"x": 7.5, "y": 3.5} 77 {"x": 7.5, "y": 3.5, "matrix": [7, 1]}
78 ] 78 ]
79 } 79 }
80 } 80 }
diff --git a/keyboards/z34/z34.c b/keyboards/z34/z34.c
deleted file mode 100644
index 779562e630..0000000000
--- a/keyboards/z34/z34.c
+++ /dev/null
@@ -1,17 +0,0 @@
1/* Copyright 2020 Sergi Meseguer <zigotica@gmail.com>
2 *
3 * This program is free software: you can redistribute it and/or modify
4 * it under the terms of the GNU General Public License as published by
5 * the Free Software Foundation, either version 2 of the License, or
6 * (at your option) any later version.
7 *
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
12 *
13 * You should have received a copy of the GNU General Public License
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */
16
17#include "z34.h"
diff --git a/keyboards/z34/z34.h b/keyboards/z34/z34.h
deleted file mode 100644
index 3def2d4c2c..0000000000
--- a/keyboards/z34/z34.h
+++ /dev/null
@@ -1,39 +0,0 @@
1/* Copyright 2020 Sergi Meseguer <zigotica@gmail.com>
2 *
3 * This program is free software: you can redistribute it and/or modify
4 * it under the terms of the GNU General Public License as published by
5 * the Free Software Foundation, either version 2 of the License, or
6 * (at your option) any later version.
7 *
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
12 *
13 * You should have received a copy of the GNU General Public License
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */
16
17#include "quantum.h"
18
19/* This a shortcut to help you visually see your layout */
20
21#define ___ KC_NO
22
23#define LAYOUT( \
24 L05, L04, L03, L02, L01, R01, R02, R03, R04, R05, \
25 L10, L09, L08, L07, L06, R06, R07, R08, R09, R10, \
26 L15, L14, L13, L12, L11, R11, R12, R13, R14, R15, \
27 L17, L16, R16, R17 \
28 ) \
29 { \
30 { L05, L04, L03, L02, L01 }, \
31 { L10, L09, L08, L07, L06 }, \
32 { L15, L14, L13, L12, L11 }, \
33 { L17, L16, ___, ___ , ___}, \
34 { R01, R02, R03, R04, R05 }, \
35 { R06, R07, R08, R09, R10 }, \
36 { R11, R12, R13, R14, R15 }, \
37 { R16, R17, ___, ___, ___ } \
38 }
39