diff options
author | TW59420 <40019210+TW59420@users.noreply.github.com> | 2021-11-29 16:25:19 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-29 00:25:19 -0800 |
commit | 32c5c97ee338f56bdcbee16fe8d32c17816861a9 (patch) | |
tree | 4a71536640e2aff3aa21ff18ac41ba0a9b144053 /keyboards/mwstudio/mw65_black | |
parent | fd86f8c94d4f0d38b8ceabae280bea117990d916 (diff) | |
download | qmk_firmware-32c5c97ee338f56bdcbee16fe8d32c17816861a9.tar.gz qmk_firmware-32c5c97ee338f56bdcbee16fe8d32c17816861a9.zip |
[Keyboard] Add mw65_black support (#15198)
Diffstat (limited to 'keyboards/mwstudio/mw65_black')
-rw-r--r-- | keyboards/mwstudio/mw65_black/config.h | 54 | ||||
-rw-r--r-- | keyboards/mwstudio/mw65_black/info.json | 83 | ||||
-rw-r--r-- | keyboards/mwstudio/mw65_black/keymaps/default/keymap.c | 48 | ||||
-rw-r--r-- | keyboards/mwstudio/mw65_black/keymaps/via/keymap.c | 48 | ||||
-rw-r--r-- | keyboards/mwstudio/mw65_black/keymaps/via/rules.mk | 2 | ||||
-rw-r--r-- | keyboards/mwstudio/mw65_black/mw65_black.c | 16 | ||||
-rw-r--r-- | keyboards/mwstudio/mw65_black/mw65_black.h | 30 | ||||
-rw-r--r-- | keyboards/mwstudio/mw65_black/readme.md | 22 | ||||
-rw-r--r-- | keyboards/mwstudio/mw65_black/rules.mk | 22 |
9 files changed, 325 insertions, 0 deletions
diff --git a/keyboards/mwstudio/mw65_black/config.h b/keyboards/mwstudio/mw65_black/config.h new file mode 100644 index 000000000..9cd1aade7 --- /dev/null +++ b/keyboards/mwstudio/mw65_black/config.h | |||
@@ -0,0 +1,54 @@ | |||
1 | /* Copyright 2021 TW59420 <https://github.com/TW59420> | ||
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 "config_common.h" | ||
20 | |||
21 | /* USB Device descriptor parameter */ | ||
22 | #define VENDOR_ID 0x7BA1 | ||
23 | #define PRODUCT_ID 0x6500 | ||
24 | #define DEVICE_VER 0x0001 | ||
25 | #define MANUFACTURER MWStudio | ||
26 | #define PRODUCT MW65 | ||
27 | |||
28 | /* key matrix size */ | ||
29 | #define MATRIX_ROWS 5 | ||
30 | #define MATRIX_COLS 15 | ||
31 | |||
32 | /* key matrix pins */ | ||
33 | #define MATRIX_ROW_PINS { D4, D7, B4, B3, B6 } | ||
34 | #define MATRIX_COL_PINS { B0, B1, B2, D0, D1, D2, D3, D5, C6, F7, F4, F6, F5, F1, F0 } | ||
35 | |||
36 | #define BOOTMAGIC_LITE_ROW 0 | ||
37 | #define BOOTMAGIC_LITE_COLUMN 0 | ||
38 | |||
39 | /* COL2ROW or ROW2COL */ | ||
40 | #define DIODE_DIRECTION COL2ROW | ||
41 | |||
42 | /* Set 0 if debouncing isn't neede */ | ||
43 | #define DEBOUNCE 5 | ||
44 | |||
45 | #define RGB_DI_PIN C7 | ||
46 | #ifdef RGB_DI_PIN | ||
47 | #define RGBLED_NUM 21 | ||
48 | #define RGBLIGHT_HUE_STEP 8 | ||
49 | #define RGBLIGHT_SAT_STEP 8 | ||
50 | #define RGBLIGHT_VAL_STEP 8 | ||
51 | #endif | ||
52 | |||
53 | #define ENCODERS_PAD_A { E6 } | ||
54 | #define ENCODERS_PAD_B { D6 } | ||
diff --git a/keyboards/mwstudio/mw65_black/info.json b/keyboards/mwstudio/mw65_black/info.json new file mode 100644 index 000000000..124515779 --- /dev/null +++ b/keyboards/mwstudio/mw65_black/info.json | |||
@@ -0,0 +1,83 @@ | |||
1 | { | ||
2 | "keyboard_name": "MW65_BLACK", | ||
3 | "url": "", | ||
4 | "maintainer": "qmk", | ||
5 | "layouts": { | ||
6 | "LAYOUT": { | ||
7 | "layout": [ | ||
8 | {"label":"ESC", "x":0, "y":0}, | ||
9 | {"label":"1", "x":1, "y":0}, | ||
10 | {"label":"2", "x":2, "y":0}, | ||
11 | {"label":"3", "x":3, "y":0}, | ||
12 | {"label":"4", "x":4, "y":0}, | ||
13 | {"label":"5", "x":5, "y":0}, | ||
14 | {"label":"6", "x":6, "y":0}, | ||
15 | {"label":"7", "x":7, "y":0}, | ||
16 | {"label":"8", "x":8, "y":0}, | ||
17 | {"label":"9", "x":9, "y":0}, | ||
18 | {"label":"0", "x":10, "y":0}, | ||
19 | {"label":"-", "x":11, "y":0}, | ||
20 | {"label":"=", "x":12, "y":0}, | ||
21 | {"label":"Backspace", "x":13, "y":0, "w":2}, | ||
22 | {"label":"Delete", "x":15, "y":0}, | ||
23 | |||
24 | {"label":"Tab", "x":0, "y":1, "w":1.5}, | ||
25 | {"label":"Q", "x":1.5, "y":1}, | ||
26 | {"label":"W", "x":2.5, "y":1}, | ||
27 | {"label":"E", "x":3.5, "y":1}, | ||
28 | {"label":"R", "x":4.5, "y":1}, | ||
29 | {"label":"T", "x":5.5, "y":1}, | ||
30 | {"label":"Y", "x":6.5, "y":1}, | ||
31 | {"label":"U", "x":7.5, "y":1}, | ||
32 | {"label":"I", "x":8.5, "y":1}, | ||
33 | {"label":"O", "x":9.5, "y":1}, | ||
34 | {"label":"P", "x":10.5, "y":1}, | ||
35 | {"label":"[", "x":11.5, "y":1}, | ||
36 | {"label":"]", "x":12.5, "y":1}, | ||
37 | {"label":"\\", "x":13.5, "y":1, "w":1.5}, | ||
38 | {"label":"PgUp", "x":15, "y":1}, | ||
39 | |||
40 | {"label":"Caps Lock", "x":0, "y":2, "w":1.75}, | ||
41 | {"label":"A", "x":1.75, "y":2}, | ||
42 | {"label":"S", "x":2.75, "y":2}, | ||
43 | {"label":"D", "x":3.75, "y":2}, | ||
44 | {"label":"F", "x":4.75, "y":2}, | ||
45 | {"label":"G", "x":5.75, "y":2}, | ||
46 | {"label":"H", "x":6.75, "y":2}, | ||
47 | {"label":"J", "x":7.75, "y":2}, | ||
48 | {"label":"K", "x":8.75, "y":2}, | ||
49 | {"label":"L", "x":9.75, "y":2}, | ||
50 | {"label":";", "x":10.75, "y":2}, | ||
51 | {"label":"'", "x":11.75, "y":2}, | ||
52 | {"label":"\\", "x":12.75, "y":2}, | ||
53 | {"label":"Enter", "x":13.75, "y":2, "w":1.25}, | ||
54 | {"label":"PgDn", "x":15, "y":2}, | ||
55 | |||
56 | {"label":"Shift", "x":0, "y":3, "w":2.25}, | ||
57 | {"label":"Z", "x":2.25, "y":3}, | ||
58 | {"label":"X", "x":3.25, "y":3}, | ||
59 | {"label":"C", "x":4.25, "y":3}, | ||
60 | {"label":"V", "x":5.25, "y":3}, | ||
61 | {"label":"B", "x":6.25, "y":3}, | ||
62 | {"label":"N", "x":7.25, "y":3}, | ||
63 | {"label":"M", "x":8.25, "y":3}, | ||
64 | {"label":",", "x":9.25, "y":3}, | ||
65 | {"label":".", "x":10.25, "y":3}, | ||
66 | {"label":"/", "x":11.25, "y":3}, | ||
67 | {"label":"Shift", "x":12.25, "y":3, "w":1.75}, | ||
68 | {"label":"\u2191", "x":14, "y":3}, | ||
69 | {"label":"End", "x":15, "y":3}, | ||
70 | |||
71 | {"label":"Ctrl", "x":0, "y":4, "w":1.25}, | ||
72 | {"label":"Win", "x":1.25, "y":4, "w":1.25}, | ||
73 | {"label":"Alt", "x":2.5, "y":4, "w":1.25}, | ||
74 | {"x":3.75, "y":4, "w":6.25}, | ||
75 | {"label":"Alt", "x":10, "y":4, "w":1.25}, | ||
76 | {"label":"Fn", "x":11.25, "y":4, "w":1.25}, | ||
77 | {"label":"\u2190", "x":13, "y":4}, | ||
78 | {"label":"\u2193", "x":14, "y":4}, | ||
79 | {"label":"\u2192", "x":15, "y":4} | ||
80 | ] | ||
81 | } | ||
82 | } | ||
83 | } | ||
diff --git a/keyboards/mwstudio/mw65_black/keymaps/default/keymap.c b/keyboards/mwstudio/mw65_black/keymaps/default/keymap.c new file mode 100644 index 000000000..620a39091 --- /dev/null +++ b/keyboards/mwstudio/mw65_black/keymaps/default/keymap.c | |||
@@ -0,0 +1,48 @@ | |||
1 | /* Copyright 2021 TW59420 <https://github.com/TW59420> | ||
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 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||
20 | |||
21 | [0] = LAYOUT( | ||
22 | 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, RGB_TOG, | ||
23 | 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, | ||
24 | 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_BSLS, KC_ENT, KC_PGDN, | ||
25 | 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, | ||
26 | KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, MO(1), KC_LEFT, KC_DOWN, KC_RIGHT), | ||
27 | |||
28 | [1] = LAYOUT( | ||
29 | 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, _______, _______, | ||
30 | RGB_TOG, _______, _______, _______, RESET, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
31 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
32 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
33 | _______, _______, _______, _______, _______, _______, _______, _______, _______), | ||
34 | |||
35 | [2] = LAYOUT( | ||
36 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
37 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
38 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
39 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
40 | _______, _______, _______, _______, _______, _______, _______, _______, _______), | ||
41 | |||
42 | [3] = LAYOUT( | ||
43 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
44 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
45 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
46 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
47 | _______, _______, _______, _______, _______, _______, _______, _______, _______), | ||
48 | }; | ||
diff --git a/keyboards/mwstudio/mw65_black/keymaps/via/keymap.c b/keyboards/mwstudio/mw65_black/keymaps/via/keymap.c new file mode 100644 index 000000000..620a39091 --- /dev/null +++ b/keyboards/mwstudio/mw65_black/keymaps/via/keymap.c | |||
@@ -0,0 +1,48 @@ | |||
1 | /* Copyright 2021 TW59420 <https://github.com/TW59420> | ||
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 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||
20 | |||
21 | [0] = LAYOUT( | ||
22 | 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, RGB_TOG, | ||
23 | 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, | ||
24 | 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_BSLS, KC_ENT, KC_PGDN, | ||
25 | 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, | ||
26 | KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, MO(1), KC_LEFT, KC_DOWN, KC_RIGHT), | ||
27 | |||
28 | [1] = LAYOUT( | ||
29 | 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, _______, _______, | ||
30 | RGB_TOG, _______, _______, _______, RESET, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
31 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
32 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
33 | _______, _______, _______, _______, _______, _______, _______, _______, _______), | ||
34 | |||
35 | [2] = LAYOUT( | ||
36 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
37 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
38 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
39 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
40 | _______, _______, _______, _______, _______, _______, _______, _______, _______), | ||
41 | |||
42 | [3] = LAYOUT( | ||
43 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
44 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
45 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
46 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
47 | _______, _______, _______, _______, _______, _______, _______, _______, _______), | ||
48 | }; | ||
diff --git a/keyboards/mwstudio/mw65_black/keymaps/via/rules.mk b/keyboards/mwstudio/mw65_black/keymaps/via/rules.mk new file mode 100644 index 000000000..36b7ba9cb --- /dev/null +++ b/keyboards/mwstudio/mw65_black/keymaps/via/rules.mk | |||
@@ -0,0 +1,2 @@ | |||
1 | VIA_ENABLE = yes | ||
2 | LTO_ENABLE = yes | ||
diff --git a/keyboards/mwstudio/mw65_black/mw65_black.c b/keyboards/mwstudio/mw65_black/mw65_black.c new file mode 100644 index 000000000..e215abb80 --- /dev/null +++ b/keyboards/mwstudio/mw65_black/mw65_black.c | |||
@@ -0,0 +1,16 @@ | |||
1 | /* Copyright 2021 TW59420 <https://github.com/TW59420> | ||
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 "mw65_black.h" | ||
diff --git a/keyboards/mwstudio/mw65_black/mw65_black.h b/keyboards/mwstudio/mw65_black/mw65_black.h new file mode 100644 index 000000000..be7f3e6f3 --- /dev/null +++ b/keyboards/mwstudio/mw65_black/mw65_black.h | |||
@@ -0,0 +1,30 @@ | |||
1 | /* Copyright 2021 TW59420 <https://github.com/TW59420> | ||
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 "quantum.h" | ||
17 | |||
18 | #define LAYOUT( \ | ||
19 | K000, K001, K002, K003, K004, K005, K006, K007, K008, K009, K010, K011, K012, K013, K014, \ | ||
20 | K100, K101, K102, K103, K104, K105, K106, K107, K108, K109, K110, K111, K112, K113, K114, \ | ||
21 | K200, K201, K202, K203, K204, K205, K206, K207, K208, K209, K210, K211, K212, K213, K214, \ | ||
22 | K300, K301, K302, K303, K304, K305, K306, K307, K308, K309, K310, K311, K313, K314, \ | ||
23 | K400, K401, K402, K405, K409, K410, K412, K413, K414 \ | ||
24 | ) { \ | ||
25 | { K000, K001, K002, K003, K004, K005, K006, K007, K008, K009, K010, K011, K012, K013, K014 }, \ | ||
26 | { K100, K101, K102, K103, K104, K105, K106, K107, K108, K109, K110, K111, K112, K113, K114 }, \ | ||
27 | { K200, K201, K202, K203, K204, K205, K206, K207, K208, K209, K210, K211, K212, K213, K214 }, \ | ||
28 | { K300, K301, K302, K303, K304, K305, K306, K307, K308, K309, K310, K311, K313, K314 }, \ | ||
29 | { K400, K401, K402, K405, K409, K410, K412, K413, K414 } \ | ||
30 | } | ||
diff --git a/keyboards/mwstudio/mw65_black/readme.md b/keyboards/mwstudio/mw65_black/readme.md new file mode 100644 index 000000000..412746901 --- /dev/null +++ b/keyboards/mwstudio/mw65_black/readme.md | |||
@@ -0,0 +1,22 @@ | |||
1 | # MW65_BLACK | ||
2 | |||
3 |  | ||
4 | |||
5 | Support Atmega32u4 keyboard. | ||
6 | |||
7 | * Keyboard Maintainer: [TW59420](https://github.com/TW59420) | ||
8 | * Hardware Supported: Atmega32u4 | ||
9 | |||
10 | Make example for this keyboard (after setting up your build environment): | ||
11 | |||
12 | make mwstudio/mw65_black:default | ||
13 | |||
14 | Flashing example for this keyboard: | ||
15 | |||
16 | make mwstudio/mw65_black:default:flash | ||
17 | |||
18 | 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). | ||
19 | |||
20 | ## Bootloader | ||
21 | * **Physical reset button**: Short press the button on the back of the PCB to enter the Bootloader and flash the firmware | ||
22 | * **Keycode in layout**: Press the key mapped to RESET if it is available | ||
diff --git a/keyboards/mwstudio/mw65_black/rules.mk b/keyboards/mwstudio/mw65_black/rules.mk new file mode 100644 index 000000000..1a68df06c --- /dev/null +++ b/keyboards/mwstudio/mw65_black/rules.mk | |||
@@ -0,0 +1,22 @@ | |||
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 | # Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE | ||
16 | SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend | ||
17 | # if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work | ||
18 | NKRO_ENABLE = yes # USB Nkey Rollover | ||
19 | BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality | ||
20 | RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow | ||
21 | AUDIO_ENABLE = no # Audio output | ||
22 | ENCODER_ENABLE = yes | ||