diff options
author | QMK Bot <hello@qmk.fm> | 2021-02-24 18:53:45 +0000 |
---|---|---|
committer | QMK Bot <hello@qmk.fm> | 2021-02-24 18:53:45 +0000 |
commit | 285d0c3d7dd9061b250595ade41968e8f951eb3d (patch) | |
tree | 2888c464fa9ae70bc6d32975d10f4a159e22d91d | |
parent | bee1b553cdf7ea1486a118e80982398b9acca2f7 (diff) | |
parent | 46f4422a87bf7e3aa52bd8770b14f8361d198e06 (diff) | |
download | qmk_firmware-285d0c3d7dd9061b250595ade41968e8f951eb3d.tar.gz qmk_firmware-285d0c3d7dd9061b250595ade41968e8f951eb3d.zip |
Merge remote-tracking branch 'origin/master' into develop
-rw-r--r-- | keyboards/cannonkeys/atlas_alps/atlas_alps.c | 17 | ||||
-rw-r--r-- | keyboards/cannonkeys/atlas_alps/atlas_alps.h | 33 | ||||
-rw-r--r-- | keyboards/cannonkeys/atlas_alps/config.h | 59 | ||||
-rw-r--r-- | keyboards/cannonkeys/atlas_alps/info.json | 12 | ||||
-rw-r--r-- | keyboards/cannonkeys/atlas_alps/keymaps/default/config.h | 19 | ||||
-rw-r--r-- | keyboards/cannonkeys/atlas_alps/keymaps/default/keymap.c | 107 | ||||
-rw-r--r-- | keyboards/cannonkeys/atlas_alps/keymaps/default/readme.md | 2 | ||||
-rw-r--r-- | keyboards/cannonkeys/atlas_alps/keymaps/via/keymap.c | 107 | ||||
-rw-r--r-- | keyboards/cannonkeys/atlas_alps/keymaps/via/rules.mk.txt | 1 | ||||
-rw-r--r-- | keyboards/cannonkeys/atlas_alps/readme.md | 13 | ||||
-rw-r--r-- | keyboards/cannonkeys/atlas_alps/rules.mk | 24 |
11 files changed, 394 insertions, 0 deletions
diff --git a/keyboards/cannonkeys/atlas_alps/atlas_alps.c b/keyboards/cannonkeys/atlas_alps/atlas_alps.c new file mode 100644 index 000000000..b1cdb8451 --- /dev/null +++ b/keyboards/cannonkeys/atlas_alps/atlas_alps.c | |||
@@ -0,0 +1,17 @@ | |||
1 | /* Copyright 2020 Nathan Spears | ||
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 "atlas_alps.h" | ||
diff --git a/keyboards/cannonkeys/atlas_alps/atlas_alps.h b/keyboards/cannonkeys/atlas_alps/atlas_alps.h new file mode 100644 index 000000000..5cdb15a60 --- /dev/null +++ b/keyboards/cannonkeys/atlas_alps/atlas_alps.h | |||
@@ -0,0 +1,33 @@ | |||
1 | /* Copyright 2020 Nathan Spears | ||
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 LAYOUT_ortho_5x12( \ | ||
22 | k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0A, k0B, \ | ||
23 | k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1A, k1B, \ | ||
24 | k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, k2A, k2B, \ | ||
25 | k30, k31, k32, k33, k34, k35, k36, k37, k38, k39, k3A, k3B, \ | ||
26 | k40, k41, k42, k43, k44, k45, k46, k47, k48, k49, k4A, k4B \ | ||
27 | ) { \ | ||
28 | { k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0A, k0B }, \ | ||
29 | { k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1A, k1B }, \ | ||
30 | { k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, k2A, k2B }, \ | ||
31 | { k30, k31, k32, k33, k34, k35, k36, k37, k38, k39, k3A, k3B }, \ | ||
32 | { k40, k41, k42, k43, k44, k45, k46, k47, k48, k49, k4A, k4B } \ | ||
33 | } | ||
diff --git a/keyboards/cannonkeys/atlas_alps/config.h b/keyboards/cannonkeys/atlas_alps/config.h new file mode 100644 index 000000000..a92ba3163 --- /dev/null +++ b/keyboards/cannonkeys/atlas_alps/config.h | |||
@@ -0,0 +1,59 @@ | |||
1 | /* Copyright 2020 Nathan Spears | ||
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 0xCA04 | ||
23 | #define PRODUCT_ID 0xA7A5 | ||
24 | #define DEVICE_VER 0x0010 | ||
25 | #define MANUFACTURER CannonKeys | ||
26 | #define PRODUCT Atlas | ||
27 | |||
28 | /* key matrix size */ | ||
29 | #define MATRIX_ROWS 5 | ||
30 | #define MATRIX_COLS 12 | ||
31 | |||
32 | /* key matrix pins */ | ||
33 | #define MATRIX_ROW_PINS { B5, B4, D1, D7, D6 } | ||
34 | #define MATRIX_COL_PINS { B6, C6, D2, E6, C7, B3, F7, F6, F5, F4, F1, F0 } | ||
35 | |||
36 | #define UNUSED_PINS | ||
37 | |||
38 | /* COL2ROW or ROW2COL */ | ||
39 | #define DIODE_DIRECTION COL2ROW | ||
40 | |||
41 | |||
42 | /* Set 0 if debouncing isn't needed */ | ||
43 | #define DEBOUNCE 5 | ||
44 | |||
45 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | ||
46 | #define LOCKING_SUPPORT_ENABLE | ||
47 | |||
48 | /* Locking resynchronize hack */ | ||
49 | #define LOCKING_RESYNC_ENABLE | ||
50 | |||
51 | |||
52 | // ws2812 options | ||
53 | #define RGB_DI_PIN D4 | ||
54 | #define RGBLIGHT_ANIMATIONS | ||
55 | #define RGBLED_NUM 36 | ||
56 | #define RGBLIGHT_LIMIT_VAL 230 | ||
57 | #define RGBLIGHT_HUE_STEP 12 | ||
58 | #define RGBLIGHT_SAT_STEP 12 | ||
59 | #define RGBLIGHT_VAL_STEP 12 | ||
diff --git a/keyboards/cannonkeys/atlas_alps/info.json b/keyboards/cannonkeys/atlas_alps/info.json new file mode 100644 index 000000000..d5d6003fc --- /dev/null +++ b/keyboards/cannonkeys/atlas_alps/info.json | |||
@@ -0,0 +1,12 @@ | |||
1 | { | ||
2 | "keyboard_name": "Atlas_Alps", | ||
3 | "url": "https://geekhack.org/index.php?topic=106683.msg2975081#msg2975081", | ||
4 | "maintainer": "Nasp", | ||
5 | "width": 12, | ||
6 | "height": 5, | ||
7 | "layouts": { | ||
8 | "LAYOUT_ortho_5x12": { | ||
9 | "layout": [{"label":"~", "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":"Tab", "x":0, "y":1}, {"label":"Q", "x":1, "y":1}, {"label":"W", "x":2, "y":1}, {"label":"E", "x":3, "y":1}, {"label":"R", "x":4, "y":1}, {"label":"T", "x":5, "y":1}, {"label":"Y", "x":6, "y":1}, {"label":"U", "x":7, "y":1}, {"label":"I", "x":8, "y":1}, {"label":"O", "x":9, "y":1}, {"label":"P", "x":10, "y":1}, {"label":"Back Space", "x":11, "y":1}, {"label":"Esc", "x":0, "y":2}, {"label":"A", "x":1, "y":2}, {"label":"S", "x":2, "y":2}, {"label":"D", "x":3, "y":2}, {"label":"F", "x":4, "y":2}, {"label":"G", "x":5, "y":2}, {"label":"H", "x":6, "y":2}, {"label":"J", "x":7, "y":2}, {"label":"K", "x":8, "y":2}, {"label":"L", "x":9, "y":2}, {"label":";", "x":10, "y":2}, {"label":"'", "x":11, "y":2}, {"label":"Shift", "x":0, "y":3}, {"label":"Z", "x":1, "y":3}, {"label":"X", "x":2, "y":3}, {"label":"C", "x":3, "y":3}, {"label":"V", "x":4, "y":3}, {"label":"B", "x":5, "y":3}, {"label":"N", "x":6, "y":3}, {"label":"M", "x":7, "y":3}, {"label":",", "x":8, "y":3}, {"label":".", "x":9, "y":3}, {"label":"/", "x":10, "y":3}, {"label":"Return", "x":11, "y":3}, {"label":"Caps Lock", "x":0, "y":4}, {"label":"Ctrl", "x":1, "y":4}, {"label":"Alt", "x":2, "y":4}, {"label":"Super", "x":3, "y":4}, {"label":"⇓", "x":4, "y":4}, {"x":5, "y":4}, {"x":6, "y":4}, {"label":"⇑", "x":7, "y":4}, {"label":"←", "x":8, "y":4}, {"label":"↓", "x":9, "y":4}, {"label":"↑", "x":10, "y":4}, {"label":"→", "x":11, "y":4}] | ||
10 | } | ||
11 | } | ||
12 | } | ||
diff --git a/keyboards/cannonkeys/atlas_alps/keymaps/default/config.h b/keyboards/cannonkeys/atlas_alps/keymaps/default/config.h new file mode 100644 index 000000000..c6f30237d --- /dev/null +++ b/keyboards/cannonkeys/atlas_alps/keymaps/default/config.h | |||
@@ -0,0 +1,19 @@ | |||
1 | /* Copyright 2020 Nathan Spears | ||
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 | #define TAPPING_TOGGLE 2 | ||
diff --git a/keyboards/cannonkeys/atlas_alps/keymaps/default/keymap.c b/keyboards/cannonkeys/atlas_alps/keymaps/default/keymap.c new file mode 100644 index 000000000..c260add4d --- /dev/null +++ b/keyboards/cannonkeys/atlas_alps/keymaps/default/keymap.c | |||
@@ -0,0 +1,107 @@ | |||
1 | /* Copyright 2020 Nathan Spears | ||
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 | // Defines for task manager and such | ||
20 | #define CALTDEL LCTL(LALT(KC_DEL)) | ||
21 | #define TSKMGR LCTL(LSFT(KC_ESC)) | ||
22 | |||
23 | |||
24 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||
25 | |||
26 | /* Qwerty | ||
27 | * ,-----------------------------------------------------------------------------------. | ||
28 | * |------+------+------+------+------+------+------+------+------+------+------+------| | ||
29 | * | Tab | Q | W | E | R | T | Y | U | I | O | P | Del | | ||
30 | * |------+------+------+------+------+-------------+------+------+------+------+------| | ||
31 | * | Ctrl | A | S | D | F | G | H | J | K | L | ; | " | | ||
32 | * |------+------+------+------+------+------|------+------+------+------+------+------| | ||
33 | * | Shift| Z | X | C | V | B | N | M | , | . | / |Enter | | ||
34 | * |------+------+------+------+------+------+------+------+------+------+------+------| | ||
35 | * | Esc | OS | Alt | Layer | Space | Alt | RGB | Super | | ||
36 | * `-----------------------------------------------------------------------------------' | ||
37 | */ | ||
38 | [0] = LAYOUT_ortho_5x12( | ||
39 | KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, | ||
40 | KC_TAB, KC_Q, KC_W, KC_F, KC_P, KC_G, KC_J, KC_L, KC_U, KC_Y, KC_SCLN, KC_BSPC, | ||
41 | CTL_T(KC_ESC), KC_A, KC_R, KC_S, KC_T, KC_D, KC_H, KC_N, KC_E, KC_I, KC_O, KC_QUOT, | ||
42 | KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_K, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_ENT, | ||
43 | RGB_TOG, KC_LGUI, KC_LALT, KC_PSCR, TT(1), KC_SPC, KC_SPC, TT(2), KC_LEFT, KC_DOWN, KC_UP, KC_RIGHT | ||
44 | ), | ||
45 | |||
46 | /* 1 | ||
47 | * ,-----------------------------------------------------------------------------------. | ||
48 | * |------+------+------+------+------+------+------+------+------+------+------+------| | ||
49 | * | Tab | Q | W | F | P | G | J | L | U | Y | ; | Del | | ||
50 | * |------+------+------+------+------+-------------+------+------+------+------+------| | ||
51 | * | Esc | A | R | S | T | D | H | N | E | I | O | " | | ||
52 | * |------+------+------+------+------+------|------+------+------+------+------+------| | ||
53 | * | Shift| Z | X | C | V | B | K | M | , | . | / |Enter | | ||
54 | * |------+------+------+------+------+------+------+------+------+------+------+------| | ||
55 | * | Brite| Ctrl | Alt | GUI |Lower | Space |Raise | Left | Down | Up |Right | | ||
56 | * `-----------------------------------------------------------------------------------' | ||
57 | */ | ||
58 | [1] = LAYOUT_ortho_5x12( | ||
59 | _______, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, _______, | ||
60 | KC_TILD, KC_EXLM, KC_AT, KC_HASH, KC_DLR, KC_PERC, KC_CIRC, KC_AMPR, KC_ASTR, KC_LPRN, KC_RPRN, KC_BSPC, | ||
61 | KC_SLSH, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_BSLS, | ||
62 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_PPLS, KC_EQL, _______, _______, _______, | ||
63 | KC_NUBS, CALTDEL, TSKMGR, _______, _______, _______, _______, _______, _______, _______, _______, _______ | ||
64 | ), | ||
65 | |||
66 | /* 2 | ||
67 | * ,-----------------------------------------------------------------------------------. | ||
68 | * | ` | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 0 | Bksp | | ||
69 | * |------+------+------+------+------+------+------+------+------+------+------+------| | ||
70 | * | Tab | " | , | . | P | Y | F | G | C | R | L | Del | | ||
71 | * |------+------+------+------+------+-------------+------+------+------+------+------| | ||
72 | * | Esc | A | O | E | U | I | D | H | T | N | S | / | | ||
73 | * |------+------+------+------+------+------|------+------+------+------+------+------| | ||
74 | * | Shift| ; | Q | J | K | X | B | M | W | V | Z |Enter | | ||
75 | * |------+------+------+------+------+------+------+------+------+------+------+------| | ||
76 | * | Brite| Ctrl | Alt | GUI |Lower | Space |Raise | Left | Down | Up |Right | | ||
77 | * `-----------------------------------------------------------------------------------' | ||
78 | */ | ||
79 | [2] = LAYOUT_ortho_5x12( | ||
80 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
81 | _______, _______, _______, KC_UP, _______, _______, _______, KC_UNDS, _______, KC_LBRC, KC_RBRC, _______, | ||
82 | _______, _______, KC_LEFT, KC_DOWN, KC_RGHT, _______, _______, KC_MINS, _______, KC_LCBR, KC_RCBR, _______, | ||
83 | KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, | ||
84 | RESET, KC_GRV, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ | ||
85 | ), | ||
86 | |||
87 | /* 3 | ||
88 | * ,-----------------------------------------------------------------------------------. | ||
89 | * | ` | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 0 | Bksp | | ||
90 | * |------+------+------+------+------+------+------+------+------+------+------+------| | ||
91 | * | Tab | " | , | . | P | Y | F | G | C | R | L | Del | | ||
92 | * |------+------+------+------+------+-------------+------+------+------+------+------| | ||
93 | * | Esc | A | O | E | U | I | D | H | T | N | S | / | | ||
94 | * |------+------+------+------+------+------|------+------+------+------+------+------| | ||
95 | * | Shift| ; | Q | J | K | X | B | M | W | V | Z |Enter | | ||
96 | * |------+------+------+------+------+------+------+------+------+------+------+------| | ||
97 | * | Brite| Ctrl | Alt | GUI |Lower | Space |Raise | Left | Down | Up |Right | | ||
98 | * `-----------------------------------------------------------------------------------' | ||
99 | */ | ||
100 | [3] = LAYOUT_ortho_5x12( | ||
101 | KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, | ||
102 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
103 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
104 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
105 | RESET, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ | ||
106 | ), | ||
107 | }; | ||
diff --git a/keyboards/cannonkeys/atlas_alps/keymaps/default/readme.md b/keyboards/cannonkeys/atlas_alps/keymaps/default/readme.md new file mode 100644 index 000000000..2cede9af1 --- /dev/null +++ b/keyboards/cannonkeys/atlas_alps/keymaps/default/readme.md | |||
@@ -0,0 +1,2 @@ | |||
1 | # The Default atlas_alps Layout | ||
2 | |||
diff --git a/keyboards/cannonkeys/atlas_alps/keymaps/via/keymap.c b/keyboards/cannonkeys/atlas_alps/keymaps/via/keymap.c new file mode 100644 index 000000000..3e42b3b5a --- /dev/null +++ b/keyboards/cannonkeys/atlas_alps/keymaps/via/keymap.c | |||
@@ -0,0 +1,107 @@ | |||
1 | /* Copyright 2015-2017 Jack Humbert | ||
2 | * Modified by Nasp for the Quark | ||
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 | // Defines for task manager and such | ||
20 | #define CALTDEL LCTL(LALT(KC_DEL)) | ||
21 | #define TSKMGR LCTL(LSFT(KC_ESC)) | ||
22 | |||
23 | |||
24 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||
25 | |||
26 | /* Qwerty | ||
27 | * ,-----------------------------------------------------------------------------------. | ||
28 | * |------+------+------+------+------+------+------+------+------+------+------+------| | ||
29 | * | Tab | Q | W | E | R | T | Y | U | I | O | P | Del | | ||
30 | * |------+------+------+------+------+-------------+------+------+------+------+------| | ||
31 | * | Ctrl | A | S | D | F | G | H | J | K | L | ; | " | | ||
32 | * |------+------+------+------+------+------|------+------+------+------+------+------| | ||
33 | * | Shift| Z | X | C | V | B | N | M | , | . | / |Enter | | ||
34 | * |------+------+------+------+------+------+------+------+------+------+------+------| | ||
35 | * | Esc | OS | Alt | Layer | Space | Alt | RGB | Super | | ||
36 | * `-----------------------------------------------------------------------------------' | ||
37 | */ | ||
38 | [0] = LAYOUT_ortho_5x12( | ||
39 | KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, | ||
40 | KC_TAB, KC_Q, KC_W, KC_F, KC_P, KC_G, KC_J, KC_L, KC_U, KC_Y, KC_SCLN, KC_BSPC, | ||
41 | CTL_T(KC_ESC), KC_A, KC_R, KC_S, KC_T, KC_D, KC_H, KC_N, KC_E, KC_I, KC_O, KC_QUOT, | ||
42 | KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_K, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_ENT, | ||
43 | RGB_TOG, KC_LGUI, KC_LALT, KC_PSCR, TT(1), KC_SPC, KC_SPC, TT(2), KC_LEFT, KC_DOWN, KC_UP, KC_RIGHT | ||
44 | ), | ||
45 | |||
46 | /* 1 | ||
47 | * ,-----------------------------------------------------------------------------------. | ||
48 | * |------+------+------+------+------+------+------+------+------+------+------+------| | ||
49 | * | Tab | Q | W | F | P | G | J | L | U | Y | ; | Del | | ||
50 | * |------+------+------+------+------+-------------+------+------+------+------+------| | ||
51 | * | Esc | A | R | S | T | D | H | N | E | I | O | " | | ||
52 | * |------+------+------+------+------+------|------+------+------+------+------+------| | ||
53 | * | Shift| Z | X | C | V | B | K | M | , | . | / |Enter | | ||
54 | * |------+------+------+------+------+------+------+------+------+------+------+------| | ||
55 | * | Brite| Ctrl | Alt | GUI |Lower | Space |Raise | Left | Down | Up |Right | | ||
56 | * `-----------------------------------------------------------------------------------' | ||
57 | */ | ||
58 | [1] = LAYOUT_ortho_5x12( | ||
59 | _______, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, _______, | ||
60 | KC_TILD, KC_EXLM, KC_AT, KC_HASH, KC_DLR, KC_PERC, KC_CIRC, KC_AMPR, KC_ASTR, KC_LPRN, KC_RPRN, KC_BSPC, | ||
61 | KC_SLSH, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_BSLS, | ||
62 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_PPLS, KC_EQL, _______, _______, _______, | ||
63 | KC_NUBS, CALTDEL, TSKMGR, _______, _______, _______, _______, _______, _______, _______, _______, _______ | ||
64 | ), | ||
65 | |||
66 | /* 2 | ||
67 | * ,-----------------------------------------------------------------------------------. | ||
68 | * | ` | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 0 | Bksp | | ||
69 | * |------+------+------+------+------+------+------+------+------+------+------+------| | ||
70 | * | Tab | " | , | . | P | Y | F | G | C | R | L | Del | | ||
71 | * |------+------+------+------+------+-------------+------+------+------+------+------| | ||
72 | * | Esc | A | O | E | U | I | D | H | T | N | S | / | | ||
73 | * |------+------+------+------+------+------|------+------+------+------+------+------| | ||
74 | * | Shift| ; | Q | J | K | X | B | M | W | V | Z |Enter | | ||
75 | * |------+------+------+------+------+------+------+------+------+------+------+------| | ||
76 | * | Brite| Ctrl | Alt | GUI |Lower | Space |Raise | Left | Down | Up |Right | | ||
77 | * `-----------------------------------------------------------------------------------' | ||
78 | */ | ||
79 | [2] = LAYOUT_ortho_5x12( | ||
80 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
81 | _______, _______, _______, KC_UP, _______, _______, _______, KC_UNDS, _______, KC_LBRC, KC_RBRC, _______, | ||
82 | _______, _______, KC_LEFT, KC_DOWN, KC_RGHT, _______, _______, KC_MINS, _______, KC_LCBR, KC_RCBR, _______, | ||
83 | KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, | ||
84 | RESET, KC_GRV, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ | ||
85 | ), | ||
86 | |||
87 | /* 3 | ||
88 | * ,-----------------------------------------------------------------------------------. | ||
89 | * | ` | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 0 | Bksp | | ||
90 | * |------+------+------+------+------+------+------+------+------+------+------+------| | ||
91 | * | Tab | " | , | . | P | Y | F | G | C | R | L | Del | | ||
92 | * |------+------+------+------+------+-------------+------+------+------+------+------| | ||
93 | * | Esc | A | O | E | U | I | D | H | T | N | S | / | | ||
94 | * |------+------+------+------+------+------|------+------+------+------+------+------| | ||
95 | * | Shift| ; | Q | J | K | X | B | M | W | V | Z |Enter | | ||
96 | * |------+------+------+------+------+------+------+------+------+------+------+------| | ||
97 | * | Brite| Ctrl | Alt | GUI |Lower | Space |Raise | Left | Down | Up |Right | | ||
98 | * `-----------------------------------------------------------------------------------' | ||
99 | */ | ||
100 | [3] = LAYOUT_ortho_5x12( | ||
101 | KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, | ||
102 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
103 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
104 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
105 | RESET, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ | ||
106 | ), | ||
107 | }; | ||
diff --git a/keyboards/cannonkeys/atlas_alps/keymaps/via/rules.mk.txt b/keyboards/cannonkeys/atlas_alps/keymaps/via/rules.mk.txt new file mode 100644 index 000000000..036bd6d1c --- /dev/null +++ b/keyboards/cannonkeys/atlas_alps/keymaps/via/rules.mk.txt | |||
@@ -0,0 +1 @@ | |||
VIA_ENABLE = yes \ No newline at end of file | |||
diff --git a/keyboards/cannonkeys/atlas_alps/readme.md b/keyboards/cannonkeys/atlas_alps/readme.md new file mode 100644 index 000000000..7bef5c24f --- /dev/null +++ b/keyboards/cannonkeys/atlas_alps/readme.md | |||
@@ -0,0 +1,13 @@ | |||
1 | # Cannon Keys Atlas_Alps | ||
2 | |||
3 | The Atlas_Alps PCB is an alternate PCB for the Atlas as sold by Cannon Keys. Instead of hotswap, it includes compatibility for Alps and MX switches. | ||
4 | |||
5 | * Keyboard Maintainer: Nasp | ||
6 | * Hardware Supported: ATmega32U4 | ||
7 | * Hardware Availability: https://geekhack.org/index.php?topic=106683.msg2975081#msg2975081 | ||
8 | |||
9 | Make example for this keyboard (after setting up your build environment): | ||
10 | |||
11 | make cannonkeys/atlas_alps:default | ||
12 | |||
13 | 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/cannonkeys/atlas_alps/rules.mk b/keyboards/cannonkeys/atlas_alps/rules.mk new file mode 100644 index 000000000..8fbc75bf2 --- /dev/null +++ b/keyboards/cannonkeys/atlas_alps/rules.mk | |||
@@ -0,0 +1,24 @@ | |||
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 = lite # Virtual DIP switch configuration | ||
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 | # Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE | ||
16 | SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend | ||
17 | # if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work | ||
18 | NKRO_ENABLE = yes # USB Nkey Rollover | ||
19 | BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality | ||
20 | RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow | ||
21 | BLUETOOTH_ENABLE = no # Enable Bluetooth | ||
22 | AUDIO_ENABLE = no # Audio output | ||
23 | |||
24 | LAYOUTS = ortho_5x12 | ||