diff options
Diffstat (limited to 'keyboards/choc_taro/choc_taro.h')
-rw-r--r-- | keyboards/choc_taro/choc_taro.h | 342 |
1 files changed, 342 insertions, 0 deletions
diff --git a/keyboards/choc_taro/choc_taro.h b/keyboards/choc_taro/choc_taro.h new file mode 100644 index 000000000..cf07b80b5 --- /dev/null +++ b/keyboards/choc_taro/choc_taro.h | |||
@@ -0,0 +1,342 @@ | |||
1 | /* Copyright 2020 kakunpc | ||
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 | /* LAYOUT_all | ||
31 | * ┌───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┐ | ||
32 | * │001│002│003│004│005│006│007│008│009│010│011│012│013│014│015│ | ||
33 | * ├───┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴───┤ | ||
34 | * │101 │102│103│104│105│106│107│108│109│110│111│112│113│114 │ | ||
35 | * ├─────┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴─────┤ | ||
36 | * │201 │202│203│204│205│206│207│208│209│210│211│212│213 │ | ||
37 | * ├────┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴────┬───┤ | ||
38 | * │301 │301│302│303│304│305│306│307│308│309│310│311│312 │313│ | ||
39 | * ├────┼───┴┬──┴─┬─┴───┴──┬┴───┼───┴───┴──┬┴──┬┴──┬┴──┬───┴───┤ | ||
40 | * │▓▓▓▓│401 │402 │403 │404 │405 │406│407│408│▓▓▓▓▓▓▓│ | ||
41 | * └────┴────┴────┴────────┴────┴──────────┴───┴───┴───┴───────┘ | ||
42 | */ | ||
43 | #define LAYOUT_all( \ | ||
44 | k001, k002, k003, k004, k005, k006, k007, k008, k009, k010, k011, k012, k013, k014, k015, \ | ||
45 | k101, k102, k103, k104, k105, k106, k107, k108, k109, k110, k111, k112, k113, k114, \ | ||
46 | k201, k202, k203, k204, k205, k206, k207, k208, k209, k210, k211, k212, k213, \ | ||
47 | k301, k302, k303, k304, k305, k306, k307, k308, k309, k310, k311, k312, k313, \ | ||
48 | k401, k402, k403, k404, k405, k406, k407, k408 \ | ||
49 | ) \ | ||
50 | { \ | ||
51 | { k009, k109, k209, k309, KC_NO } , \ | ||
52 | { k010, k110, k210, k310, KC_NO } , \ | ||
53 | { k011, k111, k211, k311, KC_NO } , \ | ||
54 | { k012, k112, k212, k312, KC_NO } , \ | ||
55 | { k013, k113, k213, k313, KC_NO } , \ | ||
56 | { k014, k114, KC_NO, KC_NO, KC_NO } , \ | ||
57 | { k015, KC_NO, KC_NO, KC_NO, KC_NO } , \ | ||
58 | { KC_NO, KC_NO, KC_NO, KC_NO, KC_NO } , \ | ||
59 | { k001, k101, k201, k301, k401 } , \ | ||
60 | { k002, k102, k202, k302, k402 } , \ | ||
61 | { k003, k103, k203, k303, k403 } , \ | ||
62 | { k004, k104, k204, k304, k404 } , \ | ||
63 | { k005, k105, k205, k305, k405 } , \ | ||
64 | { k006, k106, k206, k306, k406 } , \ | ||
65 | { k007, k107, k207, k307, k407 } , \ | ||
66 | { k008, k108, k208, k308, k408 } \ | ||
67 | } | ||
68 | |||
69 | /* LAYOUT_ansi | ||
70 | * ┌───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───────┐ | ||
71 | * │001│002│003│004│005│006│007│008│009│010│011│012│013│ 014 │ | ||
72 | * ├───┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─────┤ | ||
73 | * │101 │102│103│104│105│106│107│108│109│110│111│112│113│114 │ | ||
74 | * ├─────┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴─────┤ | ||
75 | * │201 │202│203│204│205│206│207│208│209│210│211│212│213 │ | ||
76 | * ├────┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴────────┤ | ||
77 | * │301 │301│302│303│304│305│306│307│308│309│310│311│ 312 │ | ||
78 | * ├────┼───┴┬──┴─┬─┴───┴──┬┴───┼───┴───┴──┬┴──┬┴──┬┴──┬───────┤ | ||
79 | * │▓▓▓▓│401 │402 │403 │404 │405 │406│407│408│▓▓▓▓▓▓▓│ | ||
80 | * └────┴────┴────┴────────┴────┴──────────┴───┴───┴───┴───────┘ | ||
81 | */ | ||
82 | #define LAYOUT_ansi( \ | ||
83 | k001, k002, k003, k004, k005, k006, k007, k008, k009, k010, k011, k012, k013, k014, \ | ||
84 | k101, k102, k103, k104, k105, k106, k107, k108, k109, k110, k111, k112, k113, k114, \ | ||
85 | k201, k202, k203, k204, k205, k206, k207, k208, k209, k210, k211, k212, k213, \ | ||
86 | k301, k302, k303, k304, k305, k306, k307, k308, k309, k310, k311, k312, \ | ||
87 | k401, k402, k403, k404, k405, k406, k407, k408 \ | ||
88 | ) \ | ||
89 | { \ | ||
90 | { k009, k109, k209, k309, KC_NO } , \ | ||
91 | { k010, k110, k210, k310, KC_NO } , \ | ||
92 | { k011, k111, k211, k311, KC_NO } , \ | ||
93 | { k012, k112, k212, k312, KC_NO } , \ | ||
94 | { k013, k113, k213, KC_NO, KC_NO } , \ | ||
95 | { k014, k114, KC_NO, KC_NO, KC_NO } , \ | ||
96 | { KC_NO, KC_NO, KC_NO, KC_NO, KC_NO } , \ | ||
97 | { KC_NO, KC_NO, KC_NO, KC_NO, KC_NO } , \ | ||
98 | { k001, k101, k201, k301, k401 } , \ | ||
99 | { k002, k102, k202, k302, k402 } , \ | ||
100 | { k003, k103, k203, k303, k403 } , \ | ||
101 | { k004, k104, k204, k304, k404 } , \ | ||
102 | { k005, k105, k205, k305, k405 } , \ | ||
103 | { k006, k106, k206, k306, k406 } , \ | ||
104 | { k007, k107, k207, k307, k407 } , \ | ||
105 | { k008, k108, k208, k308, k408 } \ | ||
106 | } | ||
107 | |||
108 | /* LAYOUT_ansi_split_bs | ||
109 | * ┌───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┐ | ||
110 | * │001│002│003│004│005│006│007│008│009│010│011│012│013│014│015│ | ||
111 | * ├───┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴───┤ | ||
112 | * │101 │102│103│104│105│106│107│108│109│110│111│112│113│114 │ | ||
113 | * ├─────┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴─────┤ | ||
114 | * │201 │202│203│204│205│206│207│208│209│210│211│212│213 │ | ||
115 | * ├────┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴────────┤ | ||
116 | * │301 │301│302│303│304│305│306│307│308│309│310│311│ 312 │ | ||
117 | * ├────┼───┴┬──┴─┬─┴───┴──┬┴───┼───┴───┴──┬┴──┬┴──┬┴──┬───────┤ | ||
118 | * │▓▓▓▓│401 │402 │403 │404 │405 │406│407│408│▓▓▓▓▓▓▓│ | ||
119 | * └────┴────┴────┴────────┴────┴──────────┴───┴───┴───┴───────┘ | ||
120 | */ | ||
121 | #define LAYOUT_ansi_split_bs( \ | ||
122 | k001, k002, k003, k004, k005, k006, k007, k008, k009, k010, k011, k012, k013, k014, k015, \ | ||
123 | k101, k102, k103, k104, k105, k106, k107, k108, k109, k110, k111, k112, k113, k114, \ | ||
124 | k201, k202, k203, k204, k205, k206, k207, k208, k209, k210, k211, k212, k213, \ | ||
125 | k301, k302, k303, k304, k305, k306, k307, k308, k309, k310, k311, k312, \ | ||
126 | k401, k402, k403, k404, k405, k406, k407, k408 \ | ||
127 | ) \ | ||
128 | { \ | ||
129 | { k009, k109, k209, k309, KC_NO } , \ | ||
130 | { k010, k110, k210, k310, KC_NO } , \ | ||
131 | { k011, k111, k211, k311, KC_NO } , \ | ||
132 | { k012, k112, k212, k312, KC_NO } , \ | ||
133 | { k013, k113, k213, KC_NO, KC_NO } , \ | ||
134 | { k014, k114, KC_NO, KC_NO, KC_NO } , \ | ||
135 | { k015, KC_NO, KC_NO, KC_NO, KC_NO } , \ | ||
136 | { KC_NO, KC_NO, KC_NO, KC_NO, KC_NO } , \ | ||
137 | { k001, k101, k201, k301, k401 } , \ | ||
138 | { k002, k102, k202, k302, k402 } , \ | ||
139 | { k003, k103, k203, k303, k403 } , \ | ||
140 | { k004, k104, k204, k304, k404 } , \ | ||
141 | { k005, k105, k205, k305, k405 } , \ | ||
142 | { k006, k106, k206, k306, k406 } , \ | ||
143 | { k007, k107, k207, k307, k407 } , \ | ||
144 | { k008, k108, k208, k308, k408 } \ | ||
145 | } | ||
146 | |||
147 | |||
148 | /* LAYOUT_ansi_split_rshift | ||
149 | * ┌───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───────┐ | ||
150 | * │001│002│003│004│005│006│007│008│009│010│011│012│013│ 014 │ | ||
151 | * ├───┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─────┤ | ||
152 | * │101 │102│103│104│105│106│107│108│109│110│111│112│113│114 │ | ||
153 | * ├─────┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴─────┤ | ||
154 | * │201 │202│203│204│205│206│207│208│209│210│211│212│213 │ | ||
155 | * ├────┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴────┬───┤ | ||
156 | * │301 │301│302│303│304│305│306│307│308│309│310│311│312 │313│ | ||
157 | * ├────┼───┴┬──┴─┬─┴───┴──┬┴───┼───┴───┴──┬┴──┬┴──┬┴──┬───┴───┤ | ||
158 | * │▓▓▓▓│401 │402 │403 │404 │405 │406│407│408│▓▓▓▓▓▓▓│ | ||
159 | * └────┴────┴────┴────────┴────┴──────────┴───┴───┴───┴───────┘ | ||
160 | */ | ||
161 | #define LAYOUT_ansi_split_rshift( \ | ||
162 | k001, k002, k003, k004, k005, k006, k007, k008, k009, k010, k011, k012, k013, k014, \ | ||
163 | k101, k102, k103, k104, k105, k106, k107, k108, k109, k110, k111, k112, k113, k114, \ | ||
164 | k201, k202, k203, k204, k205, k206, k207, k208, k209, k210, k211, k212, k213, \ | ||
165 | k301, k302, k303, k304, k305, k306, k307, k308, k309, k310, k311, k312, k313, \ | ||
166 | k401, k402, k403, k404, k405, k406, k407, k408 \ | ||
167 | ) \ | ||
168 | { \ | ||
169 | { k009, k109, k209, k309, KC_NO } , \ | ||
170 | { k010, k110, k210, k310, KC_NO } , \ | ||
171 | { k011, k111, k211, k311, KC_NO } , \ | ||
172 | { k012, k112, k212, k312, KC_NO } , \ | ||
173 | { k013, k113, k213, k313, KC_NO } , \ | ||
174 | { k014, k114, KC_NO, KC_NO, KC_NO } , \ | ||
175 | { KC_NO, KC_NO, KC_NO, KC_NO, KC_NO } , \ | ||
176 | { KC_NO, KC_NO, KC_NO, KC_NO, KC_NO } , \ | ||
177 | { k001, k101, k201, k301, k401 } , \ | ||
178 | { k002, k102, k202, k302, k402 } , \ | ||
179 | { k003, k103, k203, k303, k403 } , \ | ||
180 | { k004, k104, k204, k304, k404 } , \ | ||
181 | { k005, k105, k205, k305, k405 } , \ | ||
182 | { k006, k106, k206, k306, k406 } , \ | ||
183 | { k007, k107, k207, k307, k407 } , \ | ||
184 | { k008, k108, k208, k308, k408 } \ | ||
185 | } | ||
186 | |||
187 | |||
188 | /* LAYOUT_iso | ||
189 | * ┌───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───────┐ | ||
190 | * │001│002│003│004│005│006│007│008│009│010│011│012│013│ 014 │ | ||
191 | * ├───┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─────┤ | ||
192 | * │101 │102│103│104│105│106│107│108│109│110│111│112│113│ │ | ||
193 | * ├─────┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┐114 │ | ||
194 | * │201 │202│203│204│205│206│207│208│209│210│211│212│213│ │ | ||
195 | * ├────┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴───┴────┤ | ||
196 | * │301 │301│302│303│304│305│306│307│308│309│310│311│ 312 │ | ||
197 | * ├────┼───┴┬──┴─┬─┴───┴──┬┴───┼───┴───┴──┬┴──┬┴──┬┴──┬───────┤ | ||
198 | * │▓▓▓▓│401 │402 │403 │404 │405 │406│407│408│▓▓▓▓▓▓▓│ | ||
199 | * └────┴────┴────┴────────┴────┴──────────┴───┴───┴───┴───────┘ | ||
200 | */ | ||
201 | #define LAYOUT_iso( \ | ||
202 | k001, k002, k003, k004, k005, k006, k007, k008, k009, k010, k011, k012, k013, k014, \ | ||
203 | k101, k102, k103, k104, k105, k106, k107, k108, k109, k110, k111, k112, k113, k114, \ | ||
204 | k201, k202, k203, k204, k205, k206, k207, k208, k209, k210, k211, k212, k213, \ | ||
205 | k301, k302, k303, k304, k305, k306, k307, k308, k309, k310, k311, k312, \ | ||
206 | k401, k402, k403, k404, k405, k406, k407, k408 \ | ||
207 | ) \ | ||
208 | { \ | ||
209 | { k009, k109, k209, k309, KC_NO } , \ | ||
210 | { k010, k110, k210, k310, KC_NO } , \ | ||
211 | { k011, k111, k211, k311, KC_NO } , \ | ||
212 | { k012, k112, k212, k312, KC_NO } , \ | ||
213 | { k013, k113, k213, KC_NO, KC_NO } , \ | ||
214 | { k014, k114, KC_NO, KC_NO, KC_NO } , \ | ||
215 | { KC_NO, KC_NO, KC_NO, KC_NO, KC_NO } , \ | ||
216 | { KC_NO, KC_NO, KC_NO, KC_NO, KC_NO } , \ | ||
217 | { k001, k101, k201, k301, k401 } , \ | ||
218 | { k002, k102, k202, k302, k402 } , \ | ||
219 | { k003, k103, k203, k303, k403 } , \ | ||
220 | { k004, k104, k204, k304, k404 } , \ | ||
221 | { k005, k105, k205, k305, k405 } , \ | ||
222 | { k006, k106, k206, k306, k406 } , \ | ||
223 | { k007, k107, k207, k307, k407 } , \ | ||
224 | { k008, k108, k208, k308, k408 } \ | ||
225 | } | ||
226 | |||
227 | /* LAYOUT_iso_split_rshift | ||
228 | * ┌───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───────┐ | ||
229 | * │001│002│003│004│005│006│007│008│009│010│011│012│013│ 014 │ | ||
230 | * ├───┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─────┤ | ||
231 | * │101 │102│103│104│105│106│107│108│109│110│111│112│113│ │ | ||
232 | * ├─────┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┐114 │ | ||
233 | * │201 │202│203│204│205│206│207│208│209│210│211│212│213│ │ | ||
234 | * ├────┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴───┴┬───┤ | ||
235 | * │301 │301│302│303│304│305│306│307│308│309│310│311│312 │313│ | ||
236 | * ├────┼───┴┬──┴─┬─┴───┴──┬┴───┼───┴───┴──┬┴──┬┴──┬┴──┬───┴───┤ | ||
237 | * │▓▓▓▓│401 │402 │403 │404 │405 │406│407│408│▓▓▓▓▓▓▓│ | ||
238 | * └────┴────┴────┴────────┴────┴──────────┴───┴───┴───┴───────┘ | ||
239 | */ | ||
240 | #define LAYOUT_iso_split_rshift( \ | ||
241 | k001, k002, k003, k004, k005, k006, k007, k008, k009, k010, k011, k012, k013, k014, \ | ||
242 | k101, k102, k103, k104, k105, k106, k107, k108, k109, k110, k111, k112, k113, k114, \ | ||
243 | k201, k202, k203, k204, k205, k206, k207, k208, k209, k210, k211, k212, k213, \ | ||
244 | k301, k302, k303, k304, k305, k306, k307, k308, k309, k310, k311, k312, k313, \ | ||
245 | k401, k402, k403, k404, k405, k406, k407, k408 \ | ||
246 | ) \ | ||
247 | { \ | ||
248 | { k009, k109, k209, k309, KC_NO } , \ | ||
249 | { k010, k110, k210, k310, KC_NO } , \ | ||
250 | { k011, k111, k211, k311, KC_NO } , \ | ||
251 | { k012, k112, k212, k312, KC_NO } , \ | ||
252 | { k013, k113, k213, k313, KC_NO } , \ | ||
253 | { k014, k114, KC_NO, KC_NO, KC_NO } , \ | ||
254 | { KC_NO, KC_NO, KC_NO, KC_NO, KC_NO } , \ | ||
255 | { KC_NO, KC_NO, KC_NO, KC_NO, KC_NO } , \ | ||
256 | { k001, k101, k201, k301, k401 } , \ | ||
257 | { k002, k102, k202, k302, k402 } , \ | ||
258 | { k003, k103, k203, k303, k403 } , \ | ||
259 | { k004, k104, k204, k304, k404 } , \ | ||
260 | { k005, k105, k205, k305, k405 } , \ | ||
261 | { k006, k106, k206, k306, k406 } , \ | ||
262 | { k007, k107, k207, k307, k407 } , \ | ||
263 | { k008, k108, k208, k308, k408 } \ | ||
264 | } | ||
265 | |||
266 | /* LAYOUT_iso_split_bs | ||
267 | * ┌───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┐ | ||
268 | * │001│002│003│004│005│006│007│008│009│010│011│012│013│014│015│ | ||
269 | * ├───┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴───┤ | ||
270 | * │101 │102│103│104│105│106│107│108│109│110│111│112│113│ │ | ||
271 | * ├─────┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┐114 │ | ||
272 | * │201 │202│203│204│205│206│207│208│209│210│211│212│213│ │ | ||
273 | * ├────┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴───┴────┤ | ||
274 | * │301 │301│302│303│304│305│306│307│308│309│310│311│ 312 │ | ||
275 | * ├────┼───┴┬──┴─┬─┴───┴──┬┴───┼───┴───┴──┬┴──┬┴──┬┴──┬───────┤ | ||
276 | * │▓▓▓▓│401 │402 │403 │404 │405 │406│407│408│▓▓▓▓▓▓▓│ | ||
277 | * └────┴────┴────┴────────┴────┴──────────┴───┴───┴───┴───────┘ | ||
278 | */ | ||
279 | #define LAYOUT_iso_split_bs( \ | ||
280 | k001, k002, k003, k004, k005, k006, k007, k008, k009, k010, k011, k012, k013, k014, k015, \ | ||
281 | k101, k102, k103, k104, k105, k106, k107, k108, k109, k110, k111, k112, k113, k114, \ | ||
282 | k201, k202, k203, k204, k205, k206, k207, k208, k209, k210, k211, k212, k213, \ | ||
283 | k301, k302, k303, k304, k305, k306, k307, k308, k309, k310, k311, k312, \ | ||
284 | k401, k402, k403, k404, k405, k406, k407, k408 \ | ||
285 | ) \ | ||
286 | { \ | ||
287 | { k009, k109, k209, k309, KC_NO } , \ | ||
288 | { k010, k110, k210, k310, KC_NO } , \ | ||
289 | { k011, k111, k211, k311, KC_NO } , \ | ||
290 | { k012, k112, k212, k312, KC_NO } , \ | ||
291 | { k013, k113, k213, KC_NO, KC_NO } , \ | ||
292 | { k014, k114, KC_NO, KC_NO, KC_NO } , \ | ||
293 | { k015, KC_NO, KC_NO, KC_NO, KC_NO } , \ | ||
294 | { KC_NO, KC_NO, KC_NO, KC_NO, KC_NO } , \ | ||
295 | { k001, k101, k201, k301, k401 } , \ | ||
296 | { k002, k102, k202, k302, k402 } , \ | ||
297 | { k003, k103, k203, k303, k403 } , \ | ||
298 | { k004, k104, k204, k304, k404 } , \ | ||
299 | { k005, k105, k205, k305, k405 } , \ | ||
300 | { k006, k106, k206, k306, k406 } , \ | ||
301 | { k007, k107, k207, k307, k407 } , \ | ||
302 | { k008, k108, k208, k308, k408 } \ | ||
303 | } | ||
304 | |||
305 | /* LAYOUT_iso_split_bs_rshift | ||
306 | * ┌───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┐ | ||
307 | * │001│002│003│004│005│006│007│008│009│010│011│012│013│014│015│ | ||
308 | * ├───┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴───┤ | ||
309 | * │101 │102│103│104│105│106│107│108│109│110│111│112│113│ │ | ||
310 | * ├─────┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┐114 │ | ||
311 | * │201 │202│203│204│205│206│207│208│209│210│211│212│213│ │ | ||
312 | * ├────┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴───┴┬───┤ | ||
313 | * │301 │301│302│303│304│305│306│307│308│309│310│311│312 │313│ | ||
314 | * ├────┼───┴┬──┴─┬─┴───┴──┬┴───┼───┴───┴──┬┴──┬┴──┬┴──┬───┴───┤ | ||
315 | * │▓▓▓▓│401 │402 │403 │404 │405 │406│407│408│▓▓▓▓▓▓▓│ | ||
316 | * └────┴────┴────┴────────┴────┴──────────┴───┴───┴───┴───────┘ | ||
317 | */ | ||
318 | #define LAYOUT_iso_split_bs_rshift( \ | ||
319 | k001, k002, k003, k004, k005, k006, k007, k008, k009, k010, k011, k012, k013, k014, k015, \ | ||
320 | k101, k102, k103, k104, k105, k106, k107, k108, k109, k110, k111, k112, k113, k114, \ | ||
321 | k201, k202, k203, k204, k205, k206, k207, k208, k209, k210, k211, k212, k213, \ | ||
322 | k301, k302, k303, k304, k305, k306, k307, k308, k309, k310, k311, k312, k313, \ | ||
323 | k401, k402, k403, k404, k405, k406, k407, k408 \ | ||
324 | ) \ | ||
325 | { \ | ||
326 | { k009, k109, k209, k309, KC_NO } , \ | ||
327 | { k010, k110, k210, k310, KC_NO } , \ | ||
328 | { k011, k111, k211, k311, KC_NO } , \ | ||
329 | { k012, k112, k212, k312, KC_NO } , \ | ||
330 | { k013, k113, k213, k313, KC_NO } , \ | ||
331 | { k014, k114, KC_NO, KC_NO, KC_NO } , \ | ||
332 | { k015, KC_NO, KC_NO, KC_NO, KC_NO } , \ | ||
333 | { KC_NO, KC_NO, KC_NO, KC_NO, KC_NO } , \ | ||
334 | { k001, k101, k201, k301, k401 } , \ | ||
335 | { k002, k102, k202, k302, k402 } , \ | ||
336 | { k003, k103, k203, k303, k403 } , \ | ||
337 | { k004, k104, k204, k304, k404 } , \ | ||
338 | { k005, k105, k205, k305, k405 } , \ | ||
339 | { k006, k106, k206, k306, k406 } , \ | ||
340 | { k007, k107, k207, k307, k407 } , \ | ||
341 | { k008, k108, k208, k308, k408 } \ | ||
342 | } | ||