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/coarse |
Diffstat (limited to 'keyboards/coarse')
31 files changed, 1208 insertions, 0 deletions
diff --git a/keyboards/coarse/cordillera/chconf.h b/keyboards/coarse/cordillera/chconf.h new file mode 100644 index 000000000..4f9d43325 --- /dev/null +++ b/keyboards/coarse/cordillera/chconf.h | |||
@@ -0,0 +1,31 @@ | |||
1 | /* Copyright 2020 QMK | ||
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 | * This file was auto-generated by: | ||
19 | * `qmk chibios-confmigrate -i keyboards/coarse/cordillera/chconf.h -r platforms/chibios/common/configs/chconf.h` | ||
20 | */ | ||
21 | |||
22 | #pragma once | ||
23 | |||
24 | #define CH_CFG_ST_FREQUENCY 10000 | ||
25 | |||
26 | #define CH_CFG_OPTIMIZE_SPEED FALSE | ||
27 | |||
28 | #define CH_CFG_USE_CONDVARS_TIMEOUT FALSE | ||
29 | |||
30 | #include_next <chconf.h> | ||
31 | |||
diff --git a/keyboards/coarse/cordillera/config.h b/keyboards/coarse/cordillera/config.h new file mode 100644 index 000000000..1d8c9e294 --- /dev/null +++ b/keyboards/coarse/cordillera/config.h | |||
@@ -0,0 +1,75 @@ | |||
1 | /* | ||
2 | Copyright 2020 coarse <[email protected]> | ||
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 | /* USB Device descriptor parameter */ | ||
21 | #define VENDOR_ID 0x434B // CK for Coarse Keys | ||
22 | #define PRODUCT_ID 0x1401 // '20 - 001 | ||
23 | #define DEVICE_VER 0x0001 // Revision prototype | ||
24 | #define MANUFACTURER Coarse | ||
25 | #define PRODUCT Cordillera | ||
26 | |||
27 | /* key matrix size */ | ||
28 | #define MATRIX_ROWS 5 | ||
29 | #define MATRIX_COLS 16 | ||
30 | |||
31 | #define MATRIX_ROW_PINS { A13, B9, F1, A10, A9 } | ||
32 | #define MATRIX_COL_PINS { B15, B14, B13, B12, B11, B10, B2, B1, B8, B7, B6, B5, B4, B3, A15, A14 } | ||
33 | #define DIODE_DIRECTION COL2ROW | ||
34 | |||
35 | #define LED_NUM_LOCK_PIN B0 | ||
36 | #define LED_CAPS_LOCK_PIN A1 | ||
37 | #define LED_SCROLL_LOCK_PIN A0 | ||
38 | #define LED_PIN_ON_STATE 0 | ||
39 | |||
40 | #define BACKLIGHT_PIN A8 | ||
41 | #define BACKLIGHT_PWM_DRIVER PWMD1 | ||
42 | #define BACKLIGHT_PWM_CHANNEL 1 | ||
43 | #define BACKLIGHT_PAL_MODE 1 | ||
44 | #define BACKLIGHT_LEVELS 6 | ||
45 | #define BACKLIGHT_BREATHING | ||
46 | #define BREATHING_PERIOD 6 | ||
47 | |||
48 | /* define if matrix has ghost */ | ||
49 | //#define MATRIX_HAS_GHOST | ||
50 | |||
51 | /* Set 0 if debouncing isn't needed */ | ||
52 | #define DEBOUNCE 5 | ||
53 | |||
54 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | ||
55 | #define LOCKING_SUPPORT_ENABLE | ||
56 | /* Locking resynchronize hack */ | ||
57 | #define LOCKING_RESYNC_ENABLE | ||
58 | |||
59 | /* | ||
60 | * Feature disable options | ||
61 | * These options are also useful to firmware size reduction. | ||
62 | */ | ||
63 | |||
64 | /* disable debug print */ | ||
65 | //#define NO_DEBUG | ||
66 | |||
67 | /* disable print */ | ||
68 | //#define NO_PRINT | ||
69 | |||
70 | /* disable action features */ | ||
71 | //#define NO_ACTION_LAYER | ||
72 | //#define NO_ACTION_TAPPING | ||
73 | //#define NO_ACTION_ONESHOT | ||
74 | //#define NO_ACTION_MACRO | ||
75 | //#define NO_ACTION_FUNCTION | ||
diff --git a/keyboards/coarse/cordillera/cordillera.c b/keyboards/coarse/cordillera/cordillera.c new file mode 100644 index 000000000..437547ff2 --- /dev/null +++ b/keyboards/coarse/cordillera/cordillera.c | |||
@@ -0,0 +1,18 @@ | |||
1 | /* | ||
2 | Copyright 2020 coarse <[email protected]> | ||
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 "cordillera.h" | ||
diff --git a/keyboards/coarse/cordillera/cordillera.h b/keyboards/coarse/cordillera/cordillera.h new file mode 100644 index 000000000..01ae781cf --- /dev/null +++ b/keyboards/coarse/cordillera/cordillera.h | |||
@@ -0,0 +1,90 @@ | |||
1 | /* | ||
2 | Copyright 2020 coarse <[email protected]> | ||
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 "quantum.h" | ||
21 | |||
22 | #define XXX KC_NO | ||
23 | |||
24 | // Full backspace | ||
25 | // Split right shift | ||
26 | #define LAYOUT_alice( \ | ||
27 | k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0a, k0b, k0c, k0d, k0f, \ | ||
28 | k10, k11, k12, k13, k14, k15, k16, k18, k19, k1a, k1b, k1c, k1d, k1e, k1f, \ | ||
29 | k20, k21, k22, k23, k24, k25, k26, k28, k29, k2a, k2b, k2c, k2d, k2f, \ | ||
30 | k31, k32, k33, k34, k35, k36, k38, k39, k3a, k3b, k3c, k3d, k3e, k3f, \ | ||
31 | k41, k43, k45, k46, k49, k4b, k4f \ | ||
32 | ) \ | ||
33 | { \ | ||
34 | { k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0a, k0b, k0c, k0d, XXX, k0f }, \ | ||
35 | { k10, k11, k12, k13, k14, k15, k16, XXX, k18, k19, k1a, k1b, k1c, k1d, k1e, k1f }, \ | ||
36 | { k20, k21, k22, k23, k24, k25, k26, XXX, k28, k29, k2a, k2b, k2c, k2d, XXX, k2f }, \ | ||
37 | { XXX, k31, k32, k33, k34, k35, k36, XXX, k38, k39, k3a, k3b, k3c, k3d, k3e, k3f }, \ | ||
38 | { XXX, k41, XXX, k43, XXX, k45, k46, XXX, XXX, k49, XXX, k4b, XXX, XXX, XXX, k4f }, \ | ||
39 | } | ||
40 | |||
41 | // Split backspace | ||
42 | // Split right shift | ||
43 | #define LAYOUT_alice_split_bs( \ | ||
44 | k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0a, k0b, k0c, k0d, k0e, k0f, \ | ||
45 | k10, k11, k12, k13, k14, k15, k16, k18, k19, k1a, k1b, k1c, k1d, k1e, k1f, \ | ||
46 | k20, k21, k22, k23, k24, k25, k26, k28, k29, k2a, k2b, k2c, k2d, k2f, \ | ||
47 | k31, k32, k33, k34, k35, k36, k38, k39, k3a, k3b, k3c, k3d, k3e, k3f, \ | ||
48 | k41, k43, k45, k46, k49, k4b, k4f \ | ||
49 | ) \ | ||
50 | { \ | ||
51 | { k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0a, k0b, k0c, k0d, k0e, k0f }, \ | ||
52 | { k10, k11, k12, k13, k14, k15, k16, XXX, k18, k19, k1a, k1b, k1c, k1d, k1e, k1f }, \ | ||
53 | { k20, k21, k22, k23, k24, k25, k26, XXX, k28, k29, k2a, k2b, k2c, k2d, XXX, k2f }, \ | ||
54 | { XXX, k31, k32, k33, k34, k35, k36, XXX, k38, k39, k3a, k3b, k3c, k3d, k3e, k3f }, \ | ||
55 | { XXX, k41, XXX, k43, XXX, k45, k46, XXX, XXX, k49, XXX, k4b, XXX, XXX, XXX, k4f }, \ | ||
56 | } | ||
57 | |||
58 | // Split backspace | ||
59 | // Full right shift | ||
60 | #define LAYOUT_alice_split_bs_full_rshift( \ | ||
61 | k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0a, k0b, k0c, k0d, k0e, k0f, \ | ||
62 | k10, k11, k12, k13, k14, k15, k16, k18, k19, k1a, k1b, k1c, k1d, k1e, k1f, \ | ||
63 | k20, k21, k22, k23, k24, k25, k26, k28, k29, k2a, k2b, k2c, k2d, k2f, \ | ||
64 | k31, k32, k33, k34, k35, k36, k38, k39, k3a, k3b, k3c, k3d, k3e, \ | ||
65 | k41, k43, k45, k46, k49, k4b, k4f \ | ||
66 | ) \ | ||
67 | { \ | ||
68 | { k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0a, k0b, k0c, k0d, k0e, k0f }, \ | ||
69 | { k10, k11, k12, k13, k14, k15, k16, XXX, k18, k19, k1a, k1b, k1c, k1d, k1e, k1f }, \ | ||
70 | { k20, k21, k22, k23, k24, k25, k26, XXX, k28, k29, k2a, k2b, k2c, k2d, XXX, k2f }, \ | ||
71 | { XXX, k31, k32, k33, k34, k35, k36, XXX, k38, k39, k3a, k3b, k3c, k3d, k3e, k3f }, \ | ||
72 | { XXX, k41, XXX, k43, XXX, k45, k46, XXX, XXX, k49, XXX, k4b, XXX, XXX, XXX, k4f }, \ | ||
73 | } | ||
74 | |||
75 | // Full backspace | ||
76 | // Full right shift | ||
77 | #define LAYOUT_alice_full_rshift( \ | ||
78 | k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0a, k0b, k0c, k0d, k0f, \ | ||
79 | k10, k11, k12, k13, k14, k15, k16, k18, k19, k1a, k1b, k1c, k1d, k1e, k1f, \ | ||
80 | k20, k21, k22, k23, k24, k25, k26, k28, k29, k2a, k2b, k2c, k2d, k2f, \ | ||
81 | k31, k32, k33, k34, k35, k36, k38, k39, k3a, k3b, k3c, k3d, k3e, \ | ||
82 | k41, k43, k45, k46, k49, k4b, k4f \ | ||
83 | ) \ | ||
84 | { \ | ||
85 | { k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0a, k0b, k0c, k0d, XXX, k0f }, \ | ||
86 | { k10, k11, k12, k13, k14, k15, k16, XXX, k18, k19, k1a, k1b, k1c, k1d, k1e, k1f }, \ | ||
87 | { k20, k21, k22, k23, k24, k25, k26, XXX, k28, k29, k2a, k2b, k2c, k2d, XXX, k2f }, \ | ||
88 | { XXX, k31, k32, k33, k34, k35, k36, XXX, k38, k39, k3a, k3b, k3c, k3d, k3e, k3f }, \ | ||
89 | { XXX, k41, XXX, k43, XXX, k45, k46, XXX, XXX, k49, XXX, k4b, XXX, XXX, XXX, k4f }, \ | ||
90 | } | ||
diff --git a/keyboards/coarse/cordillera/halconf.h b/keyboards/coarse/cordillera/halconf.h new file mode 100644 index 000000000..a10baad43 --- /dev/null +++ b/keyboards/coarse/cordillera/halconf.h | |||
@@ -0,0 +1,27 @@ | |||
1 | /* Copyright 2020 QMK | ||
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 | * This file was auto-generated by: | ||
19 | * `qmk chibios-confmigrate -i keyboards/coarse/cordillera/halconf.h -r platforms/chibios/common/configs/halconf.h` | ||
20 | */ | ||
21 | |||
22 | #pragma once | ||
23 | |||
24 | #define HAL_USE_PWM TRUE | ||
25 | |||
26 | #include_next <halconf.h> | ||
27 | |||
diff --git a/keyboards/coarse/cordillera/info.json b/keyboards/coarse/cordillera/info.json new file mode 100644 index 000000000..a94459180 --- /dev/null +++ b/keyboards/coarse/cordillera/info.json | |||
@@ -0,0 +1,299 @@ | |||
1 | { | ||
2 | "keyboard_name": "Cordillera", | ||
3 | "url": "https://keyboard.coarse.tech/Cordillera-Alice-like-PCB-b34d95777ea44249bad3271b01d7838a", | ||
4 | "maintainer": "coarse", | ||
5 | "layouts": { | ||
6 | "LAYOUT_alice": { | ||
7 | "layout": [ | ||
8 | {"label":"Esc", "x":0.5, "y":0}, | ||
9 | {"label":"`", "x":1.75, "y":0.25}, | ||
10 | {"label":"1", "x":2.75, "y":0.25}, | ||
11 | {"label":"2", "x":3.75, "y":0}, | ||
12 | {"label":"3", "x":4.75, "y":0.25}, | ||
13 | {"label":"4", "x":5.75, "y":0.25}, | ||
14 | {"label":"5", "x":6.75, "y":0.25}, | ||
15 | {"label":"6", "x":7.75, "y":0.25}, | ||
16 | {"label":"7", "x":11, "y":0.25}, | ||
17 | {"label":"8", "x":12, "y":0.25}, | ||
18 | {"label":"9", "x":13, "y":0.25}, | ||
19 | {"label":"0", "x":14, "y":0.25}, | ||
20 | {"label":"-", "x":15, "y":0}, | ||
21 | {"label":"=", "x":16, "y":0.25}, | ||
22 | {"label":"Backspace", "x":17, "y":0.25, "w":2}, | ||
23 | |||
24 | {"label":"PgUp", "x":0.25, "y":1}, | ||
25 | {"label":"Tab", "x":1.5, "y":1.25, "w":1.5}, | ||
26 | {"label":"Q", "x":3, "y":1.25}, | ||
27 | {"label":"W", "x":4.25, "y":1.25}, | ||
28 | {"label":"E", "x":5.25, "y":1.25}, | ||
29 | {"label":"R", "x":6.25, "y":1.25}, | ||
30 | {"label":"T", "x":7.25, "y":1.25}, | ||
31 | {"label":"Y", "x":10.5, "y":1.25}, | ||
32 | {"label":"U", "x":11.5, "y":1.25}, | ||
33 | {"label":"I", "x":12.5, "y":1.25}, | ||
34 | {"label":"O", "x":13.5, "y":1.25}, | ||
35 | {"label":"P", "x":14.75, "y":1.25}, | ||
36 | {"label":"{", "x":15.75, "y":1.25}, | ||
37 | {"label":"}", "x":16.75, "y":1.25}, | ||
38 | {"label":"|", "x":17.75, "y":1.25, "w":1.5}, | ||
39 | |||
40 | {"label":"PgDn", "x":0, "y":2}, | ||
41 | {"label":"Caps Lock", "x":1.5, "y":2.25, "w":1.75}, | ||
42 | {"label":"A", "x":3.25, "y":2.25}, | ||
43 | {"label":"S", "x":4.5, "y":2.25}, | ||
44 | {"label":"D", "x":5.5, "y":2.25}, | ||
45 | {"label":"F", "x":6.5, "y":2.25}, | ||
46 | {"label":"G", "x":7.5, "y":2.25}, | ||
47 | {"label":"H", "x":10.75, "y":2.25}, | ||
48 | {"label":"J", "x":11.75, "y":2.25}, | ||
49 | {"label":"K", "x":12.75, "y":2.25}, | ||
50 | {"label":"L", "x":13.75, "y":2.25}, | ||
51 | {"label":":", "x":15.25, "y":2.25}, | ||
52 | {"label":"\"", "x":16.25, "y":2.25}, | ||
53 | {"label":"Enter", "x":17.25, "y":2.25, "w":2.25}, | ||
54 | |||
55 | {"label":"Shift", "x":1.5, "y":3.25, "w":2.25}, | ||
56 | {"label":"Z", "x":3.75, "y":3.25}, | ||
57 | {"label":"X", "x":5, "y":3.25}, | ||
58 | {"label":"C", "x":6, "y":3.25}, | ||
59 | {"label":"V", "x":7, "y":3.25}, | ||
60 | {"label":"B", "x":8, "y":3.25}, | ||
61 | {"label":"Fn", "x":10.25, "y":3.25}, | ||
62 | {"label":"N", "x":11.25, "y":3.25}, | ||
63 | {"label":"M", "x":12.25, "y":3.25}, | ||
64 | {"label":"<", "x":13.25, "y":3.25}, | ||
65 | {"label":">", "x":15, "y":3.25}, | ||
66 | {"label":"?", "x":16, "y":3.25}, | ||
67 | {"label":"Shift", "x":17, "y":3.25, "w":1.75}, | ||
68 | {"label":"Fn", "x":18.75, "y":3.25}, | ||
69 | |||
70 | {"label":"Ctrl", "x":1.5, "y":4.25, "w":1.5}, | ||
71 | {"label":"Alt", "x":5, "y":4.25, "w":1.5}, | ||
72 | {"label":"Space", "x":6.5, "y":4.25, "w":2}, | ||
73 | {"label":"Menu", "x":8.5, "y":4.25}, | ||
74 | {"label":"Space", "x":10.25, "y":4.25, "w":2.75}, | ||
75 | {"label":"Alt", "x":13, "y":4.25, "w":1.5}, | ||
76 | {"label":"Ctrl", "x":18, "y":4.25, "w":1.5} | ||
77 | ] | ||
78 | }, | ||
79 | "LAYOUT_alice_split_bs": { | ||
80 | "layout": [ | ||
81 | {"label":"Esc", "x":0.5, "y":0}, | ||
82 | {"label":"`", "x":1.75, "y":0.25}, | ||
83 | {"label":"1", "x":2.75, "y":0.25}, | ||
84 | {"label":"2", "x":3.75, "y":0}, | ||
85 | {"label":"3", "x":4.75, "y":0.25}, | ||
86 | {"label":"4", "x":5.75, "y":0.25}, | ||
87 | {"label":"5", "x":6.75, "y":0.25}, | ||
88 | {"label":"6", "x":7.75, "y":0.25}, | ||
89 | {"label":"7", "x":11, "y":0.25}, | ||
90 | {"label":"8", "x":12, "y":0.25}, | ||
91 | {"label":"9", "x":13, "y":0.25}, | ||
92 | {"label":"0", "x":14, "y":0.25}, | ||
93 | {"label":"-", "x":15, "y":0}, | ||
94 | {"label":"=", "x":16, "y":0.25}, | ||
95 | {"label":"Del", "x":17, "y":0.25}, | ||
96 | {"label":"Backspace", "x":18, "y":0.25}, | ||
97 | |||
98 | {"label":"PgUp", "x":0.25, "y":1}, | ||
99 | {"label":"Tab", "x":1.5, "y":1.25, "w":1.5}, | ||
100 | {"label":"Q", "x":3, "y":1.25}, | ||
101 | {"label":"W", "x":4.25, "y":1.25}, | ||
102 | {"label":"E", "x":5.25, "y":1.25}, | ||
103 | {"label":"R", "x":6.25, "y":1.25}, | ||
104 | {"label":"T", "x":7.25, "y":1.25}, | ||
105 | {"label":"Y", "x":10.5, "y":1.25}, | ||
106 | {"label":"U", "x":11.5, "y":1.25}, | ||
107 | {"label":"I", "x":12.5, "y":1.25}, | ||
108 | {"label":"O", "x":13.5, "y":1.25}, | ||
109 | {"label":"P", "x":14.75, "y":1.25}, | ||
110 | {"label":"{", "x":15.75, "y":1.25}, | ||
111 | {"label":"}", "x":16.75, "y":1.25}, | ||
112 | {"label":"|", "x":17.75, "y":1.25, "w":1.5}, | ||
113 | |||
114 | {"label":"PgDn", "x":0, "y":2}, | ||
115 | {"label":"Caps Lock", "x":1.5, "y":2.25, "w":1.75}, | ||
116 | {"label":"A", "x":3.25, "y":2.25}, | ||
117 | {"label":"S", "x":4.5, "y":2.25}, | ||
118 | {"label":"D", "x":5.5, "y":2.25}, | ||
119 | {"label":"F", "x":6.5, "y":2.25}, | ||
120 | {"label":"G", "x":7.5, "y":2.25}, | ||
121 | {"label":"H", "x":10.75, "y":2.25}, | ||
122 | {"label":"J", "x":11.75, "y":2.25}, | ||
123 | {"label":"K", "x":12.75, "y":2.25}, | ||
124 | {"label":"L", "x":13.75, "y":2.25}, | ||
125 | {"label":":", "x":15.25, "y":2.25}, | ||
126 | {"label":"\"", "x":16.25, "y":2.25}, | ||
127 | {"label":"Enter", "x":17.25, "y":2.25, "w":2.25}, | ||
128 | |||
129 | {"label":"Shift", "x":1.5, "y":3.25, "w":2.25}, | ||
130 | {"label":"Z", "x":3.75, "y":3.25}, | ||
131 | {"label":"X", "x":5, "y":3.25}, | ||
132 | {"label":"C", "x":6, "y":3.25}, | ||
133 | {"label":"V", "x":7, "y":3.25}, | ||
134 | {"label":"B", "x":8, "y":3.25}, | ||
135 | {"label":"Fn", "x":10.25, "y":3.25}, | ||
136 | {"label":"N", "x":11.25, "y":3.25}, | ||
137 | {"label":"M", "x":12.25, "y":3.25}, | ||
138 | {"label":"<", "x":13.25, "y":3.25}, | ||
139 | {"label":">", "x":15, "y":3.25}, | ||
140 | {"label":"?", "x":16, "y":3.25}, | ||
141 | {"label":"Shift", "x":17, "y":3.25, "w":1.75}, | ||
142 | {"label":"Fn", "x":18.75, "y":3.25}, | ||
143 | |||
144 | {"label":"Ctrl", "x":1.5, "y":4.25, "w":1.5}, | ||
145 | {"label":"Alt", "x":5, "y":4.25, "w":1.5}, | ||
146 | {"label":"Space", "x":6.5, "y":4.25, "w":2}, | ||
147 | {"label":"Menu", "x":8.5, "y":4.25}, | ||
148 | {"label":"Space", "x":10.25, "y":4.25, "w":2.75}, | ||
149 | {"label":"Alt", "x":13, "y":4.25, "w":1.5}, | ||
150 | {"label":"Ctrl", "x":18, "y":4.25, "w":1.5} | ||
151 | ] | ||
152 | }, | ||
153 | "LAYOUT_alice_split_bs_full_rshift": { | ||
154 | "layout": [ | ||
155 | {"label":"Esc", "x":0.5, "y":0}, | ||
156 | {"label":"`", "x":1.75, "y":0.25}, | ||
157 | {"label":"1", "x":2.75, "y":0.25}, | ||
158 | {"label":"2", "x":3.75, "y":0}, | ||
159 | {"label":"3", "x":4.75, "y":0.25}, | ||
160 | {"label":"4", "x":5.75, "y":0.25}, | ||
161 | {"label":"5", "x":6.75, "y":0.25}, | ||
162 | {"label":"6", "x":7.75, "y":0.25}, | ||
163 | {"label":"7", "x":11, "y":0.25}, | ||
164 | {"label":"8", "x":12, "y":0.25}, | ||
165 | {"label":"9", "x":13, "y":0.25}, | ||
166 | {"label":"0", "x":14, "y":0.25}, | ||
167 | {"label":"-", "x":15, "y":0}, | ||
168 | {"label":"=", "x":16, "y":0.25}, | ||
169 | {"label":"Del", "x":17, "y":0.25}, | ||
170 | {"label":"Backspace", "x":18, "y":0.25}, | ||
171 | |||
172 | {"label":"PgUp", "x":0.25, "y":1}, | ||
173 | {"label":"Tab", "x":1.5, "y":1.25, "w":1.5}, | ||
174 | {"label":"Q", "x":3, "y":1.25}, | ||
175 | {"label":"W", "x":4.25, "y":1.25}, | ||
176 | {"label":"E", "x":5.25, "y":1.25}, | ||
177 | {"label":"R", "x":6.25, "y":1.25}, | ||
178 | {"label":"T", "x":7.25, "y":1.25}, | ||
179 | {"label":"Y", "x":10.5, "y":1.25}, | ||
180 | {"label":"U", "x":11.5, "y":1.25}, | ||
181 | {"label":"I", "x":12.5, "y":1.25}, | ||
182 | {"label":"O", "x":13.5, "y":1.25}, | ||
183 | {"label":"P", "x":14.75, "y":1.25}, | ||
184 | {"label":"{", "x":15.75, "y":1.25}, | ||
185 | {"label":"}", "x":16.75, "y":1.25}, | ||
186 | {"label":"|", "x":17.75, "y":1.25, "w":1.5}, | ||
187 | |||
188 | {"label":"PgDn", "x":0, "y":2}, | ||
189 | {"label":"Caps Lock", "x":1.5, "y":2.25, "w":1.75}, | ||
190 | {"label":"A", "x":3.25, "y":2.25}, | ||
191 | {"label":"S", "x":4.5, "y":2.25}, | ||
192 | {"label":"D", "x":5.5, "y":2.25}, | ||
193 | {"label":"F", "x":6.5, "y":2.25}, | ||
194 | {"label":"G", "x":7.5, "y":2.25}, | ||
195 | {"label":"H", "x":10.75, "y":2.25}, | ||
196 | {"label":"J", "x":11.75, "y":2.25}, | ||
197 | {"label":"K", "x":12.75, "y":2.25}, | ||
198 | {"label":"L", "x":13.75, "y":2.25}, | ||
199 | {"label":":", "x":15.25, "y":2.25}, | ||
200 | {"label":"\"", "x":16.25, "y":2.25}, | ||
201 | {"label":"Enter", "x":17.25, "y":2.25, "w":2.25}, | ||
202 | |||
203 | {"label":"Shift", "x":1.5, "y":3.25, "w":2.25}, | ||
204 | {"label":"Z", "x":3.75, "y":3.25}, | ||
205 | {"label":"X", "x":5, "y":3.25}, | ||
206 | {"label":"C", "x":6, "y":3.25}, | ||
207 | {"label":"V", "x":7, "y":3.25}, | ||
208 | {"label":"B", "x":8, "y":3.25}, | ||
209 | {"label":"Fn", "x":10.25, "y":3.25}, | ||
210 | {"label":"N", "x":11.25, "y":3.25}, | ||
211 | {"label":"M", "x":12.25, "y":3.25}, | ||
212 | {"label":"<", "x":13.25, "y":3.25}, | ||
213 | {"label":">", "x":15, "y":3.25}, | ||
214 | {"label":"?", "x":16, "y":3.25}, | ||
215 | {"label":"Shift", "x":17, "y":3.25, "w":2.75}, | ||
216 | |||
217 | {"label":"Ctrl", "x":1.5, "y":4.25, "w":1.5}, | ||
218 | {"label":"Alt", "x":5, "y":4.25, "w":1.5}, | ||
219 | {"label":"Space", "x":6.5, "y":4.25, "w":2}, | ||
220 | {"label":"Menu", "x":8.5, "y":4.25}, | ||
221 | {"label":"Space", "x":10.25, "y":4.25, "w":2.75}, | ||
222 | {"label":"Alt", "x":13, "y":4.25, "w":1.5}, | ||
223 | {"label":"Ctrl", "x":18, "y":4.25, "w":1.5} | ||
224 | ] | ||
225 | }, | ||
226 | "LAYOUT_alice_full_rshift": { | ||
227 | "layout": [ | ||
228 | {"label":"Esc", "x":0.5, "y":0}, | ||
229 | {"label":"`", "x":1.75, "y":0.25}, | ||
230 | {"label":"1", "x":2.75, "y":0.25}, | ||
231 | {"label":"2", "x":3.75, "y":0}, | ||
232 | {"label":"3", "x":4.75, "y":0.25}, | ||
233 | {"label":"4", "x":5.75, "y":0.25}, | ||
234 | {"label":"5", "x":6.75, "y":0.25}, | ||
235 | {"label":"6", "x":7.75, "y":0.25}, | ||
236 | {"label":"7", "x":11, "y":0.25}, | ||
237 | {"label":"8", "x":12, "y":0.25}, | ||
238 | {"label":"9", "x":13, "y":0.25}, | ||
239 | {"label":"0", "x":14, "y":0.25}, | ||
240 | {"label":"-", "x":15, "y":0}, | ||
241 | {"label":"=", "x":16, "y":0.25}, | ||
242 | {"label":"Backspace", "x":17, "y":0.25, "w":2}, | ||
243 | |||
244 | {"label":"PgUp", "x":0.25, "y":1}, | ||
245 | {"label":"Tab", "x":1.5, "y":1.25, "w":1.5}, | ||
246 | {"label":"Q", "x":3, "y":1.25}, | ||
247 | {"label":"W", "x":4.25, "y":1.25}, | ||
248 | {"label":"E", "x":5.25, "y":1.25}, | ||
249 | {"label":"R", "x":6.25, "y":1.25}, | ||
250 | {"label":"T", "x":7.25, "y":1.25}, | ||
251 | {"label":"Y", "x":10.5, "y":1.25}, | ||
252 | {"label":"U", "x":11.5, "y":1.25}, | ||
253 | {"label":"I", "x":12.5, "y":1.25}, | ||
254 | {"label":"O", "x":13.5, "y":1.25}, | ||
255 | {"label":"P", "x":14.75, "y":1.25}, | ||
256 | {"label":"{", "x":15.75, "y":1.25}, | ||
257 | {"label":"}", "x":16.75, "y":1.25}, | ||
258 | {"label":"|", "x":17.75, "y":1.25, "w":1.5}, | ||
259 | |||
260 | {"label":"PgDn", "x":0, "y":2}, | ||
261 | {"label":"Caps Lock", "x":1.5, "y":2.25, "w":1.75}, | ||
262 | {"label":"A", "x":3.25, "y":2.25}, | ||
263 | {"label":"S", "x":4.5, "y":2.25}, | ||
264 | {"label":"D", "x":5.5, "y":2.25}, | ||
265 | {"label":"F", "x":6.5, "y":2.25}, | ||
266 | {"label":"G", "x":7.5, "y":2.25}, | ||
267 | {"label":"H", "x":10.75, "y":2.25}, | ||
268 | {"label":"J", "x":11.75, "y":2.25}, | ||
269 | {"label":"K", "x":12.75, "y":2.25}, | ||
270 | {"label":"L", "x":13.75, "y":2.25}, | ||
271 | {"label":":", "x":15.25, "y":2.25}, | ||
272 | {"label":"\"", "x":16.25, "y":2.25}, | ||
273 | {"label":"Enter", "x":17.25, "y":2.25, "w":2.25}, | ||
274 | |||
275 | {"label":"Shift", "x":1.5, "y":3.25, "w":2.25}, | ||
276 | {"label":"Z", "x":3.75, "y":3.25}, | ||
277 | {"label":"X", "x":5, "y":3.25}, | ||
278 | {"label":"C", "x":6, "y":3.25}, | ||
279 | {"label":"V", "x":7, "y":3.25}, | ||
280 | {"label":"B", "x":8, "y":3.25}, | ||
281 | {"label":"Fn", "x":10.25, "y":3.25}, | ||
282 | {"label":"N", "x":11.25, "y":3.25}, | ||
283 | {"label":"M", "x":12.25, "y":3.25}, | ||
284 | {"label":"<", "x":13.25, "y":3.25}, | ||
285 | {"label":">", "x":15, "y":3.25}, | ||
286 | {"label":"?", "x":16, "y":3.25}, | ||
287 | {"label":"Shift", "x":17, "y":3.25, "w":2.75}, | ||
288 | |||
289 | {"label":"Ctrl", "x":1.5, "y":4.25, "w":1.5}, | ||
290 | {"label":"Alt", "x":5, "y":4.25, "w":1.5}, | ||
291 | {"label":"Space", "x":6.5, "y":4.25, "w":2}, | ||
292 | {"label":"Menu", "x":8.5, "y":4.25}, | ||
293 | {"label":"Space", "x":10.25, "y":4.25, "w":2.75}, | ||
294 | {"label":"Alt", "x":13, "y":4.25, "w":1.5}, | ||
295 | {"label":"Ctrl", "x":18, "y":4.25, "w":1.5} | ||
296 | ] | ||
297 | } | ||
298 | } | ||
299 | } | ||
diff --git a/keyboards/coarse/cordillera/keymaps/default/keymap.c b/keyboards/coarse/cordillera/keymaps/default/keymap.c new file mode 100755 index 000000000..ef1479c33 --- /dev/null +++ b/keyboards/coarse/cordillera/keymaps/default/keymap.c | |||
@@ -0,0 +1,34 @@ | |||
1 | /* | ||
2 | Copyright 2020 coarse <[email protected]> | ||
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 | [0] = LAYOUT_alice( | ||
21 | KC_ESC, KC_GRV, 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, | ||
22 | KC_PGUP, 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, | ||
23 | KC_PGDN, 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, | ||
24 | KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, MO(1), | ||
25 | KC_LCTL, KC_LALT, KC_SPC, MO(1), KC_SPC, KC_RALT, KC_RCTL | ||
26 | ), | ||
27 | [1] = LAYOUT_alice( | ||
28 | RESET, _______, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_DEL, | ||
29 | KC_HOME, _______, _______, KC_UP, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
30 | KC_END, _______, KC_LEFT, KC_DOWN, KC_RGHT, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
31 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
32 | _______, _______, _______, _______, _______, _______, _______ | ||
33 | ), | ||
34 | }; | ||
diff --git a/keyboards/coarse/cordillera/keymaps/via/keymap.c b/keyboards/coarse/cordillera/keymaps/via/keymap.c new file mode 100644 index 000000000..69dd61376 --- /dev/null +++ b/keyboards/coarse/cordillera/keymaps/via/keymap.c | |||
@@ -0,0 +1,48 @@ | |||
1 | /* | ||
2 | Copyright 2020 coarse <[email protected]> | ||
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 | [0] = LAYOUT_alice( | ||
21 | KC_ESC, KC_GRV, 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, | ||
22 | KC_PGUP, 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, | ||
23 | KC_PGDN, 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, | ||
24 | KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, MO(1), | ||
25 | KC_LCTL, KC_LALT, KC_SPC, MO(1), KC_SPC, KC_RALT, KC_RCTL | ||
26 | ), | ||
27 | [1] = LAYOUT_alice( | ||
28 | RESET, _______, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_DEL, | ||
29 | KC_HOME, _______, _______, KC_UP, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
30 | KC_END, _______, KC_LEFT, KC_DOWN, KC_RGHT, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
31 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
32 | _______, _______, _______, _______, _______, _______, _______ | ||
33 | ), | ||
34 | [2] = LAYOUT_alice( | ||
35 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
36 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
37 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
38 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
39 | _______, _______, _______, _______, _______, _______, _______ | ||
40 | ), | ||
41 | [3] = LAYOUT_alice( | ||
42 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
43 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
44 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
45 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
46 | _______, _______, _______, _______, _______, _______, _______ | ||
47 | ), | ||
48 | }; | ||
diff --git a/keyboards/coarse/cordillera/keymaps/via/rules.mk b/keyboards/coarse/cordillera/keymaps/via/rules.mk new file mode 100644 index 000000000..1e5b99807 --- /dev/null +++ b/keyboards/coarse/cordillera/keymaps/via/rules.mk | |||
@@ -0,0 +1 @@ | |||
VIA_ENABLE = yes | |||
diff --git a/keyboards/coarse/cordillera/mcuconf.h b/keyboards/coarse/cordillera/mcuconf.h new file mode 100644 index 000000000..767251f2f --- /dev/null +++ b/keyboards/coarse/cordillera/mcuconf.h | |||
@@ -0,0 +1,31 @@ | |||
1 | /* Copyright 2020 QMK | ||
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 | * This file was auto-generated by: | ||
19 | * `qmk chibios-confmigrate -i keyboards/coarse/cordillera/mcuconf.h -r platforms/chibios/GENERIC_STM32_F072XB/configs/mcuconf.h` | ||
20 | */ | ||
21 | |||
22 | #pragma once | ||
23 | |||
24 | #include_next <mcuconf.h> | ||
25 | |||
26 | #undef STM32_I2C_USE_DMA | ||
27 | #define STM32_I2C_USE_DMA FALSE | ||
28 | |||
29 | #undef STM32_PWM_USE_TIM1 | ||
30 | #define STM32_PWM_USE_TIM1 TRUE | ||
31 | |||
diff --git a/keyboards/coarse/cordillera/readme.md b/keyboards/coarse/cordillera/readme.md new file mode 100644 index 000000000..e9fd12101 --- /dev/null +++ b/keyboards/coarse/cordillera/readme.md | |||
@@ -0,0 +1,15 @@ | |||
1 | # Cordillera | ||
2 | |||
3 |  | ||
4 | |||
5 | A publicly available replacement backlit PCB for top mount USB C Alice cases. | ||
6 | |||
7 | * Keyboard Maintainer: [coarse](https://github.com/coarse) | ||
8 | * Hardware Supported: [Cordillera PCB](https://keyboard.coarse.tech/Cordillera-Alice-like-PCB-b34d95777ea44249bad3271b01d7838a) | ||
9 | * Hardware Availability: [coarse](https://github.com/coarse) | ||
10 | |||
11 | Make example for this keyboard (after setting up your build environment): | ||
12 | |||
13 | make coarse/cordillera:default | ||
14 | |||
15 | 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/coarse/cordillera/rules.mk b/keyboards/coarse/cordillera/rules.mk new file mode 100644 index 000000000..9bdd0d72f --- /dev/null +++ b/keyboards/coarse/cordillera/rules.mk | |||
@@ -0,0 +1,23 @@ | |||
1 | # MCU name | ||
2 | MCU = STM32F072 | ||
3 | |||
4 | # Bootloader selection | ||
5 | BOOTLOADER = stm32-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 = 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 | |||
20 | LAYOUTS = alice alice_split_bs | ||
21 | |||
22 | # Enter lower-power sleep mode when on the ChibiOS idle thread | ||
23 | OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE | ||
diff --git a/keyboards/coarse/ixora/chconf.h b/keyboards/coarse/ixora/chconf.h new file mode 100644 index 000000000..f5aea5228 --- /dev/null +++ b/keyboards/coarse/ixora/chconf.h | |||
@@ -0,0 +1,27 @@ | |||
1 | /* Copyright 2020 QMK | ||
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 | * This file was auto-generated by: | ||
19 | * `qmk chibios-confmigrate -i keyboards/peiorisboards/ixora/chconf.h -r platforms/chibios/common/configs/chconf.h` | ||
20 | */ | ||
21 | |||
22 | #pragma once | ||
23 | |||
24 | #define CH_CFG_ST_FREQUENCY 10000 | ||
25 | |||
26 | #include_next <chconf.h> | ||
27 | |||
diff --git a/keyboards/coarse/ixora/config.h b/keyboards/coarse/ixora/config.h new file mode 100644 index 000000000..ec7dfa705 --- /dev/null +++ b/keyboards/coarse/ixora/config.h | |||
@@ -0,0 +1,27 @@ | |||
1 | #pragma once | ||
2 | |||
3 | #include "config_common.h" | ||
4 | |||
5 | /* USB Device descriptor parameter */ | ||
6 | #define VENDOR_ID 0xFEED | ||
7 | #define PRODUCT_ID 0x0C61 | ||
8 | #define DEVICE_VER 0x00C6 | ||
9 | #define MANUFACTURER PeiorisBoards | ||
10 | #define PRODUCT Ixora Rev1 | ||
11 | |||
12 | /* key matrix size */ | ||
13 | #define MATRIX_ROWS 1 | ||
14 | #define MATRIX_COLS 6 | ||
15 | |||
16 | #define MATRIX_ROW_PINS { A0 } | ||
17 | #define MATRIX_COL_PINS { B4, A15, B3, A1, B6, B5 } | ||
18 | |||
19 | /* COL2ROW, ROW2COL */ | ||
20 | #define DIODE_DIRECTION COL2ROW | ||
21 | |||
22 | /* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */ | ||
23 | #define DEBOUNCE 0 | ||
24 | |||
25 | #define LED_NUM_LOCK_PIN A9 | ||
26 | #define LED_CAPS_LOCK_PIN A10 | ||
27 | #define LED_SCROLL_LOCK_PIN A8 | ||
diff --git a/keyboards/coarse/ixora/halconf.h b/keyboards/coarse/ixora/halconf.h new file mode 100644 index 000000000..4cd3b2889 --- /dev/null +++ b/keyboards/coarse/ixora/halconf.h | |||
@@ -0,0 +1,37 @@ | |||
1 | /* Copyright 2020 QMK | ||
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 | * This file was auto-generated by: | ||
19 | * `qmk chibios-confmigrate -i keyboards/peiorisboards/ixora/halconf.h -r platforms/chibios/common/configs/halconf.h` | ||
20 | */ | ||
21 | |||
22 | #pragma once | ||
23 | |||
24 | #define HAL_USE_SERIAL_USB TRUE | ||
25 | |||
26 | #define ADC_USE_WAIT FALSE | ||
27 | |||
28 | #define ADC_USE_MUTUAL_EXCLUSION FALSE | ||
29 | |||
30 | #define SERIAL_USB_BUFFERS_SIZE 256 | ||
31 | |||
32 | #define SPI_USE_WAIT FALSE | ||
33 | |||
34 | #define SPI_USE_MUTUAL_EXCLUSION FALSE | ||
35 | |||
36 | #include_next <halconf.h> | ||
37 | |||
diff --git a/keyboards/coarse/ixora/info.json b/keyboards/coarse/ixora/info.json new file mode 100644 index 000000000..1bf292888 --- /dev/null +++ b/keyboards/coarse/ixora/info.json | |||
@@ -0,0 +1,19 @@ | |||
1 | { | ||
2 | "keyboard_name": "Ixora", | ||
3 | "url": "", | ||
4 | "maintainer": "Peioris", | ||
5 | "layouts": { | ||
6 | "LAYOUT_full": { | ||
7 | "layout": [{"label":"1", "x":0, "y":0}, {"label":"2", "x":1, "y":0}, {"label":"3", "x":2, "y":0}, {"label":"Caps Lock", "x":0, "y":1}, {"label":"Num Lock", "x":1, "y":1}, {"label":"Scroll Lock", "x":2, "y":1}] | ||
8 | }, | ||
9 | "LAYOUT_blocker_right": { | ||
10 | "layout": [{"label":"1", "x":0, "y":0}, {"label":"2", "x":1, "y":0}, {"label":"Caps Lock", "x":0, "y":1}, {"label":"Num Lock", "x":1, "y":1}, {"label":"Scroll Lock", "x":2, "y":1}] | ||
11 | }, | ||
12 | "LAYOUT_blocker_left": { | ||
13 | "layout": [{"label":"2", "x":1, "y":0}, {"label":"3", "x":2, "y":0}, {"label":"Caps Lock", "x":0, "y":1}, {"label":"Num Lock", "x":1, "y":1}, {"label":"Scroll Lock", "x":2, "y":1}] | ||
14 | }, | ||
15 | "LAYOUT_arrows": { | ||
16 | "layout": [{"label":"\u2191", "x":1, "y":0}, {"label":"\u2190", "x":0, "y":1}, {"label":"\u2193", "x":1, "y":1}, {"label":"\u2192", "x":2, "y":1}] | ||
17 | } | ||
18 | } | ||
19 | } | ||
diff --git a/keyboards/coarse/ixora/ixora.c b/keyboards/coarse/ixora/ixora.c new file mode 100644 index 000000000..f2dcd864a --- /dev/null +++ b/keyboards/coarse/ixora/ixora.c | |||
@@ -0,0 +1 @@ | |||
#include "ixora.h" | |||
diff --git a/keyboards/coarse/ixora/ixora.h b/keyboards/coarse/ixora/ixora.h new file mode 100644 index 000000000..92cf6586a --- /dev/null +++ b/keyboards/coarse/ixora/ixora.h | |||
@@ -0,0 +1,40 @@ | |||
1 | #pragma once | ||
2 | |||
3 | #define XXX KC_NO | ||
4 | |||
5 | #include "quantum.h" | ||
6 | |||
7 | // This a shortcut to help you visually see your layout. | ||
8 | |||
9 | #define LAYOUT_full( \ | ||
10 | K00, K01, K02, \ | ||
11 | K03, K04, K05 \ | ||
12 | ) \ | ||
13 | { \ | ||
14 | { K00, K01, K02, K03, K04, K05 } \ | ||
15 | } | ||
16 | |||
17 | #define LAYOUT_blocker_right( \ | ||
18 | K00, K01, \ | ||
19 | K03, K04, K05 \ | ||
20 | ) \ | ||
21 | { \ | ||
22 | { K00, K01, XXX, K03, K04, K05 } \ | ||
23 | } | ||
24 | |||
25 | #define LAYOUT_blocker_left( \ | ||
26 | K01, K02, \ | ||
27 | K03, K04, K05 \ | ||
28 | ) \ | ||
29 | { \ | ||
30 | { XXX, K01, K02, K03, K04, K05 } \ | ||
31 | } | ||
32 | |||
33 | #define LAYOUT_arrows( \ | ||
34 | K01, \ | ||
35 | K03, K04, K05 \ | ||
36 | ) \ | ||
37 | { \ | ||
38 | { XXX, K01, XXX, K03, K04, K05 } \ | ||
39 | } | ||
40 | |||
diff --git a/keyboards/coarse/ixora/keymaps/default/keymap.c b/keyboards/coarse/ixora/keymaps/default/keymap.c new file mode 100644 index 000000000..65daf5c21 --- /dev/null +++ b/keyboards/coarse/ixora/keymaps/default/keymap.c | |||
@@ -0,0 +1,30 @@ | |||
1 | /* Copyright 2018 Peioris | ||
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 | /* Keymap _BL: (Base Layer) Default Layer | ||
21 | * ,-----------------. | ||
22 | * |RESET| 2 | 3 | | ||
23 | * |-----------------| | ||
24 | * |Caps |NmLk |ScLk | | ||
25 | * `-----------------' | ||
26 | */ | ||
27 | [0] = LAYOUT_full( | ||
28 | RESET, KC_2, KC_3, | ||
29 | KC_CAPS, KC_NLCK, KC_SLCK) | ||
30 | }; | ||
diff --git a/keyboards/coarse/ixora/keymaps/wntrmln/keymap.c b/keyboards/coarse/ixora/keymaps/wntrmln/keymap.c new file mode 100644 index 000000000..3e08c7801 --- /dev/null +++ b/keyboards/coarse/ixora/keymaps/wntrmln/keymap.c | |||
@@ -0,0 +1,26 @@ | |||
1 | #include QMK_KEYBOARD_H | ||
2 | |||
3 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||
4 | /* Keymap _BL: (Base Layer) Default Layer | ||
5 | * ,-----------------. | ||
6 | * |RESET| 2 | 3 | | ||
7 | * |-----------------| | ||
8 | * |Caps |NmLk |ScLk | | ||
9 | * `-----------------' | ||
10 | */ | ||
11 | [0] = LAYOUT_full( | ||
12 | KC_PSCR, KC_MUTE, LGUI(KC_1), | ||
13 | KC_MPRV, KC_MPLY, KC_MNXT) | ||
14 | }; | ||
15 | |||
16 | void matrix_init_user(void) { | ||
17 | //user initialization | ||
18 | } | ||
19 | |||
20 | void matrix_scan_user(void) { | ||
21 | //user matrix | ||
22 | } | ||
23 | |||
24 | bool process_record_user(uint16_t keycode, keyrecord_t *record) { | ||
25 | return true; | ||
26 | } | ||
diff --git a/keyboards/coarse/ixora/readme.md b/keyboards/coarse/ixora/readme.md new file mode 100644 index 000000000..a094bbd5e --- /dev/null +++ b/keyboards/coarse/ixora/readme.md | |||
@@ -0,0 +1,22 @@ | |||
1 | Ixora | ||
2 | ========= | ||
3 | |||
4 | [Ixora](https://i.imgur.com/GqDk3XY.png) | ||
5 | |||
6 | |||
7 | Ixora is an ARM-powered 6-key macropad with a USB connector, hotswap sockets, and indicator LEDs. | ||
8 | |||
9 | Keyboard Maintainer: [Coarse](https://github.com/coarse) | ||
10 | Hardware Supported: Ixora PCB | ||
11 | Hardware Availability: [Coarse](https://github.com/coarse) | ||
12 | |||
13 | Make example for this keyboard (after setting up your build environment): | ||
14 | |||
15 | make coarse/ixora:default | ||
16 | |||
17 | See [build environment setup](https://docs.qmk.fm/build_environment_setup.html) then the [make instructions](https://docs.qmk.fm/make_instructions.html) for more information. | ||
18 | |||
19 | #### Developer's Note | ||
20 | |||
21 | STM32F042xx chips does not allow jumping to bootloader without BOOT0 being set to high, therefore it is impossible to enter the bootloader from sending a `RESET` keycode nor using bootmagic or bootmagic lite. | ||
22 | The only way to enter bootloader is to hold the BOOT0 button while the keyboard is powering up or after a power reset (done by pressing the reset switch or sending a `RESET` keycode). | ||
diff --git a/keyboards/coarse/ixora/rules.mk b/keyboards/coarse/ixora/rules.mk new file mode 100644 index 000000000..559be109a --- /dev/null +++ b/keyboards/coarse/ixora/rules.mk | |||
@@ -0,0 +1,21 @@ | |||
1 | # MCU name | ||
2 | MCU = STM32F042 | ||
3 | |||
4 | # Bootloader selection | ||
5 | BOOTLOADER = stm32-dfu | ||
6 | |||
7 | # Build Options | ||
8 | # change yes to no to disable | ||
9 | # | ||
10 | BACKLIGHT_ENABLE = no | ||
11 | BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite | ||
12 | MOUSEKEY_ENABLE = yes # Mouse keys | ||
13 | EXTRAKEY_ENABLE = yes # Audio control and System control | ||
14 | CONSOLE_ENABLE = no # Console for debug | ||
15 | COMMAND_ENABLE = no # Commands for debug and configuration | ||
16 | NKRO_ENABLE = yes # Enable N-Key Rollover | ||
17 | NO_USB_STARTUP_CHECK = no # Disable initialization only when usb is plugged in | ||
18 | |||
19 | |||
20 | # Enter lower-power sleep mode when on the ChibiOS idle thread | ||
21 | OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE | ||
diff --git a/keyboards/coarse/vinta/chconf.h b/keyboards/coarse/vinta/chconf.h new file mode 100644 index 000000000..14b19f08d --- /dev/null +++ b/keyboards/coarse/vinta/chconf.h | |||
@@ -0,0 +1,27 @@ | |||
1 | /* Copyright 2020 QMK | ||
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 | * This file was auto-generated by: | ||
19 | * `qmk chibios-confmigrate -i keyboards/vinta/chconf.h -r platforms/chibios/common/configs/chconf.h` | ||
20 | */ | ||
21 | |||
22 | #pragma once | ||
23 | |||
24 | #define CH_CFG_ST_FREQUENCY 10000 | ||
25 | |||
26 | #include_next <chconf.h> | ||
27 | |||
diff --git a/keyboards/coarse/vinta/config.h b/keyboards/coarse/vinta/config.h new file mode 100644 index 000000000..d08994ae6 --- /dev/null +++ b/keyboards/coarse/vinta/config.h | |||
@@ -0,0 +1,52 @@ | |||
1 | #pragma once | ||
2 | |||
3 | #include "config_common.h" | ||
4 | |||
5 | /* USB Device descriptor parameter */ | ||
6 | #define VENDOR_ID 0xFEED | ||
7 | #define PRODUCT_ID 0x0C61 | ||
8 | #define DEVICE_VER 0x00C6 | ||
9 | #define MANUFACTURER PeiorisBoards | ||
10 | #define PRODUCT Vinta R1 | ||
11 | |||
12 | /* key matrix size */ | ||
13 | #define MATRIX_ROWS 5 | ||
14 | #define MATRIX_COLS 16 | ||
15 | |||
16 | #define MATRIX_ROW_PINS { A10, A9, B0, A7, A6 } | ||
17 | #define MATRIX_COL_PINS { A5, A4, A3, A2, A1, A0, F1, F0, B7, B6, B5, B4, B3, A15, A14, A13 } | ||
18 | |||
19 | /* COL2ROW, ROW2COL*/ | ||
20 | #define DIODE_DIRECTION COL2ROW | ||
21 | |||
22 | /* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */ | ||
23 | #define DEBOUNCE 0 | ||
24 | |||
25 | /* define if matrix has ghost (lacks anti-ghosting diodes) */ | ||
26 | //#define MATRIX_HAS_GHOST | ||
27 | |||
28 | /* If defined, GRAVE_ESC will always act as ESC when CTRL is held. | ||
29 | * This is userful for the Windows task manager shortcut (ctrl+shift+esc). | ||
30 | */ | ||
31 | // #define GRAVE_ESC_CTRL_OVERRIDE | ||
32 | |||
33 | /* | ||
34 | * Force NKRO | ||
35 | * | ||
36 | * Force NKRO (nKey Rollover) to be enabled by default, regardless of the saved | ||
37 | * state in the bootmagic EEPROM settings. (Note that NKRO must be enabled in the | ||
38 | * makefile for this to work.) | ||
39 | * | ||
40 | * If forced on, NKRO can be disabled via magic key (default = LShift+RShift+N) | ||
41 | * until the next keyboard reset. | ||
42 | * | ||
43 | * NKRO may prevent your keystrokes from being detected in the BIOS, but it is | ||
44 | * fully operational during normal computer usage. | ||
45 | * | ||
46 | * For a less heavy-handed approach, enable NKRO via magic key (LShift+RShift+N) | ||
47 | * or via bootmagic (hold SPACE+N while plugging in the keyboard). Once set by | ||
48 | * bootmagic, NKRO mode will always be enabled until it is toggled again during a | ||
49 | * power-up. | ||
50 | * | ||
51 | */ | ||
52 | //#define FORCE_NKRO | ||
diff --git a/keyboards/coarse/vinta/halconf.h b/keyboards/coarse/vinta/halconf.h new file mode 100644 index 000000000..66ed246c5 --- /dev/null +++ b/keyboards/coarse/vinta/halconf.h | |||
@@ -0,0 +1,37 @@ | |||
1 | /* Copyright 2020 QMK | ||
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 | * This file was auto-generated by: | ||
19 | * `qmk chibios-confmigrate -i keyboards/vinta/halconf.h -r platforms/chibios/common/configs/halconf.h` | ||
20 | */ | ||
21 | |||
22 | #pragma once | ||
23 | |||
24 | #define HAL_USE_SERIAL_USB TRUE | ||
25 | |||
26 | #define ADC_USE_WAIT FALSE | ||
27 | |||
28 | #define ADC_USE_MUTUAL_EXCLUSION FALSE | ||
29 | |||
30 | #define SERIAL_USB_BUFFERS_SIZE 256 | ||
31 | |||
32 | #define SPI_USE_WAIT FALSE | ||
33 | |||
34 | #define SPI_USE_MUTUAL_EXCLUSION FALSE | ||
35 | |||
36 | #include_next <halconf.h> | ||
37 | |||
diff --git a/keyboards/coarse/vinta/info.json b/keyboards/coarse/vinta/info.json new file mode 100644 index 000000000..af78ac45e --- /dev/null +++ b/keyboards/coarse/vinta/info.json | |||
@@ -0,0 +1,16 @@ | |||
1 | { | ||
2 | "keyboard_name": "vinta", | ||
3 | "url": "", | ||
4 | "maintainer": "Peioris", | ||
5 | "layouts": { | ||
6 | "LAYOUT_69_ansi": { | ||
7 | "layout": [{"label":"Esc", "x":0, "y":0}, {"label":"!", "x":1, "y":0}, {"label":"@", "x":2, "y":0}, {"label":"#", "x":3, "y":0}, {"label":"$", "x":4, "y":0}, {"label":"%", "x":5, "y":0}, {"label":"^", "x":6, "y":0}, {"label":"&", "x":7, "y":0}, {"label":"*", "x":8, "y":0}, {"label":"(", "x":9, "y":0}, {"label":")", "x":10, "y":0}, {"label":"_", "x":11, "y":0}, {"label":"+", "x":12, "y":0}, {"label":"~", "x":13, "y":0}, {"label":"|", "x":14, "y":0}, {"label":"Del", "x":15, "y":0}, {"label":"Tab", "x":0, "y":1, "w":1.5}, {"label":"Q", "x":1.5, "y":1}, {"label":"W", "x":2.5, "y":1}, {"label":"E", "x":3.5, "y":1}, {"label":"R", "x":4.5, "y":1}, {"label":"T", "x":5.5, "y":1}, {"label":"Y", "x":6.5, "y":1}, {"label":"U", "x":7.5, "y":1}, {"label":"I", "x":8.5, "y":1}, {"label":"O", "x":9.5, "y":1}, {"label":"P", "x":10.5, "y":1}, {"label":"{", "x":11.5, "y":1}, {"label":"}", "x":12.5, "y":1}, {"label":"|", "x":13.5, "y":1, "w":1.5}, {"label":"PgUp", "x":15, "y":1}, {"label":"Caps Lock", "x":0, "y":2, "w":1.75}, {"label":"A", "x":1.75, "y":2}, {"label":"S", "x":2.75, "y":2}, {"label":"D", "x":3.75, "y":2}, {"label":"F", "x":4.75, "y":2}, {"label":"G", "x":5.75, "y":2}, {"label":"H", "x":6.75, "y":2}, {"label":"J", "x":7.75, "y":2}, {"label":"K", "x":8.75, "y":2}, {"label":"L", "x":9.75, "y":2}, {"label":":", "x":10.75, "y":2}, {"label":"\"", "x":11.75, "y":2}, {"label":"Enter", "x":12.75, "y":2, "w":2.25}, {"label":"PgDn", "x":15, "y":2}, {"label":"Shift", "x":0, "y":3, "w":2.25}, {"label":"Z", "x":2.25, "y":3}, {"label":"X", "x":3.25, "y":3}, {"label":"C", "x":4.25, "y":3}, {"label":"V", "x":5.25, "y":3}, {"label":"B", "x":6.25, "y":3}, {"label":"N", "x":7.25, "y":3}, {"label":"M", "x":8.25, "y":3}, {"label":"<", "x":9.25, "y":3}, {"label":">", "x":10.25, "y":3}, {"label":"?", "x":11.25, "y":3}, {"label":"Shift", "x":12.25, "y":3, "w":1.75}, {"label":"\u2191", "x":14, "y":3}, {"label":"End", "x":15, "y":3}, {"label":"Ctrl", "x":0, "y":4, "w":1.25}, {"label":"Win", "x":1.25, "y":4, "w":1.25}, {"label":"Alt", "x":2.5, "y":4, "w":1.25}, {"x":3.75, "y":4, "w":6.25}, {"label":"Alt", "x":10, "y":4}, {"label":"Reset", "x":11, "y":4}, {"label":"Ctrl", "x":12, "y":4}, {"label":"\u2190", "x":13, "y":4}, {"label":"\u2193", "x":14, "y":4}, {"label":"\u2192", "x":15, "y":4}] | ||
8 | }, | ||
9 | "LAYOUT_68_tada": { | ||
10 | "layout": [{"label":"Esc", "x":0, "y":0}, {"label":"!", "x":1, "y":0}, {"label":"@", "x":2, "y":0}, {"label":"#", "x":3, "y":0}, {"label":"$", "x":4, "y":0}, {"label":"%", "x":5, "y":0}, {"label":"^", "x":6, "y":0}, {"label":"&", "x":7, "y":0}, {"label":"*", "x":8, "y":0}, {"label":"(", "x":9, "y":0}, {"label":")", "x":10, "y":0}, {"label":"_", "x":11, "y":0}, {"label":"+", "x":12, "y":0}, {"label":"Backspace", "x":13, "y":0, "w":2}, {"label":"~", "x":15, "y":0}, {"label":"Tab", "x":0, "y":1, "w":1.5}, {"label":"Q", "x":1.5, "y":1}, {"label":"W", "x":2.5, "y":1}, {"label":"E", "x":3.5, "y":1}, {"label":"R", "x":4.5, "y":1}, {"label":"T", "x":5.5, "y":1}, {"label":"Y", "x":6.5, "y":1}, {"label":"U", "x":7.5, "y":1}, {"label":"I", "x":8.5, "y":1}, {"label":"O", "x":9.5, "y":1}, {"label":"P", "x":10.5, "y":1}, {"label":"{", "x":11.5, "y":1}, {"label":"}", "x":12.5, "y":1}, {"label":"|", "x":13.5, "y":1, "w":1.5}, {"label":"Del", "x":15, "y":1}, {"label":"Caps Lock", "x":0, "y":2, "w":1.75}, {"label":"A", "x":1.75, "y":2}, {"label":"S", "x":2.75, "y":2}, {"label":"D", "x":3.75, "y":2}, {"label":"F", "x":4.75, "y":2}, {"label":"G", "x":5.75, "y":2}, {"label":"H", "x":6.75, "y":2}, {"label":"J", "x":7.75, "y":2}, {"label":"K", "x":8.75, "y":2}, {"label":"L", "x":9.75, "y":2}, {"label":":", "x":10.75, "y":2}, {"label":"\"", "x":11.75, "y":2}, {"label":"Enter", "x":12.75, "y":2, "w":2.25}, {"label":"PgUp", "x":15, "y":2}, {"label":"Shift", "x":0, "y":3, "w":2.25}, {"label":"Z", "x":2.25, "y":3}, {"label":"X", "x":3.25, "y":3}, {"label":"C", "x":4.25, "y":3}, {"label":"V", "x":5.25, "y":3}, {"label":"B", "x":6.25, "y":3}, {"label":"N", "x":7.25, "y":3}, {"label":"M", "x":8.25, "y":3}, {"label":"<", "x":9.25, "y":3}, {"label":">", "x":10.25, "y":3}, {"label":"?", "x":11.25, "y":3}, {"label":"Shift", "x":12.25, "y":3, "w":1.75}, {"label":"\u2191", "x":14, "y":3}, {"label":"PgDn", "x":15, "y":3}, {"label":"Ctrl", "x":0, "y":4, "w":1.25}, {"label":"Win", "x":1.25, "y":4, "w":1.25}, {"label":"Alt", "x":2.5, "y":4, "w":1.25}, {"x":3.75, "y":4, "w":6.25}, {"label":"Alt", "x":10, "y":4}, {"label":"Menu", "x":11, "y":4}, {"label":"Ctrl", "x":12, "y":4}, {"label":"\u2190", "x":13, "y":4}, {"label":"\u2193", "x":14, "y":4}, {"label":"\u2192", "x":15, "y":4}] | ||
11 | }, | ||
12 | "LAYOUT_65_ansi_blocker": { | ||
13 | "layout": [{"label":"Esc", "x":0, "y":0}, {"label":"!", "x":1, "y":0}, {"label":"@", "x":2, "y":0}, {"label":"#", "x":3, "y":0}, {"label":"$", "x":4, "y":0}, {"label":"%", "x":5, "y":0}, {"label":"^", "x":6, "y":0}, {"label":"&", "x":7, "y":0}, {"label":"*", "x":8, "y":0}, {"label":"(", "x":9, "y":0}, {"label":")", "x":10, "y":0}, {"label":"_", "x":11, "y":0}, {"label":"+", "x":12, "y":0}, {"label":"Backspace", "x":13, "y":0, "w":2}, {"label":"~", "x":15, "y":0}, {"label":"Tab", "x":0, "y":1, "w":1.5}, {"label":"Q", "x":1.5, "y":1}, {"label":"W", "x":2.5, "y":1}, {"label":"E", "x":3.5, "y":1}, {"label":"R", "x":4.5, "y":1}, {"label":"T", "x":5.5, "y":1}, {"label":"Y", "x":6.5, "y":1}, {"label":"U", "x":7.5, "y":1}, {"label":"I", "x":8.5, "y":1}, {"label":"O", "x":9.5, "y":1}, {"label":"P", "x":10.5, "y":1}, {"label":"{", "x":11.5, "y":1}, {"label":"}", "x":12.5, "y":1}, {"label":"|", "x":13.5, "y":1, "w":1.5}, {"label":"Del", "x":15, "y":1}, {"label":"Caps Lock", "x":0, "y":2, "w":1.75}, {"label":"A", "x":1.75, "y":2}, {"label":"S", "x":2.75, "y":2}, {"label":"D", "x":3.75, "y":2}, {"label":"F", "x":4.75, "y":2}, {"label":"G", "x":5.75, "y":2}, {"label":"H", "x":6.75, "y":2}, {"label":"J", "x":7.75, "y":2}, {"label":"K", "x":8.75, "y":2}, {"label":"L", "x":9.75, "y":2}, {"label":":", "x":10.75, "y":2}, {"label":"\"", "x":11.75, "y":2}, {"label":"Enter", "x":12.75, "y":2, "w":2.25}, {"label":"PgUp", "x":15, "y":2}, {"label":"Shift", "x":0, "y":3, "w":2.25}, {"label":"Z", "x":2.25, "y":3}, {"label":"X", "x":3.25, "y":3}, {"label":"C", "x":4.25, "y":3}, {"label":"V", "x":5.25, "y":3}, {"label":"B", "x":6.25, "y":3}, {"label":"N", "x":7.25, "y":3}, {"label":"M", "x":8.25, "y":3}, {"label":"<", "x":9.25, "y":3}, {"label":">", "x":10.25, "y":3}, {"label":"?", "x":11.25, "y":3}, {"label":"Shift", "x":12.25, "y":3, "w":1.75}, {"label":"\u2191", "x":14, "y":3}, {"label":"PgDn", "x":15, "y":3}, {"label":"Ctrl", "x":0, "y":4, "w":1.25}, {"label":"Win", "x":1.25, "y":4, "w":1.25}, {"label":"Alt", "x":2.5, "y":4, "w":1.25}, {"x":3.75, "y":4, "w":6.25}, {"label":"Alt", "x":10, "y":4, "w":1.25}, {"label":"Ctrl", "x":11.25, "y":4, "w":1.25}, {"label":"\u2190", "x":13, "y":4}, {"label":"\u2193", "x":14, "y":4}, {"label":"\u2192", "x":15, "y":4}] | ||
14 | } | ||
15 | } | ||
16 | } | ||
diff --git a/keyboards/coarse/vinta/keymaps/default/keymap.c b/keyboards/coarse/vinta/keymaps/default/keymap.c new file mode 100644 index 000000000..119782b9a --- /dev/null +++ b/keyboards/coarse/vinta/keymaps/default/keymap.c | |||
@@ -0,0 +1,39 @@ | |||
1 | /* Copyright 2018 Peioris | ||
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 | /* Keymap _BL: (Base Layer) Default Layer | ||
21 | * ,----------------------------------------------------------------. | ||
22 | * |Esc | 1| 2| 3| 4| 5| 6| 7| 8| 9| 0| -| =| \ | ` |Del | | ||
23 | * |----------------------------------------------------------------| | ||
24 | * |Tab | Q| W| E| R| T| Y| U| I| O| P| [| ]| Bspc|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|RST|Ctrl|Lef|Dow|Rig | | ||
31 | * `----------------------------------------------------------------' | ||
32 | */ | ||
33 | [0] = LAYOUT_69_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_BSLS, KC_GRV, 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_BSPC, 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, RESET, KC_RCTL, KC_LEFT, KC_DOWN, KC_RGHT), | ||
39 | }; | ||
diff --git a/keyboards/coarse/vinta/readme.md b/keyboards/coarse/vinta/readme.md new file mode 100644 index 000000000..42291cd1f --- /dev/null +++ b/keyboards/coarse/vinta/readme.md | |||
@@ -0,0 +1,22 @@ | |||
1 | Vinta | ||
2 | ========= | ||
3 | |||
4 | [Vinta](https://i.imgur.com/huX3lff.jpg) | ||
5 | |||
6 | |||
7 | This is an ARM-powered 65% keyboard PCB with USB Mini B connector and breakout for optional RGB underglow. | ||
8 | |||
9 | Keyboard Maintainer: [Coarse](https://github.com/coarse) | ||
10 | Hardware Supported: Vinta with STM32F042K6T6 | ||
11 | Hardware Availability: Private Groupbuy | ||
12 | |||
13 | Make example for this keyboard (after setting up your build environment): | ||
14 | |||
15 | make coarse/vinta:default | ||
16 | |||
17 | See [build environment setup](https://docs.qmk.fm/#/getting_started_build_tools) then the [make instructions](https://docs.qmk.fm/#/getting_started_make_guide) for more information. | ||
18 | |||
19 | #### Developer's Note | ||
20 | |||
21 | STM32F042xx chips does not allow jumping to bootloader without BOOT0 being set to high, therefore it is impossible to enter the bootloader from sending a `RESET` keycode nor using bootmagic or bootmagic lite. | ||
22 | The only way to enter bootloader is to hold the BOOT0 button while the keyboard is powering up or after a power reset (done by pressing the reset switch or sending a `RESET` keycode). | ||
diff --git a/keyboards/coarse/vinta/rules.mk b/keyboards/coarse/vinta/rules.mk new file mode 100644 index 000000000..b503edcde --- /dev/null +++ b/keyboards/coarse/vinta/rules.mk | |||
@@ -0,0 +1,23 @@ | |||
1 | # MCU name | ||
2 | MCU = STM32F042 | ||
3 | |||
4 | # Bootloader selection | ||
5 | BOOTLOADER = stm32-dfu | ||
6 | |||
7 | # Build Options | ||
8 | # change yes to no to disable | ||
9 | # | ||
10 | BACKLIGHT_ENABLE = no | ||
11 | BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite | ||
12 | MOUSEKEY_ENABLE = yes # Mouse keys | ||
13 | EXTRAKEY_ENABLE = yes # Audio control and System control | ||
14 | CONSOLE_ENABLE = no # Console for debug | ||
15 | COMMAND_ENABLE = no # Commands for debug and configuration | ||
16 | NKRO_ENABLE = yes # Enable N-Key Rollover | ||
17 | NO_USB_STARTUP_CHECK = no # Disable initialization only when usb is plugged in | ||
18 | |||
19 | LAYOUTS = 65_ansi_blocker | ||
20 | |||
21 | |||
22 | # Enter lower-power sleep mode when on the ChibiOS idle thread | ||
23 | OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE | ||
diff --git a/keyboards/coarse/vinta/vinta.c b/keyboards/coarse/vinta/vinta.c new file mode 100644 index 000000000..edd45511b --- /dev/null +++ b/keyboards/coarse/vinta/vinta.c | |||
@@ -0,0 +1 @@ | |||
#include "vinta.h" | |||
diff --git a/keyboards/coarse/vinta/vinta.h b/keyboards/coarse/vinta/vinta.h new file mode 100644 index 000000000..18f51cd43 --- /dev/null +++ b/keyboards/coarse/vinta/vinta.h | |||
@@ -0,0 +1,49 @@ | |||
1 | #pragma once | ||
2 | |||
3 | #include "quantum.h" | ||
4 | |||
5 | #define XXX KC_NO | ||
6 | |||
7 | // This a shortcut to help you visually see your layout. | ||
8 | |||
9 | #define LAYOUT_69_ansi( \ | ||
10 | k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0A, k0B, k0C, k0D, k0E, k0F, \ | ||
11 | k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1A, k1B, k1C, k1E, k1F, \ | ||
12 | k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, k2A, k2B, k2E, k2F, \ | ||
13 | k30, k31, k32, k33, k34, k35, k36, k37, k38, k39, k3A, k3C, k3E, k3F, \ | ||
14 | k40, k41, k42, k45, k49, k4A, k4C, k4D, k4E, k4F \ | ||
15 | ) { \ | ||
16 | { k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0A, k0B, k0C, k0D, k0E, k0F }, \ | ||
17 | { k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1A, k1B, k1C, XXX, k1E, k1F }, \ | ||
18 | { k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, k2A, k2B, XXX, XXX, k2E, k2F }, \ | ||
19 | { k30, k31, k32, k33, k34, k35, k36, k37, k38, k39, k3A, XXX, k3C, XXX, k3E, k3F }, \ | ||
20 | { k40, k41, k42, XXX, XXX, k45, XXX, XXX, XXX, k49, k4A, XXX, k4C, k4D, k4E, k4F } \ | ||
21 | } | ||
22 | |||
23 | #define LAYOUT_68_tada( \ | ||
24 | k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0A, k0B, k0C, k0D, k0F, \ | ||
25 | k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1A, k1B, k1C, k1E, k1F, \ | ||
26 | k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, k2A, k2B, k2E, k2F, \ | ||
27 | k30, k31, k32, k33, k34, k35, k36, k37, k38, k39, k3A, k3C, k3E, k3F, \ | ||
28 | k40, k41, k42, k45, k49, k4A, k4C, k4D, k4E, k4F \ | ||
29 | ) { \ | ||
30 | { k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0A, k0B, k0C, k0D, XXX, k0F }, \ | ||
31 | { k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1A, k1B, k1C, XXX, k1E, k1F }, \ | ||
32 | { k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, k2A, k2B, XXX, XXX, k2E, k2F }, \ | ||
33 | { k30, k31, k32, k33, k34, k35, k36, k37, k38, k39, k3A, XXX, k3C, XXX, k3E, k3F }, \ | ||
34 | { k40, k41, k42, XXX, XXX, k45, XXX, XXX, XXX, k49, k4A, XXX, XXX, k4D, k4E, k4F } \ | ||
35 | } | ||
36 | |||
37 | #define LAYOUT_65_ansi_blocker( \ | ||
38 | k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0A, k0B, k0C, k0D, k0F, \ | ||
39 | k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1A, k1B, k1C, k1E, k1F, \ | ||
40 | k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, k2A, k2B, k2E, k2F, \ | ||
41 | k30, k31, k32, k33, k34, k35, k36, k37, k38, k39, k3A, k3C, k3E, k3F, \ | ||
42 | k40, k41, k42, k45, k49, k4A, k4D, k4E, k4F \ | ||
43 | ) { \ | ||
44 | { k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0A, k0B, k0C, k0D, XXX, k0F }, \ | ||
45 | { k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1A, k1B, k1C, XXX, k1E, k1F }, \ | ||
46 | { k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, k2A, k2B, XXX, XXX, k2E, k2F }, \ | ||
47 | { k30, k31, k32, k33, k34, k35, k36, k37, k38, k39, k3A, XXX, k3C, XXX, k3E, k3F }, \ | ||
48 | { k40, k41, k42, XXX, XXX, k45, XXX, XXX, XXX, k49, k4A, XXX, XXX, k4D, k4E, k4F } \ | ||
49 | } | ||