diff options
Diffstat (limited to 'keyboards/acr60')
-rw-r--r-- | keyboards/acr60/acr60.c | 17 | ||||
-rw-r--r-- | keyboards/acr60/acr60.h | 122 | ||||
-rw-r--r-- | keyboards/acr60/config.h | 61 | ||||
-rw-r--r-- | keyboards/acr60/info.json | 446 | ||||
-rw-r--r-- | keyboards/acr60/keymaps/default/keymap.c | 38 | ||||
-rw-r--r-- | keyboards/acr60/keymaps/mitch/keymap.c | 169 | ||||
-rw-r--r-- | keyboards/acr60/readme.md | 24 | ||||
-rw-r--r-- | keyboards/acr60/rules.mk | 18 |
8 files changed, 895 insertions, 0 deletions
diff --git a/keyboards/acr60/acr60.c b/keyboards/acr60/acr60.c new file mode 100644 index 000000000..7cba669b8 --- /dev/null +++ b/keyboards/acr60/acr60.c | |||
@@ -0,0 +1,17 @@ | |||
1 | /* Copyright 2017 Ryan Mitchell (@newtmitch) | ||
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 "acr60.h" | ||
diff --git a/keyboards/acr60/acr60.h b/keyboards/acr60/acr60.h new file mode 100644 index 000000000..5a52a3bc8 --- /dev/null +++ b/keyboards/acr60/acr60.h | |||
@@ -0,0 +1,122 @@ | |||
1 | /* Copyright 2017 Ryan Mitchell (@newtmitch) | ||
2 | * | ||
3 | * This program is free software: you can redistribute it and/or modify | ||
4 | * it under the terms of the GNU General Public License as published by | ||
5 | * the Free Software Foundation, either version 2 of the License, or | ||
6 | * (at your option) any later version. | ||
7 | * | ||
8 | * This program is distributed in the hope that it will be useful, | ||
9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
11 | * GNU General Public License for more details. | ||
12 | * | ||
13 | * You should have received a copy of the GNU General Public License | ||
14 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
15 | */ | ||
16 | |||
17 | #pragma once | ||
18 | |||
19 | #include "quantum.h" | ||
20 | |||
21 | #define ___ KC_NO | ||
22 | |||
23 | #define LAYOUT_all( \ | ||
24 | K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B, K0C, K0D, K0E, \ | ||
25 | K10, K12, K13, K14, K15, K16, K17, K18, K19, K1A, K1B, K1C, K1D, K1E, \ | ||
26 | K20, K22, K23, K24, K25, K26, K27, K28, K29, K2A, K2B, K2C, K2D, \ | ||
27 | K30, K31, K32, K33, K34, K35, K36, K37, K38, K39, K3A, K3B, K3C, K3D, K3E, \ | ||
28 | K40, K41, K43, K44, K46, K48, K4A, K4B, K4C, K4D, K4E \ | ||
29 | ) { \ | ||
30 | { K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B, K0C, K0D, K0E }, \ | ||
31 | { K10, ___, K12, K13, K14, K15, K16, K17, K18, K19, K1A, K1B, K1C, K1D, K1E }, \ | ||
32 | { K20, ___, K22, K23, K24, K25, K26, K27, K28, K29, K2A, K2B, K2C, K2D, ___ }, \ | ||
33 | { K30, K31, K32, K33, K34, K35, K36, K37, K38, K39, K3A, K3B, K3C, K3D, K3E }, \ | ||
34 | { K40, K41, ___, K43, K44, ___, K46, ___, K48, ___, K4A, K4B, K4C, K4D, K4E } \ | ||
35 | } | ||
36 | |||
37 | #define LAYOUT( \ | ||
38 | K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B, K0C, K0D, K0E, \ | ||
39 | K10, K12, K13, K14, K15, K16, K17, K18, K19, K1A, K1B, K1C, K1D, K1E, \ | ||
40 | K20, K22, K23, K24, K25, K26, K27, K28, K29, K2A, K2B, K2C, K2D, \ | ||
41 | K30, K31, K32, K33, K34, K35, K36, K37, K38, K39, K3A, K3B, K3D, K3E, \ | ||
42 | K40, K41, K43, K44, K46, K48, K4A, K4B, K4C, K4D, K4E \ | ||
43 | ) { \ | ||
44 | { K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B, K0C, K0D, K0E }, \ | ||
45 | { K10, ___, K12, K13, K14, K15, K16, K17, K18, K19, K1A, K1B, K1C, K1D, K1E }, \ | ||
46 | { K20, ___, K22, K23, K24, K25, K26, K27, K28, K29, K2A, K2B, K2C, K2D, ___ }, \ | ||
47 | { K30, K31, K32, K33, K34, K35, K36, K37, K38, K39, K3A, K3B, ___, K3D, K3E }, \ | ||
48 | { K40, K41, ___, K43, K44, ___, K46, ___, K48, ___, K4A, K4B, K4C, K4D, K4E } \ | ||
49 | } | ||
50 | |||
51 | #define LAYOUT_hhkb( \ | ||
52 | K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B, K0C, K0D, K0E, \ | ||
53 | K10, K12, K13, K14, K15, K16, K17, K18, K19, K1A, K1B, K1C, K1D, K1E, \ | ||
54 | K20, K22, K23, K24, K25, K26, K27, K28, K29, K2A, K2B, K2C, K2D, \ | ||
55 | K30, K31, K32, K33, K34, K35, K36, K37, K38, K39, K3A, K3B, K3D, K3E, \ | ||
56 | K41, K43, K46, K4B, K4D \ | ||
57 | ) { \ | ||
58 | { K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B, K0C, K0D, K0E }, \ | ||
59 | { K10, ___, K12, K13, K14, K15, K16, K17, K18, K19, K1A, K1B, K1C, K1D, K1E }, \ | ||
60 | { K20, ___, K22, K23, K24, K25, K26, K27, K28, K29, K2A, K2B, K2C, K2D, ___ }, \ | ||
61 | { K30, K31, K32, K33, K34, K35, K36, K37, K38, K39, K3A, K3B, ___, K3D, K3E }, \ | ||
62 | { ___, K41, ___, K43, ___, ___, K46, ___, ___, ___, ___, K4B, ___, K4D, ___ } \ | ||
63 | } | ||
64 | |||
65 | #define LAYOUT_true_hhkb( \ | ||
66 | K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B, K0C, K0D, K0E, \ | ||
67 | K10, K12, K13, K14, K15, K16, K17, K18, K19, K1A, K1B, K1C, K1D, K1E, \ | ||
68 | K20, K22, K23, K24, K25, K26, K27, K28, K29, K2A, K2B, K2C, K2D, \ | ||
69 | K30, K31, K32, K33, K34, K35, K36, K37, K38, K39, K3A, K3B, K3D, K3E, \ | ||
70 | K41, K43, K46, K4A, K4B \ | ||
71 | ) { \ | ||
72 | { K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B, K0C, K0D, K0E }, \ | ||
73 | { K10, ___, K12, K13, K14, K15, K16, K17, K18, K19, K1A, K1B, K1C, K1D, K1E }, \ | ||
74 | { K20, ___, K22, K23, K24, K25, K26, K27, K28, K29, K2A, K2B, K2C, K2D, ___ }, \ | ||
75 | { K30, K31, K32, K33, K34, K35, K36, K37, K38, K39, K3A, K3B, ___, K3D, K3E }, \ | ||
76 | { ___, K41, ___, K43, ___, ___, K46, ___, ___, ___, K4A, K4B, ___, ___, ___ } \ | ||
77 | } | ||
78 | |||
79 | #define LAYOUT_directional( \ | ||
80 | K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B, K0C, K0D, K0E, \ | ||
81 | K10, K12, K13, K14, K15, K16, K17, K18, K19, K1A, K1B, K1C, K1D, K1E, \ | ||
82 | K20, K22, K23, K24, K25, K26, K27, K28, K29, K2A, K2B, K2C, K2D, \ | ||
83 | K30, K31, K32, K33, K34, K35, K36, K37, K38, K39, K3A, K3C, K3D, K3E, \ | ||
84 | K40, K41, K43, K44, K46, K48, K4A, K4B, K4C, K4D, K4E \ | ||
85 | ) { \ | ||
86 | { K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B, K0C, K0D, K0E }, \ | ||
87 | { K10, ___, K12, K13, K14, K15, K16, K17, K18, K19, K1A, K1B, K1C, K1D, K1E }, \ | ||
88 | { K20, ___, K22, K23, K24, K25, K26, K27, K28, K29, K2A, K2B, K2C, K2D, ___ }, \ | ||
89 | { K30, K31, K32, K33, K34, K35, K36, K37, K38, K39, K3A, ___, K3C, K3D, K3E }, \ | ||
90 | { K40, K41, ___, K43, K44, ___, K46, ___, K48, ___, K4A, K4B, K4C, K4D, K4E } \ | ||
91 | } | ||
92 | |||
93 | /* Mitch's keymap, "MitchSplit": | ||
94 | * Standard 60% base, split right shift, 3-split space, standard modifier row. | ||
95 | * Split shift is 2.75u + 1.25u + 2.25u (total of 6.25u). Might not work with other orientations. | ||
96 | */ | ||
97 | /* | ||
98 | * ,-----------------------------------------------------------. | ||
99 | * |00 |01 |02 |03 |04 |05 |06 |07 |08 |09 |0A |0B |0C |0E | | ||
100 | * |-----------------------------------------------------------| | ||
101 | * |10 |12 |13 |14 |15 |16 |17 |18 |19 |1A |1B |1C |1D |1E | | ||
102 | * |-----------------------------------------------------------| | ||
103 | * |20 |22 |23 |24 |25 |26 |27 |28 |29 |2A |2B |2C |2D | | ||
104 | * |-----------------------------------------------------------| | ||
105 | * |30 |32 |33 |34 |35 |36 |37 |38 |39 |3A |3B |3D |3E | | ||
106 | * |-----------------------------------------------------------| | ||
107 | * |40 |41 |43 |44 |46 |48 |4A |4B |4D |4E | | ||
108 | * `-----------------------------------------------------------' | ||
109 | */ | ||
110 | #define LAYOUT_mitchsplit( \ | ||
111 | K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B, K0C, K0E, \ | ||
112 | K10, K12, K13, K14, K15, K16, K17, K18, K19, K1A, K1B, K1C, K1D, K1E, \ | ||
113 | K20, K22, K23, K24, K25, K26, K27, K28, K29, K2A, K2B, K2C, K2D, \ | ||
114 | K30, K32, K33, K34, K35, K36, K37, K38, K39, K3A, K3B, K3D, K3E, \ | ||
115 | K40, K41, K43, K44, K46, K48, K4A, K4B, K4D, K4E \ | ||
116 | ) { \ | ||
117 | { K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B, K0C, ___, K0E }, \ | ||
118 | { K10, ___, K12, K13, K14, K15, K16, K17, K18, K19, K1A, K1B, K1C, K1D, K1E }, \ | ||
119 | { K20, ___, K22, K23, K24, K25, K26, K27, K28, K29, K2A, K2B, K2C, K2D, ___ }, \ | ||
120 | { K30, ___, K32, K33, K34, K35, K36, K37, K38, K39, K3A, K3B, ___, K3D, K3E }, \ | ||
121 | { K40, K41, ___, K43, K44, ___, K46, ___, K48, ___, K4A, K4B, ___, K4D, K4E } \ | ||
122 | } | ||
diff --git a/keyboards/acr60/config.h b/keyboards/acr60/config.h new file mode 100644 index 000000000..7fb907153 --- /dev/null +++ b/keyboards/acr60/config.h | |||
@@ -0,0 +1,61 @@ | |||
1 | /* Copyright 2017 Ryan Mitchell (@newtmitch) | ||
2 | * | ||
3 | * This program is free software: you can redistribute it and/or modify | ||
4 | * it under the terms of the GNU General Public License as published by | ||
5 | * the Free Software Foundation, either version 2 of the License, or | ||
6 | * (at your option) any later version. | ||
7 | * | ||
8 | * This program is distributed in the hope that it will be useful, | ||
9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
11 | * GNU General Public License for more details. | ||
12 | * | ||
13 | * You should have received a copy of the GNU General Public License | ||
14 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
15 | */ | ||
16 | |||
17 | #pragma once | ||
18 | |||
19 | #include "config_common.h" | ||
20 | |||
21 | /* USB Device descriptor parameter */ | ||
22 | #define VENDOR_ID 0xFEED | ||
23 | #define PRODUCT_ID 0xCA60 | ||
24 | #define DEVICE_VER 0x0001 | ||
25 | #define MANUFACTURER MECHKEYS | ||
26 | #define PRODUCT ACR60 | ||
27 | |||
28 | /* key matrix size */ | ||
29 | #define MATRIX_ROWS 5 | ||
30 | #define MATRIX_COLS 15 | ||
31 | |||
32 | /* key matrix pins */ | ||
33 | #define MATRIX_ROW_PINS { D0, D1, D2, D3, D5 } | ||
34 | #define MATRIX_COL_PINS { F0, F1, E6, C7, C6, B7, D4, B1, B0, B5, B4, D7, D6, B3, F4 } | ||
35 | #define UNUSED_PINS | ||
36 | |||
37 | /* COL2ROW or ROW2COL */ | ||
38 | #define DIODE_DIRECTION COL2ROW | ||
39 | |||
40 | #define LED_CAPS_LOCK_PIN B2 | ||
41 | #define LED_PIN_ON_STATE 0 | ||
42 | |||
43 | /* number of backlight levels */ | ||
44 | #define BACKLIGHT_PIN B6 | ||
45 | #define BACKLIGHT_LEVELS 5 | ||
46 | |||
47 | /* Set 0 if debouncing isn't needed */ | ||
48 | #define DEBOUNCE 5 | ||
49 | |||
50 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | ||
51 | #define LOCKING_SUPPORT_ENABLE | ||
52 | |||
53 | /* Locking resynchronize hack */ | ||
54 | #define LOCKING_RESYNC_ENABLE | ||
55 | |||
56 | #define RGB_DI_PIN E2 | ||
57 | #define RGBLIGHT_ANIMATIONS | ||
58 | #define RGBLED_NUM 20 | ||
59 | #define RGBLIGHT_HUE_STEP 8 | ||
60 | #define RGBLIGHT_SAT_STEP 8 | ||
61 | #define RGBLIGHT_VAL_STEP 8 | ||
diff --git a/keyboards/acr60/info.json b/keyboards/acr60/info.json new file mode 100644 index 000000000..0e42e5162 --- /dev/null +++ b/keyboards/acr60/info.json | |||
@@ -0,0 +1,446 @@ | |||
1 | { | ||
2 | "keyboard_name": "ACR60", | ||
3 | "url": "", | ||
4 | "maintainer": "qmk", | ||
5 | "layout_aliases": { | ||
6 | "LAYOUT_2_shifts": "LAYOUT_all" | ||
7 | }, | ||
8 | "layouts": { | ||
9 | "LAYOUT_all": { | ||
10 | "layout": [ | ||
11 | {"label":"K00", "x":0, "y":0}, | ||
12 | {"label":"K01", "x":1, "y":0}, | ||
13 | {"label":"K02", "x":2, "y":0}, | ||
14 | {"label":"K03", "x":3, "y":0}, | ||
15 | {"label":"K04", "x":4, "y":0}, | ||
16 | {"label":"K05", "x":5, "y":0}, | ||
17 | {"label":"K06", "x":6, "y":0}, | ||
18 | {"label":"K07", "x":7, "y":0}, | ||
19 | {"label":"K08", "x":8, "y":0}, | ||
20 | {"label":"K09", "x":9, "y":0}, | ||
21 | {"label":"K0A", "x":10, "y":0}, | ||
22 | {"label":"K0B", "x":11, "y":0}, | ||
23 | {"label":"K0C", "x":12, "y":0}, | ||
24 | {"label":"K0D", "x":13, "y":0}, | ||
25 | {"label":"K0E", "x":14, "y":0}, | ||
26 | |||
27 | {"label":"K10", "x":0, "y":1, "w":1.5}, | ||
28 | {"label":"K12", "x":1.5, "y":1}, | ||
29 | {"label":"K13", "x":2.5, "y":1}, | ||
30 | {"label":"K14", "x":3.5, "y":1}, | ||
31 | {"label":"K15", "x":4.5, "y":1}, | ||
32 | {"label":"K16", "x":5.5, "y":1}, | ||
33 | {"label":"K17", "x":6.5, "y":1}, | ||
34 | {"label":"K18", "x":7.5, "y":1}, | ||
35 | {"label":"K19", "x":8.5, "y":1}, | ||
36 | {"label":"K1A", "x":9.5, "y":1}, | ||
37 | {"label":"K1B", "x":10.5, "y":1}, | ||
38 | {"label":"K1C", "x":11.5, "y":1}, | ||
39 | {"label":"K1D", "x":12.5, "y":1}, | ||
40 | {"label":"K1E", "x":13.5, "y":1, "w":1.5}, | ||
41 | |||
42 | {"label":"K20", "x":0, "y":2, "w":1.75}, | ||
43 | {"label":"K22", "x":1.75, "y":2}, | ||
44 | {"label":"K23", "x":2.75, "y":2}, | ||
45 | {"label":"K24", "x":3.75, "y":2}, | ||
46 | {"label":"K25", "x":4.75, "y":2}, | ||
47 | {"label":"K26", "x":5.75, "y":2}, | ||
48 | {"label":"K27", "x":6.75, "y":2}, | ||
49 | {"label":"K28", "x":7.75, "y":2}, | ||
50 | {"label":"K29", "x":8.75, "y":2}, | ||
51 | {"label":"K2A", "x":9.75, "y":2}, | ||
52 | {"label":"K2B", "x":10.75, "y":2}, | ||
53 | {"label":"K2C", "x":11.75, "y":2}, | ||
54 | {"label":"K2D", "x":12.75, "y":2, "w":2.25}, | ||
55 | |||
56 | {"label":"K30", "x":0, "y":3}, | ||
57 | {"label":"K31", "x":1, "y":3}, | ||
58 | {"label":"K32", "x":2, "y":3}, | ||
59 | {"label":"K33", "x":3, "y":3}, | ||
60 | {"label":"K34", "x":4, "y":3}, | ||
61 | {"label":"K35", "x":5, "y":3}, | ||
62 | {"label":"K36", "x":6, "y":3}, | ||
63 | {"label":"K37", "x":7, "y":3}, | ||
64 | {"label":"K38", "x":8, "y":3}, | ||
65 | {"label":"K39", "x":9, "y":3}, | ||
66 | {"label":"K3A", "x":10, "y":3}, | ||
67 | {"label":"K3B", "x":11, "y":3}, | ||
68 | {"label":"K3C", "x":12, "y":3}, | ||
69 | {"label":"K3D", "x":13, "y":3}, | ||
70 | {"label":"K3E", "x":14, "y":3}, | ||
71 | |||
72 | {"label":"K40", "x":0, "y":4, "w":1.25}, | ||
73 | {"label":"K41", "x":1.25, "y":4, "w":1.25}, | ||
74 | {"label":"K43", "x":2.5, "y":4, "w":1.25}, | ||
75 | {"label":"K44", "x":3.75, "y":4, "w":2.25}, | ||
76 | {"label":"K46", "x":6, "y":4, "w":1.25}, | ||
77 | {"label":"K48", "x":7.25, "y":4, "w":2.75}, | ||
78 | {"label":"K4A", "x":10, "y":4}, | ||
79 | {"label":"K4B", "x":11, "y":4}, | ||
80 | {"label":"K4C", "x":12, "y":4}, | ||
81 | {"label":"K4D", "x":13, "y":4}, | ||
82 | {"label":"K4E", "x":14, "y":4} | ||
83 | ] | ||
84 | }, | ||
85 | "LAYOUT": { | ||
86 | "layout": [ | ||
87 | {"label":"K00", "x":0, "y":0}, | ||
88 | {"label":"K01", "x":1, "y":0}, | ||
89 | {"label":"K02", "x":2, "y":0}, | ||
90 | {"label":"K03", "x":3, "y":0}, | ||
91 | {"label":"K04", "x":4, "y":0}, | ||
92 | {"label":"K05", "x":5, "y":0}, | ||
93 | {"label":"K06", "x":6, "y":0}, | ||
94 | {"label":"K07", "x":7, "y":0}, | ||
95 | {"label":"K08", "x":8, "y":0}, | ||
96 | {"label":"K09", "x":9, "y":0}, | ||
97 | {"label":"K0A", "x":10, "y":0}, | ||
98 | {"label":"K0B", "x":11, "y":0}, | ||
99 | {"label":"K0C", "x":12, "y":0}, | ||
100 | {"label":"K0D", "x":13, "y":0}, | ||
101 | {"label":"K0E", "x":14, "y":0}, | ||
102 | |||
103 | {"label":"K10", "x":0, "y":1, "w":1.5}, | ||
104 | {"label":"K12", "x":1.5, "y":1}, | ||
105 | {"label":"K13", "x":2.5, "y":1}, | ||
106 | {"label":"K14", "x":3.5, "y":1}, | ||
107 | {"label":"K15", "x":4.5, "y":1}, | ||
108 | {"label":"K16", "x":5.5, "y":1}, | ||
109 | {"label":"K17", "x":6.5, "y":1}, | ||
110 | {"label":"K18", "x":7.5, "y":1}, | ||
111 | {"label":"K19", "x":8.5, "y":1}, | ||
112 | {"label":"K1A", "x":9.5, "y":1}, | ||
113 | {"label":"K1B", "x":10.5, "y":1}, | ||
114 | {"label":"K1C", "x":11.5, "y":1}, | ||
115 | {"label":"K1D", "x":12.5, "y":1}, | ||
116 | {"label":"K1E", "x":13.5, "y":1, "w":1.5}, | ||
117 | |||
118 | {"label":"K20", "x":0, "y":2, "w":1.75}, | ||
119 | {"label":"K22", "x":1.75, "y":2}, | ||
120 | {"label":"K23", "x":2.75, "y":2}, | ||
121 | {"label":"K24", "x":3.75, "y":2}, | ||
122 | {"label":"K25", "x":4.75, "y":2}, | ||
123 | {"label":"K26", "x":5.75, "y":2}, | ||
124 | {"label":"K27", "x":6.75, "y":2}, | ||
125 | {"label":"K28", "x":7.75, "y":2}, | ||
126 | {"label":"K29", "x":8.75, "y":2}, | ||
127 | {"label":"K2A", "x":9.75, "y":2}, | ||
128 | {"label":"K2B", "x":10.75, "y":2}, | ||
129 | {"label":"K2C", "x":11.75, "y":2}, | ||
130 | {"label":"K2D", "x":12.75, "y":2, "w":2.25}, | ||
131 | |||
132 | {"label":"K30", "x":0, "y":3, "w":1.25}, | ||
133 | {"label":"K31", "x":1.25, "y":3}, | ||
134 | {"label":"K32", "x":2.25, "y":3}, | ||
135 | {"label":"K33", "x":3.25, "y":3}, | ||
136 | {"label":"K34", "x":4.25, "y":3}, | ||
137 | {"label":"K35", "x":5.25, "y":3}, | ||
138 | {"label":"K36", "x":6.25, "y":3}, | ||
139 | {"label":"K37", "x":7.25, "y":3}, | ||
140 | {"label":"K38", "x":8.25, "y":3}, | ||
141 | {"label":"K39", "x":9.25, "y":3}, | ||
142 | {"label":"K3A", "x":10.25, "y":3}, | ||
143 | {"label":"K3B", "x":11.25, "y":3}, | ||
144 | {"label":"K3D", "x":12.25, "y":3, "w":1.75}, | ||
145 | {"label":"K3E", "x":14, "y":3}, | ||
146 | |||
147 | {"label":"K40", "x":0, "y":4, "w":1.25}, | ||
148 | {"label":"K41", "x":1.25, "y":4, "w":1.25}, | ||
149 | {"label":"K43", "x":2.5, "y":4, "w":1.25}, | ||
150 | {"label":"K44", "x":3.75, "y":4, "w":2.25}, | ||
151 | {"label":"K46", "x":6, "y":4, "w":1.25}, | ||
152 | {"label":"K48", "x":7.25, "y":4, "w":2.75}, | ||
153 | {"label":"K4A", "x":10, "y":4}, | ||
154 | {"label":"K4B", "x":11, "y":4}, | ||
155 | {"label":"K4C", "x":12, "y":4}, | ||
156 | {"label":"K4D", "x":13, "y":4}, | ||
157 | {"label":"K4E", "x":14, "y":4} | ||
158 | ] | ||
159 | }, | ||
160 | "LAYOUT_hhkb": { | ||
161 | "layout": [ | ||
162 | {"label":"K00", "x":0, "y":0}, | ||
163 | {"label":"K01", "x":1, "y":0}, | ||
164 | {"label":"K02", "x":2, "y":0}, | ||
165 | {"label":"K03", "x":3, "y":0}, | ||
166 | {"label":"K04", "x":4, "y":0}, | ||
167 | {"label":"K05", "x":5, "y":0}, | ||
168 | {"label":"K06", "x":6, "y":0}, | ||
169 | {"label":"K07", "x":7, "y":0}, | ||
170 | {"label":"K08", "x":8, "y":0}, | ||
171 | {"label":"K09", "x":9, "y":0}, | ||
172 | {"label":"K0A", "x":10, "y":0}, | ||
173 | {"label":"K0B", "x":11, "y":0}, | ||
174 | {"label":"K0C", "x":12, "y":0}, | ||
175 | {"label":"K0D", "x":13, "y":0}, | ||
176 | {"label":"K0E", "x":14, "y":0}, | ||
177 | |||
178 | {"label":"K10", "x":0, "y":1, "w":1.5}, | ||
179 | {"label":"K12", "x":1.5, "y":1}, | ||
180 | {"label":"K13", "x":2.5, "y":1}, | ||
181 | {"label":"K14", "x":3.5, "y":1}, | ||
182 | {"label":"K15", "x":4.5, "y":1}, | ||
183 | {"label":"K16", "x":5.5, "y":1}, | ||
184 | {"label":"K17", "x":6.5, "y":1}, | ||
185 | {"label":"K18", "x":7.5, "y":1}, | ||
186 | {"label":"K19", "x":8.5, "y":1}, | ||
187 | {"label":"K1A", "x":9.5, "y":1}, | ||
188 | {"label":"K1B", "x":10.5, "y":1}, | ||
189 | {"label":"K1C", "x":11.5, "y":1}, | ||
190 | {"label":"K1D", "x":12.5, "y":1}, | ||
191 | {"label":"K1E", "x":13.5, "y":1, "w":1.5}, | ||
192 | |||
193 | {"label":"K20", "x":0, "y":2, "w":1.75}, | ||
194 | {"label":"K22", "x":1.75, "y":2}, | ||
195 | {"label":"K23", "x":2.75, "y":2}, | ||
196 | {"label":"K24", "x":3.75, "y":2}, | ||
197 | {"label":"K25", "x":4.75, "y":2}, | ||
198 | {"label":"K26", "x":5.75, "y":2}, | ||
199 | {"label":"K27", "x":6.75, "y":2}, | ||
200 | {"label":"K28", "x":7.75, "y":2}, | ||
201 | {"label":"K29", "x":8.75, "y":2}, | ||
202 | {"label":"K2A", "x":9.75, "y":2}, | ||
203 | {"label":"K2B", "x":10.75, "y":2}, | ||
204 | {"label":"K2C", "x":11.75, "y":2}, | ||
205 | {"label":"K2D", "x":12.75, "y":2, "w":2.25}, | ||
206 | |||
207 | {"label":"K30", "x":0, "y":3, "w":1.25}, | ||
208 | {"label":"K31", "x":1.25, "y":3}, | ||
209 | {"label":"K32", "x":2.25, "y":3}, | ||
210 | {"label":"K33", "x":3.25, "y":3}, | ||
211 | {"label":"K34", "x":4.25, "y":3}, | ||
212 | {"label":"K35", "x":5.25, "y":3}, | ||
213 | {"label":"K36", "x":6.25, "y":3}, | ||
214 | {"label":"K37", "x":7.25, "y":3}, | ||
215 | {"label":"K38", "x":8.25, "y":3}, | ||
216 | {"label":"K39", "x":9.25, "y":3}, | ||
217 | {"label":"K3A", "x":10.25, "y":3}, | ||
218 | {"label":"K3B", "x":11.25, "y":3}, | ||
219 | {"label":"K3D", "x":12.25, "y":3, "w":1.75}, | ||
220 | {"label":"K3E", "x":14, "y":3}, | ||
221 | |||
222 | {"label":"K41", "x":1.5, "y":4}, | ||
223 | {"label":"K43", "x":2.5, "y":4, "w":1.5}, | ||
224 | {"label":"K46", "x":4, "y":4, "w":7}, | ||
225 | {"label":"K4B", "x":11, "y":4, "w":1.5}, | ||
226 | {"label":"K4D", "x":12.5, "y":4} | ||
227 | ] | ||
228 | }, | ||
229 | "LAYOUT_true_hhkb": { | ||
230 | "layout": [ | ||
231 | {"label":"K00", "x":0, "y":0}, | ||
232 | {"label":"K01", "x":1, "y":0}, | ||
233 | {"label":"K02", "x":2, "y":0}, | ||
234 | {"label":"K03", "x":3, "y":0}, | ||
235 | {"label":"K04", "x":4, "y":0}, | ||
236 | {"label":"K05", "x":5, "y":0}, | ||
237 | {"label":"K06", "x":6, "y":0}, | ||
238 | {"label":"K07", "x":7, "y":0}, | ||
239 | {"label":"K08", "x":8, "y":0}, | ||
240 | {"label":"K09", "x":9, "y":0}, | ||
241 | {"label":"K0A", "x":10, "y":0}, | ||
242 | {"label":"K0B", "x":11, "y":0}, | ||
243 | {"label":"K0C", "x":12, "y":0}, | ||
244 | {"label":"K0D", "x":13, "y":0}, | ||
245 | {"label":"K0E", "x":14, "y":0}, | ||
246 | |||
247 | {"label":"K10", "x":0, "y":1, "w":1.5}, | ||
248 | {"label":"K12", "x":1.5, "y":1}, | ||
249 | {"label":"K13", "x":2.5, "y":1}, | ||
250 | {"label":"K14", "x":3.5, "y":1}, | ||
251 | {"label":"K15", "x":4.5, "y":1}, | ||
252 | {"label":"K16", "x":5.5, "y":1}, | ||
253 | {"label":"K17", "x":6.5, "y":1}, | ||
254 | {"label":"K18", "x":7.5, "y":1}, | ||
255 | {"label":"K19", "x":8.5, "y":1}, | ||
256 | {"label":"K1A", "x":9.5, "y":1}, | ||
257 | {"label":"K1B", "x":10.5, "y":1}, | ||
258 | {"label":"K1C", "x":11.5, "y":1}, | ||
259 | {"label":"K1D", "x":12.5, "y":1}, | ||
260 | {"label":"K1E", "x":13.5, "y":1, "w":1.5}, | ||
261 | |||
262 | {"label":"K20", "x":0, "y":2, "w":1.75}, | ||
263 | {"label":"K22", "x":1.75, "y":2}, | ||
264 | {"label":"K23", "x":2.75, "y":2}, | ||
265 | {"label":"K24", "x":3.75, "y":2}, | ||
266 | {"label":"K25", "x":4.75, "y":2}, | ||
267 | {"label":"K26", "x":5.75, "y":2}, | ||
268 | {"label":"K27", "x":6.75, "y":2}, | ||
269 | {"label":"K28", "x":7.75, "y":2}, | ||
270 | {"label":"K29", "x":8.75, "y":2}, | ||
271 | {"label":"K2A", "x":9.75, "y":2}, | ||
272 | {"label":"K2B", "x":10.75, "y":2}, | ||
273 | {"label":"K2C", "x":11.75, "y":2}, | ||
274 | {"label":"K2D", "x":12.75, "y":2, "w":2.25}, | ||
275 | |||
276 | {"label":"K30", "x":0, "y":3, "w":1.25}, | ||
277 | {"label":"K31", "x":1.25, "y":3}, | ||
278 | {"label":"K32", "x":2.25, "y":3}, | ||
279 | {"label":"K33", "x":3.25, "y":3}, | ||
280 | {"label":"K34", "x":4.25, "y":3}, | ||
281 | {"label":"K35", "x":5.25, "y":3}, | ||
282 | {"label":"K36", "x":6.25, "y":3}, | ||
283 | {"label":"K37", "x":7.25, "y":3}, | ||
284 | {"label":"K38", "x":8.25, "y":3}, | ||
285 | {"label":"K39", "x":9.25, "y":3}, | ||
286 | {"label":"K3A", "x":10.25, "y":3}, | ||
287 | {"label":"K3B", "x":11.25, "y":3}, | ||
288 | {"label":"K3D", "x":12.25, "y":3, "w":1.75}, | ||
289 | {"label":"K3E", "x":14, "y":3}, | ||
290 | |||
291 | {"label":"K41", "x":1.5, "y":4}, | ||
292 | {"label":"K43", "x":2.5, "y":4, "w":1.5}, | ||
293 | {"label":"K46", "x":4, "y":4, "w":6}, | ||
294 | {"label":"K4A", "x":10, "y":4, "w":1.5}, | ||
295 | {"label":"K4B", "x":11.5, "y":4} | ||
296 | ] | ||
297 | }, | ||
298 | "LAYOUT_directional": { | ||
299 | "layout": [ | ||
300 | {"label":"K00", "x":0, "y":0}, | ||
301 | {"label":"K01", "x":1, "y":0}, | ||
302 | {"label":"K02", "x":2, "y":0}, | ||
303 | {"label":"K03", "x":3, "y":0}, | ||
304 | {"label":"K04", "x":4, "y":0}, | ||
305 | {"label":"K05", "x":5, "y":0}, | ||
306 | {"label":"K06", "x":6, "y":0}, | ||
307 | {"label":"K07", "x":7, "y":0}, | ||
308 | {"label":"K08", "x":8, "y":0}, | ||
309 | {"label":"K09", "x":9, "y":0}, | ||
310 | {"label":"K0A", "x":10, "y":0}, | ||
311 | {"label":"K0B", "x":11, "y":0}, | ||
312 | {"label":"K0C", "x":12, "y":0}, | ||
313 | {"label":"K0D", "x":13, "y":0}, | ||
314 | {"label":"K0E", "x":14, "y":0}, | ||
315 | |||
316 | {"label":"K10", "x":0, "y":1, "w":1.5}, | ||
317 | {"label":"K12", "x":1.5, "y":1}, | ||
318 | {"label":"K13", "x":2.5, "y":1}, | ||
319 | {"label":"K14", "x":3.5, "y":1}, | ||
320 | {"label":"K15", "x":4.5, "y":1}, | ||
321 | {"label":"K16", "x":5.5, "y":1}, | ||
322 | {"label":"K17", "x":6.5, "y":1}, | ||
323 | {"label":"K18", "x":7.5, "y":1}, | ||
324 | {"label":"K19", "x":8.5, "y":1}, | ||
325 | {"label":"K1A", "x":9.5, "y":1}, | ||
326 | {"label":"K1B", "x":10.5, "y":1}, | ||
327 | {"label":"K1C", "x":11.5, "y":1}, | ||
328 | {"label":"K1D", "x":12.5, "y":1}, | ||
329 | {"label":"K1E", "x":13.5, "y":1, "w":1.5}, | ||
330 | |||
331 | {"label":"K20", "x":0, "y":2, "w":1.75}, | ||
332 | {"label":"K22", "x":1.75, "y":2}, | ||
333 | {"label":"K23", "x":2.75, "y":2}, | ||
334 | {"label":"K24", "x":3.75, "y":2}, | ||
335 | {"label":"K25", "x":4.75, "y":2}, | ||
336 | {"label":"K26", "x":5.75, "y":2}, | ||
337 | {"label":"K27", "x":6.75, "y":2}, | ||
338 | {"label":"K28", "x":7.75, "y":2}, | ||
339 | {"label":"K29", "x":8.75, "y":2}, | ||
340 | {"label":"K2A", "x":9.75, "y":2}, | ||
341 | {"label":"K2B", "x":10.75, "y":2}, | ||
342 | {"label":"K2C", "x":11.75, "y":2}, | ||
343 | {"label":"K2D", "x":12.75, "y":2, "w":2.25}, | ||
344 | |||
345 | {"label":"K30", "x":0, "y":3, "w":1.25}, | ||
346 | {"label":"K31", "x":1.25, "y":3}, | ||
347 | {"label":"K32", "x":2.25, "y":3}, | ||
348 | {"label":"K33", "x":3.25, "y":3}, | ||
349 | {"label":"K34", "x":4.25, "y":3}, | ||
350 | {"label":"K35", "x":5.25, "y":3}, | ||
351 | {"label":"K36", "x":6.25, "y":3}, | ||
352 | {"label":"K37", "x":7.25, "y":3}, | ||
353 | {"label":"K38", "x":8.25, "y":3}, | ||
354 | {"label":"K39", "x":9.25, "y":3}, | ||
355 | {"label":"K3A", "x":10.25, "y":3}, | ||
356 | {"label":"K3C", "x":11.25, "y":3, "w":1.75}, | ||
357 | {"label":"K3D", "x":13, "y":3}, | ||
358 | {"label":"K3E", "x":14, "y":3}, | ||
359 | |||
360 | {"label":"K40", "x":0, "y":4, "w":1.25}, | ||
361 | {"label":"K41", "x":1.25, "y":4, "w":1.25}, | ||
362 | {"label":"K43", "x":2.5, "y":4, "w":1.25}, | ||
363 | {"label":"K44", "x":3.75, "y":4, "w":2.25}, | ||
364 | {"label":"K46", "x":6, "y":4, "w":1.25}, | ||
365 | {"label":"K48", "x":7.25, "y":4, "w":2.75}, | ||
366 | {"label":"K4A", "x":10, "y":4}, | ||
367 | {"label":"K4B", "x":11, "y":4}, | ||
368 | {"label":"K4C", "x":12, "y":4}, | ||
369 | {"label":"K4D", "x":13, "y":4}, | ||
370 | {"label":"K4E", "x":14, "y":4} | ||
371 | ] | ||
372 | }, | ||
373 | "LAYOUT_mitchsplit": { | ||
374 | "layout": [ | ||
375 | {"label":"K00", "x":0, "y":0}, | ||
376 | {"label":"K01", "x":1, "y":0}, | ||
377 | {"label":"K02", "x":2, "y":0}, | ||
378 | {"label":"K03", "x":3, "y":0}, | ||
379 | {"label":"K04", "x":4, "y":0}, | ||
380 | {"label":"K05", "x":5, "y":0}, | ||
381 | {"label":"K06", "x":6, "y":0}, | ||
382 | {"label":"K07", "x":7, "y":0}, | ||
383 | {"label":"K08", "x":8, "y":0}, | ||
384 | {"label":"K09", "x":9, "y":0}, | ||
385 | {"label":"K0A", "x":10, "y":0}, | ||
386 | {"label":"K0B", "x":11, "y":0}, | ||
387 | {"label":"K0C", "x":12, "y":0}, | ||
388 | {"label":"K0E", "x":13, "y":0, "w":2}, | ||
389 | |||
390 | {"label":"K10", "x":0, "y":1, "w":1.5}, | ||
391 | {"label":"K12", "x":1.5, "y":1}, | ||
392 | {"label":"K13", "x":2.5, "y":1}, | ||
393 | {"label":"K14", "x":3.5, "y":1}, | ||
394 | {"label":"K15", "x":4.5, "y":1}, | ||
395 | {"label":"K16", "x":5.5, "y":1}, | ||
396 | {"label":"K17", "x":6.5, "y":1}, | ||
397 | {"label":"K18", "x":7.5, "y":1}, | ||
398 | {"label":"K19", "x":8.5, "y":1}, | ||
399 | {"label":"K1A", "x":9.5, "y":1}, | ||
400 | {"label":"K1B", "x":10.5, "y":1}, | ||
401 | {"label":"K1C", "x":11.5, "y":1}, | ||
402 | {"label":"K1D", "x":12.5, "y":1}, | ||
403 | {"label":"K1E", "x":13.5, "y":1, "w":1.5}, | ||
404 | |||
405 | {"label":"K20", "x":0, "y":2, "w":1.75}, | ||
406 | {"label":"K22", "x":1.75, "y":2}, | ||
407 | {"label":"K23", "x":2.75, "y":2}, | ||
408 | {"label":"K24", "x":3.75, "y":2}, | ||
409 | {"label":"K25", "x":4.75, "y":2}, | ||
410 | {"label":"K26", "x":5.75, "y":2}, | ||
411 | {"label":"K27", "x":6.75, "y":2}, | ||
412 | {"label":"K28", "x":7.75, "y":2}, | ||
413 | {"label":"K29", "x":8.75, "y":2}, | ||
414 | {"label":"K2A", "x":9.75, "y":2}, | ||
415 | {"label":"K2B", "x":10.75, "y":2}, | ||
416 | {"label":"K2C", "x":11.75, "y":2}, | ||
417 | {"label":"K2D", "x":12.75, "y":2, "w":2.25}, | ||
418 | |||
419 | {"label":"K30", "x":0, "y":3, "w":2.25}, | ||
420 | {"label":"K32", "x":2.25, "y":3}, | ||
421 | {"label":"K33", "x":3.25, "y":3}, | ||
422 | {"label":"K34", "x":4.25, "y":3}, | ||
423 | {"label":"K35", "x":5.25, "y":3}, | ||
424 | {"label":"K36", "x":6.25, "y":3}, | ||
425 | {"label":"K37", "x":7.25, "y":3}, | ||
426 | {"label":"K38", "x":8.25, "y":3}, | ||
427 | {"label":"K39", "x":9.25, "y":3}, | ||
428 | {"label":"K3A", "x":10.25, "y":3}, | ||
429 | {"label":"K3B", "x":11.25, "y":3}, | ||
430 | {"label":"K3D", "x":12.25, "y":3, "w":1.75}, | ||
431 | {"label":"K3E", "x":14, "y":3}, | ||
432 | |||
433 | {"label":"K40", "x":0, "y":4, "w":1.25}, | ||
434 | {"label":"K41", "x":1.25, "y":4, "w":1.25}, | ||
435 | {"label":"K43", "x":2.5, "y":4, "w":1.25}, | ||
436 | {"label":"K44", "x":3.75, "y":4, "w":2.75}, | ||
437 | {"label":"K46", "x":6.5, "y":4, "w":1.25}, | ||
438 | {"label":"K48", "x":7.75, "y":4, "w":2.25}, | ||
439 | {"label":"K4A", "x":10, "y":4, "w":1.25}, | ||
440 | {"label":"K4B", "x":11.25, "y":4, "w":1.25}, | ||
441 | {"label":"K4D", "x":12.5, "y":4, "w":1.25}, | ||
442 | {"label":"K4E", "x":13.75, "y":4, "w":1.25} | ||
443 | ] | ||
444 | } | ||
445 | } | ||
446 | } | ||
diff --git a/keyboards/acr60/keymaps/default/keymap.c b/keyboards/acr60/keymaps/default/keymap.c new file mode 100644 index 000000000..e7381c578 --- /dev/null +++ b/keyboards/acr60/keymaps/default/keymap.c | |||
@@ -0,0 +1,38 @@ | |||
1 | /* Copyright 2017 Ryan Mitchell (@newtmitch) | ||
2 | * 2021 James Young for QMK (@noroadsleft) | ||
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 QMK_KEYBOARD_H | ||
19 | |||
20 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||
21 | |||
22 | [0] = LAYOUT_all( | ||
23 | KC_GESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, XXXXXXX, KC_BSPC, | ||
24 | 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, | ||
25 | 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, | ||
26 | 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, KC_UP, MO(1), | ||
27 | KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_SPC, KC_SPC, KC_RALT, MO(1), KC_LEFT, KC_DOWN, KC_RGHT | ||
28 | ), | ||
29 | |||
30 | [1] = LAYOUT_all( | ||
31 | 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_DEL, | ||
32 | _______, RGB_TOG, RGB_MOD, RGB_HUI, RGB_HUD, RGB_SAI, RGB_SAD, RGB_VAI, RGB_VAD, _______, _______, _______, _______, RESET, | ||
33 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
34 | _______, _______, _______, _______, BL_DEC, BL_TOGG, BL_INC, BL_STEP, _______, _______, _______, _______, _______, _______, _______, | ||
35 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ | ||
36 | ), | ||
37 | |||
38 | }; | ||
diff --git a/keyboards/acr60/keymaps/mitch/keymap.c b/keyboards/acr60/keymaps/mitch/keymap.c new file mode 100644 index 000000000..1567b1481 --- /dev/null +++ b/keyboards/acr60/keymaps/mitch/keymap.c | |||
@@ -0,0 +1,169 @@ | |||
1 | #include QMK_KEYBOARD_H | ||
2 | |||
3 | #define _DFT 0 | ||
4 | #define _NGUI 1 | ||
5 | #define _FN 2 | ||
6 | #define _SFX 3 | ||
7 | |||
8 | // Fillers to make layering more clear | ||
9 | #define ______ KC_TRNS | ||
10 | #define bbbbbb KC_NO | ||
11 | #define GUIOFF MAGIC_NO_GUI | ||
12 | #define GUION MAGIC_UNNO_GUI | ||
13 | |||
14 | /* TODO: create handy quick-ref list here for easy grokking of the actual shortcuts in place */ | ||
15 | |||
16 | /* | ||
17 | * This is Mitch's default ACR60 layout (also DZ60, on which the ACR60 is based). This is a | ||
18 | * Mac-oriented layout, as noted by the GUI keys immediately next to the space bar area of the | ||
19 | * lower modifier row. This uses the LAYOUT_mitchsplit keymap as defined in arc60.h, which | ||
20 | * uses a 3-split space bar and a split right shift. Otherwise it's a standard 60% layout (for | ||
21 | * now). | ||
22 | * | ||
23 | * For me, this is a great place to start getting used to a split key setup and still mostly | ||
24 | * sticking to a standard staggered 60% layout so my entire game isn't thrown off. | ||
25 | * | ||
26 | * Layers (0-based index because we're devs!): | ||
27 | * | ||
28 | * 0: Default QWERTY layer | ||
29 | * Note Fn and Alt keys on the right side of the spacebar, not sure if those are | ||
30 | * normal position but that's what I'm used to at this point. YMMV | ||
31 | * | ||
32 | * 1: Function Layer | ||
33 | * Function keys, Grave Key, Delete, Caps lock on the tab, media keys, and directional | ||
34 | * keys. Also you can hit the Alt key position to switch (and lock) into the 3rd layer | ||
35 | * if you really want to mess with your SFX for a bit. | ||
36 | * | ||
37 | * 2: Special Effects Layer | ||
38 | * RGB and backlight settings access. RGB cycle on "S" key position and if locked into | ||
39 | * the third layer you can hold shift to cycle backwards (see notes below). Bootloader | ||
40 | * access is on this layer. If layer locked, hit right Alt key to get back to layer 0. | ||
41 | * | ||
42 | * The keymap layer definitions below look pretty bad when soft-wrapped by your IDE / text editor. | ||
43 | * Be sure to disable wrapping to make things more readable with lines preserved. | ||
44 | */ | ||
45 | |||
46 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||
47 | /* Layer 0 | ||
48 | * ,-----------------------------------------------------------------------------------------. | ||
49 | * | Esc | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 0 | - | = | Bksp | | ||
50 | * |-----------------------------------------------------------------------------------------+ | ||
51 | * | Tab | Q | W | E | R | T | Y | U | I | O | P | [ | ] | \ | | ||
52 | * |-----------------------------------------------------------------------------------------+ | ||
53 | * | Fn | A | S | D | F | G | H | J | K | L | ; | ' | Enter | | ||
54 | * |-----------------------------------------------------------------------------------------+ | ||
55 | * | Shift | Z | X | C | V | B | N | M | , | . | / | RShift | FN | | ||
56 | * |-----------------------------------------------------------------------------------------+ | ||
57 | * | LCtrl | LAlt | LGUI | Space | Space| Space | RGUI | Fn | RAlt | RCtrl | | ||
58 | * `-----------------------------------------------------------------------------------------' | ||
59 | */ | ||
60 | /* Qwerty gui/alt/space/alt/gui / | ||
61 | * | ||
62 | * Hit MO(_FN) and Alt in that order to lock into the _FN layer. | ||
63 | */ | ||
64 | [_DFT] = LAYOUT_mitchsplit( /* Basic QWERTY */ | ||
65 | KC_GESC, 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, \ | ||
66 | 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, \ | ||
67 | MO(_FN), KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT, \ | ||
68 | KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, MO(_FN), \ | ||
69 | KC_LCTL, KC_LALT, KC_LGUI, KC_SPC, KC_SPC, KC_SPC, KC_RGUI, MO(_FN), LT(_SFX, KC_RALT),KC_RCTL \ | ||
70 | ), | ||
71 | |||
72 | /* Gaming | ||
73 | * ,-----------------------------------------------------------------------------------------. | ||
74 | * | | | | | | | | | | | | | | | | | ||
75 | * |-----------------------------------------------------------------------------------------+ | ||
76 | * | | | | | | | | | | | | | | | | ||
77 | * |-----------------------------------------------------------------------------------------+ | ||
78 | * | | | | | | | | | | | | | | | ||
79 | * |-----------------------------------------------------------------------------------------+ | ||
80 | * | | | | | | | | | | | | | | | ||
81 | * |-----------------------------------------------------------------------------------------+ | ||
82 | * | | |BLOCKED| | | |BLOCKED| | | | | ||
83 | * `-----------------------------------------------------------------------------------------' | ||
84 | */ | ||
85 | /* I disable the GUI / System key for gaming, as usually that's windows and I hit that at the most | ||
86 | * inopportune moments. And games don't use the windows key. I'd use the Bootmagic MAGIC_NO_GUI and | ||
87 | * MAGIC_UNNO_GUI keycodes, but that actually disables it and has it persist beyond disconnection | ||
88 | * of the board. That's less convenient (and more confusing) for me than this approach, which is | ||
89 | * basically just blocking the GUI keys when this layer is active and not letting them flow through | ||
90 | * to the default layer. | ||
91 | */ | ||
92 | /* Layer 2: "special effects": RGB lighting, backlighting, bootloader */ | ||
93 | [_NGUI] = LAYOUT_mitchsplit( | ||
94 | ______, ______, ______, ______, ______, ______, ______, ______, ______, ______, ______, ______, ______, ______, \ | ||
95 | ______, ______, ______, ______, ______, ______, ______, ______, ______, ______, ______, ______, ______, ______, \ | ||
96 | ______, ______, ______, ______, ______, ______, ______, ______, ______, ______, ______, ______, ______, \ | ||
97 | ______, ______, ______, ______, ______, ______, ______, ______, ______, ______, ______, ______, ______, \ | ||
98 | ______, ______, bbbbbb, ______, ______, ______, bbbbbb, ______, ______, ______ \ | ||
99 | ), | ||
100 | |||
101 | /* Fn Layer / Layer 1 | ||
102 | * ,-----------------------------------------------------------------------------------------. | ||
103 | * |KC_GRV| F1 | F2 | F3 | F4 | F5 | F6 | F7 | F8 | F9 | F10 | F11 | F12 | Del | | ||
104 | * |-----------------------------------------------------------------------------------------+ | ||
105 | * | CAPS | | | | | |Home | Pgup| Up | PgDn| End | | | | | ||
106 | * |-----------------------------------------------------------------------------------------+ | ||
107 | * | | Vol-| Vol+| Mute| | | | Left| Down|Right| | | | | ||
108 | * |-----------------------------------------------------------------------------------------+ | ||
109 | * | |Prev |Play |Next | | | | | | | | | | | ||
110 | * |-----------------------------------------------------------------------------------------+ | ||
111 | * | | | | | | | | | LrSfx | | | ||
112 | * `-----------------------------------------------------------------------------------------' | ||
113 | */ | ||
114 | /* | ||
115 | * Pok3r-style layer switching on M and "," keys (_DFT and _NGUI layers, respectively). Note that | ||
116 | * these don't enable/disable those layers (i.e. latching keys), they actually switch to that layer. | ||
117 | * To go to the _NGUI layer, Fn+comma, to go to _DFT from _NGUI, hit Fn+M. | ||
118 | */ | ||
119 | /* Layer 1: Functions, primary layer switching, media controls, directional */ | ||
120 | [_FN] = LAYOUT_mitchsplit( | ||
121 | 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_DEL, \ | ||
122 | KC_CAPS, bbbbbb, bbbbbb, bbbbbb, bbbbbb, bbbbbb, KC_HOME, KC_PGUP, KC_UP , KC_PGDOWN,KC_END, bbbbbb, bbbbbb, bbbbbb, \ | ||
123 | ______, KC_VOLD, KC_VOLU, KC_MUTE, bbbbbb, bbbbbb, bbbbbb, KC_LEFT, KC_DOWN, KC_RIGHT, bbbbbb, bbbbbb, ______, \ | ||
124 | ______, KC_MPRV, KC_MPLY, KC_MNXT, bbbbbb, bbbbbb, bbbbbb,TO(_DFT),TO(_NGUI), bbbbbb, bbbbbb, ______, ______, \ | ||
125 | ______, ______, ______, ______, ______, ______, ______, ______,TG(_SFX),______ \ | ||
126 | ), | ||
127 | |||
128 | /* Special Effects Layer / Layer 2 | ||
129 | * ,-----------------------------------------------------------------------------------------. | ||
130 | * | |Plain|Brth |Rnbw |Swirl|Snake|Knght|Xmas |Grdnt| | | | | | | | ||
131 | * |-----------------------------------------------------------------------------------------+ | ||
132 | * | | BL |BLSTEP| BL- | BL+ | | | | | | | | |Bootldr | | ||
133 | * |-----------------------------------------------------------------------------------------+ | ||
134 | * | | RGBT| RGBM| | | | | | | | | | | | ||
135 | * |-----------------------------------------------------------------------------------------+ | ||
136 | * | | Hue+| Hue-| Sat+| Sat-| Val+| Val-| | | | | | | | ||
137 | * |-----------------------------------------------------------------------------------------+ | ||
138 | * | | | | | | | | |LrDflt | | | ||
139 | * `-----------------------------------------------------------------------------------------' | ||
140 | */ | ||
141 | /* Tap RAlt to get back to default layer (0). | ||
142 | * | ||
143 | * See https://docs.qmk.fm/feature_rgblight.html#rgblight-keycodes for details about | ||
144 | * RGB codes. Quick summary, though: | ||
145 | * | ||
146 | * RGB_MODE_PLAIN RGB_M_P Switch to the static no animation mode | ||
147 | * RGB_MODE_BREATHE RGB_M_B Switch to the breathing mode | ||
148 | * RGB_MODE_RAINBOW RGB_M_R Switch to the rainbow mode (cycles through colors) | ||
149 | * RGB_MODE_SWIRL RGB_M_SW Switch to the swirl mode (like an animated gradient) | ||
150 | * RGB_MODE_SNAKE RGB_M_SN Switch to the snake mode | ||
151 | * RGB_MODE_KNIGHT RGB_M_K Switch to the knight animation | ||
152 | * RGB_MODE_XMAS RGB_M_X Switch to the Christmas animation | ||
153 | * RGB_MODE_GRADIENT RGB_M_G Switch to the static gradient mode | ||
154 | * | ||
155 | * Note that there are more animation variations, usually timer-based variations, by using the | ||
156 | * "S" key to cycle through modes. Use one of the deciated keys to get to | ||
157 | * the general mode where you want it, then cycle through variations of that mode to get | ||
158 | * something specific more quickly. | ||
159 | */ | ||
160 | /* Layer 2: "special effects": RGB lighting, backlighting, bootloader */ | ||
161 | [_SFX] = LAYOUT_mitchsplit( | ||
162 | ______, RGB_M_P, RGB_M_B, RGB_M_R, RGB_M_SW,RGB_M_SN,RGB_M_K, RGB_M_X, RGB_M_G,______, ______, ______, ______, ______, \ | ||
163 | ______, BL_TOGG, BL_STEP, BL_DEC, BL_INC, ______, ______, ______, ______, ______, ______, ______, ______, RESET, \ | ||
164 | ______, RGB_TOG, RGB_MOD,______, ______, ______, ______, ______, ______, ______, ______, ______, ______, \ | ||
165 | ______, RGB_HUI, RGB_HUD, RGB_SAI, RGB_SAD, RGB_VAI, RGB_VAD, ______, ______, ______, ______, ______, ______, \ | ||
166 | ______, ______, ______, ______, ______, ______, ______, ______,TO(_DFT),______ \ | ||
167 | ) | ||
168 | |||
169 | }; | ||
diff --git a/keyboards/acr60/readme.md b/keyboards/acr60/readme.md new file mode 100644 index 000000000..70b617dfd --- /dev/null +++ b/keyboards/acr60/readme.md | |||
@@ -0,0 +1,24 @@ | |||
1 | # ACR60 | ||
2 | |||
3 |  | ||
4 | |||
5 | A customizable 60% keyboard made and sold by mechkeys.ca [More info on MECHKEYS](https://mechkeys.ca) | ||
6 | |||
7 | * Keyboard Maintainer: [TurboMech](https://github.com/TurboMech) | ||
8 | * Hardware Supported: ACR60 | ||
9 | * Hardware Availability: [~~MECHKEYS~~](https://mechkeys.ca/products/acr60) (no longer available) | ||
10 | |||
11 | Make example for this keyboard (after setting up your build environment): | ||
12 | |||
13 | make acr60:default | ||
14 | |||
15 | Flashing example for this keyboard: | ||
16 | |||
17 | make acr60:default:flash | ||
18 | |||
19 | To reset the board into bootloader mode, do one of the following: | ||
20 | |||
21 | * Tap the Reset switch mounted on the bottom side of the PCB | ||
22 | * Hold Space+B while connecting the USB cable | ||
23 | |||
24 | 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/acr60/rules.mk b/keyboards/acr60/rules.mk new file mode 100644 index 000000000..9ccce6abf --- /dev/null +++ b/keyboards/acr60/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 = yes # Enable N-Key Rollover | ||
16 | BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality | ||
17 | AUDIO_ENABLE = no | ||
18 | RGBLIGHT_ENABLE = yes | ||