summaryrefslogtreecommitdiff
path: root/keyboards/idobao
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2023-03-29 15:54:34 +1100
committerGitHub <noreply@github.com>2023-03-29 15:54:34 +1100
commit4869b8061c187f6476f8f14b839dd2c2c9f74dd2 (patch)
tree085ba6c614b0cc649a664b6e9e8829ee6f1fe593 /keyboards/idobao
parent06664e8a94116b5d40b2348ec89ba2fc6248ec16 (diff)
Move ortho & numpad layouts to data driven (#20183)
Co-authored-by: Nick Brassel <nick@tzarc.org>
Diffstat (limited to 'keyboards/idobao')
-rw-r--r--keyboards/idobao/id75/v1/info.json82
-rw-r--r--keyboards/idobao/id75/v1/v1.h41
-rw-r--r--keyboards/idobao/id75/v2/info.json150
-rw-r--r--keyboards/idobao/id75/v2/v2.c2
-rw-r--r--keyboards/idobao/id75/v2/v2.h41
-rw-r--r--keyboards/idobao/montex/v1/info.json54
-rw-r--r--keyboards/idobao/montex/v1/v1.h35
-rwxr-xr-xkeyboards/idobao/montex/v1rgb/info.json59
-rwxr-xr-xkeyboards/idobao/montex/v1rgb/v1rgb.c2
-rwxr-xr-xkeyboards/idobao/montex/v1rgb/v1rgb.h24
10 files changed, 217 insertions, 273 deletions
diff --git a/keyboards/idobao/id75/v1/info.json b/keyboards/idobao/id75/v1/info.json
index b0d2c6f712..3777bf03e0 100644
--- a/keyboards/idobao/id75/v1/info.json
+++ b/keyboards/idobao/id75/v1/info.json
@@ -22,7 +22,87 @@
22 "community_layouts": ["ortho_5x15"], 22 "community_layouts": ["ortho_5x15"],
23 "layouts": { 23 "layouts": {
24 "LAYOUT_ortho_5x15": { 24 "LAYOUT_ortho_5x15": {
25 "layout": [{"x":0, "y":0}, {"x":1, "y":0}, {"x":2, "y":0}, {"x":3, "y":0}, {"x":4, "y":0}, {"x":5, "y":0}, {"x":6, "y":0}, {"x":7, "y":0}, {"x":8, "y":0}, {"x":9, "y":0}, {"x":10, "y":0}, {"x":11, "y":0}, {"x":12, "y":0}, {"x":13, "y":0}, {"x":14, "y":0}, {"x":0, "y":1}, {"x":1, "y":1}, {"x":2, "y":1}, {"x":3, "y":1}, {"x":4, "y":1}, {"x":5, "y":1}, {"x":6, "y":1}, {"x":7, "y":1}, {"x":8, "y":1}, {"x":9, "y":1}, {"x":10, "y":1}, {"x":11, "y":1}, {"x":12, "y":1}, {"x":13, "y":1}, {"x":14, "y":1}, {"x":0, "y":2}, {"x":1, "y":2}, {"x":2, "y":2}, {"x":3, "y":2}, {"x":4, "y":2}, {"x":5, "y":2}, {"x":6, "y":2}, {"x":7, "y":2}, {"x":8, "y":2}, {"x":9, "y":2}, {"x":10, "y":2}, {"x":11, "y":2}, {"x":12, "y":2}, {"x":13, "y":2}, {"x":14, "y":2}, {"x":0, "y":3}, {"x":1, "y":3}, {"x":2, "y":3}, {"x":3, "y":3}, {"x":4, "y":3}, {"x":5, "y":3}, {"x":6, "y":3}, {"x":7, "y":3}, {"x":8, "y":3}, {"x":9, "y":3}, {"x":10, "y":3}, {"x":11, "y":3}, {"x":12, "y":3}, {"x":13, "y":3}, {"x":14, "y":3}, {"x":0, "y":4}, {"x":1, "y":4}, {"x":2, "y":4}, {"x":3, "y":4}, {"x":4, "y":4}, {"x":5, "y":4}, {"x":6, "y":4}, {"x":7, "y":4}, {"x":8, "y":4}, {"x":9, "y":4}, {"x":10, "y":4}, {"x":11, "y":4}, {"x":12, "y":4}, {"x":13, "y":4}, {"x":14, "y":4}] 25 "layout": [
26 {"matrix": [0, 0], "x": 0, "y": 0},
27 {"matrix": [0, 1], "x": 1, "y": 0},
28 {"matrix": [0, 2], "x": 2, "y": 0},
29 {"matrix": [0, 3], "x": 3, "y": 0},
30 {"matrix": [0, 4], "x": 4, "y": 0},
31 {"matrix": [0, 5], "x": 5, "y": 0},
32 {"matrix": [0, 6], "x": 6, "y": 0},
33 {"matrix": [0, 7], "x": 7, "y": 0},
34 {"matrix": [0, 8], "x": 8, "y": 0},
35 {"matrix": [0, 9], "x": 9, "y": 0},
36 {"matrix": [0, 10], "x": 10, "y": 0},
37 {"matrix": [0, 11], "x": 11, "y": 0},
38 {"matrix": [0, 12], "x": 12, "y": 0},
39 {"matrix": [0, 13], "x": 13, "y": 0},
40 {"matrix": [0, 14], "x": 14, "y": 0},
41
42 {"matrix": [1, 0], "x": 0, "y": 1},
43 {"matrix": [1, 1], "x": 1, "y": 1},
44 {"matrix": [1, 2], "x": 2, "y": 1},
45 {"matrix": [1, 3], "x": 3, "y": 1},
46 {"matrix": [1, 4], "x": 4, "y": 1},
47 {"matrix": [1, 5], "x": 5, "y": 1},
48 {"matrix": [1, 6], "x": 6, "y": 1},
49 {"matrix": [1, 7], "x": 7, "y": 1},
50 {"matrix": [1, 8], "x": 8, "y": 1},
51 {"matrix": [1, 9], "x": 9, "y": 1},
52 {"matrix": [1, 10], "x": 10, "y": 1},
53 {"matrix": [1, 11], "x": 11, "y": 1},
54 {"matrix": [1, 12], "x": 12, "y": 1},
55 {"matrix": [1, 13], "x": 13, "y": 1},
56 {"matrix": [1, 14], "x": 14, "y": 1},
57
58 {"matrix": [2, 0], "x": 0, "y": 2},
59 {"matrix": [2, 1], "x": 1, "y": 2},
60 {"matrix": [2, 2], "x": 2, "y": 2},
61 {"matrix": [2, 3], "x": 3, "y": 2},
62 {"matrix": [2, 4], "x": 4, "y": 2},
63 {"matrix": [2, 5], "x": 5, "y": 2},
64 {"matrix": [2, 6], "x": 6, "y": 2},
65 {"matrix": [2, 7], "x": 7, "y": 2},
66 {"matrix": [2, 8], "x": 8, "y": 2},
67 {"matrix": [2, 9], "x": 9, "y": 2},
68 {"matrix": [2, 10], "x": 10, "y": 2},
69 {"matrix": [2, 11], "x": 11, "y": 2},
70 {"matrix": [2, 12], "x": 12, "y": 2},
71 {"matrix": [2, 13], "x": 13, "y": 2},
72 {"matrix": [2, 14], "x": 14, "y": 2},
73
74 {"matrix": [3, 0], "x": 0, "y": 3},
75 {"matrix": [3, 1], "x": 1, "y": 3},
76 {"matrix": [3, 2], "x": 2, "y": 3},
77 {"matrix": [3, 3], "x": 3, "y": 3},
78 {"matrix": [3, 4], "x": 4, "y": 3},
79 {"matrix": [3, 5], "x": 5, "y": 3},
80 {"matrix": [3, 6], "x": 6, "y": 3},
81 {"matrix": [3, 7], "x": 7, "y": 3},
82 {"matrix": [3, 8], "x": 8, "y": 3},
83 {"matrix": [3, 9], "x": 9, "y": 3},
84 {"matrix": [3, 10], "x": 10, "y": 3},
85 {"matrix": [3, 11], "x": 11, "y": 3},
86 {"matrix": [3, 12], "x": 12, "y": 3},
87 {"matrix": [3, 13], "x": 13, "y": 3},
88 {"matrix": [3, 14], "x": 14, "y": 3},
89
90 {"matrix": [4, 0], "x": 0, "y": 4},
91 {"matrix": [4, 1], "x": 1, "y": 4},
92 {"matrix": [4, 2], "x": 2, "y": 4},
93 {"matrix": [4, 3], "x": 3, "y": 4},
94 {"matrix": [4, 4], "x": 4, "y": 4},
95 {"matrix": [4, 5], "x": 5, "y": 4},
96 {"matrix": [4, 6], "x": 6, "y": 4},
97 {"matrix": [4, 7], "x": 7, "y": 4},
98 {"matrix": [4, 8], "x": 8, "y": 4},
99 {"matrix": [4, 9], "x": 9, "y": 4},
100 {"matrix": [4, 10], "x": 10, "y": 4},
101 {"matrix": [4, 11], "x": 11, "y": 4},
102 {"matrix": [4, 12], "x": 12, "y": 4},
103 {"matrix": [4, 13], "x": 13, "y": 4},
104 {"matrix": [4, 14], "x": 14, "y": 4}
105 ]
26 } 106 }
27 } 107 }
28} 108}
diff --git a/keyboards/idobao/id75/v1/v1.h b/keyboards/idobao/id75/v1/v1.h
deleted file mode 100644
index 9643a1efd3..0000000000
--- a/keyboards/idobao/id75/v1/v1.h
+++ /dev/null
@@ -1,41 +0,0 @@
1/* Copyright 2018 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 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_ortho_5x15( \
30 k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0A, k0B, k0C, k0D, k0E, \
31 k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1A, k1B, k1C, k1D, k1E, \
32 k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, k2A, k2B, k2C, k2D, k2E, \
33 k30, k31, k32, k33, k34, k35, k36, k37, k38, k39, k3A, k3B, k3C, k3D, k3E, \
34 k40, k41, k42, k43, k44, k45, k46, k47, k48, k49, k4A, k4B, k4C, k4D, k4E \
35) { \
36 { k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0A, k0B, k0C, k0D, k0E }, \
37 { k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1A, k1B, k1C, k1D, k1E }, \
38 { k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, k2A, k2B, k2C, k2D, k2E }, \
39 { k30, k31, k32, k33, k34, k35, k36, k37, k38, k39, k3A, k3B, k3C, k3D, k3E }, \
40 { k40, k41, k42, k43, k44, k45, k46, k47, k48, k49, k4A, k4B, k4C, k4D, k4E } \
41}
diff --git a/keyboards/idobao/id75/v2/info.json b/keyboards/idobao/id75/v2/info.json
index 599e02ab59..540ecc006a 100644
--- a/keyboards/idobao/id75/v2/info.json
+++ b/keyboards/idobao/id75/v2/info.json
@@ -19,85 +19,85 @@
19 "layouts": { 19 "layouts": {
20 "LAYOUT_ortho_5x15": { 20 "LAYOUT_ortho_5x15": {
21 "layout": [ 21 "layout": [
22 {"x":0, "y":0}, 22 {"matrix": [0, 0], "x": 0, "y": 0},
23 {"x":1, "y":0}, 23 {"matrix": [0, 1], "x": 1, "y": 0},
24 {"x":2, "y":0}, 24 {"matrix": [0, 2], "x": 2, "y": 0},
25 {"x":3, "y":0}, 25 {"matrix": [0, 3], "x": 3, "y": 0},
26 {"x":4, "y":0}, 26 {"matrix": [0, 4], "x": 4, "y": 0},
27 {"x":5, "y":0}, 27 {"matrix": [0, 5], "x": 5, "y": 0},
28 {"x":6, "y":0}, 28 {"matrix": [0, 6], "x": 6, "y": 0},
29 {"x":7, "y":0}, 29 {"matrix": [0, 7], "x": 7, "y": 0},
30 {"x":8, "y":0}, 30 {"matrix": [0, 8], "x": 8, "y": 0},
31 {"x":9, "y":0}, 31 {"matrix": [0, 9], "x": 9, "y": 0},
32 {"x":10, "y":0}, 32 {"matrix": [0, 10], "x": 10, "y": 0},
33 {"x":11, "y":0}, 33 {"matrix": [0, 11], "x": 11, "y": 0},
34 {"x":12, "y":0}, 34 {"matrix": [0, 12], "x": 12, "y": 0},
35 {"x":13, "y":0}, 35 {"matrix": [0, 13], "x": 13, "y": 0},
36 {"x":14, "y":0}, 36 {"matrix": [0, 14], "x": 14, "y": 0},
37 37
38 {"x":0, "y":1}, 38 {"matrix": [1, 0], "x": 0, "y": 1},
39 {"x":1, "y":1}, 39 {"matrix": [1, 1], "x": 1, "y": 1},
40 {"x":2, "y":1}, 40 {"matrix": [1, 2], "x": 2, "y": 1},
41 {"x":3, "y":1}, 41 {"matrix": [1, 3], "x": 3, "y": 1},
42 {"x":4, "y":1}, 42 {"matrix": [1, 4], "x": 4, "y": 1},
43 {"x":5, "y":1}, 43 {"matrix": [1, 5], "x": 5, "y": 1},
44 {"x":6, "y":1}, 44 {"matrix": [1, 6], "x": 6, "y": 1},
45 {"x":7, "y":1}, 45 {"matrix": [1, 7], "x": 7, "y": 1},
46 {"x":8, "y":1}, 46 {"matrix": [1, 8], "x": 8, "y": 1},
47 {"x":9, "y":1}, 47 {"matrix": [1, 9], "x": 9, "y": 1},
48 {"x":10, "y":1}, 48 {"matrix": [1, 10], "x": 10, "y": 1},
49 {"x":11, "y":1}, 49 {"matrix": [1, 11], "x": 11, "y": 1},
50 {"x":12, "y":1}, 50 {"matrix": [1, 12], "x": 12, "y": 1},
51 {"x":13, "y":1}, 51 {"matrix": [1, 13], "x": 13, "y": 1},
52 {"x":14, "y":1}, 52 {"matrix": [1, 14], "x": 14, "y": 1},
53 53
54 {"x":0, "y":2}, 54 {"matrix": [2, 0], "x": 0, "y": 2},
55 {"x":1, "y":2}, 55 {"matrix": [2, 1], "x": 1, "y": 2},
56 {"x":2, "y":2}, 56 {"matrix": [2, 2], "x": 2, "y": 2},
57 {"x":3, "y":2}, 57 {"matrix": [2, 3], "x": 3, "y": 2},
58 {"x":4, "y":2}, 58 {"matrix": [2, 4], "x": 4, "y": 2},
59 {"x":5, "y":2}, 59 {"matrix": [2, 5], "x": 5, "y": 2},
60 {"x":6, "y":2}, 60 {"matrix": [2, 6], "x": 6, "y": 2},
61 {"x":7, "y":2}, 61 {"matrix": [2, 7], "x": 7, "y": 2},
62 {"x":8, "y":2}, 62 {"matrix": [2, 8], "x": 8, "y": 2},
63 {"x":9, "y":2}, 63 {"matrix": [2, 9], "x": 9, "y": 2},
64 {"x":10, "y":2}, 64 {"matrix": [2, 10], "x": 10, "y": 2},
65 {"x":11, "y":2}, 65 {"matrix": [2, 11], "x": 11, "y": 2},
66 {"x":12, "y":2}, 66 {"matrix": [2, 12], "x": 12, "y": 2},
67 {"x":13, "y":2}, 67 {"matrix": [2, 13], "x": 13, "y": 2},
68 {"x":14, "y":2}, 68 {"matrix": [2, 14], "x": 14, "y": 2},
69 69
70 {"x":0, "y":3}, 70 {"matrix": [3, 0], "x": 0, "y": 3},
71 {"x":1, "y":3}, 71 {"matrix": [3, 1], "x": 1, "y": 3},
72 {"x":2, "y":3}, 72 {"matrix": [3, 2], "x": 2, "y": 3},
73 {"x":3, "y":3}, 73 {"matrix": [3, 3], "x": 3, "y": 3},
74 {"x":4, "y":3}, 74 {"matrix": [3, 4], "x": 4, "y": 3},
75 {"x":5, "y":3}, 75 {"matrix": [3, 5], "x": 5, "y": 3},
76 {"x":6, "y":3}, 76 {"matrix": [3, 6], "x": 6, "y": 3},
77 {"x":7, "y":3}, 77 {"matrix": [3, 7], "x": 7, "y": 3},
78 {"x":8, "y":3}, 78 {"matrix": [3, 8], "x": 8, "y": 3},
79 {"x":9, "y":3}, 79 {"matrix": [3, 9], "x": 9, "y": 3},
80 {"x":10, "y":3}, 80 {"matrix": [3, 10], "x": 10, "y": 3},
81 {"x":11, "y":3}, 81 {"matrix": [3, 11], "x": 11, "y": 3},
82 {"x":12, "y":3}, 82 {"matrix": [3, 12], "x": 12, "y": 3},
83 {"x":13, "y":3}, 83 {"matrix": [3, 13], "x": 13, "y": 3},
84 {"x":14, "y":3}, 84 {"matrix": [3, 14], "x": 14, "y": 3},
85 85
86 {"x":0, "y":4}, 86 {"matrix": [4, 0], "x": 0, "y": 4},
87 {"x":1, "y":4}, 87 {"matrix": [4, 1], "x": 1, "y": 4},
88 {"x":2, "y":4}, 88 {"matrix": [4, 2], "x": 2, "y": 4},
89 {"x":3, "y":4}, 89 {"matrix": [4, 3], "x": 3, "y": 4},
90 {"x":4, "y":4}, 90 {"matrix": [4, 4], "x": 4, "y": 4},
91 {"x":5, "y":4}, 91 {"matrix": [4, 5], "x": 5, "y": 4},
92 {"x":6, "y":4}, 92 {"matrix": [4, 6], "x": 6, "y": 4},
93 {"x":7, "y":4}, 93 {"matrix": [4, 7], "x": 7, "y": 4},
94 {"x":8, "y":4}, 94 {"matrix": [4, 8], "x": 8, "y": 4},
95 {"x":9, "y":4}, 95 {"matrix": [4, 9], "x": 9, "y": 4},
96 {"x":10, "y":4}, 96 {"matrix": [4, 10], "x": 10, "y": 4},
97 {"x":11, "y":4}, 97 {"matrix": [4, 11], "x": 11, "y": 4},
98 {"x":12, "y":4}, 98 {"matrix": [4, 12], "x": 12, "y": 4},
99 {"x":13, "y":4}, 99 {"matrix": [4, 13], "x": 13, "y": 4},
100 {"x":14, "y":4} 100 {"matrix": [4, 14], "x": 14, "y": 4}
101 ] 101 ]
102 } 102 }
103 } 103 }
diff --git a/keyboards/idobao/id75/v2/v2.c b/keyboards/idobao/id75/v2/v2.c
index f65a9e3362..55d58d92e1 100644
--- a/keyboards/idobao/id75/v2/v2.c
+++ b/keyboards/idobao/id75/v2/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 "v2.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/idobao/id75/v2/v2.h b/keyboards/idobao/id75/v2/v2.h
deleted file mode 100644
index 9643a1efd3..0000000000
--- a/keyboards/idobao/id75/v2/v2.h
+++ /dev/null
@@ -1,41 +0,0 @@
1/* Copyright 2018 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 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_ortho_5x15( \
30 k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0A, k0B, k0C, k0D, k0E, \
31 k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1A, k1B, k1C, k1D, k1E, \
32 k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, k2A, k2B, k2C, k2D, k2E, \
33 k30, k31, k32, k33, k34, k35, k36, k37, k38, k39, k3A, k3B, k3C, k3D, k3E, \
34 k40, k41, k42, k43, k44, k45, k46, k47, k48, k49, k4A, k4B, k4C, k4D, k4E \
35) { \
36 { k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0A, k0B, k0C, k0D, k0E }, \
37 { k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1A, k1B, k1C, k1D, k1E }, \
38 { k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, k2A, k2B, k2C, k2D, k2E }, \
39 { k30, k31, k32, k33, k34, k35, k36, k37, k38, k39, k3A, k3B, k3C, k3D, k3E }, \
40 { k40, k41, k42, k43, k44, k45, k46, k47, k48, k49, k4A, k4B, k4C, k4D, k4E } \
41}
diff --git a/keyboards/idobao/montex/v1/info.json b/keyboards/idobao/montex/v1/info.json
index e5c423e527..7d437655bb 100644
--- a/keyboards/idobao/montex/v1/info.json
+++ b/keyboards/idobao/montex/v1/info.json
@@ -21,38 +21,38 @@
21 "layouts": { 21 "layouts": {
22 "LAYOUT_numpad_6x5": { 22 "LAYOUT_numpad_6x5": {
23 "layout": [ 23 "layout": [
24 { "label": "0,0", "x": 0, "y": 0}, 24 {"matrix": [0, 0], "x": 0, "y": 0},
25 { "label": "0,1", "x": 1, "y": 0}, 25 {"matrix": [0, 1], "x": 1, "y": 0},
26 { "label": "0,2", "x": 2, "y": 0}, 26 {"matrix": [0, 2], "x": 2, "y": 0},
27 { "label": "0,3", "x": 3, "y": 0}, 27 {"matrix": [0, 3], "x": 3, "y": 0},
28 { "label": "0,4", "x": 4, "y": 0}, 28 {"matrix": [0, 4], "x": 4, "y": 0},
29 29
30 { "label": "1,0", "x": 0, "y": 1.25}, 30 {"matrix": [1, 0], "x": 0, "y": 1.25},
31 { "label": "1,1", "x": 1, "y": 1.25}, 31 {"matrix": [1, 1], "x": 1, "y": 1.25},
32 { "label": "1,2", "x": 2, "y": 1.25}, 32 {"matrix": [1, 2], "x": 2, "y": 1.25},
33 { "label": "1,3", "x": 3, "y": 1.25}, 33 {"matrix": [1, 3], "x": 3, "y": 1.25},
34 { "label": "1,4", "x": 4, "y": 1.25}, 34 {"matrix": [1, 4], "x": 4, "y": 1.25},
35 35
36 { "label": "2,0", "x": 0, "y": 2.25}, 36 {"matrix": [2, 0], "x": 0, "y": 2.25},
37 { "label": "2,1", "x": 1, "y": 2.25}, 37 {"matrix": [2, 1], "x": 1, "y": 2.25},
38 { "label": "2,2", "x": 2, "y": 2.25}, 38 {"matrix": [2, 2], "x": 2, "y": 2.25},
39 { "label": "2,3", "x": 3, "y": 2.25}, 39 {"matrix": [2, 3], "x": 3, "y": 2.25},
40 40
41 { "label": "3,0", "x": 0, "y": 3.25}, 41 {"matrix": [3, 0], "x": 0, "y": 3.25},
42 { "label": "3,1", "x": 1, "y": 3.25}, 42 {"matrix": [3, 1], "x": 1, "y": 3.25},
43 { "label": "3,2", "x": 2, "y": 3.25}, 43 {"matrix": [3, 2], "x": 2, "y": 3.25},
44 { "label": "3,3", "x": 3, "y": 3.25}, 44 {"matrix": [3, 3], "x": 3, "y": 3.25},
45 { "label": "3,4", "x": 4, "y": 2.25, "h": 2}, 45 {"matrix": [2, 4], "x": 4, "y": 2.25, "h": 2},
46 46
47 { "label": "4,0", "x": 0, "y": 4.25}, 47 {"matrix": [4, 0], "x": 0, "y": 4.25},
48 { "label": "4,1", "x": 1, "y": 4.25}, 48 {"matrix": [4, 1], "x": 1, "y": 4.25},
49 { "label": "4,2", "x": 2, "y": 4.25}, 49 {"matrix": [4, 2], "x": 2, "y": 4.25},
50 { "label": "4,3", "x": 3, "y": 4.25}, 50 {"matrix": [4, 3], "x": 3, "y": 4.25},
51 51
52 { "label": "5,0", "x": 0, "y": 5.25}, 52 {"matrix": [5, 0], "x": 0, "y": 5.25},
53 { "label": "5,1", "x": 1, "y": 5.25, "w": 2}, 53 {"matrix": [5, 1], "x": 1, "y": 5.25, "w": 2},
54 { "label": "5,2", "x": 3, "y": 5.25}, 54 {"matrix": [5, 2], "x": 3, "y": 5.25},
55 { "label": "5,3", "x": 4, "y": 4.25, "h": 2} 55 {"matrix": [5, 3], "x": 4, "y": 4.25, "h": 2}
56 ] 56 ]
57 } 57 }
58 } 58 }
diff --git a/keyboards/idobao/montex/v1/v1.h b/keyboards/idobao/montex/v1/v1.h
deleted file mode 100644
index d57097fa88..0000000000
--- a/keyboards/idobao/montex/v1/v1.h
+++ /dev/null
@@ -1,35 +0,0 @@
1/* Copyright 2021 NachoxMacho
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 &lt;http://www.gnu.org/licenses/&gt;.
15*/
16
17#pragma once
18
19#include "quantum.h"
20
21#define LAYOUT_numpad_6x5( \
22 K00, K01, K02, K03, K04, \
23 K10, K11, K12, K13, K14, \
24 K20, K21, K22, K23, \
25 K30, K31, K32, K33, K34, \
26 K40, K41, K42, K43, \
27 K50, K51, K52, K53 \
28) { \
29 { K00, K01, K02, K03, K04 }, \
30 { K10, K11, K12, K13, K14 }, \
31 { K20, K21, K22, K23, K34 }, \
32 { K30, K31, K32, K33, KC_NO }, \
33 { K40, K41, K42, K43, KC_NO }, \
34 { K50, K51, K52, K53, KC_NO } \
35}
diff --git a/keyboards/idobao/montex/v1rgb/info.json b/keyboards/idobao/montex/v1rgb/info.json
index f77698554d..08f427d967 100755
--- a/keyboards/idobao/montex/v1rgb/info.json
+++ b/keyboards/idobao/montex/v1rgb/info.json
@@ -17,33 +17,38 @@
17 "layouts": { 17 "layouts": {
18 "LAYOUT_numpad_6x5": { 18 "LAYOUT_numpad_6x5": {
19 "layout": [ 19 "layout": [
20 { "label": "K00 (D4,D5)", "x": 0, "y": 0 }, 20 {"matrix": [0, 0], "x": 0, "y": 0},
21 { "label": "K01 (D4,D3)", "x": 1, "y": 0 }, 21 {"matrix": [0, 1], "x": 1, "y": 0},
22 { "label": "K02 (D4,D2)", "x": 2, "y": 0 }, 22 {"matrix": [0, 2], "x": 2, "y": 0},
23 { "label": "K03 (D4,D1)", "x": 3, "y": 0 }, 23 {"matrix": [0, 3], "x": 3, "y": 0},
24 { "label": "K04 (D4,D0)", "x": 4, "y": 0 }, 24 {"matrix": [0, 4], "x": 4, "y": 0},
25 { "label": "K10 (D6,D5)", "x": 0, "y": 1 }, 25
26 { "label": "K11 (D6,D3)", "x": 1, "y": 1 }, 26 {"matrix": [1, 0], "x": 0, "y": 1},
27 { "label": "K12 (D6,D2)", "x": 2, "y": 1 }, 27 {"matrix": [1, 1], "x": 1, "y": 1},
28 { "label": "K13 (D6,D1)", "x": 3, "y": 1 }, 28 {"matrix": [1, 2], "x": 2, "y": 1},
29 { "label": "K14 (D6,D0)", "x": 4, "y": 1 }, 29 {"matrix": [1, 3], "x": 3, "y": 1},
30 { "label": "K20 (D7,D5)", "x": 0, "y": 2 }, 30 {"matrix": [1, 4], "x": 4, "y": 1},
31 { "label": "K21 (D7,D3)", "x": 1, "y": 2 }, 31
32 { "label": "K22 (D7,D2)", "x": 2, "y": 2 }, 32 {"matrix": [2, 0], "x": 0, "y": 2},
33 { "label": "K23 (D7,D1)", "x": 3, "y": 2 }, 33 {"matrix": [2, 1], "x": 1, "y": 2},
34 { "label": "K24 (D7,D0)", "x": 4, "y": 2, "h": 2 }, 34 {"matrix": [2, 2], "x": 2, "y": 2},
35 { "label": "K30 (B4,D5)", "x": 0, "y": 3 }, 35 {"matrix": [2, 3], "x": 3, "y": 2},
36 { "label": "K31 (B4,D3)", "x": 1, "y": 3 }, 36 {"matrix": [2, 4], "x": 4, "y": 2, "h": 2},
37 { "label": "K32 (B4,D2)", "x": 2, "y": 3 }, 37
38 { "label": "K33 (B4,D1)", "x": 3, "y": 3 }, 38 {"matrix": [3, 0], "x": 0, "y": 3},
39 { "label": "K40 (B5,D5)", "x": 0, "y": 4 }, 39 {"matrix": [3, 1], "x": 1, "y": 3},
40 { "label": "K41 (B5,D3)", "x": 1, "y": 4 }, 40 {"matrix": [3, 2], "x": 2, "y": 3},
41 { "label": "K42 (B5,D2)", "x": 2, "y": 4 }, 41 {"matrix": [3, 3], "x": 3, "y": 3},
42 { "label": "K43 (B5,D1)", "x": 3, "y": 4 }, 42
43 { "label": "K53 (C6,D1)", "x": 4, "y": 4, "h": 2 }, 43 {"matrix": [4, 0], "x": 0, "y": 4},
44 { "label": "K50 (C6,D5)", "x": 0, "y": 5 }, 44 {"matrix": [4, 1], "x": 1, "y": 4},
45 { "label": "K51 (C6,D3)", "x": 1, "y": 5, "w": 2 }, 45 {"matrix": [4, 2], "x": 2, "y": 4},
46 { "label": "K52 (C6,D2)", "x": 3, "y": 5 } 46 {"matrix": [4, 3], "x": 3, "y": 4},
47 {"matrix": [5, 3], "x": 4, "y": 4, "h": 2},
48
49 {"matrix": [5, 0], "x": 0, "y": 5},
50 {"matrix": [5, 1], "x": 1, "y": 5, "w": 2},
51 {"matrix": [5, 2], "x": 3, "y": 5}
47 ] 52 ]
48 } 53 }
49 } 54 }
diff --git a/keyboards/idobao/montex/v1rgb/v1rgb.c b/keyboards/idobao/montex/v1rgb/v1rgb.c
index 3d2a847c00..b70067cfcf 100755
--- a/keyboards/idobao/montex/v1rgb/v1rgb.c
+++ b/keyboards/idobao/montex/v1rgb/v1rgb.c
@@ -1,7 +1,7 @@
1// Copyright 2022 peepeetee (@peepeetee) 1// Copyright 2022 peepeetee (@peepeetee)
2// SPDX-License-Identifier: GPL-2.0-or-later 2// SPDX-License-Identifier: GPL-2.0-or-later
3 3
4#include "v1rgb.h" 4#include "quantum.h"
5 5
6#ifdef RGB_MATRIX_ENABLE 6#ifdef RGB_MATRIX_ENABLE
7 7
diff --git a/keyboards/idobao/montex/v1rgb/v1rgb.h b/keyboards/idobao/montex/v1rgb/v1rgb.h
deleted file mode 100755
index e069771c6f..0000000000
--- a/keyboards/idobao/montex/v1rgb/v1rgb.h
+++ /dev/null
@@ -1,24 +0,0 @@
1// Copyright 2022 peepeetee (@peepeetee)
2// SPDX-License-Identifier: GPL-2.0-or-later
3
4#pragma once
5
6#include "quantum.h"
7
8#define ___ KC_NO
9
10#define LAYOUT_numpad_6x5( \
11 K00, K01, K02, K03, K04, \
12 K10, K11, K12, K13, K14, \
13 K20, K21, K22, K23, K24, \
14 K30, K31, K32, K33, \
15 K40, K41, K42, K43, K53, \
16 K50, K51, K52 \
17) { \
18 { K00, K01, K02, K03, K04 }, \
19 { K10, K11, K12, K13, K14 }, \
20 { K20, K21, K22, K23, K24 }, \
21 { K30, K31, K32, K33, ___ }, \
22 { K40, K41, K42, K43, ___ }, \
23 { K50, K51, K52, K53, ___ }, \
24}