diff options
author | Akshay <[email protected]> | 2022-04-10 12:13:40 +0100 |
---|---|---|
committer | Akshay <[email protected]> | 2022-04-10 12:13:40 +0100 |
commit | dc90387ce7d8ba7b607d9c48540bf6d8b560f14d (patch) | |
tree | 4ccb8fa5886b66fa9d480edef74236c27f035e16 /keyboards/doro67/regular |
Diffstat (limited to 'keyboards/doro67/regular')
-rw-r--r-- | keyboards/doro67/regular/config.h | 32 | ||||
-rw-r--r-- | keyboards/doro67/regular/info.json | 76 | ||||
-rw-r--r-- | keyboards/doro67/regular/keymaps/default/keymap.c | 60 | ||||
-rw-r--r-- | keyboards/doro67/regular/keymaps/default/readme.md | 5 | ||||
-rw-r--r-- | keyboards/doro67/regular/keymaps/via/keymap.c | 76 | ||||
-rw-r--r-- | keyboards/doro67/regular/keymaps/via/readme.md | 5 | ||||
-rw-r--r-- | keyboards/doro67/regular/keymaps/via/rules.mk | 2 | ||||
-rw-r--r-- | keyboards/doro67/regular/readme.md | 19 | ||||
-rw-r--r-- | keyboards/doro67/regular/regular.c | 16 | ||||
-rw-r--r-- | keyboards/doro67/regular/regular.h | 32 | ||||
-rw-r--r-- | keyboards/doro67/regular/rules.mk | 20 |
11 files changed, 343 insertions, 0 deletions
diff --git a/keyboards/doro67/regular/config.h b/keyboards/doro67/regular/config.h new file mode 100644 index 000000000..c778ed7a0 --- /dev/null +++ b/keyboards/doro67/regular/config.h | |||
@@ -0,0 +1,32 @@ | |||
1 | #pragma once | ||
2 | |||
3 | #include "config_common.h" | ||
4 | |||
5 | /* USB Device descriptor parameter */ | ||
6 | #define VENDOR_ID 0x4250 // BP for Backprop | ||
7 | #define PRODUCT_ID 0x5245 // RE for Regular | ||
8 | #define DEVICE_VER 0x0001 | ||
9 | #define MANUFACTURER Backprop Studio | ||
10 | #define PRODUCT Doro67 Regular PCB | ||
11 | |||
12 | /* key matrix size */ | ||
13 | #define MATRIX_ROWS 5 | ||
14 | #define MATRIX_COLS 15 | ||
15 | |||
16 | /* | ||
17 | * Keyboard Matrix Assignments | ||
18 | * | ||
19 | * Change this to how you wired your keyboard | ||
20 | * COLS: AVR pins used for columns, left to right | ||
21 | * ROWS: AVR pins used for rows, top to bottom | ||
22 | * DIODE_DIRECTION: COL2ROW = COL = Anode (+), ROW = Cathode (-, marked on diode) | ||
23 | * ROW2COL = ROW = Anode (+), COL = Cathode (-, marked on diode) | ||
24 | * | ||
25 | */ | ||
26 | #define MATRIX_ROW_PINS { D0, D1, D2, D3, D5 } | ||
27 | #define MATRIX_COL_PINS { B0, B1, B2, B3, D4, D6, D7, B4, B5, B6, C6, C7, F5, F6, F7 } | ||
28 | |||
29 | #define DIODE_DIRECTION COL2ROW | ||
30 | |||
31 | #define LED_CAPS_LOCK_PIN E6 | ||
32 | #define LED_PIN_ON_STATE 0 | ||
diff --git a/keyboards/doro67/regular/info.json b/keyboards/doro67/regular/info.json new file mode 100644 index 000000000..34120a166 --- /dev/null +++ b/keyboards/doro67/regular/info.json | |||
@@ -0,0 +1,76 @@ | |||
1 | { | ||
2 | "maintainer": "qmk", | ||
3 | "layouts": { | ||
4 | "LAYOUT_65_ansi_blocker": { | ||
5 | "layout": [ | ||
6 | {"label":"K00", "x":0, "y":0}, | ||
7 | {"label":"K01", "x":1, "y":0}, | ||
8 | {"label":"K02", "x":2, "y":0}, | ||
9 | {"label":"K03", "x":3, "y":0}, | ||
10 | {"label":"K04", "x":4, "y":0}, | ||
11 | {"label":"K05", "x":5, "y":0}, | ||
12 | {"label":"K06", "x":6, "y":0}, | ||
13 | {"label":"K07", "x":7, "y":0}, | ||
14 | {"label":"K08", "x":8, "y":0}, | ||
15 | {"label":"K09", "x":9, "y":0}, | ||
16 | {"label":"K0A", "x":10, "y":0}, | ||
17 | {"label":"K0B", "x":11, "y":0}, | ||
18 | {"label":"K0C", "x":12, "y":0}, | ||
19 | {"label":"K0D", "x":13, "y":0, "w":2}, | ||
20 | {"label":"K0E", "x":15, "y":0}, | ||
21 | {"label":"K10", "x":0, "y":1, "w":1.5}, | ||
22 | {"label":"K11", "x":1.5, "y":1}, | ||
23 | {"label":"K12", "x":2.5, "y":1}, | ||
24 | {"label":"K13", "x":3.5, "y":1}, | ||
25 | {"label":"K14", "x":4.5, "y":1}, | ||
26 | {"label":"K15", "x":5.5, "y":1}, | ||
27 | {"label":"K16", "x":6.5, "y":1}, | ||
28 | {"label":"K17", "x":7.5, "y":1}, | ||
29 | {"label":"K18", "x":8.5, "y":1}, | ||
30 | {"label":"K19", "x":9.5, "y":1}, | ||
31 | {"label":"K1A", "x":10.5, "y":1}, | ||
32 | {"label":"K1B", "x":11.5, "y":1}, | ||
33 | {"label":"K1C", "x":12.5, "y":1}, | ||
34 | {"label":"K1D", "x":13.5, "y":1, "w":1.5}, | ||
35 | {"label":"K1E", "x":15, "y":1}, | ||
36 | {"label":"K20", "x":0, "y":2, "w":1.75}, | ||
37 | {"label":"K21", "x":1.75, "y":2}, | ||
38 | {"label":"K22", "x":2.75, "y":2}, | ||
39 | {"label":"K23", "x":3.75, "y":2}, | ||
40 | {"label":"K24", "x":4.75, "y":2}, | ||
41 | {"label":"K25", "x":5.75, "y":2}, | ||
42 | {"label":"K26", "x":6.75, "y":2}, | ||
43 | {"label":"K27", "x":7.75, "y":2}, | ||
44 | {"label":"K28", "x":8.75, "y":2}, | ||
45 | {"label":"K29", "x":9.75, "y":2}, | ||
46 | {"label":"K2A", "x":10.75, "y":2}, | ||
47 | {"label":"K2B", "x":11.75, "y":2}, | ||
48 | {"label":"K2D", "x":12.75, "y":2, "w":2.25}, | ||
49 | {"label":"K2E", "x":15, "y":2}, | ||
50 | {"label":"K30", "x":0, "y":3, "w":2.25}, | ||
51 | {"label":"K32", "x":2.25, "y":3}, | ||
52 | {"label":"K33", "x":3.25, "y":3}, | ||
53 | {"label":"K34", "x":4.25, "y":3}, | ||
54 | {"label":"K35", "x":5.25, "y":3}, | ||
55 | {"label":"K36", "x":6.25, "y":3}, | ||
56 | {"label":"K37", "x":7.25, "y":3}, | ||
57 | {"label":"K38", "x":8.25, "y":3}, | ||
58 | {"label":"K39", "x":9.25, "y":3}, | ||
59 | {"label":"K3A", "x":10.25, "y":3}, | ||
60 | {"label":"K3B", "x":11.25, "y":3}, | ||
61 | {"label":"K3C", "x":12.25, "y":3, "w":1.75}, | ||
62 | {"label":"K3D", "x":14, "y":3}, | ||
63 | {"label":"K3E", "x":15, "y":3}, | ||
64 | {"label":"K40", "x":0, "y":4, "w":1.25}, | ||
65 | {"label":"K41", "x":1.25, "y":4, "w":1.25}, | ||
66 | {"label":"K42", "x":2.5, "y":4, "w":1.25}, | ||
67 | {"label":"K43", "x":3.75, "y":4, "w":6.25}, | ||
68 | {"label":"K49", "x":10, "y":4, "w":1.25}, | ||
69 | {"label":"K4A", "x":11.25, "y":4, "w":1.25}, | ||
70 | {"label":"K4C", "x":13, "y":4}, | ||
71 | {"label":"K4D", "x":14, "y":4}, | ||
72 | {"label":"K4E", "x":15, "y":4} | ||
73 | ] | ||
74 | } | ||
75 | } | ||
76 | } | ||
diff --git a/keyboards/doro67/regular/keymaps/default/keymap.c b/keyboards/doro67/regular/keymaps/default/keymap.c new file mode 100644 index 000000000..6a1e3c3d4 --- /dev/null +++ b/keyboards/doro67/regular/keymaps/default/keymap.c | |||
@@ -0,0 +1,60 @@ | |||
1 | /* Copyright 2019 MechMerlin | ||
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 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||
19 | /* Default layer | ||
20 | * ┌───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───────┬───┐ | ||
21 | * │Esc│ 1 │ 2 │ 3 │ 4 │ 5 │ 6 │ 7 │ 8 │ 9 │ 0 │ - │ = │Bspace │Ins│ | ||
22 | * ├───┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─────┼───┤ | ||
23 | * │ Tab │ Q │ W │ E │ R │ T │ Y │ U │ I │ O │ P │ [ │ ] │ \ │Del│ | ||
24 | * ├─────┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴─────┼───┤ | ||
25 | * │ Caps │ A │ S │ D │ F │ G │ H │ J │ K │ L │ ; │ ' │ Enter │PgU│ | ||
26 | * ├──────┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴────┬───┼───┤ | ||
27 | * │ LShift │ Z │ X │ C │ V │ B │ N │ M │ , │ . │ / │RShift│ ↑ │PgD│ | ||
28 | * ├────┬───┴┬──┴─┬─┴───┴───┴───┴───┴───┴──┬┴───┼───┴┬─┬───┼───┼───┤ | ||
29 | * │LCtl│LGui│LAlt│ Space │RAlt│ Fn │ │ ← │ ↓ │ → │ | ||
30 | * └────┴────┴────┴────────────────────────┴────┴────┘ └───┴───┴───┘ | ||
31 | */ | ||
32 | [0] = LAYOUT_65_ansi_blocker( | ||
33 | 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_INS, | ||
34 | 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_DEL, | ||
35 | 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, | ||
36 | 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, | ||
37 | KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, MO(1), KC_LEFT, KC_DOWN, KC_RGHT | ||
38 | ), | ||
39 | |||
40 | /* Fn layer | ||
41 | * ┌───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───────┬───┐ | ||
42 | * │ ` │F1 │F2 │F3 │F4 │F5 │F6 │F7 │F8 │F9 │F10│F11│F12│ │ │ | ||
43 | * ├───┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─────┼───┤ | ||
44 | * │ │ │ │ │Rst│ │ │ │ │ │ │ │ │ │ │ | ||
45 | * ├─────┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴─────┼───┤ | ||
46 | * │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ | ||
47 | * ├──────┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴────┬───┼───┤ | ||
48 | * │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ | ||
49 | * ├────┬───┴┬──┴─┬─┴───┴───┴───┴───┴───┴──┬┴───┼───┴┬─┬───┼───┼───┤ | ||
50 | * │ │ │ │ │ │ │ │ │ │ │ | ||
51 | * └────┴────┴────┴────────────────────────┴────┴────┘ └───┴───┴───┘ | ||
52 | */ | ||
53 | [1] = LAYOUT_65_ansi_blocker( | ||
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, _______, _______, | ||
55 | _______, _______, _______, _______, RESET, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
56 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
57 | _______, _______, RGB_HUD, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
58 | _______, _______, _______, _______, _______, _______, _______, _______, _______ | ||
59 | ), | ||
60 | }; | ||
diff --git a/keyboards/doro67/regular/keymaps/default/readme.md b/keyboards/doro67/regular/keymaps/default/readme.md new file mode 100644 index 000000000..0af057d78 --- /dev/null +++ b/keyboards/doro67/regular/keymaps/default/readme.md | |||
@@ -0,0 +1,5 @@ | |||
1 | # The default keymap for doro67 | ||
2 | |||
3 | **THIS IS THE DEFAULT KEYMAP DIRECTORY (AVAILABILITY: CHINA GB ONLY)** | ||
4 | If you are a non-china buyer, you probably have the multi PCB or rgb PCB. | ||
5 | Please look at the "multi" and "rgb" readme files. \ No newline at end of file | ||
diff --git a/keyboards/doro67/regular/keymaps/via/keymap.c b/keyboards/doro67/regular/keymaps/via/keymap.c new file mode 100644 index 000000000..8b1bc5fee --- /dev/null +++ b/keyboards/doro67/regular/keymaps/via/keymap.c | |||
@@ -0,0 +1,76 @@ | |||
1 | /* Copyright 2019 MechMerlin | ||
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 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||
19 | /* Default layer | ||
20 | * ┌───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───────┬───┐ | ||
21 | * │Esc│ 1 │ 2 │ 3 │ 4 │ 5 │ 6 │ 7 │ 8 │ 9 │ 0 │ - │ = │Bspace │Ins│ | ||
22 | * ├───┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─────┼───┤ | ||
23 | * │ Tab │ Q │ W │ E │ R │ T │ Y │ U │ I │ O │ P │ [ │ ] │ \ │Del│ | ||
24 | * ├─────┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴─────┼───┤ | ||
25 | * │ Caps │ A │ S │ D │ F │ G │ H │ J │ K │ L │ ; │ ' │ Enter │PgU│ | ||
26 | * ├──────┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴────┬───┼───┤ | ||
27 | * │ LShift │ Z │ X │ C │ V │ B │ N │ M │ , │ . │ / │RShift│ ↑ │PgD│ | ||
28 | * ├────┬───┴┬──┴─┬─┴───┴───┴───┴───┴───┴──┬┴───┼───┴┬─┬───┼───┼───┤ | ||
29 | * │LCtl│LGui│LAlt│ Space │RAlt│ Fn │ │ ← │ ↓ │ → │ | ||
30 | * └────┴────┴────┴────────────────────────┴────┴────┘ └───┴───┴───┘ | ||
31 | */ | ||
32 | [0] = LAYOUT_65_ansi_blocker( | ||
33 | 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_INS, | ||
34 | 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_DEL, | ||
35 | 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, | ||
36 | 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, | ||
37 | KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, MO(1), KC_LEFT, KC_DOWN, KC_RGHT | ||
38 | ), | ||
39 | |||
40 | /* Fn layer | ||
41 | * ┌───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───────┬───┐ | ||
42 | * │ ` │F1 │F2 │F3 │F4 │F5 │F6 │F7 │F8 │F9 │F10│F11│F12│ │ │ | ||
43 | * ├───┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─────┼───┤ | ||
44 | * │ │ │ │ │Rst│ │ │ │ │ │ │ │ │ │ │ | ||
45 | * ├─────┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴─────┼───┤ | ||
46 | * │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ | ||
47 | * ├──────┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴────┬───┼───┤ | ||
48 | * │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ | ||
49 | * ├────┬───┴┬──┴─┬─┴───┴───┴───┴───┴───┴──┬┴───┼───┴┬─┬───┼───┼───┤ | ||
50 | * │ │ │ │ │ │ │ │ │ │ │ | ||
51 | * └────┴────┴────┴────────────────────────┴────┴────┘ └───┴───┴───┘ | ||
52 | */ | ||
53 | [1] = LAYOUT_65_ansi_blocker( | ||
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, _______, _______, | ||
55 | _______, _______, _______, _______, RESET, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
56 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
57 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
58 | _______, _______, _______, _______, _______, _______, _______, _______, _______ | ||
59 | ), | ||
60 | |||
61 | [2] = LAYOUT_65_ansi_blocker( | ||
62 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
63 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
64 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
65 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
66 | _______, _______, _______, _______, _______, _______, _______, _______, _______ | ||
67 | ), | ||
68 | |||
69 | [3] = LAYOUT_65_ansi_blocker( | ||
70 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
71 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
72 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
73 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
74 | _______, _______, _______, _______, _______, _______, _______, _______, _______ | ||
75 | ), | ||
76 | }; | ||
diff --git a/keyboards/doro67/regular/keymaps/via/readme.md b/keyboards/doro67/regular/keymaps/via/readme.md new file mode 100644 index 000000000..0af057d78 --- /dev/null +++ b/keyboards/doro67/regular/keymaps/via/readme.md | |||
@@ -0,0 +1,5 @@ | |||
1 | # The default keymap for doro67 | ||
2 | |||
3 | **THIS IS THE DEFAULT KEYMAP DIRECTORY (AVAILABILITY: CHINA GB ONLY)** | ||
4 | If you are a non-china buyer, you probably have the multi PCB or rgb PCB. | ||
5 | Please look at the "multi" and "rgb" readme files. \ No newline at end of file | ||
diff --git a/keyboards/doro67/regular/keymaps/via/rules.mk b/keyboards/doro67/regular/keymaps/via/rules.mk new file mode 100644 index 000000000..36b7ba9cb --- /dev/null +++ b/keyboards/doro67/regular/keymaps/via/rules.mk | |||
@@ -0,0 +1,2 @@ | |||
1 | VIA_ENABLE = yes | ||
2 | LTO_ENABLE = yes | ||
diff --git a/keyboards/doro67/regular/readme.md b/keyboards/doro67/regular/readme.md new file mode 100644 index 000000000..e2ef7bc64 --- /dev/null +++ b/keyboards/doro67/regular/readme.md | |||
@@ -0,0 +1,19 @@ | |||
1 | # Doro67 Regular PCB | ||
2 | |||
3 | 65% custom keyboard made by 80ultraman/Alf/Backprop Studios available during the China Group Buy. | ||
4 | |||
5 | This is not the PCB with RGB support. Do not flash RGB firmware for this board. | ||
6 | |||
7 | **REGULAR PCB (AVAILABILITY: CHINA GB ONLY)* | ||
8 | If you are a non-china buyer, you probably have the multi PCB or rgb PCB. | ||
9 | Please look at the "multi" and "rgb" readme files. | ||
10 | |||
11 | Keyboard Maintainer: [MechMerlin](https://github.com/mechmerlin) | ||
12 | Hardware Supported: Doro67 Regular PCB | ||
13 | Hardware Availability: [Geekhack GB](https://geekhack.org/index.php?topic=97265.0) | ||
14 | |||
15 | Make example for this keyboard (after setting up your build environment): | ||
16 | |||
17 | make doro67/regular:default | ||
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/doro67/regular/regular.c b/keyboards/doro67/regular/regular.c new file mode 100644 index 000000000..c9b0a25b5 --- /dev/null +++ b/keyboards/doro67/regular/regular.c | |||
@@ -0,0 +1,16 @@ | |||
1 | /* Copyright 2019 MechMerlin | ||
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 "regular.h" | ||
diff --git a/keyboards/doro67/regular/regular.h b/keyboards/doro67/regular/regular.h new file mode 100644 index 000000000..e785bba39 --- /dev/null +++ b/keyboards/doro67/regular/regular.h | |||
@@ -0,0 +1,32 @@ | |||
1 | /* Copyright 2019 MechMerlin | ||
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 | #pragma once | ||
17 | |||
18 | #include "quantum.h" | ||
19 | |||
20 | #define LAYOUT_65_ansi_blocker( \ | ||
21 | k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0A, k0B, k0C, k0D, k0E, \ | ||
22 | k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1A, k1B, k1C, k1D, k1E, \ | ||
23 | k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, k2A, k2B, k2D, k2E, \ | ||
24 | k30, k32, k33, k34, k35, k36, k37, k38, k39, k3A, k3B, k3C, k3D, k3E, \ | ||
25 | k40, k41, k42, k43, k49, k4A, k4C, k4D, k4E \ | ||
26 | ) { \ | ||
27 | { k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0A, k0B, k0C, k0D, k0E }, \ | ||
28 | { k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1A, k1B, k1C, k1D, k1E }, \ | ||
29 | { k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, k2A, k2B, KC_NO, k2D, k2E }, \ | ||
30 | { k30, KC_NO, k32, k33, k34, k35, k36, k37, k38, k39, k3A, k3B, k3C, k3D, k3E }, \ | ||
31 | { k40, k41, k42, k43, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, k49, k4A, KC_NO, k4C, k4D, k4E }, \ | ||
32 | } | ||
diff --git a/keyboards/doro67/regular/rules.mk b/keyboards/doro67/regular/rules.mk new file mode 100644 index 000000000..cce44f463 --- /dev/null +++ b/keyboards/doro67/regular/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 = yes # Console for debug | ||
14 | COMMAND_ENABLE = yes # Commands for debug and configuration | ||
15 | NKRO_ENABLE = no # 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 | |||
20 | LAYOUTS = 65_ansi_blocker | ||