diff options
| author | Robin Liu <Robin.Liu.831@gmail.com> | 2021-05-13 13:12:45 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-05-13 10:12:45 -0700 |
| commit | c6cc6ec7f648ef955582f972e5fb3459f0ff8a84 (patch) | |
| tree | e1a229577ed31530b2b9a47c1ed5e4be0ed4f38f | |
| parent | 54e788364aebd30d9c6b86feb823a88db4bd2604 (diff) | |
| download | qmk_firmware-c6cc6ec7f648ef955582f972e5fb3459f0ff8a84.tar.gz qmk_firmware-c6cc6ec7f648ef955582f972e5fb3459f0ff8a84.zip | |
[Keyboard] Add Axon (#12879)
Co-authored-by: Ryan <fauxpark@gmail.com>
Co-authored-by: Ryan <fauxpark@gmail.com>
| -rw-r--r-- | keyboards/handwired/axon/axon.c | 18 | ||||
| -rw-r--r-- | keyboards/handwired/axon/axon.h | 85 | ||||
| -rw-r--r-- | keyboards/handwired/axon/config.h | 48 | ||||
| -rw-r--r-- | keyboards/handwired/axon/info.json | 192 | ||||
| -rw-r--r-- | keyboards/handwired/axon/keymaps/default/keymap.c | 43 | ||||
| -rw-r--r-- | keyboards/handwired/axon/readme.md | 23 | ||||
| -rw-r--r-- | keyboards/handwired/axon/rules.mk | 22 |
7 files changed, 431 insertions, 0 deletions
diff --git a/keyboards/handwired/axon/axon.c b/keyboards/handwired/axon/axon.c new file mode 100644 index 000000000..e5d712213 --- /dev/null +++ b/keyboards/handwired/axon/axon.c | |||
| @@ -0,0 +1,18 @@ | |||
| 1 | /* | ||
| 2 | Copyright 2021 Robin Liu | ||
| 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 "axon.h" | ||
diff --git a/keyboards/handwired/axon/axon.h b/keyboards/handwired/axon/axon.h new file mode 100644 index 000000000..0d3a5c90b --- /dev/null +++ b/keyboards/handwired/axon/axon.h | |||
| @@ -0,0 +1,85 @@ | |||
| 1 | /* | ||
| 2 | Copyright 2021 Robin Liu | ||
| 3 | |||
| 4 | This program is free software: you can redistribute it and/or modify | ||
| 5 | it under the terms of the GNU General Public License as published by | ||
| 6 | the Free Software Foundation, either version 2 of the License, or | ||
| 7 | (at your option) any later version. | ||
| 8 | |||
| 9 | This program is distributed in the hope that it will be useful, | ||
| 10 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 12 | GNU General Public License for more details. | ||
| 13 | |||
| 14 | You should have received a copy of the GNU General Public License | ||
| 15 | along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
| 16 | */ | ||
| 17 | |||
| 18 | #pragma once | ||
| 19 | |||
| 20 | #include "quantum.h" | ||
| 21 | |||
| 22 | /* | ||
| 23 | * Default layout: | ||
| 24 | * 2.75u - 2.25u spacebar | ||
| 25 | */ | ||
| 26 | #define LAYOUT_default( \ | ||
| 27 | K000, K001, K002, K003, K004, K005, K006, K007, K008, K009, K010, K310, \ | ||
| 28 | K100, K101, K102, K103, K104, K105, K106, K107, K108, K109, K110, \ | ||
| 29 | K200, K201, K202, K203, K204, K205, K206, K207, K208, K209, K210, \ | ||
| 30 | K301, K302, K304, K306, K308, K309 \ | ||
| 31 | ) { \ | ||
| 32 | { K000, K001, K002, K003, K004, K005, K006, K007, K008, K009, K010 }, \ | ||
| 33 | { K100, K101, K102, K103, K104, K105, K106, K107, K108, K109, K110 }, \ | ||
| 34 | { K200, K201, K202, K203, K204, K205, K206, K207, K208, K209, K210 }, \ | ||
| 35 | { KC_NO, K301, K302, KC_NO, K304, KC_NO, K306, KC_NO, K308, K309, K310 } \ | ||
| 36 | } | ||
| 37 | |||
| 38 | /* | ||
| 39 | * Spaceswap layout: | ||
| 40 | * Electrically identical to default | ||
| 41 | * 2.25u - 2.75u spacebar | ||
| 42 | */ | ||
| 43 | #define LAYOUT_spaceswap( \ | ||
| 44 | K000, K001, K002, K003, K004, K005, K006, K007, K008, K009, K010, K310, \ | ||
| 45 | K100, K101, K102, K103, K104, K105, K106, K107, K108, K109, K110, \ | ||
| 46 | K200, K201, K202, K203, K204, K205, K206, K207, K208, K209, K210, \ | ||
| 47 | K301, K302, K304, K306, K308, K309 \ | ||
| 48 | ) { \ | ||
| 49 | { K000, K001, K002, K003, K004, K005, K006, K007, K008, K009, K010 }, \ | ||
| 50 | { K100, K101, K102, K103, K104, K105, K106, K107, K108, K109, K110 }, \ | ||
| 51 | { K200, K201, K202, K203, K204, K205, K206, K207, K208, K209, K210 }, \ | ||
| 52 | { KC_NO, K301, K302, KC_NO, K304, KC_NO, K306, KC_NO, K308, K309, K310 } \ | ||
| 53 | } | ||
| 54 | |||
| 55 | /* | ||
| 56 | * 6.25u spacebar layout: | ||
| 57 | * 6.25u spacebar | ||
| 58 | */ | ||
| 59 | #define LAYOUT_space6p25u( \ | ||
| 60 | K000, K001, K002, K003, K004, K005, K006, K007, K008, K009, K010, K310, \ | ||
| 61 | K100, K101, K102, K103, K104, K105, K106, K107, K108, K109, K110, \ | ||
| 62 | K200, K201, K202, K203, K204, K205, K206, K207, K208, K209, K210, \ | ||
| 63 | K301, K302, K306, K309 \ | ||
| 64 | ) { \ | ||
| 65 | { K000, K001, K002, K003, K004, K005, K006, K007, K008, K009, K010 }, \ | ||
| 66 | { K100, K101, K102, K103, K104, K105, K106, K107, K108, K109, K110 }, \ | ||
| 67 | { K200, K201, K202, K203, K204, K205, K206, K207, K208, K209, K210 }, \ | ||
| 68 | { KC_NO, K301, K302, KC_NO, KC_NO, KC_NO, K306, KC_NO, KC_NO, K309, K310 } \ | ||
| 69 | } | ||
| 70 | |||
| 71 | /* | ||
| 72 | * 7u spacebar layout: | ||
| 73 | * 7u spacebar | ||
| 74 | */ | ||
| 75 | #define LAYOUT_space7u( \ | ||
| 76 | K000, K001, K002, K003, K004, K005, K006, K007, K008, K009, K010, K310, \ | ||
| 77 | K100, K101, K102, K103, K104, K105, K106, K107, K108, K109, K110, \ | ||
| 78 | K200, K201, K202, K203, K204, K205, K206, K207, K208, K209, K210, \ | ||
| 79 | K301, K304, K309 \ | ||
| 80 | ) { \ | ||
| 81 | { K000, K001, K002, K003, K004, K005, K006, K007, K008, K009, K010 }, \ | ||
| 82 | { K100, K101, K102, K103, K104, K105, K106, K107, K108, K109, K110 }, \ | ||
| 83 | { K200, K201, K202, K203, K204, K205, K206, K207, K208, K209, K210 }, \ | ||
| 84 | { KC_NO, K301, KC_NO, KC_NO, K304, KC_NO, KC_NO, KC_NO, KC_NO, K309, K310 } \ | ||
| 85 | } | ||
diff --git a/keyboards/handwired/axon/config.h b/keyboards/handwired/axon/config.h new file mode 100644 index 000000000..ef015194e --- /dev/null +++ b/keyboards/handwired/axon/config.h | |||
| @@ -0,0 +1,48 @@ | |||
| 1 | /* | ||
| 2 | Copyright 2021 Robin Liu | ||
| 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 0x6060 | ||
| 25 | #define DEVICE_VER 0x0001 | ||
| 26 | #define MANUFACTURER RobinL | ||
| 27 | #define PRODUCT Axon | ||
| 28 | |||
| 29 | /* key matrix size */ | ||
| 30 | #define MATRIX_ROWS 4 | ||
| 31 | #define MATRIX_COLS 11 | ||
| 32 | |||
| 33 | /* key matrix pins */ | ||
| 34 | #define MATRIX_ROW_PINS { D5, D6, D4, D0 } | ||
| 35 | #define MATRIX_COL_PINS { B0, D7, B1, B2, C0, C1, C2, C3, C4, C5, D1 } | ||
| 36 | #define UNUSED_PINS | ||
| 37 | |||
| 38 | /* COL2ROW or ROW2COL */ | ||
| 39 | #define DIODE_DIRECTION COL2ROW | ||
| 40 | |||
| 41 | /* Set 0 if debouncing isn't needed */ | ||
| 42 | #define DEBOUNCE 5 | ||
| 43 | |||
| 44 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | ||
| 45 | #define LOCKING_SUPPORT_ENABLE | ||
| 46 | |||
| 47 | /* Locking resynchronize hack */ | ||
| 48 | #define LOCKING_RESYNC_ENABLE | ||
diff --git a/keyboards/handwired/axon/info.json b/keyboards/handwired/axon/info.json new file mode 100644 index 000000000..70048a864 --- /dev/null +++ b/keyboards/handwired/axon/info.json | |||
| @@ -0,0 +1,192 @@ | |||
| 1 | { | ||
| 2 | "keyboard_name": "Axon", | ||
| 3 | "url": "https://github.com/thatfellarobin/axon", | ||
| 4 | "maintainer": "Robin L.", | ||
| 5 | "width": 12, | ||
| 6 | "height": 4, | ||
| 7 | "layouts": { | ||
| 8 | "LAYOUT_default": { | ||
| 9 | "layout": [ | ||
| 10 | {"x": 0, "y": 0}, | ||
| 11 | {"x": 1, "y": 0}, | ||
| 12 | {"x": 2, "y": 0}, | ||
| 13 | {"x": 3, "y": 0}, | ||
| 14 | {"x": 4, "y": 0}, | ||
| 15 | {"x": 5, "y": 0}, | ||
| 16 | {"x": 6, "y": 0}, | ||
| 17 | {"x": 7, "y": 0}, | ||
| 18 | {"x": 8, "y": 0}, | ||
| 19 | {"x": 9, "y": 0}, | ||
| 20 | {"x": 10, "y": 0}, | ||
| 21 | {"x": 11, "y": 0}, | ||
| 22 | |||
| 23 | {"x": 0, "y": 1, "w": 1.25}, | ||
| 24 | {"x": 1.25, "y": 1}, | ||
| 25 | {"x": 2.25, "y": 1}, | ||
| 26 | {"x": 3.25, "y": 1}, | ||
| 27 | {"x": 4.25, "y": 1}, | ||
| 28 | {"x": 5.25, "y": 1}, | ||
| 29 | {"x": 6.25, "y": 1}, | ||
| 30 | {"x": 7.25, "y": 1}, | ||
| 31 | {"x": 8.25, "y": 1}, | ||
| 32 | {"x": 9.25, "y": 1}, | ||
| 33 | {"x": 10.25, "y": 1, "w": 1.75}, | ||
| 34 | |||
| 35 | {"x": 0, "y": 2, "w": 1.75}, | ||
| 36 | {"x": 1.75, "y": 2}, | ||
| 37 | {"x": 2.75, "y": 2}, | ||
| 38 | {"x": 3.75, "y": 2}, | ||
| 39 | {"x": 4.75, "y": 2}, | ||
| 40 | {"x": 5.75, "y": 2}, | ||
| 41 | {"x": 6.75, "y": 2}, | ||
| 42 | {"x": 7.75, "y": 2}, | ||
| 43 | {"x": 8.75, "y": 2}, | ||
| 44 | {"x": 9.75, "y": 2}, | ||
| 45 | {"x": 10.75, "y": 2, "w": 1.25}, | ||
| 46 | |||
| 47 | {"x": 1.25, "y": 3, "w": 1.25}, | ||
| 48 | {"x": 2.5, "y": 3, "w": 1.25}, | ||
| 49 | {"x": 3.75, "y": 3, "w": 2.75}, | ||
| 50 | {"x": 6.5, "y": 3, "w": 2.25}, | ||
| 51 | {"x": 8.75, "y": 3}, | ||
| 52 | {"x": 9.75, "y": 3} | ||
| 53 | ] | ||
| 54 | }, | ||
| 55 | "LAYOUT_spaceswap": { | ||
| 56 | "layout": [ | ||
| 57 | {"x": 0, "y": 0}, | ||
| 58 | {"x": 1, "y": 0}, | ||
| 59 | {"x": 2, "y": 0}, | ||
| 60 | {"x": 3, "y": 0}, | ||
| 61 | {"x": 4, "y": 0}, | ||
| 62 | {"x": 5, "y": 0}, | ||
| 63 | {"x": 6, "y": 0}, | ||
| 64 | {"x": 7, "y": 0}, | ||
| 65 | {"x": 8, "y": 0}, | ||
| 66 | {"x": 9, "y": 0}, | ||
| 67 | {"x": 10, "y": 0}, | ||
| 68 | {"x": 11, "y": 0}, | ||
| 69 | |||
| 70 | {"x": 0, "y": 1, "w": 1.25}, | ||
| 71 | {"x": 1.25, "y": 1}, | ||
| 72 | {"x": 2.25, "y": 1}, | ||
| 73 | {"x": 3.25, "y": 1}, | ||
| 74 | {"x": 4.25, "y": 1}, | ||
| 75 | {"x": 5.25, "y": 1}, | ||
| 76 | {"x": 6.25, "y": 1}, | ||
| 77 | {"x": 7.25, "y": 1}, | ||
| 78 | {"x": 8.25, "y": 1}, | ||
| 79 | {"x": 9.25, "y": 1}, | ||
| 80 | {"x": 10.25, "y": 1, "w": 1.75}, | ||
| 81 | |||
| 82 | {"x": 0, "y": 2, "w": 1.75}, | ||
| 83 | {"x": 1.75, "y": 2}, | ||
| 84 | {"x": 2.75, "y": 2}, | ||
| 85 | {"x": 3.75, "y": 2}, | ||
| 86 | {"x": 4.75, "y": 2}, | ||
| 87 | {"x": 5.75, "y": 2}, | ||
| 88 | {"x": 6.75, "y": 2}, | ||
| 89 | {"x": 7.75, "y": 2}, | ||
| 90 | {"x": 8.75, "y": 2}, | ||
| 91 | {"x": 9.75, "y": 2}, | ||
| 92 | {"x": 10.75, "y": 2, "w": 1.25}, | ||
| 93 | |||
| 94 | {"x": 1.25, "y": 3, "w": 1.25}, | ||
| 95 | {"x": 2.5, "y": 3, "w": 1.25}, | ||
| 96 | {"x": 3.75, "y": 3, "w": 2.25}, | ||
| 97 | {"x": 6, "y": 3, "w": 2.75}, | ||
| 98 | {"x": 8.75, "y": 3}, | ||
| 99 | {"x": 9.75, "y": 3} | ||
| 100 | ] | ||
| 101 | }, | ||
| 102 | "LAYOUT_space6p25u": { | ||
| 103 | "layout": [ | ||
| 104 | {"x": 0, "y": 0}, | ||
| 105 | {"x": 1, "y": 0}, | ||
| 106 | {"x": 2, "y": 0}, | ||
| 107 | {"x": 3, "y": 0}, | ||
| 108 | {"x": 4, "y": 0}, | ||
| 109 | {"x": 5, "y": 0}, | ||
| 110 | {"x": 6, "y": 0}, | ||
| 111 | {"x": 7, "y": 0}, | ||
| 112 | {"x": 8, "y": 0}, | ||
| 113 | {"x": 9, "y": 0}, | ||
| 114 | {"x": 10, "y": 0}, | ||
| 115 | {"x": 11, "y": 0}, | ||
| 116 | |||
| 117 | {"x": 0, "y": 1, "w": 1.25}, | ||
| 118 | {"x": 1.25, "y": 1}, | ||
| 119 | {"x": 2.25, "y": 1}, | ||
| 120 | {"x": 3.25, "y": 1}, | ||
| 121 | {"x": 4.25, "y": 1}, | ||
| 122 | {"x": 5.25, "y": 1}, | ||
| 123 | {"x": 6.25, "y": 1}, | ||
| 124 | {"x": 7.25, "y": 1}, | ||
| 125 | {"x": 8.25, "y": 1}, | ||
| 126 | {"x": 9.25, "y": 1}, | ||
| 127 | {"x": 10.25, "y": 1, "w": 1.75}, | ||
| 128 | |||
| 129 | {"x": 0, "y": 2, "w": 1.75}, | ||
| 130 | {"x": 1.75, "y": 2}, | ||
| 131 | {"x": 2.75, "y": 2}, | ||
| 132 | {"x": 3.75, "y": 2}, | ||
| 133 | {"x": 4.75, "y": 2}, | ||
| 134 | {"x": 5.75, "y": 2}, | ||
| 135 | {"x": 6.75, "y": 2}, | ||
| 136 | {"x": 7.75, "y": 2}, | ||
| 137 | {"x": 8.75, "y": 2}, | ||
| 138 | {"x": 9.75, "y": 2}, | ||
| 139 | {"x": 10.75, "y": 2, "w": 1.25}, | ||
| 140 | |||
| 141 | {"x": 1.25, "y": 3, "w": 1.25}, | ||
| 142 | {"x": 2.5, "y": 3}, | ||
| 143 | {"x": 3.5, "y": 3, "w": 6.25}, | ||
| 144 | {"x": 9.75, "y": 3} | ||
| 145 | ] | ||
| 146 | }, | ||
| 147 | "LAYOUT_space7u": { | ||
| 148 | "layout": [ | ||
| 149 | {"x": 0, "y": 0}, | ||
| 150 | {"x": 1, "y": 0}, | ||
| 151 | {"x": 2, "y": 0}, | ||
| 152 | {"x": 3, "y": 0}, | ||
| 153 | {"x": 4, "y": 0}, | ||
| 154 | {"x": 5, "y": 0}, | ||
| 155 | {"x": 6, "y": 0}, | ||
| 156 | {"x": 7, "y": 0}, | ||
| 157 | {"x": 8, "y": 0}, | ||
| 158 | {"x": 9, "y": 0}, | ||
| 159 | {"x": 10, "y": 0}, | ||
| 160 | {"x": 11, "y": 0}, | ||
| 161 | |||
| 162 | {"x": 0, "y": 1, "w": 1.25}, | ||
| 163 | {"x": 1.25, "y": 1}, | ||
| 164 | {"x": 2.25, "y": 1}, | ||
| 165 | {"x": 3.25, "y": 1}, | ||
| 166 | {"x": 4.25, "y": 1}, | ||
| 167 | {"x": 5.25, "y": 1}, | ||
| 168 | {"x": 6.25, "y": 1}, | ||
| 169 | {"x": 7.25, "y": 1}, | ||
| 170 | {"x": 8.25, "y": 1}, | ||
| 171 | {"x": 9.25, "y": 1}, | ||
| 172 | {"x": 10.25, "y": 1, "w": 1.75}, | ||
| 173 | |||
| 174 | {"x": 0, "y": 2, "w": 1.75}, | ||
| 175 | {"x": 1.75, "y": 2}, | ||
| 176 | {"x": 2.75, "y": 2}, | ||
| 177 | {"x": 3.75, "y": 2}, | ||
| 178 | {"x": 4.75, "y": 2}, | ||
| 179 | {"x": 5.75, "y": 2}, | ||
| 180 | {"x": 6.75, "y": 2}, | ||
| 181 | {"x": 7.75, "y": 2}, | ||
| 182 | {"x": 8.75, "y": 2}, | ||
| 183 | {"x": 9.75, "y": 2}, | ||
| 184 | {"x": 10.75, "y": 2, "w": 1.25}, | ||
| 185 | |||
| 186 | {"x": 1.25, "y": 3, "w": 1.25}, | ||
| 187 | {"x": 2.5, "y": 3, "w": 7}, | ||
| 188 | {"x": 9.5, "y": 3, "w": 1.25} | ||
| 189 | ] | ||
| 190 | } | ||
| 191 | } | ||
| 192 | } | ||
diff --git a/keyboards/handwired/axon/keymaps/default/keymap.c b/keyboards/handwired/axon/keymaps/default/keymap.c new file mode 100644 index 000000000..2afa56ef3 --- /dev/null +++ b/keyboards/handwired/axon/keymaps/default/keymap.c | |||
| @@ -0,0 +1,43 @@ | |||
| 1 | /* | ||
| 2 | Copyright 2021 Robin Liu | ||
| 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 | LAYOUT_default(//Layer 0 | ||
| 23 | KC_ESC, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_BSPC, | ||
| 24 | KC_TAB, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_ENT, | ||
| 25 | KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMMA, KC_DOT, MO(2), | ||
| 26 | KC_LALT, KC_LCTL, KC_SPACE, MO(1), KC_RCTL, KC_RALT | ||
| 27 | ), | ||
| 28 | |||
| 29 | LAYOUT_default(//Layer 1 | ||
| 30 | KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_DEL, | ||
| 31 | KC_TAB, KC_MINS, KC_EQL, KC_SCLN, KC_QUOT, KC_HOME, KC_END, KC_NO, KC_UP, KC_TRNS, KC_ENTER, | ||
| 32 | KC_LSFT, KC_LBRC, KC_RBRC, KC_SLSH, KC_NUBS, KC_NO, KC_NO, KC_LEFT, KC_DOWN, KC_RIGHT, KC_TRNS, | ||
| 33 | KC_LALT, KC_LGUI, KC_SPACE, KC_TRNS, KC_RGUI, KC_RALT | ||
| 34 | ), | ||
| 35 | |||
| 36 | LAYOUT_default(//Layer 2 | ||
| 37 | KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, | ||
| 38 | KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, | ||
| 39 | KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_VOLU, KC_TRNS, | ||
| 40 | KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_VOLD | ||
| 41 | ), | ||
| 42 | |||
| 43 | }; | ||
diff --git a/keyboards/handwired/axon/readme.md b/keyboards/handwired/axon/readme.md new file mode 100644 index 000000000..ca422130e --- /dev/null +++ b/keyboards/handwired/axon/readme.md | |||
| @@ -0,0 +1,23 @@ | |||
| 1 | # Axon | ||
| 2 | |||
| 3 |  | ||
| 4 | |||
| 5 | Axon v1.0 built with Durock T1 and GMK Bento | ||
| 6 | |||
| 7 | Axon is a compact 40% which uses through-hole components. Hardware repo can be found at https://github.com/thatfellarobin/axon. | ||
| 8 | |||
| 9 | * Keyboard Maintainer: [Robin Liu](https://github.com/thatfellarobin) | ||
| 10 | |||
| 11 | Make example for this keyboard (after setting up your build environment): | ||
| 12 | |||
| 13 | make handwired/axon:default | ||
| 14 | |||
| 15 | ## To reset into bootloader mode: | ||
| 16 | |||
| 17 | 1. While plugged in, press and hold `BOOT` switch | ||
| 18 | 2. While holding `BOOT`, press `RESET` and hold it for a second or two | ||
| 19 | 3. Release `RESET` | ||
| 20 | 4. Release `BOOT` | ||
| 21 | 5. The keyboard should now be recognized as a USBasp programmer device. | ||
| 22 | |||
| 23 | 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/handwired/axon/rules.mk b/keyboards/handwired/axon/rules.mk new file mode 100644 index 000000000..e9a5cac27 --- /dev/null +++ b/keyboards/handwired/axon/rules.mk | |||
| @@ -0,0 +1,22 @@ | |||
| 1 | # MCU name | ||
| 2 | MCU = atmega328p | ||
| 3 | |||
| 4 | # Bootloader selection | ||
| 5 | BOOTLOADER = USBasp | ||
| 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 = no # USB Nkey Rollover | ||
| 19 | BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality | ||
| 20 | RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow | ||
| 21 | BLUETOOTH_ENABLE = no # Enable Bluetooth | ||
| 22 | AUDIO_ENABLE = no # Audio output | ||
