diff options
Diffstat (limited to 'keyboards/amjkeyboard')
-rw-r--r-- | keyboards/amjkeyboard/amj66/amj66.c | 16 | ||||
-rw-r--r-- | keyboards/amjkeyboard/amj66/amj66.h | 79 | ||||
-rw-r--r-- | keyboards/amjkeyboard/amj66/config.h | 53 | ||||
-rw-r--r-- | keyboards/amjkeyboard/amj66/info.json | 222 | ||||
-rw-r--r-- | keyboards/amjkeyboard/amj66/keymaps/default/keymap.c | 36 | ||||
-rw-r--r-- | keyboards/amjkeyboard/amj66/keymaps/default/readme.md | 12 | ||||
-rw-r--r-- | keyboards/amjkeyboard/amj66/readme.md | 15 | ||||
-rw-r--r-- | keyboards/amjkeyboard/amj66/rules.mk | 23 | ||||
-rw-r--r-- | keyboards/amjkeyboard/amj84/amj84.c | 4 | ||||
-rw-r--r-- | keyboards/amjkeyboard/amj84/amj84.h | 30 | ||||
-rw-r--r-- | keyboards/amjkeyboard/amj84/config.h | 112 | ||||
-rw-r--r-- | keyboards/amjkeyboard/amj84/info.json | 97 | ||||
-rw-r--r-- | keyboards/amjkeyboard/amj84/keymaps/default/keymap.c | 53 | ||||
-rw-r--r-- | keyboards/amjkeyboard/amj84/keymaps/default/readme.md | 1 | ||||
-rw-r--r-- | keyboards/amjkeyboard/amj84/readme.md | 27 | ||||
-rw-r--r-- | keyboards/amjkeyboard/amj84/rules.mk | 18 |
16 files changed, 798 insertions, 0 deletions
diff --git a/keyboards/amjkeyboard/amj66/amj66.c b/keyboards/amjkeyboard/amj66/amj66.c new file mode 100644 index 000000000..6d77e43a0 --- /dev/null +++ b/keyboards/amjkeyboard/amj66/amj66.c | |||
@@ -0,0 +1,16 @@ | |||
1 | /* Copyright 2018 Alex Peters | ||
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 "amj66.h" | ||
diff --git a/keyboards/amjkeyboard/amj66/amj66.h b/keyboards/amjkeyboard/amj66/amj66.h new file mode 100644 index 000000000..e2315f5e9 --- /dev/null +++ b/keyboards/amjkeyboard/amj66/amj66.h | |||
@@ -0,0 +1,79 @@ | |||
1 | /* Copyright 2018 Alex Peters | ||
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 | // This a shortcut to help you visually see your layout. | ||
21 | |||
22 | /* LAYOUT_all | ||
23 | * ┌───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┐ ┌───┐ | ||
24 | * │00 │01 │02 │03 │04 │05 │06 │07 │08 │09 │0A │0B │0C │0D │0E │ │0F │ ISO Enter | ||
25 | * ├───┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴───┤ ├───┤ ┌─────┐ | ||
26 | * │10 │11 │12 │13 │14 │15 │16 │17 │18 │19 │1A │1B │1C │1D │ │1E │ │2C │ | ||
27 | * ├─────┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴─────┤ └───┘ ┌──┴┐ │ | ||
28 | * │20 │21 │22 │23 │24 │25 │26 │27 │28 │29 │2A │2B │2C │ │1D │ │ | ||
29 | * ├────┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴──┬───┬─┴─┐ └───┴────┘ | ||
30 | * │30 │31 │32 │33 │34 │35 │36 │37 │38 │39 │3A │3B │3C │3D │3E │ | ||
31 | * ├────┴┬──┴─┬─┴──┬┴───┴───┴─┬─┴───┴───┴┬──┴─┬─┴──┬┴────┼───┼───┼───┐ | ||
32 | * │40 │41 │42 │43 │44 │45 │46 │47 │48 │49 │4A │ | ||
33 | * └─────┴────┴────┴──────────┴──────────┴────┴────┴─────┴───┴───┴───┘ | ||
34 | * 2u Backspace = k0D | ||
35 | * ISO # = k1D | ||
36 | * 2.25u Right Shift = k3C | ||
37 | * 6.25u Space = k44 | ||
38 | */ | ||
39 | #define LAYOUT_all( \ | ||
40 | k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0A, k0B, k0C, k0D, k0E, k0F, \ | ||
41 | k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1A, k1B, k1C, k1D, k1E, \ | ||
42 | k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, k2A, k2B, k2C, \ | ||
43 | k30, k31, k32, k33, k34, k35, k36, k37, k38, k39, k3A, k3B, k3C, k3D, k3E, \ | ||
44 | k40, k41, k42, k43, k44, k45, k46, k47, k48, k49, k4A \ | ||
45 | ) { \ | ||
46 | { k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0A, k0B, k0C, k0D, k0E, k0F }, \ | ||
47 | { k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1A, k1B, k1C, k1D, k1E, KC_NO }, \ | ||
48 | { k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, k2A, k2B, k2C, KC_NO, KC_NO, KC_NO }, \ | ||
49 | { k30, k31, k32, k33, k34, k35, k36, k37, k38, k39, k3A, k3B, k3C, k3D, k3E, KC_NO }, \ | ||
50 | { k40, k41, k42, k43, k44, k45, k46, k47, k48, k49, k4A, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO } \ | ||
51 | } | ||
52 | |||
53 | #define LAYOUT_66_ansi( \ | ||
54 | k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0A, k0B, k0C, k0D, k0F, \ | ||
55 | k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1A, k1B, k1C, k1D, k1E, \ | ||
56 | k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, k2A, k2B, k2C, \ | ||
57 | k30, k32, k33, k34, k35, k36, k37, k38, k39, k3A, k3B, k3C, k3E, \ | ||
58 | k40, k41, k42, k44, k45, k46, k47, k48, k49, k4A \ | ||
59 | ) { \ | ||
60 | { k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0A, k0B, k0C, k0D, KC_NO, k0F }, \ | ||
61 | { k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1A, k1B, k1C, k1D, k1E, KC_NO }, \ | ||
62 | { k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, k2A, k2B, k2C, KC_NO, KC_NO, KC_NO }, \ | ||
63 | { k30, KC_NO, k32, k33, k34, k35, k36, k37, k38, k39, k3A, k3B, k3C, KC_NO, k3E, KC_NO }, \ | ||
64 | { k40, k41, k42, KC_NO, k44, k45, k46, k47, k48, k49, k4A, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO } \ | ||
65 | } | ||
66 | |||
67 | #define LAYOUT_66_iso( \ | ||
68 | k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0A, k0B, k0C, k0D, k0F, \ | ||
69 | k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1A, k1B, k1C, k1E, \ | ||
70 | k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, k2A, k2B, k1D, k2C, \ | ||
71 | k30, k31, k32, k33, k34, k35, k36, k37, k38, k39, k3A, k3B, k3C, k3E, \ | ||
72 | k40, k41, k42, k44, k45, k46, k47, k48, k49, k4A \ | ||
73 | ) { \ | ||
74 | { k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0A, k0B, k0C, k0D, KC_NO, k0F }, \ | ||
75 | { k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1A, k1B, k1C, k1D, k1E, KC_NO }, \ | ||
76 | { k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, k2A, k2B, k2C, KC_NO, KC_NO, KC_NO }, \ | ||
77 | { k30, k31, k32, k33, k34, k35, k36, k37, k38, k39, k3A, k3B, k3C, KC_NO, k3E, KC_NO }, \ | ||
78 | { k40, k41, k42, KC_NO, k44, k45, k46, k47, k48, k49, k4A, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO } \ | ||
79 | } | ||
diff --git a/keyboards/amjkeyboard/amj66/config.h b/keyboards/amjkeyboard/amj66/config.h new file mode 100644 index 000000000..1f8a930a6 --- /dev/null +++ b/keyboards/amjkeyboard/amj66/config.h | |||
@@ -0,0 +1,53 @@ | |||
1 | /* | ||
2 | Copyright 2018 Alex Peters | ||
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 0xFEED | ||
24 | #define PRODUCT_ID 0xBD66 | ||
25 | #define DEVICE_VER 0x0001 | ||
26 | #define MANUFACTURER AMJKeyboard | ||
27 | #define PRODUCT AMJ66 | ||
28 | |||
29 | /* Key matrix size */ | ||
30 | #define MATRIX_ROWS 5 | ||
31 | #define MATRIX_COLS 16 | ||
32 | |||
33 | /* Keyboard Matrix Assignments */ | ||
34 | #define MATRIX_ROW_PINS { F7, F6, F5, F4, F1 } | ||
35 | #define MATRIX_COL_PINS { F0, B3, B2, B1, B0, B7, D0, D1, D2, D3, D5, D6, D7, B4, B5, B6 } | ||
36 | #define UNUSED_PINS | ||
37 | |||
38 | /* COL2ROW, ROW2COL*/ | ||
39 | #define DIODE_DIRECTION COL2ROW | ||
40 | |||
41 | #define BACKLIGHT_PIN D4 | ||
42 | #define BACKLIGHT_LEVELS 3 | ||
43 | #define BACKLIGHT_BREATHING | ||
44 | #define BREATHING_PERIOD 6 | ||
45 | |||
46 | /* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */ | ||
47 | #define DEBOUNCE 5 | ||
48 | |||
49 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | ||
50 | #define LOCKING_SUPPORT_ENABLE | ||
51 | |||
52 | /* Locking resynchronize hack */ | ||
53 | #define LOCKING_RESYNC_ENABLE | ||
diff --git a/keyboards/amjkeyboard/amj66/info.json b/keyboards/amjkeyboard/amj66/info.json new file mode 100644 index 000000000..27a6ecdb9 --- /dev/null +++ b/keyboards/amjkeyboard/amj66/info.json | |||
@@ -0,0 +1,222 @@ | |||
1 | { | ||
2 | "keyboard_name": "AMJ66", | ||
3 | "url": "", | ||
4 | "maintainer": "FSund, qmk", | ||
5 | "layouts": { | ||
6 | "LAYOUT_all": { | ||
7 | "layout": [ | ||
8 | {"label":"~", "x":0, "y":0}, | ||
9 | {"label":"!", "x":1, "y":0}, | ||
10 | {"label":"@", "x":2, "y":0}, | ||
11 | {"label":"#", "x":3, "y":0}, | ||
12 | {"label":"$", "x":4, "y":0}, | ||
13 | {"label":"%", "x":5, "y":0}, | ||
14 | {"label":"^", "x":6, "y":0}, | ||
15 | {"label":"&", "x":7, "y":0}, | ||
16 | {"label":"*", "x":8, "y":0}, | ||
17 | {"label":"(", "x":9, "y":0}, | ||
18 | {"label":")", "x":10, "y":0}, | ||
19 | {"label":"_", "x":11, "y":0}, | ||
20 | {"label":"+", "x":12, "y":0}, | ||
21 | {"label":"|", "x":13, "y":0}, | ||
22 | {"label":"~", "x":14, "y":0}, | ||
23 | {"label":"Insert", "x":15.5, "y":0}, | ||
24 | {"label":"Tab", "x":0, "y":1, "w":1.5}, | ||
25 | {"label":"Q", "x":1.5, "y":1}, | ||
26 | {"label":"W", "x":2.5, "y":1}, | ||
27 | {"label":"E", "x":3.5, "y":1}, | ||
28 | {"label":"R", "x":4.5, "y":1}, | ||
29 | {"label":"T", "x":5.5, "y":1}, | ||
30 | {"label":"Y", "x":6.5, "y":1}, | ||
31 | {"label":"U", "x":7.5, "y":1}, | ||
32 | {"label":"I", "x":8.5, "y":1}, | ||
33 | {"label":"O", "x":9.5, "y":1}, | ||
34 | {"label":"P", "x":10.5, "y":1}, | ||
35 | {"label":"{", "x":11.5, "y":1}, | ||
36 | {"label":"}", "x":12.5, "y":1}, | ||
37 | {"label":"Backspace", "x":13.5, "y":1, "w":1.5}, | ||
38 | {"label":"Delete", "x":15.5, "y":1}, | ||
39 | {"label":"Caps Lock", "x":0, "y":2, "w":1.75}, | ||
40 | {"label":"A", "x":1.75, "y":2}, | ||
41 | {"label":"S", "x":2.75, "y":2}, | ||
42 | {"label":"D", "x":3.75, "y":2}, | ||
43 | {"label":"F", "x":4.75, "y":2}, | ||
44 | {"label":"G", "x":5.75, "y":2}, | ||
45 | {"label":"H", "x":6.75, "y":2}, | ||
46 | {"label":"J", "x":7.75, "y":2}, | ||
47 | {"label":"K", "x":8.75, "y":2}, | ||
48 | {"label":"L", "x":9.75, "y":2}, | ||
49 | {"label":":", "x":10.75, "y":2}, | ||
50 | {"label":"\"", "x":11.75, "y":2}, | ||
51 | {"label":"Enter", "x":12.75, "y":2, "w":2.25}, | ||
52 | {"label":"Shift", "x":0, "y":3, "w":1.25}, | ||
53 | {"label":"ISO Backslash", "x":1.25, "y":3}, | ||
54 | {"label":"Z", "x":2.25, "y":3}, | ||
55 | {"label":"X", "x":3.25, "y":3}, | ||
56 | {"label":"C", "x":4.25, "y":3}, | ||
57 | {"label":"V", "x":5.25, "y":3}, | ||
58 | {"label":"B", "x":6.25, "y":3}, | ||
59 | {"label":"N", "x":7.25, "y":3}, | ||
60 | {"label":"M", "x":8.25, "y":3}, | ||
61 | {"label":"<", "x":9.25, "y":3}, | ||
62 | {"label":">", "x":10.25, "y":3}, | ||
63 | {"label":"?", "x":11.25, "y":3}, | ||
64 | {"label":"Shift", "x":12.25, "y":3, "w":1.25}, | ||
65 | {"label":"HHKB Fn", "x":13.5, "y":3}, | ||
66 | {"label":"Up", "x":14.5, "y":3}, | ||
67 | {"label":"Ctrl", "x":0, "y":4, "w":1.25}, | ||
68 | {"label":"GUI", "x":1.25, "y":4, "w":1.25}, | ||
69 | {"label":"Alt", "x":2.5, "y":4, "w":1.5}, | ||
70 | {"label":"Space", "x":4, "y":4, "w":2.75}, | ||
71 | {"label":"Space", "x":6.75, "y":4, "w":2.75}, | ||
72 | {"label":"Alt", "x":9.5, "y":4, "w":1.5}, | ||
73 | {"label":"GUI", "x":11, "y":4, "w":1.25}, | ||
74 | {"label":"Ctrl", "x":12.25, "y":4, "w":1.25}, | ||
75 | {"label":"Left", "x":13.5, "y":4}, | ||
76 | {"label":"Down", "x":14.5, "y":4}, | ||
77 | {"label":"Right", "x":15.5, "y":4} | ||
78 | ] | ||
79 | }, | ||
80 | "LAYOUT_66_ansi": { | ||
81 | "layout": [ | ||
82 | {"label":"~", "x":0, "y":0}, | ||
83 | {"label":"!", "x":1, "y":0}, | ||
84 | {"label":"@", "x":2, "y":0}, | ||
85 | {"label":"#", "x":3, "y":0}, | ||
86 | {"label":"$", "x":4, "y":0}, | ||
87 | {"label":"%", "x":5, "y":0}, | ||
88 | {"label":"^", "x":6, "y":0}, | ||
89 | {"label":"&", "x":7, "y":0}, | ||
90 | {"label":"*", "x":8, "y":0}, | ||
91 | {"label":"(", "x":9, "y":0}, | ||
92 | {"label":")", "x":10, "y":0}, | ||
93 | {"label":"_", "x":11, "y":0}, | ||
94 | {"label":"+", "x":12, "y":0}, | ||
95 | {"label":"Backspace", "x":13, "y":0, "w":2}, | ||
96 | {"label":"Insert", "x":15.5, "y":0}, | ||
97 | {"label":"Tab", "x":0, "y":1, "w":1.5}, | ||
98 | {"label":"Q", "x":1.5, "y":1}, | ||
99 | {"label":"W", "x":2.5, "y":1}, | ||
100 | {"label":"E", "x":3.5, "y":1}, | ||
101 | {"label":"R", "x":4.5, "y":1}, | ||
102 | {"label":"T", "x":5.5, "y":1}, | ||
103 | {"label":"Y", "x":6.5, "y":1}, | ||
104 | {"label":"U", "x":7.5, "y":1}, | ||
105 | {"label":"I", "x":8.5, "y":1}, | ||
106 | {"label":"O", "x":9.5, "y":1}, | ||
107 | {"label":"P", "x":10.5, "y":1}, | ||
108 | {"label":"{", "x":11.5, "y":1}, | ||
109 | {"label":"}", "x":12.5, "y":1}, | ||
110 | {"label":"|", "x":13.5, "y":1, "w":1.5}, | ||
111 | {"label":"Delete", "x":15.5, "y":1}, | ||
112 | {"label":"Caps Lock", "x":0, "y":2, "w":1.75}, | ||
113 | {"label":"A", "x":1.75, "y":2}, | ||
114 | {"label":"S", "x":2.75, "y":2}, | ||
115 | {"label":"D", "x":3.75, "y":2}, | ||
116 | {"label":"F", "x":4.75, "y":2}, | ||
117 | {"label":"G", "x":5.75, "y":2}, | ||
118 | {"label":"H", "x":6.75, "y":2}, | ||
119 | {"label":"J", "x":7.75, "y":2}, | ||
120 | {"label":"K", "x":8.75, "y":2}, | ||
121 | {"label":"L", "x":9.75, "y":2}, | ||
122 | {"label":":", "x":10.75, "y":2}, | ||
123 | {"label":"\"", "x":11.75, "y":2}, | ||
124 | {"label":"Enter", "x":12.75, "y":2, "w":2.25}, | ||
125 | {"label":"Shift", "x":0, "y":3, "w":2.25}, | ||
126 | {"label":"Z", "x":2.25, "y":3}, | ||
127 | {"label":"X", "x":3.25, "y":3}, | ||
128 | {"label":"C", "x":4.25, "y":3}, | ||
129 | {"label":"V", "x":5.25, "y":3}, | ||
130 | {"label":"B", "x":6.25, "y":3}, | ||
131 | {"label":"N", "x":7.25, "y":3}, | ||
132 | {"label":"M", "x":8.25, "y":3}, | ||
133 | {"label":"<", "x":9.25, "y":3}, | ||
134 | {"label":">", "x":10.25, "y":3}, | ||
135 | {"label":"?", "x":11.25, "y":3}, | ||
136 | {"label":"Shift", "x":12.25, "y":3, "w":2.25}, | ||
137 | {"label":"Up", "x":14.5, "y":3}, | ||
138 | {"label":"Ctrl", "x":0, "y":4, "w":1.25}, | ||
139 | {"label":"GUI", "x":1.25, "y":4, "w":1.25}, | ||
140 | {"label":"Alt", "x":2.5, "y":4, "w":1.25}, | ||
141 | {"label":"Space", "x":3.75, "y":4, "w":6.25}, | ||
142 | {"label":"Alt", "x":10, "y":4, "w":1.25}, | ||
143 | {"label":"Fn", "x":11.25, "y":4}, | ||
144 | {"label":"Ctrl", "x":12.25, "y":4, "w":1.25}, | ||
145 | {"label":"Left", "x":13.5, "y":4}, | ||
146 | {"label":"Down", "x":14.5, "y":4}, | ||
147 | {"label":"Right", "x":15.5, "y":4} | ||
148 | ] | ||
149 | }, | ||
150 | "LAYOUT_66_iso": { | ||
151 | "layout": [ | ||
152 | {"label":"\u00ac", "x":0, "y":0}, | ||
153 | {"label":"!", "x":1, "y":0}, | ||
154 | {"label":"\"", "x":2, "y":0}, | ||
155 | {"label":"\u00a3", "x":3, "y":0}, | ||
156 | {"label":"$", "x":4, "y":0}, | ||
157 | {"label":"%", "x":5, "y":0}, | ||
158 | {"label":"^", "x":6, "y":0}, | ||
159 | {"label":"&", "x":7, "y":0}, | ||
160 | {"label":"*", "x":8, "y":0}, | ||
161 | {"label":"(", "x":9, "y":0}, | ||
162 | {"label":")", "x":10, "y":0}, | ||
163 | {"label":"_", "x":11, "y":0}, | ||
164 | {"label":"+", "x":12, "y":0}, | ||
165 | {"label":"Backspace", "x":13, "y":0, "w":2}, | ||
166 | {"label":"Insert", "x":15.5, "y":0}, | ||
167 | {"label":"Tab", "x":0, "y":1, "w":1.5}, | ||
168 | {"label":"Q", "x":1.5, "y":1}, | ||
169 | {"label":"W", "x":2.5, "y":1}, | ||
170 | {"label":"E", "x":3.5, "y":1}, | ||
171 | {"label":"R", "x":4.5, "y":1}, | ||
172 | {"label":"T", "x":5.5, "y":1}, | ||
173 | {"label":"Y", "x":6.5, "y":1}, | ||
174 | {"label":"U", "x":7.5, "y":1}, | ||
175 | {"label":"I", "x":8.5, "y":1}, | ||
176 | {"label":"O", "x":9.5, "y":1}, | ||
177 | {"label":"P", "x":10.5, "y":1}, | ||
178 | {"label":"{", "x":11.5, "y":1}, | ||
179 | {"label":"}", "x":12.5, "y":1}, | ||
180 | {"label":"Delete", "x":15.5, "y":1}, | ||
181 | {"label":"Caps Lock", "x":0, "y":2, "w":1.75}, | ||
182 | {"label":"A", "x":1.75, "y":2}, | ||
183 | {"label":"S", "x":2.75, "y":2}, | ||
184 | {"label":"D", "x":3.75, "y":2}, | ||
185 | {"label":"F", "x":4.75, "y":2}, | ||
186 | {"label":"G", "x":5.75, "y":2}, | ||
187 | {"label":"H", "x":6.75, "y":2}, | ||
188 | {"label":"J", "x":7.75, "y":2}, | ||
189 | {"label":"K", "x":8.75, "y":2}, | ||
190 | {"label":"L", "x":9.75, "y":2}, | ||
191 | {"label":":", "x":10.75, "y":2}, | ||
192 | {"label":"@", "x":11.75, "y":2}, | ||
193 | {"label":"~", "x":12.75, "y":2}, | ||
194 | {"label":"Enter", "x":13.75, "y":1, "w":1.25, "h":2}, | ||
195 | {"label":"Shift", "x":0, "y":3, "w":1.25}, | ||
196 | {"label":"|", "x":1.25, "y":3}, | ||
197 | {"label":"Z", "x":2.25, "y":3}, | ||
198 | {"label":"X", "x":3.25, "y":3}, | ||
199 | {"label":"C", "x":4.25, "y":3}, | ||
200 | {"label":"V", "x":5.25, "y":3}, | ||
201 | {"label":"B", "x":6.25, "y":3}, | ||
202 | {"label":"N", "x":7.25, "y":3}, | ||
203 | {"label":"M", "x":8.25, "y":3}, | ||
204 | {"label":"<", "x":9.25, "y":3}, | ||
205 | {"label":">", "x":10.25, "y":3}, | ||
206 | {"label":"?", "x":11.25, "y":3}, | ||
207 | {"label":"Shift", "x":12.25, "y":3, "w":2.25}, | ||
208 | {"label":"Up", "x":14.5, "y":3}, | ||
209 | {"label":"Ctrl", "x":0, "y":4, "w":1.25}, | ||
210 | {"label":"GUI", "x":1.25, "y":4, "w":1.25}, | ||
211 | {"label":"Alt", "x":2.5, "y":4, "w":1.25}, | ||
212 | {"label":"Space", "x":3.75, "y":4, "w":6.25}, | ||
213 | {"label":"AltGr", "x":10, "y":4, "w":1.25}, | ||
214 | {"label":"GUI", "x":11.25, "y":4}, | ||
215 | {"label":"Ctrl", "x":12.25, "y":4, "w":1.25}, | ||
216 | {"label":"Left", "x":13.5, "y":4}, | ||
217 | {"label":"Down", "x":14.5, "y":4}, | ||
218 | {"label":"Right", "x":15.5, "y":4} | ||
219 | ] | ||
220 | } | ||
221 | } | ||
222 | } | ||
diff --git a/keyboards/amjkeyboard/amj66/keymaps/default/keymap.c b/keyboards/amjkeyboard/amj66/keymaps/default/keymap.c new file mode 100644 index 000000000..cce05a7fe --- /dev/null +++ b/keyboards/amjkeyboard/amj66/keymaps/default/keymap.c | |||
@@ -0,0 +1,36 @@ | |||
1 | /* Copyright 2018 Alex Peters | ||
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 | |||
20 | [0] = LAYOUT_all( | ||
21 | 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, KC_BSPC, KC_INS, | ||
22 | 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, | ||
23 | 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_NUBS, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, MO(1), KC_UP, | ||
25 | KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_SPC, KC_RALT, MO(1), KC_RCTL, KC_LEFT, KC_DOWN, KC_RGHT | ||
26 | ), | ||
27 | |||
28 | [1] = LAYOUT_all( | ||
29 | KC_GRV, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_BSPC, KC_BSPC, KC_INS, | ||
30 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_VOLD, KC_VOLU, KC_MUTE, KC_DEL, | ||
31 | RESET, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
32 | _______, _______, _______, _______, _______, _______, _______, _______, _______, BL_BRTG, BL_STEP, KC_SLEP, _______, _______, KC_PGUP, | ||
33 | _______, _______, _______, _______, _______, _______, _______, _______, KC_HOME, KC_PGDN, KC_END | ||
34 | ), | ||
35 | |||
36 | }; | ||
diff --git a/keyboards/amjkeyboard/amj66/keymaps/default/readme.md b/keyboards/amjkeyboard/amj66/keymaps/default/readme.md new file mode 100644 index 000000000..c250695ef --- /dev/null +++ b/keyboards/amjkeyboard/amj66/keymaps/default/readme.md | |||
@@ -0,0 +1,12 @@ | |||
1 | # The default keymap for AMJ66 | ||
2 | |||
3 |  | ||
4 | |||
5 | This is a fairly universal layout that supports standard ANSI, split backspace, | ||
6 | split left shift, and split right shift. | ||
7 | Cycle backlight: Fn + . | ||
8 | Backlight breathing: Fn + , | ||
9 | Volume Up/Down: Fn + [ and Fn + ] | ||
10 | Mute: Fn + \ | ||
11 | Sleep: Fn + / | ||
12 | Bootloader Mode: Fn + CapsLock \ No newline at end of file | ||
diff --git a/keyboards/amjkeyboard/amj66/readme.md b/keyboards/amjkeyboard/amj66/readme.md new file mode 100644 index 000000000..37a1f27ea --- /dev/null +++ b/keyboards/amjkeyboard/amj66/readme.md | |||
@@ -0,0 +1,15 @@ | |||
1 | # AMJ66 | ||
2 | |||
3 |  | ||
4 | |||
5 | A 66% keyboard formerly sold by Massdrop and KBDFans. | ||
6 | |||
7 | Keyboard Maintainer: [FSund](https://github.com/fsund), [The QMK Community](https://github.com/qmk) | ||
8 | Hardware Supported: AMJ66, ATmega32U4 | ||
9 | Hardware Availability: [Drop.com](https://drop.com/buy/kbd66-mechanical-keyboard-kit?mode=guest_open) | ||
10 | |||
11 | Make example for this keyboard (after setting up your build environment): | ||
12 | |||
13 | make amjkeyboard/amj66: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/amjkeyboard/amj66/rules.mk b/keyboards/amjkeyboard/amj66/rules.mk new file mode 100644 index 000000000..04386dd84 --- /dev/null +++ b/keyboards/amjkeyboard/amj66/rules.mk | |||
@@ -0,0 +1,23 @@ | |||
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 = yes # Enable keyboard backlight functionality | ||
17 | AUDIO_ENABLE = no # Audio output | ||
18 | |||
19 | LAYOUTS = 66_ansi 66_iso | ||
20 | |||
21 | # Disable unsupported hardware | ||
22 | RGBLIGHT_SUPPORTED = no | ||
23 | AUDIO_SUPPORTED = no | ||
diff --git a/keyboards/amjkeyboard/amj84/amj84.c b/keyboards/amjkeyboard/amj84/amj84.c new file mode 100644 index 000000000..49116c48c --- /dev/null +++ b/keyboards/amjkeyboard/amj84/amj84.c | |||
@@ -0,0 +1,4 @@ | |||
1 | // Copyright 2022 peepeetee (@peepeetee) | ||
2 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
3 | |||
4 | #include "amj84.h" | ||
diff --git a/keyboards/amjkeyboard/amj84/amj84.h b/keyboards/amjkeyboard/amj84/amj84.h new file mode 100644 index 000000000..19718da8c --- /dev/null +++ b/keyboards/amjkeyboard/amj84/amj84.h | |||
@@ -0,0 +1,30 @@ | |||
1 | // Copyright 2022 peepeetee (@peepeetee) | ||
2 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
3 | |||
4 | #pragma once | ||
5 | |||
6 | #include "quantum.h" | ||
7 | |||
8 | /* This is a shortcut to help you visually see your layout. | ||
9 | * | ||
10 | * The first section contains all of the arguments representing the physical | ||
11 | * layout of the board and position of the keys. | ||
12 | * | ||
13 | * The second converts the arguments into a two-dimensional array which | ||
14 | * represents the switch matrix. | ||
15 | */ | ||
16 | #define LAYOUT( \ | ||
17 | K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B, K0C, K0D, K0E, \ | ||
18 | K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K1A, K1B, K1C, K1D, K1E, \ | ||
19 | K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, K2A, K2B, K2C, K2D, K2E, \ | ||
20 | K30, K31, K32, K33, K34, K35, K36, K37, K38, K39, K3A, K3B, K3C, K3D, K3E, \ | ||
21 | K40, K41, K42, K43, K44, K45, K46, K47, K48, K49, K4A, K4B, K4C, K4D, K4E, \ | ||
22 | K50, K51, K52, K55, K58, K59, K5A, K5B, K5C, K5D, K5E \ | ||
23 | ) { \ | ||
24 | { K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B, K0C, K0D, K0E }, \ | ||
25 | { K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K1A, K1B, K1C, K1D, K1E }, \ | ||
26 | { K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, K2A, K2B, K2C, K2D, K2E }, \ | ||
27 | { K30, K31, K32, K33, K34, K35, K36, K37, K38, K39, K3A, K3B, K3C, K3D, K3E }, \ | ||
28 | { K40, K41, K42, K43, K44, K45, K46, K47, K48, K49, K4A, K4B, K4C, K4D, K4E }, \ | ||
29 | { K50, K51, K52,KC_NO,KC_NO,K55,KC_NO,KC_NO,K58,K59,K5A, K5B, K5C, K5D, K5E } \ | ||
30 | } | ||
diff --git a/keyboards/amjkeyboard/amj84/config.h b/keyboards/amjkeyboard/amj84/config.h new file mode 100644 index 000000000..279d1268e --- /dev/null +++ b/keyboards/amjkeyboard/amj84/config.h | |||
@@ -0,0 +1,112 @@ | |||
1 | // Copyright 2022 peepeetee (@peepeetee) | ||
2 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
3 | |||
4 | #pragma once | ||
5 | |||
6 | #include "config_common.h" | ||
7 | |||
8 | /* USB Device descriptor parameter */ | ||
9 | #define VENDOR_ID 0x00D8 //A+M+J | ||
10 | #define PRODUCT_ID 0x6068 | ||
11 | #define DEVICE_VER 0x0001 | ||
12 | #define MANUFACTURER Han Chen | ||
13 | #define PRODUCT AMJ84 | ||
14 | |||
15 | /* key matrix size */ | ||
16 | #define MATRIX_ROWS 6 | ||
17 | #define MATRIX_COLS 15 | ||
18 | |||
19 | /* | ||
20 | * Keyboard Matrix Assignments | ||
21 | * | ||
22 | * Change this to how you wired your keyboard | ||
23 | * COLS: AVR pins used for columns, left to right | ||
24 | * ROWS: AVR pins used for rows, top to bottom | ||
25 | * DIODE_DIRECTION: COL2ROW = COL = Anode (+), ROW = Cathode (-, marked on diode) | ||
26 | * ROW2COL = ROW = Anode (+), COL = Cathode (-, marked on diode) | ||
27 | * | ||
28 | */ | ||
29 | #define MATRIX_ROW_PINS { D0, F7, F6, F5, F4, D5 } | ||
30 | #define MATRIX_COL_PINS { F1, F0, E6, C7, C6, B0, D4, B1, B7, B5, B4, D7, D6, B3, D1 } | ||
31 | #define UNUSED_PINS | ||
32 | |||
33 | /* COL2ROW, ROW2COL */ | ||
34 | #define DIODE_DIRECTION COL2ROW | ||
35 | |||
36 | /* | ||
37 | * Split Keyboard specific options, make sure you have 'SPLIT_KEYBOARD = yes' in your rules.mk, and define SOFT_SERIAL_PIN. | ||
38 | */ | ||
39 | //#define SOFT_SERIAL_PIN D0 // or D1, D2, D3, E6 | ||
40 | |||
41 | //#define LED_NUM_LOCK_PIN B0 | ||
42 | //#define LED_CAPS_LOCK_PIN B2 | ||
43 | //#define LED_SCROLL_LOCK_PIN B2 | ||
44 | //#define LED_COMPOSE_PIN B3 | ||
45 | //#define LED_KANA_PIN B4 | ||
46 | |||
47 | #define BACKLIGHT_PIN B6 | ||
48 | #define BACKLIGHT_LEVELS 3 | ||
49 | #define BACKLIGHT_BREATHING | ||
50 | |||
51 | |||
52 | |||
53 | /* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */ | ||
54 | #define DEBOUNCE 5 | ||
55 | |||
56 | /* define if matrix has ghost (lacks anti-ghosting diodes) */ | ||
57 | //#define MATRIX_HAS_GHOST | ||
58 | |||
59 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | ||
60 | #define LOCKING_SUPPORT_ENABLE | ||
61 | /* Locking resynchronize hack */ | ||
62 | #define LOCKING_RESYNC_ENABLE | ||
63 | |||
64 | /* If defined, GRAVE_ESC will always act as ESC when CTRL is held. | ||
65 | * This is useful for the Windows task manager shortcut (ctrl+shift+esc). | ||
66 | */ | ||
67 | //#define GRAVE_ESC_CTRL_OVERRIDE | ||
68 | |||
69 | /* | ||
70 | * Force NKRO | ||
71 | * | ||
72 | * Force NKRO (nKey Rollover) to be enabled by default, regardless of the saved | ||
73 | * state in the bootmagic EEPROM settings. (Note that NKRO must be enabled in the | ||
74 | * makefile for this to work.) | ||
75 | * | ||
76 | * If forced on, NKRO can be disabled via magic key (default = LShift+RShift+N) | ||
77 | * until the next keyboard reset. | ||
78 | * | ||
79 | * NKRO may prevent your keystrokes from being detected in the BIOS, but it is | ||
80 | * fully operational during normal computer usage. | ||
81 | * | ||
82 | * For a less heavy-handed approach, enable NKRO via magic key (LShift+RShift+N) | ||
83 | * or via bootmagic (hold SPACE+N while plugging in the keyboard). Once set by | ||
84 | * bootmagic, NKRO mode will always be enabled until it is toggled again during a | ||
85 | * power-up. | ||
86 | * | ||
87 | */ | ||
88 | #define FORCE_NKRO | ||
89 | |||
90 | /* | ||
91 | * Feature disable options | ||
92 | * These options are also useful to firmware size reduction. | ||
93 | */ | ||
94 | |||
95 | /* disable debug print */ | ||
96 | //#define NO_DEBUG | ||
97 | |||
98 | /* disable print */ | ||
99 | //#define NO_PRINT | ||
100 | |||
101 | /* disable action features */ | ||
102 | //#define NO_ACTION_LAYER | ||
103 | //#define NO_ACTION_TAPPING | ||
104 | //#define NO_ACTION_ONESHOT | ||
105 | |||
106 | /* disable these deprecated features by default */ | ||
107 | #define NO_ACTION_MACRO | ||
108 | #define NO_ACTION_FUNCTION | ||
109 | |||
110 | /* Bootmagic Lite key configuration */ | ||
111 | #define BOOTMAGIC_LITE_ROW 0 | ||
112 | #define BOOTMAGIC_LITE_COLUMN 0 | ||
diff --git a/keyboards/amjkeyboard/amj84/info.json b/keyboards/amjkeyboard/amj84/info.json new file mode 100644 index 000000000..484823fcc --- /dev/null +++ b/keyboards/amjkeyboard/amj84/info.json | |||
@@ -0,0 +1,97 @@ | |||
1 | { | ||
2 | "keyboard_name": "AMJ84", | ||
3 | "maintainer": "peepeetee", | ||
4 | "url": "", | ||
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 | { "x": 15, "y": 0 }, | ||
24 | { "x": 0, "y": 1 }, | ||
25 | { "x": 1, "y": 1 }, | ||
26 | { "x": 2, "y": 1 }, | ||
27 | { "x": 3, "y": 1 }, | ||
28 | { "x": 4, "y": 1 }, | ||
29 | { "x": 5, "y": 1 }, | ||
30 | { "x": 6, "y": 1 }, | ||
31 | { "x": 7, "y": 1 }, | ||
32 | { "x": 8, "y": 1 }, | ||
33 | { "x": 9, "y": 1 }, | ||
34 | { "x": 10, "y": 1 }, | ||
35 | { "x": 11, "y": 1 }, | ||
36 | { "x": 12, "y": 1 }, | ||
37 | { "w": 2, "x": 13, "y": 1 }, | ||
38 | { "x": 15, "y": 1 }, | ||
39 | { "w": 1.5, "x": 0, "y": 2 }, | ||
40 | { "x": 1.5, "y": 2 }, | ||
41 | { "x": 2.5, "y": 2 }, | ||
42 | { "x": 3.5, "y": 2 }, | ||
43 | { "x": 4.5, "y": 2 }, | ||
44 | { "x": 5.5, "y": 2 }, | ||
45 | { "x": 6.5, "y": 2 }, | ||
46 | { "x": 7.5, "y": 2 }, | ||
47 | { "x": 8.5, "y": 2 }, | ||
48 | { "x": 9.5, "y": 2 }, | ||
49 | { "x": 10.5, "y": 2 }, | ||
50 | { "x": 11.5, "y": 2 }, | ||
51 | { "x": 12.5, "y": 2 }, | ||
52 | { "w": 1.5, "x": 13.5, "y": 2 }, | ||
53 | { "x": 15, "y": 2 }, | ||
54 | { "w": 1.75, "x": 0, "y": 3 }, | ||
55 | { "x": 1.75, "y": 3 }, | ||
56 | { "x": 2.75, "y": 3 }, | ||
57 | { "x": 3.75, "y": 3 }, | ||
58 | { "x": 4.75, "y": 3 }, | ||
59 | { "x": 5.75, "y": 3 }, | ||
60 | { "x": 6.75, "y": 3 }, | ||
61 | { "x": 7.75, "y": 3 }, | ||
62 | { "x": 8.75, "y": 3 }, | ||
63 | { "x": 9.75, "y": 3 }, | ||
64 | { "x": 10.75, "y": 3 }, | ||
65 | { "x": 11.75, "y": 3 }, | ||
66 | { "x": 12.75, "y": 3 }, | ||
67 | { "w": 1.25, "x": 13.75, "y": 3 }, | ||
68 | { "x": 15, "y": 3 }, | ||
69 | { "w": 2.25, "x": 0, "y": 4 }, | ||
70 | { "x": 2.25, "y": 4 }, | ||
71 | { "x": 3.25, "y": 4 }, | ||
72 | { "x": 4.25, "y": 4 }, | ||
73 | { "x": 5.25, "y": 4 }, | ||
74 | { "x": 6.25, "y": 4 }, | ||
75 | { "x": 7.25, "y": 4 }, | ||
76 | { "x": 8.25, "y": 4 }, | ||
77 | { "x": 9.25, "y": 4 }, | ||
78 | { "x": 10.25, "y": 4 }, | ||
79 | { "x": 11.25, "y": 4 }, | ||
80 | { "w": 1.75, "x": 12.25, "y": 4 }, | ||
81 | { "x": 14, "y": 4 }, | ||
82 | { "x": 15, "y": 4 }, | ||
83 | { "w": 1.25, "x": 0, "y": 5 }, | ||
84 | { "w": 1.25, "x": 1.25, "y": 5 }, | ||
85 | { "w": 1.25, "x": 2.5, "y": 5 }, | ||
86 | { "w": 5.25, "x": 3.75, "y": 5 }, | ||
87 | { "x": 9, "y": 5 }, | ||
88 | { "x": 10, "y": 5 }, | ||
89 | { "x": 11, "y": 5 }, | ||
90 | { "x": 12, "y": 5 }, | ||
91 | { "x": 13, "y": 5 }, | ||
92 | { "x": 14, "y": 5 }, | ||
93 | { "x": 15, "y": 5 } | ||
94 | ] | ||
95 | } | ||
96 | } | ||
97 | } | ||
diff --git a/keyboards/amjkeyboard/amj84/keymaps/default/keymap.c b/keyboards/amjkeyboard/amj84/keymaps/default/keymap.c new file mode 100644 index 000000000..11f848235 --- /dev/null +++ b/keyboards/amjkeyboard/amj84/keymaps/default/keymap.c | |||
@@ -0,0 +1,53 @@ | |||
1 | // Copyright 2022 peepeetee (@peepeetee) | ||
2 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
3 | |||
4 | #include QMK_KEYBOARD_H | ||
5 | |||
6 | |||
7 | |||
8 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||
9 | /* Base */ | ||
10 | /* Keymap 0: Default Layer | ||
11 | * ,----------------------------------------------------------------. | ||
12 | * |Esc| F1| F2| F3| F4| F5| F6| F7| F8| F9|F10|F11|F12|Home |Del| | ||
13 | * |------------------------------------------------------------|---| | ||
14 | * |` | 1| 2| 3| 4| 5| 6| 7| 8| 9| 0| -| =|Backsp |PgU| | ||
15 | * |------------------------------------------------------------|---| | ||
16 | * |Tab | Q| W| E| R| T| Y| U| I| O| P| [| ]| \ |PgD| | ||
17 | * |------------------------------------------------------------|---| | ||
18 | * |Caps | A| S| D| F| G| H| J| K| L| ;| '|Return |Ins| | ||
19 | * |------------------------------------------------------------|---| | ||
20 | * |Shift | Z| X| C| V| B| N| M| ,| .| /|Shift |Up |Fn0| | ||
21 | * |------------------------------------------------------------|---| | ||
22 | * |Ctrl|Win |Alt | Space |END|Alt |Ctrl|Left |Down|Rig| | ||
23 | * `----------------------------------------------------------------' | ||
24 | */ | ||
25 | [0] = LAYOUT( | ||
26 | KC_ESC, 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_HOME,KC_DEL, | ||
27 | 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,KC_PGUP, | ||
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,KC_PGDN, | ||
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_NO, KC_ENT, KC_INS, | ||
30 | KC_LSFT,KC_NO, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM,KC_DOT, KC_SLSH,KC_RSFT,KC_UP, MO(1), | ||
31 | KC_LCTL,KC_LGUI,KC_LALT, KC_SPC, KC_END, KC_NO, KC_RALT,KC_RCTL,KC_LEFT,KC_DOWN,KC_RIGHT), | ||
32 | /* Keymap 1: Fn Layer | ||
33 | * ,-----------------------------------------------------------. | ||
34 | * | `| F1| F2| F3| F4| F5| F6| F7| F8| F9|F10|F11|F12|Delete | | ||
35 | * |-----------------------------------------------------------| | ||
36 | * | | |Up | | | |Cal| |Ins| |Psc|Slk|Pau| | | ||
37 | * |-----------------------------------------------------------| | ||
38 | * | |Lef|Dow|Rig| | | | | | |Hom|PgU| | | ||
39 | * |-----------------------------------------------------------| | ||
40 | * | | |App|Fn1|Fn2|Fn3|VoD|VoU|Mut|End|PgD| | | | ||
41 | * |-----------------------------------------------------------| | ||
42 | * | | | | | | | | | | ||
43 | * `-----------------------------------------------------------' | ||
44 | */ | ||
45 | [1] = LAYOUT( | ||
46 | KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS, | ||
47 | KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS, | ||
48 | KC_TRNS,KC_TRNS,KC_UP, KC_TRNS,KC_TRNS,KC_TRNS,KC_CALC,KC_TRNS,KC_INS, KC_TRNS,KC_PSCR,KC_SLCK,KC_PAUS,KC_TRNS,KC_TRNS, | ||
49 | BL_BRTG,KC_LEFT,KC_DOWN,KC_RGHT,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_HOME,KC_PGUP,KC_TRNS,KC_TRNS,KC_TRNS, | ||
50 | BL_STEP,KC_NO, KC_TRNS,KC_APP, KC_FN1, KC_FN2, KC_FN3, KC_VOLD,KC_VOLU,KC_MUTE,KC_END, KC_PGDN,KC_TRNS,KC_TRNS,KC_TRNS, | ||
51 | KC_SLEP,KC_TRNS,KC_TRNS, KC_TRNS, KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS) | ||
52 | |||
53 | }; | ||
diff --git a/keyboards/amjkeyboard/amj84/keymaps/default/readme.md b/keyboards/amjkeyboard/amj84/keymaps/default/readme.md new file mode 100644 index 000000000..9233dcbfd --- /dev/null +++ b/keyboards/amjkeyboard/amj84/keymaps/default/readme.md | |||
@@ -0,0 +1 @@ | |||
# The default keymap for amj84 | |||
diff --git a/keyboards/amjkeyboard/amj84/readme.md b/keyboards/amjkeyboard/amj84/readme.md new file mode 100644 index 000000000..c0df110eb --- /dev/null +++ b/keyboards/amjkeyboard/amj84/readme.md | |||
@@ -0,0 +1,27 @@ | |||
1 | # amj84 | ||
2 | |||
3 |  | ||
4 | |||
5 | A 84 key keyboard by AMJ | ||
6 | |||
7 | * Keyboard Maintainer: [peepeetee](https://github.com/peepeetee) | ||
8 | * Hardware Supported: AMJ84 | ||
9 | * Hardware Availability: no longer available | ||
10 | |||
11 | Make example for this keyboard (after setting up your build environment): | ||
12 | |||
13 | make amjkeyboard/amj84:default | ||
14 | |||
15 | Flashing example for this keyboard: | ||
16 | |||
17 | make amjkeyboard/amj84: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 | * **Physical reset button**: Briefly press the button on the back of the PCB | ||
27 | * **Keycode in layout**: Press the key mapped to `RESET` if it is available | ||
diff --git a/keyboards/amjkeyboard/amj84/rules.mk b/keyboards/amjkeyboard/amj84/rules.mk new file mode 100644 index 000000000..8649486da --- /dev/null +++ b/keyboards/amjkeyboard/amj84/rules.mk | |||
@@ -0,0 +1,18 @@ | |||
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 = no # 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 | ||