diff options
author | Ivan Gromov <38141348+key10iq@users.noreply.github.com> | 2022-02-02 09:05:23 +0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-01 21:05:23 -0800 |
commit | bf2b3f7907efa9a9fb5ede9b8ae659eb2ec8fbe2 (patch) | |
tree | aba930693fdc395e45c696b06d8792adc8475cca | |
parent | 70c5915da8cc496dc5d7c6deb27f780a39863008 (diff) | |
download | qmk_firmware-bf2b3f7907efa9a9fb5ede9b8ae659eb2ec8fbe2.tar.gz qmk_firmware-bf2b3f7907efa9a9fb5ede9b8ae659eb2ec8fbe2.zip |
[Keyboard] Add keyten kt60-M (#16150)
-rw-r--r-- | keyboards/keyten/kt60_m/config.h | 51 | ||||
-rw-r--r-- | keyboards/keyten/kt60_m/info.json | 78 | ||||
-rw-r--r-- | keyboards/keyten/kt60_m/keymaps/default/keymap.c | 39 | ||||
-rw-r--r-- | keyboards/keyten/kt60_m/keymaps/default/readme.md | 1 | ||||
-rw-r--r-- | keyboards/keyten/kt60_m/keymaps/via/keymap.c | 48 | ||||
-rw-r--r-- | keyboards/keyten/kt60_m/keymaps/via/readme.md | 1 | ||||
-rw-r--r-- | keyboards/keyten/kt60_m/keymaps/via/rules.mk | 1 | ||||
-rw-r--r-- | keyboards/keyten/kt60_m/kt60_m.c | 18 | ||||
-rw-r--r-- | keyboards/keyten/kt60_m/kt60_m.h | 48 | ||||
-rw-r--r-- | keyboards/keyten/kt60_m/readme.md | 27 | ||||
-rw-r--r-- | keyboards/keyten/kt60_m/rules.mk | 19 |
11 files changed, 331 insertions, 0 deletions
diff --git a/keyboards/keyten/kt60_m/config.h b/keyboards/keyten/kt60_m/config.h new file mode 100644 index 000000000..74378e7d2 --- /dev/null +++ b/keyboards/keyten/kt60_m/config.h | |||
@@ -0,0 +1,51 @@ | |||
1 | /* | ||
2 | Copyright 2022 Ivan Gromov (@key10iq) | ||
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 0xEB69 | ||
24 | #define PRODUCT_ID 0x6001 | ||
25 | #define DEVICE_VER 0x0001 | ||
26 | #define MANUFACTURER keyten | ||
27 | #define PRODUCT kt60-M | ||
28 | |||
29 | /* key matrix size */ | ||
30 | #define MATRIX_ROWS 5 | ||
31 | #define MATRIX_COLS 14 | ||
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 { C7, C6, B6, F7, F6 } | ||
44 | #define MATRIX_COL_PINS { B7, F0, F1, F4, F5, D1, D2, D3, D5, D4, D6, D7, B4, B5 } | ||
45 | #define UNUSED_PINS | ||
46 | |||
47 | /* COL2ROW or 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 \ No newline at end of file | ||
diff --git a/keyboards/keyten/kt60_m/info.json b/keyboards/keyten/kt60_m/info.json new file mode 100644 index 000000000..9f40a13b2 --- /dev/null +++ b/keyboards/keyten/kt60_m/info.json | |||
@@ -0,0 +1,78 @@ | |||
1 | { | ||
2 | "keyboard_name": "kt60-M", | ||
3 | "url": "", | ||
4 | "maintainer": "keyten", | ||
5 | "layouts": { | ||
6 | "LAYOUT": { | ||
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 | |||
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 | |||
39 | {"x": 0, "y": 2, "w": 1.75}, | ||
40 | {"x": 1.75, "y": 2}, | ||
41 | {"x": 2.75, "y": 2}, | ||
42 | {"x": 3.75, "y": 2}, | ||
43 | {"x": 4.75, "y": 2}, | ||
44 | {"x": 5.75, "y": 2}, | ||
45 | {"x": 6.75, "y": 2}, | ||
46 | {"x": 7.75, "y": 2}, | ||
47 | {"x": 8.75, "y": 2}, | ||
48 | {"x": 9.75, "y": 2}, | ||
49 | {"x": 10.75, "y": 2}, | ||
50 | {"x": 11.75, "y": 2}, | ||
51 | {"x": 12.75, "y": 2, "w": 2.25}, | ||
52 | |||
53 | {"x": 0, "y": 3, "w": 2.25}, | ||
54 | {"x": 2.25, "y": 3}, | ||
55 | {"x": 3.25, "y": 3}, | ||
56 | {"x": 4.25, "y": 3}, | ||
57 | {"x": 5.25, "y": 3}, | ||
58 | {"x": 6.25, "y": 3}, | ||
59 | {"x": 7.25, "y": 3}, | ||
60 | {"x": 8.25, "y": 3}, | ||
61 | {"x": 9.25, "y": 3}, | ||
62 | {"x": 10.25, "y": 3}, | ||
63 | {"x": 11.25, "y": 3}, | ||
64 | {"x": 12.25, "y": 3, "w": 1.75}, | ||
65 | {"x": 14, "y": 3}, | ||
66 | |||
67 | {"x": 0, "y": 4, "w": 1.5}, | ||
68 | {"x": 1.5, "y": 4}, | ||
69 | {"x": 2.5, "y": 4, "w": 1.5}, | ||
70 | {"x": 4, "y": 4, "w": 7}, | ||
71 | {"x": 11, "y": 4, "w": 1.5}, | ||
72 | {"x": 12.5, "y": 4}, | ||
73 | {"x": 13.5, "y": 4, "w": 1.5} | ||
74 | ] | ||
75 | } | ||
76 | |||
77 | } | ||
78 | } | ||
diff --git a/keyboards/keyten/kt60_m/keymaps/default/keymap.c b/keyboards/keyten/kt60_m/keymaps/default/keymap.c new file mode 100644 index 000000000..f4343b241 --- /dev/null +++ b/keyboards/keyten/kt60_m/keymaps/default/keymap.c | |||
@@ -0,0 +1,39 @@ | |||
1 | /* Copyright 2022 Ivan Gromov (@key10iq) | ||
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 | _MAIN, | ||
21 | _FN | ||
22 | }; | ||
23 | |||
24 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||
25 | |||
26 | [_MAIN] = LAYOUT( | ||
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, | ||
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, | ||
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_BSPC, | ||
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, MO(1), | ||
31 | KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, KC_RGUI, KC_RCTL), | ||
32 | |||
33 | [_FN] = LAYOUT( | ||
34 | _______, 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 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
36 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
37 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
38 | _______, _______, _______, _______, _______, _______, _______) | ||
39 | }; | ||
diff --git a/keyboards/keyten/kt60_m/keymaps/default/readme.md b/keyboards/keyten/kt60_m/keymaps/default/readme.md new file mode 100644 index 000000000..821228e1c --- /dev/null +++ b/keyboards/keyten/kt60_m/keymaps/default/readme.md | |||
@@ -0,0 +1 @@ | |||
# The default keymap for kt60-M | |||
diff --git a/keyboards/keyten/kt60_m/keymaps/via/keymap.c b/keyboards/keyten/kt60_m/keymaps/via/keymap.c new file mode 100644 index 000000000..4e483027b --- /dev/null +++ b/keyboards/keyten/kt60_m/keymaps/via/keymap.c | |||
@@ -0,0 +1,48 @@ | |||
1 | /* Copyright 2022 Ivan Gromov (@key10iq) | ||
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_GRV, | ||
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, | ||
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_ENT, KC_BSPC, | ||
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, MO(1), | ||
26 | KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, KC_RGUI, KC_RCTL), | ||
27 | |||
28 | [1] = LAYOUT( | ||
29 | _______, 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 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
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/keyten/kt60_m/keymaps/via/readme.md b/keyboards/keyten/kt60_m/keymaps/via/readme.md new file mode 100644 index 000000000..4d8109bbd --- /dev/null +++ b/keyboards/keyten/kt60_m/keymaps/via/readme.md | |||
@@ -0,0 +1 @@ | |||
# The VIA keymap for kt60-M | |||
diff --git a/keyboards/keyten/kt60_m/keymaps/via/rules.mk b/keyboards/keyten/kt60_m/keymaps/via/rules.mk new file mode 100644 index 000000000..036bd6d1c --- /dev/null +++ b/keyboards/keyten/kt60_m/keymaps/via/rules.mk | |||
@@ -0,0 +1 @@ | |||
VIA_ENABLE = yes \ No newline at end of file | |||
diff --git a/keyboards/keyten/kt60_m/kt60_m.c b/keyboards/keyten/kt60_m/kt60_m.c new file mode 100644 index 000000000..63a7f8d6b --- /dev/null +++ b/keyboards/keyten/kt60_m/kt60_m.c | |||
@@ -0,0 +1,18 @@ | |||
1 | /* Copyright 2022 Ivan Gromov (@key10iq) | ||
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 | |||
18 | #include "kt60_m.h" \ No newline at end of file | ||
diff --git a/keyboards/keyten/kt60_m/kt60_m.h b/keyboards/keyten/kt60_m/kt60_m.h new file mode 100644 index 000000000..700609925 --- /dev/null +++ b/keyboards/keyten/kt60_m/kt60_m.h | |||
@@ -0,0 +1,48 @@ | |||
1 | /* Copyright 2022 Ivan Gromov (@key10iq) | ||
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 XXX KC_NO | ||
22 | |||
23 | /* LAYOUT | ||
24 | * ┌───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┐ | ||
25 | * │00 │01 │02 │03 │04 │05 │06 │07 │08 │09 │0a │0b │0c │0d │2d │ | ||
26 | * ├───┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴───┤ | ||
27 | * │10 │11 │12 │13 │14 │15 │16 │17 │18 │19 │1a │1b │1c │1d │ | ||
28 | * ├─────┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴─────┤ | ||
29 | * │20 │21 │22 │23 │24 │25 │26 │27 │28 │29 │2a │2b │2c │ | ||
30 | * ├──────┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴────┬───┤ | ||
31 | * │30 │31 │32 │33 │34 │35 │36 │37 │38 │39 │3a │3c │3d │ | ||
32 | * ├─────┬──┴┬──┴──┬┴───┴───┴───┴───┴───┴───┴──┬┴───┴┬───┬─┴───┤ | ||
33 | * │40 │41 │42 │46 │4a │4c │4d │ | ||
34 | * └─────┴───┴─────┴───────────────────────────┴─────┴───┴─────┘ | ||
35 | */ | ||
36 | #define LAYOUT( \ | ||
37 | k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0a, k0b, k0c, k0d, \ | ||
38 | k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1a, k1b, k1c, k1d, \ | ||
39 | k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, k2a, k2b, k2c, k2d, \ | ||
40 | k30, k31, k32, k33, k34, k35, k36, k37, k38, k39, k3a, k3c, k3d, \ | ||
41 | k40, k41, k42, k46, k4a, k4c, k4d \ | ||
42 | ) { \ | ||
43 | { k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0a, k0b, k0c, k0d }, \ | ||
44 | { k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1a, k1b, k1c, k1d }, \ | ||
45 | { k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, k2a, k2b, k2c, k2d }, \ | ||
46 | { k30, k31, k32, k33, k34, k35, k36, k37, k38, k39, k3a, XXX, k3c, k3d }, \ | ||
47 | { k40, k41, k42, XXX, XXX, XXX, k46, XXX, XXX, XXX, k4a, XXX, k4c, k4d } \ | ||
48 | } | ||
diff --git a/keyboards/keyten/kt60_m/readme.md b/keyboards/keyten/kt60_m/readme.md new file mode 100644 index 000000000..32ca32c4b --- /dev/null +++ b/keyboards/keyten/kt60_m/readme.md | |||
@@ -0,0 +1,27 @@ | |||
1 | # keyten kt60-M | ||
2 | |||
3 | 60% MX PCB with a minimum number of required layouts. | ||
4 | |||
5 |  | ||
6 | |||
7 | * Keyboard Maintainer: [keyten](https://github.com/key10iq) | ||
8 | * Hardware Supported: keyten kt60-M | ||
9 | * Hardware Availability: [GB](https://www.reddit.com/r/mechmarket/comments/s4jvsc/gb_kt60m_60_universal_pcb_with_a_minimum_number) | ||
10 | |||
11 | Make example for this keyboard (after setting up your build environment): | ||
12 | |||
13 | make keyten/kt60_m:default | ||
14 | |||
15 | Flashing example for this keyboard: | ||
16 | |||
17 | make keyten/kt60_m: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). | ||
20 | |||
21 | ## Bootloader | ||
22 | |||
23 | Enter the bootloader in 3 ways: | ||
24 | |||
25 | * Bootmagic reset: Hold down the key at (0,0) in the matrix (usually the top left key or Escape) and plug in the keyboard | ||
26 | * Keycode in layout: Press the key mapped to RESET if it is available | ||
27 | * Physical reset button: Press the button on the back of the PCB | ||
diff --git a/keyboards/keyten/kt60_m/rules.mk b/keyboards/keyten/kt60_m/rules.mk new file mode 100644 index 000000000..6983d5c80 --- /dev/null +++ b/keyboards/keyten/kt60_m/rules.mk | |||
@@ -0,0 +1,19 @@ | |||
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 | RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow | ||
18 | AUDIO_ENABLE = no # Audio output | ||
19 | LTO_ENABLE = yes | ||