diff options
-rw-r--r-- | keyboards/mechbrewery/mb65s/config.h | 72 | ||||
-rw-r--r-- | keyboards/mechbrewery/mb65s/info.json | 309 | ||||
-rw-r--r-- | keyboards/mechbrewery/mb65s/keymaps/default/keymap.c | 60 | ||||
-rw-r--r-- | keyboards/mechbrewery/mb65s/keymaps/default/readme.md | 1 | ||||
-rw-r--r-- | keyboards/mechbrewery/mb65s/keymaps/iso/keymap.c | 66 | ||||
-rw-r--r-- | keyboards/mechbrewery/mb65s/keymaps/iso/readme.md | 33 | ||||
-rw-r--r-- | keyboards/mechbrewery/mb65s/keymaps/split_bs/keymap.c | 61 | ||||
-rw-r--r-- | keyboards/mechbrewery/mb65s/keymaps/split_bs/readme.md | 1 | ||||
-rw-r--r-- | keyboards/mechbrewery/mb65s/keymaps/split_bs/rules.mk | 1 | ||||
-rw-r--r-- | keyboards/mechbrewery/mb65s/mb65s.c | 17 | ||||
-rw-r--r-- | keyboards/mechbrewery/mb65s/mb65s.h | 74 | ||||
-rw-r--r-- | keyboards/mechbrewery/mb65s/readme.md | 17 | ||||
-rw-r--r-- | keyboards/mechbrewery/mb65s/rules.mk | 21 |
13 files changed, 733 insertions, 0 deletions
diff --git a/keyboards/mechbrewery/mb65s/config.h b/keyboards/mechbrewery/mb65s/config.h new file mode 100644 index 000000000..79f202832 --- /dev/null +++ b/keyboards/mechbrewery/mb65s/config.h | |||
@@ -0,0 +1,72 @@ | |||
1 | /* Copyright 2021 MechBrewery | ||
2 | * Author: tuananhnguyen204 (https://github.com/AnthonyNguyen168) (tuananhnguyen204@gmail.com) | ||
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 0x4252 //BR | ||
24 | #define PRODUCT_ID 0x3635 //65 | ||
25 | #define DEVICE_VER 0x0001 | ||
26 | #define MANUFACTURER MechBrewery | ||
27 | #define PRODUCT MB65S | ||
28 | |||
29 | /* key matrix size */ | ||
30 | #define MATRIX_ROWS 5 | ||
31 | #define MATRIX_COLS 16 | ||
32 | |||
33 | #define MATRIX_ROW_PINS { B7, D0, F0, F1, F4 } | ||
34 | #define MATRIX_COL_PINS { B0, B1, B2, B3, D1, D2, D3, D6, D7, B4, B6, C6, C7, F7, F6, F5 } | ||
35 | #define UNUSED_PINS | ||
36 | |||
37 | /* COL2ROW or ROW2COL */ | ||
38 | #define DIODE_DIRECTION COL2ROW | ||
39 | |||
40 | /* Debouncing reduces chatter */ | ||
41 | #define DEBOUNCE 5 | ||
42 | |||
43 | /* indicators */ | ||
44 | #define LED_CAPS_LOCK_PIN D4 | ||
45 | #define LED_PIN_ON_STATE 0 | ||
46 | |||
47 | /* number of backlight levels */ | ||
48 | #define BACKLIGHT_PIN B5 | ||
49 | #ifdef BACKLIGHT_PIN | ||
50 | #define BACKLIGHT_LEVELS 3 | ||
51 | #endif | ||
52 | |||
53 | |||
54 | #define RGB_DI_PIN E2 | ||
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/mechbrewery/mb65s/info.json b/keyboards/mechbrewery/mb65s/info.json new file mode 100644 index 000000000..51a1e2194 --- /dev/null +++ b/keyboards/mechbrewery/mb65s/info.json | |||
@@ -0,0 +1,309 @@ | |||
1 | { | ||
2 | "keyboard_name": "mb65s", | ||
3 | "url": "", | ||
4 | "maintainer": "tuananhnguyen204", | ||
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 | "LAYOUT_65_ansi": { | ||
83 | "layout": [ | ||
84 | {"x":0, "y":0}, | ||
85 | {"x":1, "y":0}, | ||
86 | {"x":2, "y":0}, | ||
87 | {"x":3, "y":0}, | ||
88 | {"x":4, "y":0}, | ||
89 | {"x":5, "y":0}, | ||
90 | {"x":6, "y":0}, | ||
91 | {"x":7, "y":0}, | ||
92 | {"x":8, "y":0}, | ||
93 | {"x":9, "y":0}, | ||
94 | {"x":10, "y":0}, | ||
95 | {"x":11, "y":0}, | ||
96 | {"x":12, "y":0}, | ||
97 | {"x":13, "y":0, "w":2}, | ||
98 | {"x":15, "y":0}, | ||
99 | |||
100 | {"x":0, "y":1, "w":1.5}, | ||
101 | {"x":1.5, "y":1}, | ||
102 | {"x":2.5, "y":1}, | ||
103 | {"x":3.5, "y":1}, | ||
104 | {"x":4.5, "y":1}, | ||
105 | {"x":5.5, "y":1}, | ||
106 | {"x":6.5, "y":1}, | ||
107 | {"x":7.5, "y":1}, | ||
108 | {"x":8.5, "y":1}, | ||
109 | {"x":9.5, "y":1}, | ||
110 | {"x":10.5, "y":1}, | ||
111 | {"x":11.5, "y":1}, | ||
112 | {"x":12.5, "y":1}, | ||
113 | {"x":13.5, "y":1, "w":1.5}, | ||
114 | {"x":15, "y":1}, | ||
115 | |||
116 | {"x":0, "y":2, "w":1.75}, | ||
117 | {"x":1.75, "y":2}, | ||
118 | {"x":2.75, "y":2}, | ||
119 | {"x":3.75, "y":2}, | ||
120 | {"x":4.75, "y":2}, | ||
121 | {"x":5.75, "y":2}, | ||
122 | {"x":6.75, "y":2}, | ||
123 | {"x":7.75, "y":2}, | ||
124 | {"x":8.75, "y":2}, | ||
125 | {"x":9.75, "y":2}, | ||
126 | {"x":10.75, "y":2}, | ||
127 | {"x":11.75, "y":2}, | ||
128 | {"x":12.75, "y":2, "w":2.25}, | ||
129 | {"x":15, "y":2}, | ||
130 | |||
131 | {"x":0, "y":3, "w":2.25}, | ||
132 | {"x":2.25, "y":3}, | ||
133 | {"x":3.25, "y":3}, | ||
134 | {"x":4.25, "y":3}, | ||
135 | {"x":5.25, "y":3}, | ||
136 | {"x":6.25, "y":3}, | ||
137 | {"x":7.25, "y":3}, | ||
138 | {"x":8.25, "y":3}, | ||
139 | {"x":9.25, "y":3}, | ||
140 | {"x":10.25, "y":3}, | ||
141 | {"x":11.25, "y":3}, | ||
142 | {"x":12.25, "y":3, "w":1.75}, | ||
143 | {"x":14, "y":3}, | ||
144 | {"x":15, "y":3}, | ||
145 | |||
146 | {"x":0, "y":4, "w":1.25}, | ||
147 | {"x":1.25, "y":4, "w":1.25}, | ||
148 | {"x":2.5, "y":4, "w":1.25}, | ||
149 | {"x":3.75, "y":4, "w":6.25}, | ||
150 | {"x":10, "y":4, "w":1.25}, | ||
151 | {"x":11.25, "y":4, "w":1.25}, | ||
152 | {"x":13, "y":4}, | ||
153 | {"x":14, "y":4}, | ||
154 | {"x":15, "y":4} | ||
155 | ] | ||
156 | }, | ||
157 | "LAYOUT_65_ansi_split_bs": { | ||
158 | "layout": [ | ||
159 | {"x":0, "y":0}, | ||
160 | {"x":1, "y":0}, | ||
161 | {"x":2, "y":0}, | ||
162 | {"x":3, "y":0}, | ||
163 | {"x":4, "y":0}, | ||
164 | {"x":5, "y":0}, | ||
165 | {"x":6, "y":0}, | ||
166 | {"x":7, "y":0}, | ||
167 | {"x":8, "y":0}, | ||
168 | {"x":9, "y":0}, | ||
169 | {"x":10, "y":0}, | ||
170 | {"x":11, "y":0}, | ||
171 | {"x":12, "y":0}, | ||
172 | {"x":13, "y":0}, | ||
173 | {"x":14, "y":0}, | ||
174 | {"x":15, "y":0}, | ||
175 | |||
176 | {"x":0, "y":1, "w":1.5}, | ||
177 | {"x":1.5, "y":1}, | ||
178 | {"x":2.5, "y":1}, | ||
179 | {"x":3.5, "y":1}, | ||
180 | {"x":4.5, "y":1}, | ||
181 | {"x":5.5, "y":1}, | ||
182 | {"x":6.5, "y":1}, | ||
183 | {"x":7.5, "y":1}, | ||
184 | {"x":8.5, "y":1}, | ||
185 | {"x":9.5, "y":1}, | ||
186 | {"x":10.5, "y":1}, | ||
187 | {"x":11.5, "y":1}, | ||
188 | {"x":12.5, "y":1}, | ||
189 | {"x":13.5, "y":1, "w":1.5}, | ||
190 | {"x":15, "y":1}, | ||
191 | |||
192 | {"x":0, "y":2, "w":1.75}, | ||
193 | {"x":1.75, "y":2}, | ||
194 | {"x":2.75, "y":2}, | ||
195 | {"x":3.75, "y":2}, | ||
196 | {"x":4.75, "y":2}, | ||
197 | {"x":5.75, "y":2}, | ||
198 | {"x":6.75, "y":2}, | ||
199 | {"x":7.75, "y":2}, | ||
200 | {"x":8.75, "y":2}, | ||
201 | {"x":9.75, "y":2}, | ||
202 | {"x":10.75, "y":2}, | ||
203 | {"x":11.75, "y":2}, | ||
204 | {"x":12.75, "y":2, "w":2.25}, | ||
205 | {"x":15, "y":2}, | ||
206 | |||
207 | {"x":0, "y":3, "w":2.25}, | ||
208 | {"x":2.25, "y":3}, | ||
209 | {"x":3.25, "y":3}, | ||
210 | {"x":4.25, "y":3}, | ||
211 | {"x":5.25, "y":3}, | ||
212 | {"x":6.25, "y":3}, | ||
213 | {"x":7.25, "y":3}, | ||
214 | {"x":8.25, "y":3}, | ||
215 | {"x":9.25, "y":3}, | ||
216 | {"x":10.25, "y":3}, | ||
217 | {"x":11.25, "y":3}, | ||
218 | {"x":12.25, "y":3, "w":1.75}, | ||
219 | {"x":14, "y":3}, | ||
220 | {"x":15, "y":3}, | ||
221 | |||
222 | {"x":0, "y":4, "w":1.25}, | ||
223 | {"x":1.25, "y":4, "w":1.25}, | ||
224 | {"x":2.5, "y":4, "w":1.25}, | ||
225 | {"x":3.75, "y":4, "w":6.25}, | ||
226 | {"x":10, "y":4, "w":1.25}, | ||
227 | {"x":11.25, "y":4, "w":1.25}, | ||
228 | {"x":13, "y":4}, | ||
229 | {"x":14, "y":4}, | ||
230 | {"x":15, "y":4} | ||
231 | ] | ||
232 | }, | ||
233 | "LAYOUT_65_iso": { | ||
234 | "layout": [ | ||
235 | {"x":0, "y":0}, | ||
236 | {"x":1, "y":0}, | ||
237 | {"x":2, "y":0}, | ||
238 | {"x":3, "y":0}, | ||
239 | {"x":4, "y":0}, | ||
240 | {"x":5, "y":0}, | ||
241 | {"x":6, "y":0}, | ||
242 | {"x":7, "y":0}, | ||
243 | {"x":8, "y":0}, | ||
244 | {"x":9, "y":0}, | ||
245 | {"x":10, "y":0}, | ||
246 | {"x":11, "y":0}, | ||
247 | {"x":12, "y":0}, | ||
248 | {"x":13, "y":0, "w":2}, | ||
249 | {"x":15, "y":0}, | ||
250 | |||
251 | {"x":0, "y":1, "w":1.5}, | ||
252 | {"x":1.5, "y":1}, | ||
253 | {"x":2.5, "y":1}, | ||
254 | {"x":3.5, "y":1}, | ||
255 | {"x":4.5, "y":1}, | ||
256 | {"x":5.5, "y":1}, | ||
257 | {"x":6.5, "y":1}, | ||
258 | {"x":7.5, "y":1}, | ||
259 | {"x":8.5, "y":1}, | ||
260 | {"x":9.5, "y":1}, | ||
261 | {"x":10.5, "y":1}, | ||
262 | {"x":11.5, "y":1}, | ||
263 | {"x":12.5, "y":1}, | ||
264 | {"x":15, "y":1}, | ||
265 | |||
266 | {"x":0, "y":2, "w":1.75}, | ||
267 | {"x":1.75, "y":2}, | ||
268 | {"x":2.75, "y":2}, | ||
269 | {"x":3.75, "y":2}, | ||
270 | {"x":4.75, "y":2}, | ||
271 | {"x":5.75, "y":2}, | ||
272 | {"x":6.75, "y":2}, | ||
273 | {"x":7.75, "y":2}, | ||
274 | {"x":8.75, "y":2}, | ||
275 | {"x":9.75, "y":2}, | ||
276 | {"x":10.75, "y":2}, | ||
277 | {"x":11.75, "y":2}, | ||
278 | {"x":12.75, "y":2}, | ||
279 | {"x":13.75, "y":1, "w":1.25, "h":2}, | ||
280 | {"x":15, "y":2}, | ||
281 | |||
282 | {"x":0, "y":3, "w":1.25}, | ||
283 | {"x":2.25, "y":3}, | ||
284 | {"x":3.25, "y":3}, | ||
285 | {"x":4.25, "y":3}, | ||
286 | {"x":5.25, "y":3}, | ||
287 | {"x":6.25, "y":3}, | ||
288 | {"x":7.25, "y":3}, | ||
289 | {"x":8.25, "y":3}, | ||
290 | {"x":9.25, "y":3}, | ||
291 | {"x":10.25, "y":3}, | ||
292 | {"x":11.25, "y":3}, | ||
293 | {"x":12.25, "y":3, "w":1.75}, | ||
294 | {"x":14, "y":3}, | ||
295 | {"x":15, "y":3}, | ||
296 | |||
297 | {"x":0, "y":4, "w":1.25}, | ||
298 | {"x":1.25, "y":4, "w":1.25}, | ||
299 | {"x":2.5, "y":4, "w":1.25}, | ||
300 | {"x":3.75, "y":4, "w":6.25}, | ||
301 | {"x":10, "y":4, "w":1.25}, | ||
302 | {"x":11.25, "y":4, "w":1.25}, | ||
303 | {"x":13, "y":4}, | ||
304 | {"x":14, "y":4}, | ||
305 | {"x":15, "y":4} | ||
306 | ] | ||
307 | } | ||
308 | } | ||
309 | } | ||
diff --git a/keyboards/mechbrewery/mb65s/keymaps/default/keymap.c b/keyboards/mechbrewery/mb65s/keymaps/default/keymap.c new file mode 100644 index 000000000..404c64df6 --- /dev/null +++ b/keyboards/mechbrewery/mb65s/keymaps/default/keymap.c | |||
@@ -0,0 +1,60 @@ | |||
1 | /* Copyright 2021 MechBrewery | ||
2 | * Author: tuananhnguyen204 (https://github.com/AnthonyNguyen168) (tuananhnguyen204@gmail.com) | ||
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 | #include QMK_KEYBOARD_H | ||
18 | |||
19 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||
20 | /* Keymap (Base Layer) Default Layer | ||
21 | * ,----------------------------------------------------------------. | ||
22 | * |Esc| 1| 2| 3| 4| 5| 6| 7| 8| 9| 0| -| =|Backsp |Del | | ||
23 | * |----------------------------------------------------------------| | ||
24 | * |Tab | Q| W| E| R| T| Y| U| I| O| P| [| ]| \ |PgUp| | ||
25 | * |----------------------------------------------------------------| | ||
26 | * |Caps | A| S| D| F| G| H| J| K| L| ;| '|Return |PgDn| | ||
27 | * |----------------------------------------------------------------| | ||
28 | * |Shift | Z| X| C| V| B| N| M| ,| .| /|Shift | Up|End | | ||
29 | * |----------------------------------------------------------------| | ||
30 | * |Ctrl|Win |Alt | Space |Alt| FN| |Lef|Dow|Rig | | ||
31 | * `----------------------------------------------------------------' | ||
32 | */ | ||
33 | [0] = LAYOUT_65_ansi( | ||
34 | 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, | ||
35 | 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, | ||
36 | 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, | ||
37 | 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, | ||
38 | KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, MO(1), KC_LEFT, KC_DOWN, KC_RGHT), | ||
39 | |||
40 | /* Keymap Fn Layer | ||
41 | * ,----------------------------------------------------------------. | ||
42 | * |~ `|F1 |F2 |F3 |F4 |F5 |F6 |F7 |F8 |F9 |F10|F11|F12|Del |Ins | | ||
43 | * |----------------------------------------------------------------| | ||
44 | * | | |Up | | | | | |PSc|SLk|Pau|Up | | | | | ||
45 | * |----------------------------------------------------------------| | ||
46 | * | |Lef|Dow|Rig| | | | |Hom|PUp|Lef|Rig| | | | ||
47 | * |----------------------------------------------------------------| | ||
48 | * | |BL+|BL-|BLT|BLS|BLM| | |End|PDn|Dow| |PUp| | | ||
49 | * |----------------------------------------------------------------| | ||
50 | * | | | | | | | |Hom|PDn|End | | ||
51 | * `----------------------------------------------------------------' | ||
52 | */ | ||
53 | [1] = LAYOUT_65_ansi( | ||
54 | KC_GRV, 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_INS, | ||
55 | _______,_______, KC_UP, _______, _______,_______,_______,_______, KC_PSCR,KC_SLCK,KC_PAUS, KC_UP, _______, _______, _______, | ||
56 | _______,KC_LEFT, KC_DOWN,KC_RGHT,_______,_______,_______,_______, KC_HOME,KC_PGUP,KC_LEFT, KC_RGHT, _______, _______, | ||
57 | _______, BL_DEC, BL_TOGG,BL_INC, BL_STEP,BL_BRTG,_______,_______, KC_END, KC_PGDN,KC_DOWN, _______, KC_PGUP, _______, | ||
58 | _______,_______, _______, _______, _______,_______, KC_HOME, KC_PGDN, KC_END), | ||
59 | |||
60 | }; | ||
diff --git a/keyboards/mechbrewery/mb65s/keymaps/default/readme.md b/keyboards/mechbrewery/mb65s/keymaps/default/readme.md new file mode 100644 index 000000000..2cb43c5e1 --- /dev/null +++ b/keyboards/mechbrewery/mb65s/keymaps/default/readme.md | |||
@@ -0,0 +1 @@ | |||
# The default keymap for kbd67 | |||
diff --git a/keyboards/mechbrewery/mb65s/keymaps/iso/keymap.c b/keyboards/mechbrewery/mb65s/keymaps/iso/keymap.c new file mode 100644 index 000000000..605bbf666 --- /dev/null +++ b/keyboards/mechbrewery/mb65s/keymaps/iso/keymap.c | |||
@@ -0,0 +1,66 @@ | |||
1 | /* Copyright 2021 MechBrewery | ||
2 | * Author: tuananhnguyen204 (https://github.com/AnthonyNguyen168) (tuananhnguyen204@gmail.com) | ||
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 | #include QMK_KEYBOARD_H | ||
19 | |||
20 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||
21 | |||
22 | /* Base layer | ||
23 | * ┌───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───────┬───┐ | ||
24 | * │Esc│ 1 │ 2 │ 3 │ 4 │ 5 │ 6 │ 7 │ 8 │ 9 │ 0 │ - │ = │ Backsp│Del│ | ||
25 | * ├───┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─────┼───┤ | ||
26 | * │ Tab │ Q │ W │ E │ R │ T │ Y │ U │ I │ O │ P │ [ │ ] │ │PUp│ | ||
27 | * ├─────┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┐ Ent├───┤ | ||
28 | * │ FN │ A │ S │ D │ F │ G │ H │ J │ K │ L │ ; │ ' │ # │ │PDn│ | ||
29 | * ├────┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴───┴┬───┼───┤ | ||
30 | * │Shft│ \ │ Z │ X │ C │ V │ B │ N │ M │ , │ . │ / │ Shift│ ↑ │End│ | ||
31 | * ├────┼───┴┬──┴─┬─┴───┴───┴───┴───┴───┼───┴┬──┴───┴──┬───┼───┼───┤ | ||
32 | * │Ctrl│LGUI│LAlt│ Space │RAlt│App │ ← │ ↓ │ → │ | ||
33 | * └────┴────┴────┴─────────────────────┴────┴─────────┴───┴───┴───┘ | ||
34 | */ | ||
35 | [0] = LAYOUT_65_iso( | ||
36 | KC_GESC, 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, | ||
37 | 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_PGUP, | ||
38 | 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_NUHS, KC_ENT, KC_PGDN, | ||
39 | 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, | ||
40 | KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, KC_APP, KC_LEFT, KC_DOWN, KC_RGHT | ||
41 | ), | ||
42 | |||
43 | /* Function layer | ||
44 | * ┌───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───────┬────┐ | ||
45 | * │§ │ F1│ F2│ F3│ F4│ F5│ F6│ F7│ F8│ F9│F10│F11│F12│Delete │PrtS│ | ||
46 | * ├───┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─────┼────┤ | ||
47 | * │Caps │Prv│Pau│Nxt│ │ │ │ │ │ │BL+│BL-│BL │RESET│Ins │ | ||
48 | * ├─────┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┐ ├────┤ | ||
49 | * │ │V- │V0 │V+ │ │ │ │ │ │ │ │ │ │ │Home│ | ||
50 | * ├────┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴───┴┬───┼────┤ | ||
51 | * │ │BL+│BL-│BLT│BLS│BLM│ │ │ │ │ │ │LClick│MUp│End │ | ||
52 | * ├────┼───┴┬──┴─┬─┴───┴───┴───┴───┴───┼───┴┬──┴───┴──┬───┼───┼────┤ | ||
53 | * │ │ │ │ │ │ │MLt│MDw│MRgt│ | ||
54 | * └────┴────┴────┴─────────────────────┴────┴─────────┴───┴───┴────┘ | ||
55 | */ | ||
56 | |||
57 | [1] = LAYOUT_65_iso( | ||
58 | KC_GRV, 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_PSCR, | ||
59 | KC_CAPS, KC_MPRV, KC_MPLY, KC_MNXT, _______, _______, _______, _______, _______, _______, BL_INC, BL_DEC, BL_TOGG, KC_INS, | ||
60 | _______, KC_VOLD, KC_MUTE, KC_VOLU, _______, _______, _______, _______, _______, _______, _______, _______, _______, RESET, KC_HOME, | ||
61 | _______, BL_DEC, BL_TOGG, BL_INC, BL_STEP, BL_BRTG, _______, _______, _______, _______, _______, KC_BTN1, KC_MS_U, KC_END, | ||
62 | _______, _______, _______, _______, _______, _______, KC_MS_L, KC_MS_D, KC_MS_R | ||
63 | ), | ||
64 | }; | ||
65 | |||
66 | |||
diff --git a/keyboards/mechbrewery/mb65s/keymaps/iso/readme.md b/keyboards/mechbrewery/mb65s/keymaps/iso/readme.md new file mode 100644 index 000000000..dfbd082c7 --- /dev/null +++ b/keyboards/mechbrewery/mb65s/keymaps/iso/readme.md | |||
@@ -0,0 +1,33 @@ | |||
1 | # Keymap by tuananhnguyen204 | ||
2 | |||
3 | Almost a default ISO layout, except Caps Lock swapped `MO(1)`. | ||
4 | |||
5 | Made with `LAYOUT_65_iso` | ||
6 | |||
7 | ``` | ||
8 | Base layer | ||
9 | ┌───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───────┬───┐ | ||
10 | │Esc│ 1 │ 2 │ 3 │ 4 │ 5 │ 6 │ 7 │ 8 │ 9 │ 0 │ - │ = │ Backsp│ ` │ | ||
11 | ├───┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─────┼───┤ | ||
12 | │ Tab │ Q │ W │ E │ R │ T │ Y │ U │ I │ O │ P │ Å │ ^ │ │Del│ | ||
13 | ├─────┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┐ Ent├───┤ | ||
14 | │ FN │ A │ S │ D │ F │ G │ H │ J │ K │ L │ Ö │ Ä │ ' │ │PUp│ | ||
15 | ├────┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴───┴┬───┼───┤ | ||
16 | │Shft│ < │ Z │ X │ C │ V │ B │ N │ M │ , │ . │ - │ Shift│ ↑ │PDn│ | ||
17 | ├────┼───┴┬──┴─┬─┴───┴───┴───┴───┴───┼───┴┬──┴─┬─┴──┬───┼───┼───┤ | ||
18 | │Ctrl│LAlt│LGUI│ Space │RAlt│App │RCtl│ ← │ ↓ │ → │ | ||
19 | └────┴────┴────┴─────────────────────┴────┴────┴────┴───┴───┴───┘ | ||
20 | |||
21 | Function layer | ||
22 | ┌───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───────┬────┐ | ||
23 | │§ │ F1│ F2│ F3│ F4│ F5│ F6│ F7│ F8│ F9│F10│F11│F12│Delete │PrtS│ | ||
24 | ├───┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─────┼────┤ | ||
25 | │Caps │Prv│Pau│Nxt│ │ │ │ │ │ │BL+│BL-│BL │RESET│Ins │ | ||
26 | ├─────┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┐ ├────┤ | ||
27 | │ │V- │V0 │V+ │ │ │ │ │ │ │ │ │ │ │Home│ | ||
28 | ├────┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴───┴┬───┼────┤ | ||
29 | │ │TOG│MOD│HU+│HU-│SA+│SA-│ │ │ │ │ │LClick│MUp│End │ | ||
30 | ├────┼───┴┬──┴─┬─┴───┴───┴───┴───┴───┼───┴┬──┴─┬─┴──┬───┼───┼────┤ | ||
31 | │ │ │ │ │ │ │ │MLt│MDw│MRgt│ | ||
32 | └────┴────┴────┴─────────────────────┴────┴────┴────┴───┴───┴────┘ | ||
33 | ``` | ||
diff --git a/keyboards/mechbrewery/mb65s/keymaps/split_bs/keymap.c b/keyboards/mechbrewery/mb65s/keymaps/split_bs/keymap.c new file mode 100644 index 000000000..36a135e24 --- /dev/null +++ b/keyboards/mechbrewery/mb65s/keymaps/split_bs/keymap.c | |||
@@ -0,0 +1,61 @@ | |||
1 | /* Copyright 2021 MechBrewery | ||
2 | * Author: tuananhnguyen204 (https://github.com/AnthonyNguyen168) (tuananhnguyen204@gmail.com) | ||
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 | #include QMK_KEYBOARD_H | ||
18 | |||
19 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||
20 | /* Keymap (Base Layer) Default Layer | ||
21 | * ,----------------------------------------------------------------. | ||
22 | * |Esc| 1| 2| 3| 4| 5| 6| 7| 8| 9| 0| - | = |Bsp|Del|Home| | ||
23 | * |----------------------------------------------------------------| | ||
24 | * |Tab | Q| W| E| R| T| Y| U| I| O| P| [ | ] | \ |PgUp| | ||
25 | * |----------------------------------------------------------------| | ||
26 | * |Ctrl | A| S| D| F| G| H| J| K| L| ; | ' |Return |PgDn| | ||
27 | * |----------------------------------------------------------------| | ||
28 | * |Shift | Z| X| C| V| B| N| M| , | . | / |Shift | Up|Home| | ||
29 | * |----------------------------------------------------------------| | ||
30 | * |Ctrl|Alt |GUI | Space |GUI |FN |Lef|Dow|Rig | | ||
31 | * `----------------------------------------------------------------' | ||
32 | */ | ||
33 | [0] = LAYOUT_65_ansi_split_bs( | ||
34 | 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, | ||
35 | 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, | ||
36 | KC_LCTL, 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, | ||
37 | 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, | ||
38 | KC_LCTL, KC_LALT, KC_LGUI, KC_SPC, KC_RGUI, MO(1), KC_LEFT, KC_DOWN, KC_RGHT | ||
39 | ), | ||
40 | |||
41 | /* Keymap Fn Layer | ||
42 | * ,----------------------------------------------------------------. | ||
43 | * |~ `|F1 |F2 |F3 |F4 |F5 |F6 |F7 |F8 |F9 |F10|F11|F12| |Del|Ins | | ||
44 | * |----------------------------------------------------------------| | ||
45 | * | | |Up | | | | | |PSc|SLk|Pau|Up | | | | | ||
46 | * |----------------------------------------------------------------| | ||
47 | * | |Lef|Dow|Rig| | | | |Hom|PUp|Lef|Rig| |Vol+| | ||
48 | * |----------------------------------------------------------------| | ||
49 | * | |BL+|BL-|BLT|BLS|BLM| | |End|PDn|Dow| | |Vol-| | ||
50 | * |----------------------------------------------------------------| | ||
51 | * | | | | | | |Prv|Ply|Nxt | | ||
52 | * `----------------------------------------------------------------' | ||
53 | */ | ||
54 | [1] = LAYOUT_65_ansi_split_bs( | ||
55 | KC_GRV, 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_INS, | ||
56 | _______, _______, KC_UP, _______, _______, _______, _______, _______, KC_PSCR, KC_SLCK, KC_PAUS, KC_UP, _______, _______, _______, | ||
57 | _______, KC_LEFT, KC_DOWN, KC_RGHT, _______, _______, _______, _______, KC_HOME, KC_PGUP, KC_LEFT, KC_RGHT, _______, KC_VOLU, | ||
58 | _______, BL_DEC, BL_TOGG, BL_INC, BL_STEP, BL_BRTG, _______, _______, KC_END, KC_PGDN, KC_DOWN, _______, _______, KC_VOLD, | ||
59 | _______, _______, _______, _______, _______, _______, KC_MPRV, KC_MPLY, KC_MNXT), | ||
60 | |||
61 | }; | ||
diff --git a/keyboards/mechbrewery/mb65s/keymaps/split_bs/readme.md b/keyboards/mechbrewery/mb65s/keymaps/split_bs/readme.md new file mode 100644 index 000000000..2cb43c5e1 --- /dev/null +++ b/keyboards/mechbrewery/mb65s/keymaps/split_bs/readme.md | |||
@@ -0,0 +1 @@ | |||
# The default keymap for kbd67 | |||
diff --git a/keyboards/mechbrewery/mb65s/keymaps/split_bs/rules.mk b/keyboards/mechbrewery/mb65s/keymaps/split_bs/rules.mk new file mode 100644 index 000000000..4da205a16 --- /dev/null +++ b/keyboards/mechbrewery/mb65s/keymaps/split_bs/rules.mk | |||
@@ -0,0 +1 @@ | |||
LTO_ENABLE = yes | |||
diff --git a/keyboards/mechbrewery/mb65s/mb65s.c b/keyboards/mechbrewery/mb65s/mb65s.c new file mode 100644 index 000000000..49a62affe --- /dev/null +++ b/keyboards/mechbrewery/mb65s/mb65s.c | |||
@@ -0,0 +1,17 @@ | |||
1 | /* Copyright 2021 MechBrewery | ||
2 | * Author: tuananhnguyen204 (https://github.com/AnthonyNguyen168) (tuananhnguyen204@gmail.com) | ||
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 | #include "mb65s.h" \ No newline at end of file | ||
diff --git a/keyboards/mechbrewery/mb65s/mb65s.h b/keyboards/mechbrewery/mb65s/mb65s.h new file mode 100644 index 000000000..9519208e3 --- /dev/null +++ b/keyboards/mechbrewery/mb65s/mb65s.h | |||
@@ -0,0 +1,74 @@ | |||
1 | /* Copyright 2021 MechBrewery | ||
2 | * Author: tuananhnguyen204 (https://github.com/AnthonyNguyen168) (tuananhnguyen204@gmail.com) | ||
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 | #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_all( \ | ||
30 | K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B, K0C, K0D, K0E, K0F, \ | ||
31 | K10, K12, K13, K14, K15, K16, K17, K18, K19, K1A, K1B, K1C, K1D, K1E, K1F, \ | ||
32 | K20, K22, K23, K24, K25, K26, K27, K28, K29, K2A, K2B, K2C, K2D, K2F, \ | ||
33 | K30, K32, K33, K34, K35, K36, K37, K38, K39, K3A, K3B, K3D, K3E, K3F, \ | ||
34 | K40, K41, K43, K46, K4A, K4B, K4D, K4E, K4F \ | ||
35 | ) \ | ||
36 | { \ | ||
37 | { K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B, K0C, K0D, K0E, K0F }, \ | ||
38 | { K10, KC_NO, K12, K13, K14, K15, K16, K17, K18, K19, K1A, K1B, K1C, K1D, K1E, K1F }, \ | ||
39 | { K20, KC_NO, K22, K23, K24, K25, K26, K27, K28, K29, K2A, K2B, K2C, K2D, KC_NO, K2F }, \ | ||
40 | { K30, KC_NO, K32, K33, K34, K35, K36, K37, K38, K39, K3A, K3B, KC_NO, K3D, K3E, K3F }, \ | ||
41 | { K40, K41, KC_NO, K43, KC_NO, KC_NO, K46, KC_NO, KC_NO, KC_NO, K4A, K4B, KC_NO, K4D, K4E, K4F }, \ | ||
42 | } | ||
43 | |||
44 | #define LAYOUT_65_ansi( \ | ||
45 | K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B, K0C, K0E, K0F, \ | ||
46 | K10, K12, K13, K14, K15, K16, K17, K18, K19, K1A, K1B, K1C, K1D, K1E, K1F, \ | ||
47 | K20, K22, K23, K24, K25, K26, K27, K28, K29, K2A, K2B, K2C, K2D, K2F, \ | ||
48 | K30, K32, K33, K34, K35, K36, K37, K38, K39, K3A, K3B, K3D, K3E, K3F, \ | ||
49 | K40, K41, K43, K46, K4A, K4B, K4D, K4E, K4F \ | ||
50 | ) \ | ||
51 | { \ | ||
52 | { K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B, K0C, KC_NO, K0E, K0F }, \ | ||
53 | { K10, KC_NO, K12, K13, K14, K15, K16, K17, K18, K19, K1A, K1B, K1C, K1D, K1E, K1F }, \ | ||
54 | { K20, KC_NO, K22, K23, K24, K25, K26, K27, K28, K29, K2A, K2B, K2C, K2D, KC_NO, K2F }, \ | ||
55 | { K30, KC_NO, K32, K33, K34, K35, K36, K37, K38, K39, K3A, K3B, KC_NO, K3D, K3E, K3F }, \ | ||
56 | { K40, K41, KC_NO, K43, KC_NO, KC_NO, K46, KC_NO, KC_NO, KC_NO, K4A, K4B, KC_NO, K4D, K4E, K4F }, \ | ||
57 | } | ||
58 | |||
59 | #define LAYOUT_65_iso( \ | ||
60 | K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B, K0C, K0E, K0F, \ | ||
61 | K10, K12, K13, K14, K15, K16, K17, K18, K19, K1A, K1B, K1C, K1D, K1F, \ | ||
62 | K20, K22, K23, K24, K25, K26, K27, K28, K29, K2A, K2B, K2C, K1E, K2D, K2F, \ | ||
63 | K30, K32, K33, K34, K35, K36, K37, K38, K39, K3A, K3B, K3D, K3E, K3F, \ | ||
64 | K40, K41, K43, K46, K4A, K4B, K4D, K4E, K4F \ | ||
65 | ) \ | ||
66 | { \ | ||
67 | { K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B, K0C, KC_NO, K0E, K0F }, \ | ||
68 | { K10, KC_NO, K12, K13, K14, K15, K16, K17, K18, K19, K1A, K1B, K1C, K1D, K1E, K1F }, \ | ||
69 | { K20, KC_NO, K22, K23, K24, K25, K26, K27, K28, K29, K2A, K2B, K2C, K2D, KC_NO, K2F }, \ | ||
70 | { K30, KC_NO, K32, K33, K34, K35, K36, K37, K38, K39, K3A, K3B, KC_NO, K3D, K3E, K3F }, \ | ||
71 | { K40, K41, KC_NO, K43, KC_NO, KC_NO, K46, KC_NO, KC_NO, KC_NO, K4A, K4B, KC_NO, K4D, K4E, K4F }, \ | ||
72 | } | ||
73 | |||
74 | #define LAYOUT_65_ansi_split_bs LAYOUT_all | ||
diff --git a/keyboards/mechbrewery/mb65s/readme.md b/keyboards/mechbrewery/mb65s/readme.md new file mode 100644 index 000000000..e8505cb6f --- /dev/null +++ b/keyboards/mechbrewery/mb65s/readme.md | |||
@@ -0,0 +1,17 @@ | |||
1 | # MechBrewery MB65S | ||
2 | |||
3 | 65% keyboard with originally sold for the MechBrewery MB-65S. | ||
4 | |||
5 | * Keyboard Maintainer: [tuananhnguyen204](https://github.com/AnthonyNguyen168) (tuananhnguyen204@gmail.com) | ||
6 | * Hardware Supported: MechBrewery MB-65S | ||
7 | * Hardware Availability: N/A | ||
8 | * Enter the bootloader in 3 ways: | ||
9 | * **Bootmagic reset**: Hold down the key at (0,0) in the matrix (usually the top left key or Escape) and plug in the keyboard | ||
10 | * **Physical reset button**: Briefly press the button on the back of the PCB - some may have pads you must short instead | ||
11 | * **Keycode in layout**: Press the key mapped to `RESET` if it is available | ||
12 | |||
13 | Make example for this keyboard (after setting up your build environment): | ||
14 | |||
15 | make mechbrewery/mb65s:default | ||
16 | |||
17 | 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/mechbrewery/mb65s/rules.mk b/keyboards/mechbrewery/mb65s/rules.mk new file mode 100644 index 000000000..09f27b3a5 --- /dev/null +++ b/keyboards/mechbrewery/mb65s/rules.mk | |||
@@ -0,0 +1,21 @@ | |||
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 = yes # Enable keyboard backlight functionality | ||
17 | RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow | ||
18 | AUDIO_ENABLE = no # Audio output | ||
19 | LTO_ENABLE = yes | ||
20 | |||
21 | LAYOUTS = 65_ansi 65_iso 65_ansi_split_bs | ||