diff options
Diffstat (limited to 'keyboards/buildakb')
33 files changed, 1347 insertions, 0 deletions
diff --git a/keyboards/buildakb/potato65/config.h b/keyboards/buildakb/potato65/config.h new file mode 100644 index 000000000..350e1018f --- /dev/null +++ b/keyboards/buildakb/potato65/config.h | |||
@@ -0,0 +1,120 @@ | |||
1 | /* | ||
2 | Copyright 2021 Maelkk | ||
3 | |||
4 | This program is free software: you can redistribute it and/or modify | ||
5 | it under the terms of the GNU General Public License as published by | ||
6 | the Free Software Foundation, either version 2 of the License, or | ||
7 | (at your option) any later version. | ||
8 | |||
9 | This program is distributed in the hope that it will be useful, | ||
10 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
12 | GNU General Public License for more details. | ||
13 | |||
14 | You should have received a copy of the GNU General Public License | ||
15 | along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
16 | */ | ||
17 | |||
18 | #pragma once | ||
19 | |||
20 | #include "config_common.h" | ||
21 | |||
22 | /* USB Device descriptor parameter */ | ||
23 | #define VENDOR_ID 0xFEED | ||
24 | #define PRODUCT_ID 0x0001 | ||
25 | #define DEVICE_VER 0x0001 | ||
26 | #define MANUFACTURER Maelkk | ||
27 | #define PRODUCT Potato 65 | ||
28 | |||
29 | /* key matrix size */ | ||
30 | #define MATRIX_ROWS 5 | ||
31 | #define MATRIX_COLS 16 | ||
32 | |||
33 | /* | ||
34 | * Keyboard Matrix Assignments | ||
35 | * | ||
36 | * Change this to how you wired your keyboard | ||
37 | * COLS: AVR pins used for columns, left to right | ||
38 | * ROWS: AVR pins used for rows, top to bottom | ||
39 | * DIODE_DIRECTION: COL2ROW = COL = Anode (+), ROW = Cathode (-, marked on diode) | ||
40 | * ROW2COL = ROW = Anode (+), COL = Cathode (-, marked on diode) | ||
41 | * | ||
42 | */ | ||
43 | #define MATRIX_ROW_PINS { E6, B7, F7, F4, F5 } | ||
44 | #define MATRIX_COL_PINS { F6, B0, F1, C7, C6, B6, B5, B4, D7, D6, D4, D5, D3, D2, D1, D0 } | ||
45 | #define UNUSED_PINS | ||
46 | |||
47 | /* COL2ROW, ROW2COL */ | ||
48 | #define DIODE_DIRECTION COL2ROW | ||
49 | |||
50 | /* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */ | ||
51 | #define DEBOUNCE 5 | ||
52 | |||
53 | /* define if matrix has ghost (lacks anti-ghosting diodes) */ | ||
54 | //#define MATRIX_HAS_GHOST | ||
55 | |||
56 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | ||
57 | #define LOCKING_SUPPORT_ENABLE | ||
58 | /* Locking resynchronize hack */ | ||
59 | #define LOCKING_RESYNC_ENABLE | ||
60 | |||
61 | /* If defined, GRAVE_ESC will always act as ESC when CTRL is held. | ||
62 | * This is useful for the Windows task manager shortcut (ctrl+shift+esc). | ||
63 | */ | ||
64 | //#define GRAVE_ESC_CTRL_OVERRIDE | ||
65 | |||
66 | /* | ||
67 | * Force NKRO | ||
68 | * | ||
69 | * Force NKRO (nKey Rollover) to be enabled by default, regardless of the saved | ||
70 | * state in the bootmagic EEPROM settings. (Note that NKRO must be enabled in the | ||
71 | * makefile for this to work.) | ||
72 | * | ||
73 | * If forced on, NKRO can be disabled via magic key (default = LShift+RShift+N) | ||
74 | * until the next keyboard reset. | ||
75 | * | ||
76 | * NKRO may prevent your keystrokes from being detected in the BIOS, but it is | ||
77 | * fully operational during normal computer usage. | ||
78 | * | ||
79 | * For a less heavy-handed approach, enable NKRO via magic key (LShift+RShift+N) | ||
80 | * or via bootmagic (hold SPACE+N while plugging in the keyboard). Once set by | ||
81 | * bootmagic, NKRO mode will always be enabled until it is toggled again during a | ||
82 | * power-up. | ||
83 | * | ||
84 | */ | ||
85 | //#define FORCE_NKRO | ||
86 | |||
87 | /* | ||
88 | * Feature disable options | ||
89 | * These options are also useful to firmware size reduction. | ||
90 | */ | ||
91 | |||
92 | /* disable debug print */ | ||
93 | //#define NO_DEBUG | ||
94 | |||
95 | /* disable print */ | ||
96 | //#define NO_PRINT | ||
97 | |||
98 | /* disable action features */ | ||
99 | //#define NO_ACTION_LAYER | ||
100 | //#define NO_ACTION_TAPPING | ||
101 | //#define NO_ACTION_ONESHOT | ||
102 | |||
103 | /* disable these deprecated features by default */ | ||
104 | #define NO_ACTION_MACRO | ||
105 | #define NO_ACTION_FUNCTION | ||
106 | |||
107 | /* Bootmagic Lite key configuration */ | ||
108 | //#define BOOTMAGIC_LITE_ROW 0 | ||
109 | //#define BOOTMAGIC_LITE_COLUMN 0 | ||
110 | |||
111 | #define RGB_DI_PIN B1 | ||
112 | #ifdef RGB_DI_PIN | ||
113 | #define RGBLIGHT_ANIMATIONS | ||
114 | #define RGBLED_NUM 14 | ||
115 | #define RGBLIGHT_HUE_STEP 8 | ||
116 | #define RGBLIGHT_SAT_STEP 8 | ||
117 | #define RGBLIGHT_VAL_STEP 8 | ||
118 | #define RGBLIGHT_LIMIT_VAL 240 | ||
119 | #define RGBLIGHT_SLEEP | ||
120 | #endif | ||
diff --git a/keyboards/buildakb/potato65/info.json b/keyboards/buildakb/potato65/info.json new file mode 100644 index 000000000..a7713ef1b --- /dev/null +++ b/keyboards/buildakb/potato65/info.json | |||
@@ -0,0 +1,311 @@ | |||
1 | { | ||
2 | "keyboard_name": "Potato 65", | ||
3 | "url": "https://github.com/Aeonstrife/potato65", | ||
4 | "maintainer": "Maelkk", | ||
5 | "layouts": { | ||
6 | "LAYOUT_65_ansi_split_bs": { | ||
7 | "layout": [ | ||
8 | { "x":0, "y":0 }, | ||
9 | { "x":1, "y":0 }, | ||
10 | { "x":2, "y":0 }, | ||
11 | { "x":3, "y":0 }, | ||
12 | { "x":4, "y":0 }, | ||
13 | { "x":5, "y":0 }, | ||
14 | { "x":6, "y":0 }, | ||
15 | { "x":7, "y":0 }, | ||
16 | { "x":8, "y":0 }, | ||
17 | { "x":9, "y":0 }, | ||
18 | { "x":10, "y":0 }, | ||
19 | { "x":11, "y":0 }, | ||
20 | { "x":12, "y":0 }, | ||
21 | { "x":13, "y":0 }, | ||
22 | { "x":14, "y":0 }, | ||
23 | { "x":15, "y":0 }, | ||
24 | |||
25 | { "x":0, "y":1, "w":1.5 }, | ||
26 | { "x":1.5, "y":1 }, | ||
27 | { "x":2.5, "y":1 }, | ||
28 | { "x":3.5, "y":1 }, | ||
29 | { "x":4.5, "y":1 }, | ||
30 | { "x":5.5, "y":1 }, | ||
31 | { "x":6.5, "y":1 }, | ||
32 | { "x":7.5, "y":1 }, | ||
33 | { "x":8.5, "y":1 }, | ||
34 | { "x":9.5, "y":1 }, | ||
35 | { "x":10.5, "y":1 }, | ||
36 | { "x":11.5, "y":1 }, | ||
37 | { "x":12.5, "y":1 }, | ||
38 | { "x":13.5, "y":1, "w":1.5 }, | ||
39 | { "x":15, "y":1 }, | ||
40 | |||
41 | { "x":0, "y":2, "w":1.75 }, | ||
42 | { "x":1.75, "y":2 }, | ||
43 | { "x":2.75, "y":2 }, | ||
44 | { "x":3.75, "y":2 }, | ||
45 | { "x":4.75, "y":2 }, | ||
46 | { "x":5.75, "y":2 }, | ||
47 | { "x":6.75, "y":2 }, | ||
48 | { "x":7.75, "y":2 }, | ||
49 | { "x":8.75, "y":2 }, | ||
50 | { "x":9.75, "y":2 }, | ||
51 | { "x":10.75, "y":2 }, | ||
52 | { "x":11.75, "y":2 }, | ||
53 | { "x":12.75, "y":2, "w":2.25 }, | ||
54 | { "x":15, "y":2 }, | ||
55 | |||
56 | { "x":0, "y":3, "w":2.25 }, | ||
57 | { "x":2.25, "y":3 }, | ||
58 | { "x":3.25, "y":3 }, | ||
59 | { "x":4.25, "y":3 }, | ||
60 | { "x":5.25, "y":3 }, | ||
61 | { "x":6.25, "y":3 }, | ||
62 | { "x":7.25, "y":3 }, | ||
63 | { "x":8.25, "y":3 }, | ||
64 | { "x":9.25, "y":3 }, | ||
65 | { "x":10.25, "y":3 }, | ||
66 | { "x":11.25, "y":3 }, | ||
67 | { "x":12.25, "y":3, "w":1.75 }, | ||
68 | { "x":14, "y":3 }, | ||
69 | { "x":15, "y":3 }, | ||
70 | |||
71 | { "x":0, "y":4, "w":1.25 }, | ||
72 | { "x":1.25, "y":4, "w":1.25 }, | ||
73 | { "x":2.5, "y":4, "w":1.25 }, | ||
74 | { "x":3.75, "y":4, "w":6.25 }, | ||
75 | { "x":10, "y":4 }, | ||
76 | { "x":11, "y":4 }, | ||
77 | { "x":12, "y":4 }, | ||
78 | { "x":13, "y":4 }, | ||
79 | { "x":14, "y":4 }, | ||
80 | { "x":15, "y":4 } | ||
81 | ] | ||
82 | }, | ||
83 | "LAYOUT_65_ansi": { | ||
84 | "layout": [ | ||
85 | { "x":0, "y":0 }, | ||
86 | { "x":1, "y":0 }, | ||
87 | { "x":2, "y":0 }, | ||
88 | { "x":3, "y":0 }, | ||
89 | { "x":4, "y":0 }, | ||
90 | { "x":5, "y":0 }, | ||
91 | { "x":6, "y":0 }, | ||
92 | { "x":7, "y":0 }, | ||
93 | { "x":8, "y":0 }, | ||
94 | { "x":9, "y":0 }, | ||
95 | { "x":10, "y":0 }, | ||
96 | { "x":11, "y":0 }, | ||
97 | { "x":12, "y":0 }, | ||
98 | { "x":13, "y":0, "w": 2 }, | ||
99 | { "x":15, "y":0 }, | ||
100 | |||
101 | { "x":0, "y":1, "w":1.5 }, | ||
102 | { "x":1.5, "y":1 }, | ||
103 | { "x":2.5, "y":1 }, | ||
104 | { "x":3.5, "y":1 }, | ||
105 | { "x":4.5, "y":1 }, | ||
106 | { "x":5.5, "y":1 }, | ||
107 | { "x":6.5, "y":1 }, | ||
108 | { "x":7.5, "y":1 }, | ||
109 | { "x":8.5, "y":1 }, | ||
110 | { "x":9.5, "y":1 }, | ||
111 | { "x":10.5, "y":1 }, | ||
112 | { "x":11.5, "y":1 }, | ||
113 | { "x":12.5, "y":1 }, | ||
114 | { "x":13.5, "y":1, "w":1.5 }, | ||
115 | { "x":15, "y":1 }, | ||
116 | |||
117 | { "x":0, "y":2, "w":1.75 }, | ||
118 | { "x":1.75, "y":2 }, | ||
119 | { "x":2.75, "y":2 }, | ||
120 | { "x":3.75, "y":2 }, | ||
121 | { "x":4.75, "y":2 }, | ||
122 | { "x":5.75, "y":2 }, | ||
123 | { "x":6.75, "y":2 }, | ||
124 | { "x":7.75, "y":2 }, | ||
125 | { "x":8.75, "y":2 }, | ||
126 | { "x":9.75, "y":2 }, | ||
127 | { "x":10.75, "y":2 }, | ||
128 | { "x":11.75, "y":2 }, | ||
129 | { "x":12.75, "y":2, "w":2.25 }, | ||
130 | { "x":15, "y":2 }, | ||
131 | |||
132 | { "x":0, "y":3, "w":2.25 }, | ||
133 | { "x":2.25, "y":3 }, | ||
134 | { "x":3.25, "y":3 }, | ||
135 | { "x":4.25, "y":3 }, | ||
136 | { "x":5.25, "y":3 }, | ||
137 | { "x":6.25, "y":3 }, | ||
138 | { "x":7.25, "y":3 }, | ||
139 | { "x":8.25, "y":3 }, | ||
140 | { "x":9.25, "y":3 }, | ||
141 | { "x":10.25, "y":3 }, | ||
142 | { "x":11.25, "y":3 }, | ||
143 | { "x":12.25, "y":3, "w":1.75 }, | ||
144 | { "x":14, "y":3 }, | ||
145 | { "x":15, "y":3 }, | ||
146 | |||
147 | { "x":0, "y":4, "w":1.25 }, | ||
148 | { "x":1.25, "y":4, "w":1.25 }, | ||
149 | { "x":2.5, "y":4, "w":1.25 }, | ||
150 | { "x":3.75, "y":4, "w":6.25 }, | ||
151 | { "x":10, "y":4 }, | ||
152 | { "x":11, "y":4 }, | ||
153 | { "x":12, "y":4 }, | ||
154 | { "x":13, "y":4 }, | ||
155 | { "x":14, "y":4 }, | ||
156 | { "x":15, "y":4 } | ||
157 | ] | ||
158 | }, | ||
159 | "LAYOUT_65_ansi_split_bs_2_right_mods": { | ||
160 | "layout": [ | ||
161 | { "x":0, "y":0 }, | ||
162 | { "x":1, "y":0 }, | ||
163 | { "x":2, "y":0 }, | ||
164 | { "x":3, "y":0 }, | ||
165 | { "x":4, "y":0 }, | ||
166 | { "x":5, "y":0 }, | ||
167 | { "x":6, "y":0 }, | ||
168 | { "x":7, "y":0 }, | ||
169 | { "x":8, "y":0 }, | ||
170 | { "x":9, "y":0 }, | ||
171 | { "x":10, "y":0 }, | ||
172 | { "x":11, "y":0 }, | ||
173 | { "x":12, "y":0 }, | ||
174 | { "x":13, "y":0 }, | ||
175 | { "x":14, "y":0 }, | ||
176 | { "x":15, "y":0 }, | ||
177 | |||
178 | { "x":0, "y":1, "w":1.5 }, | ||
179 | { "x":1.5, "y":1 }, | ||
180 | { "x":2.5, "y":1 }, | ||
181 | { "x":3.5, "y":1 }, | ||
182 | { "x":4.5, "y":1 }, | ||
183 | { "x":5.5, "y":1 }, | ||
184 | { "x":6.5, "y":1 }, | ||
185 | { "x":7.5, "y":1 }, | ||
186 | { "x":8.5, "y":1 }, | ||
187 | { "x":9.5, "y":1 }, | ||
188 | { "x":10.5, "y":1 }, | ||
189 | { "x":11.5, "y":1 }, | ||
190 | { "x":12.5, "y":1 }, | ||
191 | { "x":13.5, "y":1, "w":1.5 }, | ||
192 | { "x":15, "y":1 }, | ||
193 | |||
194 | { "x":0, "y":2, "w":1.75 }, | ||
195 | { "x":1.75, "y":2 }, | ||
196 | { "x":2.75, "y":2 }, | ||
197 | { "x":3.75, "y":2 }, | ||
198 | { "x":4.75, "y":2 }, | ||
199 | { "x":5.75, "y":2 }, | ||
200 | { "x":6.75, "y":2 }, | ||
201 | { "x":7.75, "y":2 }, | ||
202 | { "x":8.75, "y":2 }, | ||
203 | { "x":9.75, "y":2 }, | ||
204 | { "x":10.75, "y":2 }, | ||
205 | { "x":11.75, "y":2 }, | ||
206 | { "x":12.75, "y":2, "w":2.25 }, | ||
207 | { "x":15, "y":2 }, | ||
208 | |||
209 | { "x":0, "y":3, "w":2.25 }, | ||
210 | { "x":2.25, "y":3 }, | ||
211 | { "x":3.25, "y":3 }, | ||
212 | { "x":4.25, "y":3 }, | ||
213 | { "x":5.25, "y":3 }, | ||
214 | { "x":6.25, "y":3 }, | ||
215 | { "x":7.25, "y":3 }, | ||
216 | { "x":8.25, "y":3 }, | ||
217 | { "x":9.25, "y":3 }, | ||
218 | { "x":10.25, "y":3 }, | ||
219 | { "x":11.25, "y":3 }, | ||
220 | { "x":12.25, "y":3, "w":1.75 }, | ||
221 | { "x":14, "y":3 }, | ||
222 | { "x":15, "y":3 }, | ||
223 | |||
224 | { "x":0, "y":4, "w":1.25 }, | ||
225 | { "x":1.25, "y":4, "w":1.25 }, | ||
226 | { "x":2.5, "y":4, "w":1.25 }, | ||
227 | { "x":3.75, "y":4, "w":6.25 }, | ||
228 | { "x":10, "y":4, "w":1.5 }, | ||
229 | { "x":11.5, "y":4, "w":1.5 }, | ||
230 | { "x":13, "y":4 }, | ||
231 | { "x":14, "y":4 }, | ||
232 | { "x":15, "y":4 } | ||
233 | ] | ||
234 | }, | ||
235 | "LAYOUT_65_ansi_2_right_mods": { | ||
236 | "layout": [ | ||
237 | { "x":0, "y":0 }, | ||
238 | { "x":1, "y":0 }, | ||
239 | { "x":2, "y":0 }, | ||
240 | { "x":3, "y":0 }, | ||
241 | { "x":4, "y":0 }, | ||
242 | { "x":5, "y":0 }, | ||
243 | { "x":6, "y":0 }, | ||
244 | { "x":7, "y":0 }, | ||
245 | { "x":8, "y":0 }, | ||
246 | { "x":9, "y":0 }, | ||
247 | { "x":10, "y":0 }, | ||
248 | { "x":11, "y":0 }, | ||
249 | { "x":12, "y":0 }, | ||
250 | { "x":13, "y":0, "w": 2 }, | ||
251 | { "x":15, "y":0 }, | ||
252 | |||
253 | { "x":0, "y":1, "w":1.5 }, | ||
254 | { "x":1.5, "y":1 }, | ||
255 | { "x":2.5, "y":1 }, | ||
256 | { "x":3.5, "y":1 }, | ||
257 | { "x":4.5, "y":1 }, | ||
258 | { "x":5.5, "y":1 }, | ||
259 | { "x":6.5, "y":1 }, | ||
260 | { "x":7.5, "y":1 }, | ||
261 | { "x":8.5, "y":1 }, | ||
262 | { "x":9.5, "y":1 }, | ||
263 | { "x":10.5, "y":1 }, | ||
264 | { "x":11.5, "y":1 }, | ||
265 | { "x":12.5, "y":1 }, | ||
266 | { "x":13.5, "y":1, "w":1.5 }, | ||
267 | { "x":15, "y":1 }, | ||
268 | |||
269 | { "x":0, "y":2, "w":1.75 }, | ||
270 | { "x":1.75, "y":2 }, | ||
271 | { "x":2.75, "y":2 }, | ||
272 | { "x":3.75, "y":2 }, | ||
273 | { "x":4.75, "y":2 }, | ||
274 | { "x":5.75, "y":2 }, | ||
275 | { "x":6.75, "y":2 }, | ||
276 | { "x":7.75, "y":2 }, | ||
277 | { "x":8.75, "y":2 }, | ||
278 | { "x":9.75, "y":2 }, | ||
279 | { "x":10.75, "y":2 }, | ||
280 | { "x":11.75, "y":2 }, | ||
281 | { "x":12.75, "y":2, "w":2.25 }, | ||
282 | { "x":15, "y":2 }, | ||
283 | |||
284 | { "x":0, "y":3, "w":2.25 }, | ||
285 | { "x":2.25, "y":3 }, | ||
286 | { "x":3.25, "y":3 }, | ||
287 | { "x":4.25, "y":3 }, | ||
288 | { "x":5.25, "y":3 }, | ||
289 | { "x":6.25, "y":3 }, | ||
290 | { "x":7.25, "y":3 }, | ||
291 | { "x":8.25, "y":3 }, | ||
292 | { "x":9.25, "y":3 }, | ||
293 | { "x":10.25, "y":3 }, | ||
294 | { "x":11.25, "y":3 }, | ||
295 | { "x":12.25, "y":3, "w":1.75 }, | ||
296 | { "x":14, "y":3 }, | ||
297 | { "x":15, "y":3 }, | ||
298 | |||
299 | { "x":0, "y":4, "w":1.25 }, | ||
300 | { "x":1.25, "y":4, "w":1.25 }, | ||
301 | { "x":2.5, "y":4, "w":1.25 }, | ||
302 | { "x":3.75, "y":4, "w":6.25 }, | ||
303 | { "x":10, "y":4, "w":1.5 }, | ||
304 | { "x":11.5, "y":4, "w":1.5 }, | ||
305 | { "x":13, "y":4 }, | ||
306 | { "x":14, "y":4 }, | ||
307 | { "x":15, "y":4 } | ||
308 | ] | ||
309 | } | ||
310 | } | ||
311 | } | ||
diff --git a/keyboards/buildakb/potato65/keymaps/default/keymap.c b/keyboards/buildakb/potato65/keymaps/default/keymap.c new file mode 100644 index 000000000..049462370 --- /dev/null +++ b/keyboards/buildakb/potato65/keymaps/default/keymap.c | |||
@@ -0,0 +1,38 @@ | |||
1 | /* Copyright 2021 Maelkk | ||
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 QMK_KEYBOARD_H | ||
17 | |||
18 | enum layer_names { | ||
19 | _BASE, | ||
20 | _FN | ||
21 | }; | ||
22 | |||
23 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||
24 | [_BASE] = LAYOUT_65_ansi_split_bs( | ||
25 | KC_ESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_GRV, KC_BSPC, KC_HOME, | ||
26 | KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSLS, KC_END, | ||
27 | KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT, KC_PGUP, | ||
28 | KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP, KC_PGDN, | ||
29 | KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, MO(_FN), KC_RCTL, KC_LEFT, KC_DOWN, KC_RGHT | ||
30 | ), | ||
31 | [_FN] = LAYOUT_65_ansi_split_bs( | ||
32 | RESET, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, _______, _______, _______, | ||
33 | _______, RGB_TOG, RGB_MOD, RGB_RMOD,_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
34 | _______, RGB_HUI, RGB_SAI, RGB_VAI, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
35 | _______, RGB_HUD, RGB_SAD, RGB_VAD, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
36 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ | ||
37 | ) | ||
38 | }; | ||
diff --git a/keyboards/buildakb/potato65/keymaps/default/readme.md b/keyboards/buildakb/potato65/keymaps/default/readme.md new file mode 100644 index 000000000..1f0d69e17 --- /dev/null +++ b/keyboards/buildakb/potato65/keymaps/default/readme.md | |||
@@ -0,0 +1,3 @@ | |||
1 | # Default Potato65 Layout | ||
2 | |||
3 | This is the default layout for the Potato65. Largely based on the Tada68 layout. | ||
diff --git a/keyboards/buildakb/potato65/keymaps/via/keymap.c b/keyboards/buildakb/potato65/keymaps/via/keymap.c new file mode 100644 index 000000000..fedbaca04 --- /dev/null +++ b/keyboards/buildakb/potato65/keymaps/via/keymap.c | |||
@@ -0,0 +1,54 @@ | |||
1 | /* Copyright 2021 Maelkk | ||
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 QMK_KEYBOARD_H | ||
17 | |||
18 | enum layer_names { | ||
19 | _BASE, | ||
20 | _FN1, | ||
21 | _FN2, | ||
22 | _FN3 | ||
23 | }; | ||
24 | |||
25 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||
26 | [_BASE] = LAYOUT_65_ansi_split_bs( | ||
27 | KC_ESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_GRV, KC_BSPC, KC_HOME, | ||
28 | KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSLS, KC_END, | ||
29 | KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT, KC_PGUP, | ||
30 | KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP, KC_PGDN, | ||
31 | KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, MO(_FN1), KC_RCTL, KC_LEFT, KC_DOWN, KC_RGHT | ||
32 | ), | ||
33 | [_FN1] = LAYOUT_65_ansi_split_bs( | ||
34 | RESET, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, _______, _______, _______, | ||
35 | _______, RGB_TOG, RGB_MOD, RGB_RMOD,_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
36 | _______, RGB_HUI, RGB_SAI, RGB_VAI, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
37 | _______, RGB_HUD, RGB_SAD, RGB_VAD, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
38 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ | ||
39 | ), | ||
40 | [_FN2] = LAYOUT_65_ansi_split_bs( | ||
41 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
42 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
43 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
44 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
45 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ | ||
46 | ), | ||
47 | [_FN3] = LAYOUT_65_ansi_split_bs( | ||
48 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
49 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
50 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
51 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
52 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ | ||
53 | ) | ||
54 | }; | ||
diff --git a/keyboards/buildakb/potato65/keymaps/via/readme.md b/keyboards/buildakb/potato65/keymaps/via/readme.md new file mode 100644 index 000000000..292046d72 --- /dev/null +++ b/keyboards/buildakb/potato65/keymaps/via/readme.md | |||
@@ -0,0 +1,3 @@ | |||
1 | # VIA Potato65 Layout | ||
2 | |||
3 | This is the VIA layout for the Potato65. Largely based on the Tada68 layout. | ||
diff --git a/keyboards/buildakb/potato65/keymaps/via/rules.mk b/keyboards/buildakb/potato65/keymaps/via/rules.mk new file mode 100644 index 000000000..1e5b99807 --- /dev/null +++ b/keyboards/buildakb/potato65/keymaps/via/rules.mk | |||
@@ -0,0 +1 @@ | |||
VIA_ENABLE = yes | |||
diff --git a/keyboards/buildakb/potato65/potato65.c b/keyboards/buildakb/potato65/potato65.c new file mode 100644 index 000000000..6070a7c11 --- /dev/null +++ b/keyboards/buildakb/potato65/potato65.c | |||
@@ -0,0 +1,17 @@ | |||
1 | /* Copyright 2021 Maelkk | ||
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 "potato65.h" | ||
diff --git a/keyboards/buildakb/potato65/potato65.h b/keyboards/buildakb/potato65/potato65.h new file mode 100644 index 000000000..c6ad67e4f --- /dev/null +++ b/keyboards/buildakb/potato65/potato65.h | |||
@@ -0,0 +1,75 @@ | |||
1 | /* Copyright 2021 Maelkk | ||
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_65_ansi_split_bs( \ | ||
22 | k000, k001, k002, k003, k004, k005, k006, k007, k008, k009, k010, k011, k012, k013, k014, k015, \ | ||
23 | k100, k101, k102, k103, k104, k105, k106, k107, k108, k109, k110, k111, k112, k113, k115, \ | ||
24 | k200, k201, k202, k203, k204, k205, k206, k207, k208, k209, k210, k211, k213, k215, \ | ||
25 | k300, k302, k303, k304, k305, k306, k307, k308, k309, k310, k311, k312, k313, k315, \ | ||
26 | k400, k401, k402, k406, k409, k410, k411, k412, k413, k415 \ | ||
27 | ) { \ | ||
28 | { k000, k001, k002, k003, k004, k005, k006, k007, k008, k009, k010, k011, k012, k013, k014, k015 }, \ | ||
29 | { k100, k101, k102, k103, k104, k105, k106, k107, k108, k109, k110, k111, k112, k113, KC_NO, k115 }, \ | ||
30 | { k200, k201, k202, k203, k204, k205, k206, k207, k208, k209, k210, k211, KC_NO, k213, KC_NO, k215 }, \ | ||
31 | { k300, KC_NO, k302, k303, k304, k305, k306, k307, k308, k309, k310, k311, k312, k313, KC_NO, k315 }, \ | ||
32 | { k400, k401, k402, KC_NO, KC_NO, KC_NO, k406, KC_NO, KC_NO, k409, k410, k411, k412, k413, KC_NO, k415 } \ | ||
33 | } | ||
34 | |||
35 | #define LAYOUT_65_ansi( \ | ||
36 | k000, k001, k002, k003, k004, k005, k006, k007, k008, k009, k010, k011, k012, k014, k015, \ | ||
37 | k100, k101, k102, k103, k104, k105, k106, k107, k108, k109, k110, k111, k112, k113, k115, \ | ||
38 | k200, k201, k202, k203, k204, k205, k206, k207, k208, k209, k210, k211, k213, k215, \ | ||
39 | k300, k302, k303, k304, k305, k306, k307, k308, k309, k310, k311, k312, k313, k315, \ | ||
40 | k400, k401, k402, k406, k409, k410, k411, k412, k413, k415 \ | ||
41 | ) { \ | ||
42 | { k000, k001, k002, k003, k004, k005, k006, k007, k008, k009, k010, k011, k012, KC_NO, k014, k015 }, \ | ||
43 | { k100, k101, k102, k103, k104, k105, k106, k107, k108, k109, k110, k111, k112, k113, KC_NO, k115 }, \ | ||
44 | { k200, k201, k202, k203, k204, k205, k206, k207, k208, k209, k210, k211, KC_NO, k213, KC_NO, k215 }, \ | ||
45 | { k300, KC_NO, k302, k303, k304, k305, k306, k307, k308, k309, k310, k311, k312, k313, KC_NO, k315 }, \ | ||
46 | { k400, k401, k402, KC_NO, KC_NO, KC_NO, k406, KC_NO, KC_NO, k409, k410, k411, k412, k413, KC_NO, k415 } \ | ||
47 | } | ||
48 | |||
49 | #define LAYOUT_65_ansi_split_bs_2_right_mods( \ | ||
50 | k000, k001, k002, k003, k004, k005, k006, k007, k008, k009, k010, k011, k012, k013, k014, k015, \ | ||
51 | k100, k101, k102, k103, k104, k105, k106, k107, k108, k109, k110, k111, k112, k113, k115, \ | ||
52 | k200, k201, k202, k203, k204, k205, k206, k207, k208, k209, k210, k211, k213, k215, \ | ||
53 | k300, k302, k303, k304, k305, k306, k307, k308, k309, k310, k311, k312, k313, k315, \ | ||
54 | k400, k401, k402, k406, k409, k411, k412, k413, k415 \ | ||
55 | ) { \ | ||
56 | { k000, k001, k002, k003, k004, k005, k006, k007, k008, k009, k010, k011, k012, k013, k014, k015 }, \ | ||
57 | { k100, k101, k102, k103, k104, k105, k106, k107, k108, k109, k110, k111, k112, k113, KC_NO, k115 }, \ | ||
58 | { k200, k201, k202, k203, k204, k205, k206, k207, k208, k209, k210, k211, KC_NO, k213, KC_NO, k215 }, \ | ||
59 | { k300, KC_NO, k302, k303, k304, k305, k306, k307, k308, k309, k310, k311, k312, k313, KC_NO, k315 }, \ | ||
60 | { k400, k401, k402, KC_NO, KC_NO, KC_NO, k406, KC_NO, KC_NO, k409, KC_NO, k411, k412, k413, KC_NO, k415 } \ | ||
61 | } | ||
62 | |||
63 | #define LAYOUT_65_ansi_2_right_mods( \ | ||
64 | k000, k001, k002, k003, k004, k005, k006, k007, k008, k009, k010, k011, k012, k014, k015, \ | ||
65 | k100, k101, k102, k103, k104, k105, k106, k107, k108, k109, k110, k111, k112, k113, k115, \ | ||
66 | k200, k201, k202, k203, k204, k205, k206, k207, k208, k209, k210, k211, k213, k215, \ | ||
67 | k300, k302, k303, k304, k305, k306, k307, k308, k309, k310, k311, k312, k313, k315, \ | ||
68 | k400, k401, k402, k406, k409, k411, k412, k413, k415 \ | ||
69 | ) { \ | ||
70 | { k000, k001, k002, k003, k004, k005, k006, k007, k008, k009, k010, k011, k012, KC_NO, k014, k015 }, \ | ||
71 | { k100, k101, k102, k103, k104, k105, k106, k107, k108, k109, k110, k111, k112, k113, KC_NO, k115 }, \ | ||
72 | { k200, k201, k202, k203, k204, k205, k206, k207, k208, k209, k210, k211, KC_NO, k213, KC_NO, k215 }, \ | ||
73 | { k300, KC_NO, k302, k303, k304, k305, k306, k307, k308, k309, k310, k311, k312, k313, KC_NO, k315 }, \ | ||
74 | { k400, k401, k402, KC_NO, KC_NO, KC_NO, k406, KC_NO, KC_NO, k409, KC_NO, k411, k412, k413, KC_NO, k415 } \ | ||
75 | } | ||
diff --git a/keyboards/buildakb/potato65/readme.md b/keyboards/buildakb/potato65/readme.md new file mode 100644 index 000000000..9163fcb67 --- /dev/null +++ b/keyboards/buildakb/potato65/readme.md | |||
@@ -0,0 +1,19 @@ | |||
1 | # Potato65 | ||
2 | |||
3 |  | ||
4 | |||
5 | A simple 65% pcb with underglow. Compatible with most TADA68 cases. | ||
6 | |||
7 | - Keyboard Maintainer: [Maelkk](https://github.com/Aeonstrife) | ||
8 | - Hardware Supported: Potato65 PCBs | ||
9 | - Hardware Availability: Private Group-Buy | ||
10 | |||
11 | Make example for this keyboard (after setting up your build environment): | ||
12 | |||
13 | make buildakb/potato65:default | ||
14 | |||
15 | Flashing example for this keyboard: | ||
16 | |||
17 | make buildakb/potato65:default:flash | ||
18 | |||
19 | See the [build environment setup](https://docs.qmk.fm/#/getting_started_build_tools) and the [make instructions](https://docs.qmk.fm/#/getting_started_make_guide) for more information. Brand new to QMK? Start with our [Complete Newbs Guide](https://docs.qmk.fm/#/newbs). | ||
diff --git a/keyboards/buildakb/potato65/rules.mk b/keyboards/buildakb/potato65/rules.mk new file mode 100644 index 000000000..0226978a4 --- /dev/null +++ b/keyboards/buildakb/potato65/rules.mk | |||
@@ -0,0 +1,20 @@ | |||
1 | # MCU name | ||
2 | MCU = atmega32u4 | ||
3 | |||
4 | # Bootloader selection | ||
5 | BOOTLOADER = atmel-dfu | ||
6 | |||
7 | # Build Options | ||
8 | # change yes to no to disable | ||
9 | # | ||
10 | BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite | ||
11 | MOUSEKEY_ENABLE = yes # Mouse keys | ||
12 | EXTRAKEY_ENABLE = yes # Audio control and System control | ||
13 | CONSOLE_ENABLE = no # Console for debug | ||
14 | COMMAND_ENABLE = no # Commands for debug and configuration | ||
15 | NKRO_ENABLE = no # Enable N-Key Rollover | ||
16 | BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality | ||
17 | AUDIO_ENABLE = no # Audio output | ||
18 | RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow | ||
19 | |||
20 | LAYOUTS = 65_ansi | ||
diff --git a/keyboards/buildakb/potato65hs/config.h b/keyboards/buildakb/potato65hs/config.h new file mode 100644 index 000000000..b3b2cfdcd --- /dev/null +++ b/keyboards/buildakb/potato65hs/config.h | |||
@@ -0,0 +1,63 @@ | |||
1 | /* | ||
2 | Copyright 2021 Maelkk | ||
3 | |||
4 | This program is free software: you can redistribute it and/or modify | ||
5 | it under the terms of the GNU General Public License as published by | ||
6 | the Free Software Foundation, either version 2 of the License, or | ||
7 | (at your option) any later version. | ||
8 | |||
9 | This program is distributed in the hope that it will be useful, | ||
10 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
12 | GNU General Public License for more details. | ||
13 | |||
14 | You should have received a copy of the GNU General Public License | ||
15 | along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
16 | */ | ||
17 | |||
18 | #pragma once | ||
19 | |||
20 | #include "config_common.h" | ||
21 | |||
22 | /* USB Device descriptor parameter */ | ||
23 | #define VENDOR_ID 0x4A56 | ||
24 | #define PRODUCT_ID 0x0002 | ||
25 | #define DEVICE_VER 0x0001 | ||
26 | #define MANUFACTURER Maelkk | ||
27 | #define PRODUCT Potato 65 Hotswap | ||
28 | |||
29 | /* key matrix size */ | ||
30 | #define MATRIX_ROWS 5 | ||
31 | #define MATRIX_COLS 15 | ||
32 | |||
33 | /* key matrix pins */ | ||
34 | #define MATRIX_ROW_PINS { F5, F4, F6, F0, D2 } | ||
35 | #define MATRIX_COL_PINS { D3, D4, D6, D7, B4, B5, B6, F1, B0, B1, B2, B3, B7, D0, D1 } | ||
36 | #define UNUSED_PINS | ||
37 | |||
38 | /* COL2ROW or ROW2COL */ | ||
39 | #define DIODE_DIRECTION COL2ROW | ||
40 | |||
41 | /* Set 0 if debouncing isn't needed */ | ||
42 | #define DEBOUNCE 5 | ||
43 | |||
44 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | ||
45 | #define LOCKING_SUPPORT_ENABLE | ||
46 | |||
47 | /* Locking resynchronize hack */ | ||
48 | #define LOCKING_RESYNC_ENABLE | ||
49 | |||
50 | /* disable these deprecated features by default */ | ||
51 | #define NO_ACTION_MACRO | ||
52 | #define NO_ACTION_FUNCTION | ||
53 | |||
54 | #define RGB_DI_PIN D5 | ||
55 | #ifdef RGB_DI_PIN | ||
56 | # define RGBLIGHT_ANIMATIONS | ||
57 | # define RGBLED_NUM 16 | ||
58 | # define RGBLIGHT_HUE_STEP 8 | ||
59 | # define RGBLIGHT_SAT_STEP 8 | ||
60 | # define RGBLIGHT_VAL_STEP 8 | ||
61 | # define RGBLIGHT_LIMIT_VAL 240 | ||
62 | # define RGBLIGHT_SLEEP | ||
63 | #endif | ||
diff --git a/keyboards/buildakb/potato65hs/info.json b/keyboards/buildakb/potato65hs/info.json new file mode 100644 index 000000000..52ea416fa --- /dev/null +++ b/keyboards/buildakb/potato65hs/info.json | |||
@@ -0,0 +1,82 @@ | |||
1 | { | ||
2 | "keyboard_name": "Potato 65 Hotswap", | ||
3 | "url": "https://github.com/Aeonstrife/potato65hotswap", | ||
4 | "maintainer": "Maelkk", | ||
5 | "layouts": { | ||
6 | "LAYOUT_65_ansi_blocker": { | ||
7 | "layout": [ | ||
8 | { "x":0, "y":0 }, | ||
9 | { "x":1, "y":0 }, | ||
10 | { "x":2, "y":0 }, | ||
11 | { "x":3, "y":0 }, | ||
12 | { "x":4, "y":0 }, | ||
13 | { "x":5, "y":0 }, | ||
14 | { "x":6, "y":0 }, | ||
15 | { "x":7, "y":0 }, | ||
16 | { "x":8, "y":0 }, | ||
17 | { "x":9, "y":0 }, | ||
18 | { "x":10, "y":0 }, | ||
19 | { "x":11, "y":0 }, | ||
20 | { "x":12, "y":0 }, | ||
21 | { "x":13, "y":0, "w": 2 }, | ||
22 | { "x":15, "y":0 }, | ||
23 | |||
24 | { "x":0, "y":1, "w":1.5 }, | ||
25 | { "x":1.5, "y":1 }, | ||
26 | { "x":2.5, "y":1 }, | ||
27 | { "x":3.5, "y":1 }, | ||
28 | { "x":4.5, "y":1 }, | ||
29 | { "x":5.5, "y":1 }, | ||
30 | { "x":6.5, "y":1 }, | ||
31 | { "x":7.5, "y":1 }, | ||
32 | { "x":8.5, "y":1 }, | ||
33 | { "x":9.5, "y":1 }, | ||
34 | { "x":10.5, "y":1 }, | ||
35 | { "x":11.5, "y":1 }, | ||
36 | { "x":12.5, "y":1 }, | ||
37 | { "x":13.5, "y":1, "w":1.5 }, | ||
38 | { "x":15, "y":1 }, | ||
39 | |||
40 | { "x":0, "y":2, "w":1.75 }, | ||
41 | { "x":1.75, "y":2 }, | ||
42 | { "x":2.75, "y":2 }, | ||
43 | { "x":3.75, "y":2 }, | ||
44 | { "x":4.75, "y":2 }, | ||
45 | { "x":5.75, "y":2 }, | ||
46 | { "x":6.75, "y":2 }, | ||
47 | { "x":7.75, "y":2 }, | ||
48 | { "x":8.75, "y":2 }, | ||
49 | { "x":9.75, "y":2 }, | ||
50 | { "x":10.75, "y":2 }, | ||
51 | { "x":11.75, "y":2 }, | ||
52 | { "x":12.75, "y":2, "w":2.25 }, | ||
53 | { "x":15, "y":2 }, | ||
54 | |||
55 | { "x":0, "y":3, "w":2.25 }, | ||
56 | { "x":2.25, "y":3 }, | ||
57 | { "x":3.25, "y":3 }, | ||
58 | { "x":4.25, "y":3 }, | ||
59 | { "x":5.25, "y":3 }, | ||
60 | { "x":6.25, "y":3 }, | ||
61 | { "x":7.25, "y":3 }, | ||
62 | { "x":8.25, "y":3 }, | ||
63 | { "x":9.25, "y":3 }, | ||
64 | { "x":10.25, "y":3 }, | ||
65 | { "x":11.25, "y":3 }, | ||
66 | { "x":12.25, "y":3, "w":1.75 }, | ||
67 | { "x":14, "y":3 }, | ||
68 | { "x":15, "y":3 }, | ||
69 | |||
70 | { "x":0, "y":4, "w":1.25 }, | ||
71 | { "x":1.25, "y":4, "w":1.25 }, | ||
72 | { "x":2.5, "y":4, "w":1.25 }, | ||
73 | { "x":3.75, "y":4, "w":6.25 }, | ||
74 | { "x":10, "y":4, "w":1.25 }, | ||
75 | { "x":11.25, "y":4, "w":1.25 }, | ||
76 | { "x":13, "y":4 }, | ||
77 | { "x":14, "y":4 }, | ||
78 | { "x":15, "y":4 } | ||
79 | ] | ||
80 | } | ||
81 | } | ||
82 | } | ||
diff --git a/keyboards/buildakb/potato65hs/keymaps/default/keymap.c b/keyboards/buildakb/potato65hs/keymaps/default/keymap.c new file mode 100644 index 000000000..f7a5ff424 --- /dev/null +++ b/keyboards/buildakb/potato65hs/keymaps/default/keymap.c | |||
@@ -0,0 +1,39 @@ | |||
1 | /* Copyright 2021 Maelkk | ||
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 QMK_KEYBOARD_H | ||
18 | |||
19 | enum layer_names { | ||
20 | _BASE, | ||
21 | _FN | ||
22 | }; | ||
23 | |||
24 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||
25 | [_BASE] = LAYOUT_65_ansi_blocker( | ||
26 | KC_ESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSPC, KC_HOME, | ||
27 | KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSLS, KC_PGUP, | ||
28 | KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT, KC_PGDN, | ||
29 | KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP, KC_END, | ||
30 | KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, MO(1), KC_LEFT, KC_DOWN, KC_RGHT | ||
31 | ), | ||
32 | [_FN] = LAYOUT_65_ansi_blocker( | ||
33 | KC_TILD, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_DEL, KC_TRNS, | ||
34 | KC_TRNS, RGB_TOG, RGB_MOD, RGB_HUI, RGB_HUD, RGB_SAI, RGB_SAD, RGB_VAI, RGB_VAD, KC_TRNS, KC_PSCR, KC_SLCK, KC_PAUS, RESET, KC_TRNS, | ||
35 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, | ||
36 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_VOLU, KC_MUTE, | ||
37 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_MPRV, KC_VOLD, KC_MNXT | ||
38 | ) | ||
39 | }; \ No newline at end of file | ||
diff --git a/keyboards/buildakb/potato65hs/keymaps/default/readme.md b/keyboards/buildakb/potato65hs/keymaps/default/readme.md new file mode 100644 index 000000000..bb34368c9 --- /dev/null +++ b/keyboards/buildakb/potato65hs/keymaps/default/readme.md | |||
@@ -0,0 +1,3 @@ | |||
1 | # Default Potato65 Hotswap Layout | ||
2 | |||
3 | This is the default layout for the Potato65 Hotswap keyboard. Largely based on the KBD67 layout. | ||
diff --git a/keyboards/buildakb/potato65hs/keymaps/via/keymap.c b/keyboards/buildakb/potato65hs/keymaps/via/keymap.c new file mode 100644 index 000000000..269fca737 --- /dev/null +++ b/keyboards/buildakb/potato65hs/keymaps/via/keymap.c | |||
@@ -0,0 +1,54 @@ | |||
1 | /* Copyright 2021 Maelkk | ||
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 QMK_KEYBOARD_H | ||
17 | |||
18 | enum layer_names { | ||
19 | _BASE, | ||
20 | _FN1, | ||
21 | _FN2, | ||
22 | _FN3 | ||
23 | }; | ||
24 | |||
25 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||
26 | [_BASE] = LAYOUT_65_ansi_blocker( | ||
27 | KC_ESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSPC, KC_HOME, | ||
28 | KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSLS, KC_PGUP, | ||
29 | KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT, KC_PGDN, | ||
30 | KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP, KC_END, | ||
31 | KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, MO(1), KC_LEFT, KC_DOWN, KC_RGHT | ||
32 | ), | ||
33 | [_FN1] = LAYOUT_65_ansi_blocker( | ||
34 | KC_TILD, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_DEL, KC_TRNS, | ||
35 | KC_TRNS, RGB_TOG, RGB_MOD, RGB_HUI, RGB_HUD, RGB_SAI, RGB_SAD, RGB_VAI, RGB_VAD, KC_TRNS, KC_PSCR, KC_SLCK, KC_PAUS, RESET, KC_TRNS, | ||
36 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, | ||
37 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_VOLU, KC_MUTE, | ||
38 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_MPRV, KC_VOLD, KC_MNXT | ||
39 | ), | ||
40 | [_FN2] = LAYOUT_65_ansi_blocker( | ||
41 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
42 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
43 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
44 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
45 | _______, _______, _______, _______, _______, _______, _______, _______, _______ | ||
46 | ), | ||
47 | [_FN3] = LAYOUT_65_ansi_blocker( | ||
48 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
49 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
50 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
51 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
52 | _______, _______, _______, _______, _______, _______, _______, _______, _______ | ||
53 | ), | ||
54 | }; \ No newline at end of file | ||
diff --git a/keyboards/buildakb/potato65hs/keymaps/via/readme.md b/keyboards/buildakb/potato65hs/keymaps/via/readme.md new file mode 100644 index 000000000..4e3ddd122 --- /dev/null +++ b/keyboards/buildakb/potato65hs/keymaps/via/readme.md | |||
@@ -0,0 +1,3 @@ | |||
1 | # Default Potato65 Layout | ||
2 | |||
3 | This is the VIA layout for the Potato65 Hotswap Keyboard. Largely based on the KBD67 layout. | ||
diff --git a/keyboards/buildakb/potato65hs/keymaps/via/rules.mk b/keyboards/buildakb/potato65hs/keymaps/via/rules.mk new file mode 100644 index 000000000..1e5b99807 --- /dev/null +++ b/keyboards/buildakb/potato65hs/keymaps/via/rules.mk | |||
@@ -0,0 +1 @@ | |||
VIA_ENABLE = yes | |||
diff --git a/keyboards/buildakb/potato65hs/potato65hs.c b/keyboards/buildakb/potato65hs/potato65hs.c new file mode 100644 index 000000000..2b5ca899b --- /dev/null +++ b/keyboards/buildakb/potato65hs/potato65hs.c | |||
@@ -0,0 +1,17 @@ | |||
1 | /* Copyright 2021 Maelkk | ||
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 "potato65hs.h" | ||
diff --git a/keyboards/buildakb/potato65hs/potato65hs.h b/keyboards/buildakb/potato65hs/potato65hs.h new file mode 100644 index 000000000..5f7b9cbf1 --- /dev/null +++ b/keyboards/buildakb/potato65hs/potato65hs.h | |||
@@ -0,0 +1,33 @@ | |||
1 | /* Copyright 2021 Maelkk | ||
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_65_ansi_blocker( \ | ||
22 | K000, K001, K002, K003, K004, K005, K006, K007, K008, K009, K010, K011, K012, K013, K014, \ | ||
23 | K100, K101, K102, K103, K104, K105, K106, K107, K108, K109, K110, K111, K112, K113, K114, \ | ||
24 | K200, K201, K202, K203, K204, K205, K206, K207, K208, K209, K210, K211, K213, K214, \ | ||
25 | K300, K301, K302, K303, K304, K305, K306, K307, K308, K309, K310, K311, K313, K314, \ | ||
26 | K400, K401, K402, K403, K409, K410, K411, K413, K414 \ | ||
27 | ) { \ | ||
28 | { K000, K001, K002, K003, K004, K005, K006, K007, K008, K009, K010, K011, K012, K013, K014 }, \ | ||
29 | { K100, K101, K102, K103, K104, K105, K106, K107, K108, K109, K110, K111, K112, K113, K114 }, \ | ||
30 | { K200, K201, K202, K203, K204, K205, K206, K207, K208, K209, K210, K211, KC_NO, K213, K214 }, \ | ||
31 | { K300, K301, K302, K303, K304, K305, K306, K307, K308, K309, K310, K311, KC_NO, K313, K314 }, \ | ||
32 | { K400, K401, K402, K403, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, K409, K410, KC_NO, K411, K413, K414 } \ | ||
33 | } | ||
diff --git a/keyboards/buildakb/potato65hs/readme.md b/keyboards/buildakb/potato65hs/readme.md new file mode 100644 index 000000000..bf8abea83 --- /dev/null +++ b/keyboards/buildakb/potato65hs/readme.md | |||
@@ -0,0 +1,24 @@ | |||
1 | # Potato65 Hotswap Keyboard | ||
2 | |||
3 |  | ||
4 | |||
5 | A hot-swappable gasket mount stacked acrylic 65% keyboard | ||
6 | |||
7 | - Keyboard Maintainer: [Maelkk](https://github.com/Aeonstrife) | ||
8 | - Hardware Supported: Potato65 Keyboard | ||
9 | - Hardware Availability: Private Group-Buy | ||
10 | |||
11 | Make example for this keyboard (after setting up your build environment): | ||
12 | |||
13 | make buildakb/potato65hs:default | ||
14 | |||
15 | Flashing example for this keyboard: | ||
16 | |||
17 | make buildakb/potato65hs:default:flash | ||
18 | |||
19 | To reset into bootloader mode: | ||
20 | |||
21 | While plugged in, press the RESET switch located on the back of the pcb. | ||
22 | The keyboard should now be in bootloader mode. | ||
23 | |||
24 | See the [build environment setup](https://docs.qmk.fm/#/getting_started_build_tools) and the [make instructions](https://docs.qmk.fm/#/getting_started_make_guide) for more information. Brand new to QMK? Start with our [Complete Newbs Guide](https://docs.qmk.fm/#/newbs). \ No newline at end of file | ||
diff --git a/keyboards/buildakb/potato65hs/rules.mk b/keyboards/buildakb/potato65hs/rules.mk new file mode 100644 index 000000000..e83812d78 --- /dev/null +++ b/keyboards/buildakb/potato65hs/rules.mk | |||
@@ -0,0 +1,20 @@ | |||
1 | # MCU name | ||
2 | MCU = atmega32u4 | ||
3 | |||
4 | # Bootloader selection | ||
5 | BOOTLOADER = atmel-dfu | ||
6 | |||
7 | # Build Options | ||
8 | # change yes to no to disable | ||
9 | # | ||
10 | BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite | ||
11 | MOUSEKEY_ENABLE = yes # Mouse keys | ||
12 | EXTRAKEY_ENABLE = yes # Audio control and System control | ||
13 | CONSOLE_ENABLE = no # Console for debug | ||
14 | COMMAND_ENABLE = no # Commands for debug and configuration | ||
15 | NKRO_ENABLE = yes # Enable N-Key Rollover | ||
16 | BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality | ||
17 | AUDIO_ENABLE = no # Audio output | ||
18 | RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow | ||
19 | |||
20 | LAYOUTS = 65_ansi_blocker | ||
diff --git a/keyboards/buildakb/potato65s/config.h b/keyboards/buildakb/potato65s/config.h new file mode 100644 index 000000000..518332785 --- /dev/null +++ b/keyboards/buildakb/potato65s/config.h | |||
@@ -0,0 +1,72 @@ | |||
1 | /* | ||
2 | Copyright 2021 Maelkk | ||
3 | |||
4 | This program is free software: you can redistribute it and/or modify | ||
5 | it under the terms of the GNU General Public License as published by | ||
6 | the Free Software Foundation, either version 2 of the License, or | ||
7 | (at your option) any later version. | ||
8 | |||
9 | This program is distributed in the hope that it will be useful, | ||
10 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
12 | GNU General Public License for more details. | ||
13 | |||
14 | You should have received a copy of the GNU General Public License | ||
15 | along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
16 | */ | ||
17 | |||
18 | #pragma once | ||
19 | |||
20 | #include "config_common.h" | ||
21 | |||
22 | /* USB Device descriptor parameter */ | ||
23 | #define VENDOR_ID 0x4A56 | ||
24 | #define PRODUCT_ID 0x0003 | ||
25 | #define DEVICE_VER 0x0001 | ||
26 | #define MANUFACTURER Maelkk | ||
27 | #define PRODUCT Potato 65 Solderable | ||
28 | |||
29 | /* key matrix size */ | ||
30 | #define MATRIX_ROWS 5 | ||
31 | #define MATRIX_COLS 15 | ||
32 | |||
33 | /* key matrix pins */ | ||
34 | #define MATRIX_ROW_PINS { F5, F4, F6, F0, D2 } | ||
35 | #define MATRIX_COL_PINS { D3, D4, D6, D7, B4, B5, B6, F1, B0, B1, B2, B3, B7, D0, D1 } | ||
36 | #define UNUSED_PINS | ||
37 | |||
38 | /* COL2ROW or ROW2COL */ | ||
39 | #define DIODE_DIRECTION COL2ROW | ||
40 | |||
41 | /* Set 0 if debouncing isn't needed */ | ||
42 | #define DEBOUNCE 5 | ||
43 | |||
44 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | ||
45 | #define LOCKING_SUPPORT_ENABLE | ||
46 | |||
47 | /* Locking resynchronize hack */ | ||
48 | #define LOCKING_RESYNC_ENABLE | ||
49 | |||
50 | /* disable these deprecated features by default */ | ||
51 | #define NO_ACTION_MACRO | ||
52 | #define NO_ACTION_FUNCTION | ||
53 | |||
54 | #define RGB_DI_PIN D5 | ||
55 | #ifdef RGB_DI_PIN | ||
56 | # define RGBLIGHT_EFFECT_BREATHING | ||
57 | # define RGBLIGHT_EFFECT_RAINBOW_MOOD | ||
58 | # define RGBLIGHT_EFFECT_RAINBOW_SWIRL | ||
59 | # define RGBLIGHT_EFFECT_SNAKE | ||
60 | # define RGBLIGHT_EFFECT_KNIGHT | ||
61 | # define RGBLIGHT_EFFECT_CHRISTMAS | ||
62 | # define RGBLIGHT_EFFECT_STATIC_GRADIENT | ||
63 | # define RGBLIGHT_EFFECT_RGB_TEST | ||
64 | # define RGBLIGHT_EFFECT_ALTERNATING | ||
65 | # define RGBLIGHT_EFFECT_TWINKLE | ||
66 | # define RGBLED_NUM 16 | ||
67 | # define RGBLIGHT_HUE_STEP 8 | ||
68 | # define RGBLIGHT_SAT_STEP 8 | ||
69 | # define RGBLIGHT_VAL_STEP 8 | ||
70 | # define RGBLIGHT_LIMIT_VAL 240 | ||
71 | # define RGBLIGHT_SLEEP | ||
72 | #endif | ||
diff --git a/keyboards/buildakb/potato65s/info.json b/keyboards/buildakb/potato65s/info.json new file mode 100644 index 000000000..257ed6022 --- /dev/null +++ b/keyboards/buildakb/potato65s/info.json | |||
@@ -0,0 +1,83 @@ | |||
1 | { | ||
2 | "keyboard_name": "Potato 65 Solderable", | ||
3 | "url": "https://github.com/Aeonstrife/potato65solderable", | ||
4 | "maintainer": "Maelkk", | ||
5 | "layouts": { | ||
6 | "LAYOUT_all": { | ||
7 | "layout": [ | ||
8 | { "x":0, "y":0 }, | ||
9 | { "x":1, "y":0 }, | ||
10 | { "x":2, "y":0 }, | ||
11 | { "x":3, "y":0 }, | ||
12 | { "x":4, "y":0 }, | ||
13 | { "x":5, "y":0 }, | ||
14 | { "x":6, "y":0 }, | ||
15 | { "x":7, "y":0 }, | ||
16 | { "x":8, "y":0 }, | ||
17 | { "x":9, "y":0 }, | ||
18 | { "x":10, "y":0 }, | ||
19 | { "x":11, "y":0 }, | ||
20 | { "x":12, "y":0 }, | ||
21 | { "x":13, "y":0 }, | ||
22 | { "x":14, "y":0 }, | ||
23 | { "x":15, "y":0 }, | ||
24 | |||
25 | { "x":0, "y":1, "w":1.5 }, | ||
26 | { "x":1.5, "y":1 }, | ||
27 | { "x":2.5, "y":1 }, | ||
28 | { "x":3.5, "y":1 }, | ||
29 | { "x":4.5, "y":1 }, | ||
30 | { "x":5.5, "y":1 }, | ||
31 | { "x":6.5, "y":1 }, | ||
32 | { "x":7.5, "y":1 }, | ||
33 | { "x":8.5, "y":1 }, | ||
34 | { "x":9.5, "y":1 }, | ||
35 | { "x":10.5, "y":1 }, | ||
36 | { "x":11.5, "y":1 }, | ||
37 | { "x":12.5, "y":1 }, | ||
38 | { "x":13.5, "y":1, "w":1.5 }, | ||
39 | { "x":15, "y":1 }, | ||
40 | |||
41 | { "x":0, "y":2, "w":1.75 }, | ||
42 | { "x":1.75, "y":2 }, | ||
43 | { "x":2.75, "y":2 }, | ||
44 | { "x":3.75, "y":2 }, | ||
45 | { "x":4.75, "y":2 }, | ||
46 | { "x":5.75, "y":2 }, | ||
47 | { "x":6.75, "y":2 }, | ||
48 | { "x":7.75, "y":2 }, | ||
49 | { "x":8.75, "y":2 }, | ||
50 | { "x":9.75, "y":2 }, | ||
51 | { "x":10.75, "y":2 }, | ||
52 | { "x":11.75, "y":2 }, | ||
53 | { "x":12.75, "y":2, "w":2.25 }, | ||
54 | { "x":15, "y":2 }, | ||
55 | |||
56 | { "x":0, "y":3, "w":2.25 }, | ||
57 | { "x":2.25, "y":3 }, | ||
58 | { "x":3.25, "y":3 }, | ||
59 | { "x":4.25, "y":3 }, | ||
60 | { "x":5.25, "y":3 }, | ||
61 | { "x":6.25, "y":3 }, | ||
62 | { "x":7.25, "y":3 }, | ||
63 | { "x":8.25, "y":3 }, | ||
64 | { "x":9.25, "y":3 }, | ||
65 | { "x":10.25, "y":3 }, | ||
66 | { "x":11.25, "y":3 }, | ||
67 | { "x":12.25, "y":3, "w":1.75 }, | ||
68 | { "x":14, "y":3 }, | ||
69 | { "x":15, "y":3 }, | ||
70 | |||
71 | { "x":0, "y":4, "w":1.25 }, | ||
72 | { "x":1.25, "y":4, "w":1.25 }, | ||
73 | { "x":2.5, "y":4, "w":1.25 }, | ||
74 | { "x":3.75, "y":4, "w":6.25 }, | ||
75 | { "x":10, "y":4, "w":1.25 }, | ||
76 | { "x":11.25, "y":4, "w":1.25 }, | ||
77 | { "x":13, "y":4 }, | ||
78 | { "x":14, "y":4 }, | ||
79 | { "x":15, "y":4 } | ||
80 | ] | ||
81 | } | ||
82 | } | ||
83 | } | ||
diff --git a/keyboards/buildakb/potato65s/keymaps/default/keymap.c b/keyboards/buildakb/potato65s/keymaps/default/keymap.c new file mode 100644 index 000000000..9f6eb0890 --- /dev/null +++ b/keyboards/buildakb/potato65s/keymaps/default/keymap.c | |||
@@ -0,0 +1,39 @@ | |||
1 | /* Copyright 2021 Maelkk | ||
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 QMK_KEYBOARD_H | ||
18 | |||
19 | enum layer_names { | ||
20 | _BASE, | ||
21 | _FN | ||
22 | }; | ||
23 | |||
24 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||
25 | [_BASE] = LAYOUT_all( | ||
26 | KC_ESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSPC, KC_DEL, KC_HOME, | ||
27 | KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSLS, KC_PGUP, | ||
28 | MO(_FN), KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT, KC_PGDN, | ||
29 | KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP, KC_END, | ||
30 | KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, KC_RCTL, KC_LEFT, KC_DOWN, KC_RGHT | ||
31 | ), | ||
32 | [_FN] = LAYOUT_all( | ||
33 | KC_TILD, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_TRNS, KC_TRNS, KC_TRNS, | ||
34 | KC_TRNS, RGB_TOG, RGB_MOD, RGB_HUI, RGB_HUD, RGB_SAI, RGB_SAD, RGB_VAI, RGB_VAD, KC_TRNS, KC_PSCR, KC_SLCK, KC_PAUS, RESET, KC_TRNS, | ||
35 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, | ||
36 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_VOLU, KC_MUTE, | ||
37 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_MPRV, KC_VOLD, KC_MNXT | ||
38 | ) | ||
39 | }; | ||
diff --git a/keyboards/buildakb/potato65s/keymaps/default/readme.md b/keyboards/buildakb/potato65s/keymaps/default/readme.md new file mode 100644 index 000000000..bb34368c9 --- /dev/null +++ b/keyboards/buildakb/potato65s/keymaps/default/readme.md | |||
@@ -0,0 +1,3 @@ | |||
1 | # Default Potato65 Hotswap Layout | ||
2 | |||
3 | This is the default layout for the Potato65 Hotswap keyboard. Largely based on the KBD67 layout. | ||
diff --git a/keyboards/buildakb/potato65s/keymaps/via/keymap.c b/keyboards/buildakb/potato65s/keymaps/via/keymap.c new file mode 100644 index 000000000..ad49cf5a4 --- /dev/null +++ b/keyboards/buildakb/potato65s/keymaps/via/keymap.c | |||
@@ -0,0 +1,54 @@ | |||
1 | /* Copyright 2021 Maelkk | ||
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 QMK_KEYBOARD_H | ||
17 | |||
18 | enum layer_names { | ||
19 | _BASE, | ||
20 | _FN1, | ||
21 | _FN2, | ||
22 | _FN3 | ||
23 | }; | ||
24 | |||
25 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||
26 | [_BASE] = LAYOUT_all( | ||
27 | KC_ESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSPC, KC_DEL, KC_HOME, | ||
28 | KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSLS, KC_PGUP, | ||
29 | MO(1), KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT, KC_PGDN, | ||
30 | KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP, KC_END, | ||
31 | KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, KC_RCTL, KC_LEFT, KC_DOWN, KC_RGHT | ||
32 | ), | ||
33 | [_FN1] = LAYOUT_all( | ||
34 | KC_TILD, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_TRNS, KC_TRNS, KC_TRNS, | ||
35 | KC_TRNS, RGB_TOG, RGB_MOD, RGB_HUI, RGB_HUD, RGB_SAI, RGB_SAD, RGB_VAI, RGB_VAD, KC_TRNS, KC_PSCR, KC_SLCK, KC_PAUS, RESET, KC_TRNS, | ||
36 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, | ||
37 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_VOLU, KC_MUTE, | ||
38 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_MPRV, KC_VOLD, KC_MNXT | ||
39 | ), | ||
40 | [_FN2] = LAYOUT_all( | ||
41 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
42 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
43 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
44 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
45 | _______, _______, _______, _______, _______, _______, _______, _______, _______ | ||
46 | ), | ||
47 | [_FN3] = LAYOUT_all( | ||
48 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
49 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
50 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
51 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
52 | _______, _______, _______, _______, _______, _______, _______, _______, _______ | ||
53 | ), | ||
54 | }; \ No newline at end of file | ||
diff --git a/keyboards/buildakb/potato65s/keymaps/via/readme.md b/keyboards/buildakb/potato65s/keymaps/via/readme.md new file mode 100644 index 000000000..4e3ddd122 --- /dev/null +++ b/keyboards/buildakb/potato65s/keymaps/via/readme.md | |||
@@ -0,0 +1,3 @@ | |||
1 | # Default Potato65 Layout | ||
2 | |||
3 | This is the VIA layout for the Potato65 Hotswap Keyboard. Largely based on the KBD67 layout. | ||
diff --git a/keyboards/buildakb/potato65s/keymaps/via/rules.mk b/keyboards/buildakb/potato65s/keymaps/via/rules.mk new file mode 100644 index 000000000..1e5b99807 --- /dev/null +++ b/keyboards/buildakb/potato65s/keymaps/via/rules.mk | |||
@@ -0,0 +1 @@ | |||
VIA_ENABLE = yes | |||
diff --git a/keyboards/buildakb/potato65s/potato65s.c b/keyboards/buildakb/potato65s/potato65s.c new file mode 100644 index 000000000..0d8656412 --- /dev/null +++ b/keyboards/buildakb/potato65s/potato65s.c | |||
@@ -0,0 +1,17 @@ | |||
1 | /* Copyright 2021 Maelkk | ||
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 "potato65s.h" | ||
diff --git a/keyboards/buildakb/potato65s/potato65s.h b/keyboards/buildakb/potato65s/potato65s.h new file mode 100644 index 000000000..739a01af2 --- /dev/null +++ b/keyboards/buildakb/potato65s/potato65s.h | |||
@@ -0,0 +1,33 @@ | |||
1 | /* Copyright 2021 Maelkk | ||
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_all( \ | ||
22 | K000, K001, K002, K003, K004, K005, K006, K007, K008, K009, K010, K011, K012, K013, K212, K014, \ | ||
23 | K100, K101, K102, K103, K104, K105, K106, K107, K108, K109, K110, K111, K112, K113, K114, \ | ||
24 | K200, K201, K202, K203, K204, K205, K206, K207, K208, K209, K210, K211, K213, K214, \ | ||
25 | K300, K301, K302, K303, K304, K305, K306, K307, K308, K309, K310, K312, K313, K314, \ | ||
26 | K400, K401, K402, K403, K409, K410, K412, K413, K414 \ | ||
27 | ) { \ | ||
28 | { K000, K001, K002, K003, K004, K005, K006, K007, K008, K009, K010, K011, K012, K013, K014 }, \ | ||
29 | { K100, K101, K102, K103, K104, K105, K106, K107, K108, K109, K110, K111, K112, K113, K114 }, \ | ||
30 | { K200, K201, K202, K203, K204, K205, K206, K207, K208, K209, K210, K211, K212, K213, K214 }, \ | ||
31 | { K300, K301, K302, K303, K304, K305, K306, K307, K308, K309, K310, KC_NO, K312, K313, K314 }, \ | ||
32 | { K400, K401, K402, K403, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, K409, K410, KC_NO, K412, K413, K414 } \ | ||
33 | } | ||
diff --git a/keyboards/buildakb/potato65s/readme.md b/keyboards/buildakb/potato65s/readme.md new file mode 100644 index 000000000..f24b97ca6 --- /dev/null +++ b/keyboards/buildakb/potato65s/readme.md | |||
@@ -0,0 +1,24 @@ | |||
1 | # Potato65 Solderable Keyboard | ||
2 | |||
3 |  | ||
4 | |||
5 | A solderable gasket mount stacked acrylic 65% keyboard | ||
6 | |||
7 | - Keyboard Maintainer: [Maelkk](https://github.com/Aeonstrife) | ||
8 | - Hardware Supported: Potato65 Keyboard | ||
9 | - Hardware Availability: Private Group-Buy | ||
10 | |||
11 | Make example for this keyboard (after setting up your build environment): | ||
12 | |||
13 | make buildakb/potato65s:default | ||
14 | |||
15 | Flashing example for this keyboard: | ||
16 | |||
17 | make buildakb/potato65s:default:flash | ||
18 | |||
19 | To reset into bootloader mode: | ||
20 | |||
21 | While plugged in, press the RESET switch located on the back of the pcb. | ||
22 | The keyboard should now be in bootloader mode. | ||
23 | |||
24 | See the [build environment setup](https://docs.qmk.fm/#/getting_started_build_tools) and the [make instructions](https://docs.qmk.fm/#/getting_started_make_guide) for more information. Brand new to QMK? Start with our [Complete Newbs Guide](https://docs.qmk.fm/#/newbs). \ No newline at end of file | ||
diff --git a/keyboards/buildakb/potato65s/rules.mk b/keyboards/buildakb/potato65s/rules.mk new file mode 100644 index 000000000..10f8503ec --- /dev/null +++ b/keyboards/buildakb/potato65s/rules.mk | |||
@@ -0,0 +1,18 @@ | |||
1 | # MCU name | ||
2 | MCU = atmega32u4 | ||
3 | |||
4 | # Bootloader selection | ||
5 | BOOTLOADER = atmel-dfu | ||
6 | |||
7 | # Build Options | ||
8 | # change yes to no to disable | ||
9 | # | ||
10 | BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite | ||
11 | MOUSEKEY_ENABLE = yes # Mouse keys | ||
12 | EXTRAKEY_ENABLE = yes # Audio control and System control | ||
13 | CONSOLE_ENABLE = no # Console for debug | ||
14 | COMMAND_ENABLE = no # Commands for debug and configuration | ||
15 | NKRO_ENABLE = yes # Enable N-Key Rollover | ||
16 | BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality | ||
17 | AUDIO_ENABLE = no # Audio output | ||
18 | RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow | ||