diff options
| author | dlgoodr <dlg@dsrw.org> | 2022-01-11 12:07:51 -0600 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-01-11 10:07:51 -0800 |
| commit | 349ca4b7ff0c98baedbeb9096442231e2267c817 (patch) | |
| tree | ae6a4137798f1f48496a983802970850629db9f2 | |
| parent | 1df37114320b816fe318316bce705d772859c610 (diff) | |
| download | qmk_firmware-349ca4b7ff0c98baedbeb9096442231e2267c817.tar.gz qmk_firmware-349ca4b7ff0c98baedbeb9096442231e2267c817.zip | |
[Keyboard] handwire: 3dfoxc (#15739)
Co-authored-by: Drashna Jaelre <drashna@live.com>
| -rw-r--r-- | keyboards/handwired/3dfoxc/3dfoxc.c | 17 | ||||
| -rw-r--r-- | keyboards/handwired/3dfoxc/3dfoxc.h | 38 | ||||
| -rw-r--r-- | keyboards/handwired/3dfoxc/config.h | 45 | ||||
| -rw-r--r-- | keyboards/handwired/3dfoxc/info.json | 364 | ||||
| -rw-r--r-- | keyboards/handwired/3dfoxc/keymaps/default/keymap.c | 69 | ||||
| -rw-r--r-- | keyboards/handwired/3dfoxc/keymaps/default/readme.md | 3 | ||||
| -rw-r--r-- | keyboards/handwired/3dfoxc/keymaps/dlg/config.h | 19 | ||||
| -rw-r--r-- | keyboards/handwired/3dfoxc/keymaps/dlg/keymap.c | 112 | ||||
| -rwxr-xr-x | keyboards/handwired/3dfoxc/keymaps/dlg/readme.md | 73 | ||||
| -rw-r--r-- | keyboards/handwired/3dfoxc/readme.md | 42 | ||||
| -rw-r--r-- | keyboards/handwired/3dfoxc/rules.mk | 18 |
11 files changed, 800 insertions, 0 deletions
diff --git a/keyboards/handwired/3dfoxc/3dfoxc.c b/keyboards/handwired/3dfoxc/3dfoxc.c new file mode 100644 index 000000000..e83a32d29 --- /dev/null +++ b/keyboards/handwired/3dfoxc/3dfoxc.c | |||
| @@ -0,0 +1,17 @@ | |||
| 1 | /* Copyright 2022 david l goodrich <dlg@dsrw.org> | ||
| 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 "3dfoxc.h" | ||
diff --git a/keyboards/handwired/3dfoxc/3dfoxc.h b/keyboards/handwired/3dfoxc/3dfoxc.h new file mode 100644 index 000000000..b632cff2c --- /dev/null +++ b/keyboards/handwired/3dfoxc/3dfoxc.h | |||
| @@ -0,0 +1,38 @@ | |||
| 1 | /* Copyright 2022 david l goodrich <dlg@dsrw.org> | ||
| 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 XXX KC_NO | ||
| 22 | |||
| 23 | #define LAYOUT( \ | ||
| 24 | K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B, K0C, K0D, K0E, K0F, \ | ||
| 25 | K10, K12, K13, K14, K15, K16, K17, K18, K19, K1A, K1B, K1C, K1D, K1E, K1F, \ | ||
| 26 | K20, K22, K23, K24, K25, K26, K27, K28, K29, K2A, K2B, K2C, K2D, K2F, \ | ||
| 27 | K31, K32, K33, K34, K35, K36, K37, K38, K39, K3A, K3B, K3D, K3E, K3F, \ | ||
| 28 | K40, K41, K43, K46, K4A, K4B, K4D, K4E, K4F \ | ||
| 29 | ) { \ | ||
| 30 | { K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B, K0C, K0D, K0E, K0F }, \ | ||
| 31 | { K10, XXX, K12, K13, K14, K15, K16, K17, K18, K19, K1A, K1B, K1C, K1D, K1E, K1F }, \ | ||
| 32 | { K20, XXX, K22, K23, K24, K25, K26, K27, K28, K29, K2A, K2B, K2C, K2D, XXX, K2F }, \ | ||
| 33 | { XXX, K31, K32, K33, K34, K35, K36, K37, K38, K39, K3A, K3B, XXX, K3D, K3E, K3F }, \ | ||
| 34 | { K40, K41, XXX, K43, XXX, XXX, K46, XXX, XXX, XXX, K4A, K4B, XXX, K4D, K4E, K4F }, \ | ||
| 35 | } | ||
| 36 | |||
| 37 | // generated by KBFirmware JSON to QMK Parser | ||
| 38 | // https://noroadsleft.github.io/kbf_qmk_converter/ | ||
diff --git a/keyboards/handwired/3dfoxc/config.h b/keyboards/handwired/3dfoxc/config.h new file mode 100644 index 000000000..ea73f91ba --- /dev/null +++ b/keyboards/handwired/3dfoxc/config.h | |||
| @@ -0,0 +1,45 @@ | |||
| 1 | /* Copyright 2022 david l goodrich <dlg@dsrw.org> | ||
| 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 0x0000 | ||
| 24 | #define DEVICE_VER 0x0001 | ||
| 25 | #define MANUFACTURER dlgoodr | ||
| 26 | #define PRODUCT 3dfoxc | ||
| 27 | |||
| 28 | /* key matrix size */ | ||
| 29 | #define MATRIX_ROWS 5 | ||
| 30 | #define MATRIX_COLS 16 | ||
| 31 | |||
| 32 | /* | ||
| 33 | * Keyboard Matrix Assignments | ||
| 34 | * | ||
| 35 | * Change this to how you wired your keyboard | ||
| 36 | * COLS: AVR pins used for columns, left to right | ||
| 37 | * ROWS: AVR pins used for rows, top to bottom | ||
| 38 | * DIODE_DIRECTION: COL2ROW = COL = Anode (+), ROW = Cathode (-, marked on diode) | ||
| 39 | * ROW2COL = ROW = Anode (+), COL = Cathode (-, marked on diode) | ||
| 40 | * | ||
| 41 | */ | ||
| 42 | #define MATRIX_ROW_PINS { F0, F1, C7, D5, B7 } | ||
| 43 | #define MATRIX_COL_PINS { D1, D0, D4, C6, D7, E6, B4, B5, B6, B2, B3, B1, F7, F6, F5, F4 } | ||
| 44 | |||
| 45 | #define DIODE_DIRECTION COL2ROW | ||
diff --git a/keyboards/handwired/3dfoxc/info.json b/keyboards/handwired/3dfoxc/info.json new file mode 100644 index 000000000..06e849bb1 --- /dev/null +++ b/keyboards/handwired/3dfoxc/info.json | |||
| @@ -0,0 +1,364 @@ | |||
| 1 | { | ||
| 2 | "keyboard_name": "3dfoxc", | ||
| 3 | "url": "", | ||
| 4 | "maintainer": "dlgoodr", | ||
| 5 | "layouts": { | ||
| 6 | "LAYOUT": { | ||
| 7 | "layout": [ | ||
| 8 | { | ||
| 9 | "label": "K00 (B0,B5)", | ||
| 10 | "x": 0, | ||
| 11 | "y": 0 | ||
| 12 | }, | ||
| 13 | { | ||
| 14 | "label": "K01 (B0,B6)", | ||
| 15 | "x": 1, | ||
| 16 | "y": 0 | ||
| 17 | }, | ||
| 18 | { | ||
| 19 | "label": "K02 (B0,B7)", | ||
| 20 | "x": 2, | ||
| 21 | "y": 0 | ||
| 22 | }, | ||
| 23 | { | ||
| 24 | "label": "K03 (B0,C0)", | ||
| 25 | "x": 3, | ||
| 26 | "y": 0 | ||
| 27 | }, | ||
| 28 | { | ||
| 29 | "label": "K04 (B0,C1)", | ||
| 30 | "x": 4, | ||
| 31 | "y": 0 | ||
| 32 | }, | ||
| 33 | { | ||
| 34 | "label": "K05 (B0,C2)", | ||
| 35 | "x": 5, | ||
| 36 | "y": 0 | ||
| 37 | }, | ||
| 38 | { | ||
| 39 | "label": "K06 (B0,C3)", | ||
| 40 | "x": 6, | ||
| 41 | "y": 0 | ||
| 42 | }, | ||
| 43 | { | ||
| 44 | "label": "K07 (B0,C4)", | ||
| 45 | "x": 7, | ||
| 46 | "y": 0 | ||
| 47 | }, | ||
| 48 | { | ||
| 49 | "label": "K08 (B0,C5)", | ||
| 50 | "x": 8, | ||
| 51 | "y": 0 | ||
| 52 | }, | ||
| 53 | { | ||
| 54 | "label": "K09 (B0,C6)", | ||
| 55 | "x": 9, | ||
| 56 | "y": 0 | ||
| 57 | }, | ||
| 58 | { | ||
| 59 | "label": "K0A (B0,C7)", | ||
| 60 | "x": 10, | ||
| 61 | "y": 0 | ||
| 62 | }, | ||
| 63 | { | ||
| 64 | "label": "K0B (B0,D0)", | ||
| 65 | "x": 11, | ||
| 66 | "y": 0 | ||
| 67 | }, | ||
| 68 | { | ||
| 69 | "label": "K0C (B0,D1)", | ||
| 70 | "x": 12, | ||
| 71 | "y": 0 | ||
| 72 | }, | ||
| 73 | { | ||
| 74 | "label": "K0D (B0,D2)", | ||
| 75 | "x": 13, | ||
| 76 | "y": 0 | ||
| 77 | }, | ||
| 78 | { | ||
| 79 | "label": "K0E (B0,D3)", | ||
| 80 | "x": 14, | ||
| 81 | "y": 0 | ||
| 82 | }, | ||
| 83 | { | ||
| 84 | "label": "K0F (B0,D4)", | ||
| 85 | "x": 15, | ||
| 86 | "y": 0 | ||
| 87 | }, | ||
| 88 | { | ||
| 89 | "label": "K10 (B1,B5)", | ||
| 90 | "x": 0, | ||
| 91 | "y": 1, | ||
| 92 | "w": 1.5 | ||
| 93 | }, | ||
| 94 | { | ||
| 95 | "label": "K12 (B1,B7)", | ||
| 96 | "x": 1.5, | ||
| 97 | "y": 1 | ||
| 98 | }, | ||
| 99 | { | ||
| 100 | "label": "K13 (B1,C0)", | ||
| 101 | "x": 2.5, | ||
| 102 | "y": 1 | ||
| 103 | }, | ||
| 104 | { | ||
| 105 | "label": "K14 (B1,C1)", | ||
| 106 | "x": 3.5, | ||
| 107 | "y": 1 | ||
| 108 | }, | ||
| 109 | { | ||
| 110 | "label": "K15 (B1,C2)", | ||
| 111 | "x": 4.5, | ||
| 112 | "y": 1 | ||
| 113 | }, | ||
| 114 | { | ||
| 115 | "label": "K16 (B1,C3)", | ||
| 116 | "x": 5.5, | ||
| 117 | "y": 1 | ||
| 118 | }, | ||
| 119 | { | ||
| 120 | "label": "K17 (B1,C4)", | ||
| 121 | "x": 6.5, | ||
| 122 | "y": 1 | ||
| 123 | }, | ||
| 124 | { | ||
| 125 | "label": "K18 (B1,C5)", | ||
| 126 | "x": 7.5, | ||
| 127 | "y": 1 | ||
| 128 | }, | ||
| 129 | { | ||
| 130 | "label": "K19 (B1,C6)", | ||
| 131 | "x": 8.5, | ||
| 132 | "y": 1 | ||
| 133 | }, | ||
| 134 | { | ||
| 135 | "label": "K1A (B1,C7)", | ||
| 136 | "x": 9.5, | ||
| 137 | "y": 1 | ||
| 138 | }, | ||
| 139 | { | ||
| 140 | "label": "K1B (B1,D0)", | ||
| 141 | "x": 10.5, | ||
| 142 | "y": 1 | ||
| 143 | }, | ||
| 144 | { | ||
| 145 | "label": "K1C (B1,D1)", | ||
| 146 | "x": 11.5, | ||
| 147 | "y": 1 | ||
| 148 | }, | ||
| 149 | { | ||
| 150 | "label": "K1D (B1,D2)", | ||
| 151 | "x": 12.5, | ||
| 152 | "y": 1 | ||
| 153 | }, | ||
| 154 | { | ||
| 155 | "label": "K1E (B1,D3)", | ||
| 156 | "x": 13.5, | ||
| 157 | "y": 1, | ||
| 158 | "w": 1.5 | ||
| 159 | }, | ||
| 160 | { | ||
| 161 | "label": "K1F (B1,D4)", | ||
| 162 | "x": 15, | ||
| 163 | "y": 1 | ||
| 164 | }, | ||
| 165 | { | ||
| 166 | "label": "K20 (B2,B5)", | ||
| 167 | "x": 0, | ||
| 168 | "y": 2, | ||
| 169 | "w": 1.75 | ||
| 170 | }, | ||
| 171 | { | ||
| 172 | "label": "K22 (B2,B7)", | ||
| 173 | "x": 1.75, | ||
| 174 | "y": 2 | ||
| 175 | }, | ||
| 176 | { | ||
| 177 | "label": "K23 (B2,C0)", | ||
| 178 | "x": 2.75, | ||
| 179 | "y": 2 | ||
| 180 | }, | ||
| 181 | { | ||
| 182 | "label": "K24 (B2,C1)", | ||
| 183 | "x": 3.75, | ||
| 184 | "y": 2 | ||
| 185 | }, | ||
| 186 | { | ||
| 187 | "label": "K25 (B2,C2)", | ||
| 188 | "x": 4.75, | ||
| 189 | "y": 2 | ||
| 190 | }, | ||
| 191 | { | ||
| 192 | "label": "K26 (B2,C3)", | ||
| 193 | "x": 5.75, | ||
| 194 | "y": 2 | ||
| 195 | }, | ||
| 196 | { | ||
| 197 | "label": "K27 (B2,C4)", | ||
| 198 | "x": 6.75, | ||
| 199 | "y": 2 | ||
| 200 | }, | ||
| 201 | { | ||
| 202 | "label": "K28 (B2,C5)", | ||
| 203 | "x": 7.75, | ||
| 204 | "y": 2 | ||
| 205 | }, | ||
| 206 | { | ||
| 207 | "label": "K29 (B2,C6)", | ||
| 208 | "x": 8.75, | ||
| 209 | "y": 2 | ||
| 210 | }, | ||
| 211 | { | ||
| 212 | "label": "K2A (B2,C7)", | ||
| 213 | "x": 9.75, | ||
| 214 | "y": 2 | ||
| 215 | }, | ||
| 216 | { | ||
| 217 | "label": "K2B (B2,D0)", | ||
| 218 | "x": 10.75, | ||
| 219 | "y": 2 | ||
| 220 | }, | ||
| 221 | { | ||
| 222 | "label": "K2C (B2,D1)", | ||
| 223 | "x": 11.75, | ||
| 224 | "y": 2 | ||
| 225 | }, | ||
| 226 | { | ||
| 227 | "label": "K2D (B2,D2)", | ||
| 228 | "x": 12.75, | ||
| 229 | "y": 2, | ||
| 230 | "w": 2.25 | ||
| 231 | }, | ||
| 232 | { | ||
| 233 | "label": "K2F (B2,D4)", | ||
| 234 | "x": 15, | ||
| 235 | "y": 2 | ||
| 236 | }, | ||
| 237 | { | ||
| 238 | "label": "K31 (B3,B6)", | ||
| 239 | "x": 0, | ||
| 240 | "y": 3, | ||
| 241 | "w": 2.25 | ||
| 242 | }, | ||
| 243 | { | ||
| 244 | "label": "K32 (B3,B7)", | ||
| 245 | "x": 2.25, | ||
| 246 | "y": 3 | ||
| 247 | }, | ||
| 248 | { | ||
| 249 | "label": "K33 (B3,C0)", | ||
| 250 | "x": 3.25, | ||
| 251 | "y": 3 | ||
| 252 | }, | ||
| 253 | { | ||
| 254 | "label": "K34 (B3,C1)", | ||
| 255 | "x": 4.25, | ||
| 256 | "y": 3 | ||
| 257 | }, | ||
| 258 | { | ||
| 259 | "label": "K35 (B3,C2)", | ||
| 260 | "x": 5.25, | ||
| 261 | "y": 3 | ||
| 262 | }, | ||
| 263 | { | ||
| 264 | "label": "K36 (B3,C3)", | ||
| 265 | "x": 6.25, | ||
| 266 | "y": 3 | ||
| 267 | }, | ||
| 268 | { | ||
| 269 | "label": "K37 (B3,C4)", | ||
| 270 | "x": 7.25, | ||
| 271 | "y": 3 | ||
| 272 | }, | ||
| 273 | { | ||
| 274 | "label": "K38 (B3,C5)", | ||
| 275 | "x": 8.25, | ||
| 276 | "y": 3 | ||
| 277 | }, | ||
| 278 | { | ||
| 279 | "label": "K39 (B3,C6)", | ||
| 280 | "x": 9.25, | ||
| 281 | "y": 3 | ||
| 282 | }, | ||
| 283 | { | ||
| 284 | "label": "K3A (B3,C7)", | ||
| 285 | "x": 10.25, | ||
| 286 | "y": 3 | ||
| 287 | }, | ||
| 288 | { | ||
| 289 | "label": "K3B (B3,D0)", | ||
| 290 | "x": 11.25, | ||
| 291 | "y": 3 | ||
| 292 | }, | ||
| 293 | { | ||
| 294 | "label": "K3D (B3,D2)", | ||
| 295 | "x": 12.25, | ||
| 296 | "y": 3, | ||
| 297 | "w": 1.75 | ||
| 298 | }, | ||
| 299 | { | ||
| 300 | "label": "K3E (B3,D3)", | ||
| 301 | "x": 14, | ||
| 302 | "y": 3 | ||
| 303 | }, | ||
| 304 | { | ||
| 305 | "label": "K3F (B3,D4)", | ||
| 306 | "x": 15, | ||
| 307 | "y": 3 | ||
| 308 | }, | ||
| 309 | { | ||
| 310 | "label": "K40 (B4,B5)", | ||
| 311 | "x": 0, | ||
| 312 | "y": 4, | ||
| 313 | "w": 1.25 | ||
| 314 | }, | ||
| 315 | { | ||
| 316 | "label": "K41 (B4,B6)", | ||
| 317 | "x": 1.25, | ||
| 318 | "y": 4, | ||
| 319 | "w": 1.25 | ||
| 320 | }, | ||
| 321 | { | ||
| 322 | "label": "K43 (B4,C0)", | ||
| 323 | "x": 2.5, | ||
| 324 | "y": 4, | ||
| 325 | "w": 1.25 | ||
| 326 | }, | ||
| 327 | { | ||
| 328 | "label": "K46 (B4,C3)", | ||
| 329 | "x": 3.75, | ||
| 330 | "y": 4, | ||
| 331 | "w": 6.25 | ||
| 332 | }, | ||
| 333 | { | ||
| 334 | "label": "K4A (B4,C7)", | ||
| 335 | "x": 10, | ||
| 336 | "y": 4, | ||
| 337 | "w": 1.25 | ||
| 338 | }, | ||
| 339 | { | ||
| 340 | "label": "K4B (B4,D0)", | ||
| 341 | "x": 11.25, | ||
| 342 | "y": 4, | ||
| 343 | "w": 1.25 | ||
| 344 | }, | ||
| 345 | { | ||
| 346 | "label": "K4D (B4,D2)", | ||
| 347 | "x": 13, | ||
| 348 | "y": 4 | ||
| 349 | }, | ||
| 350 | { | ||
| 351 | "label": "K4E (B4,D3)", | ||
| 352 | "x": 14, | ||
| 353 | "y": 4 | ||
| 354 | }, | ||
| 355 | { | ||
| 356 | "label": "K4F (B4,D4)", | ||
| 357 | "x": 15, | ||
| 358 | "y": 4 | ||
| 359 | } | ||
| 360 | ] | ||
| 361 | } | ||
| 362 | }, | ||
| 363 | "meta": "https://noroadsleft.github.io/kbf_qmk_converter/" | ||
| 364 | } \ No newline at end of file | ||
diff --git a/keyboards/handwired/3dfoxc/keymaps/default/keymap.c b/keyboards/handwired/3dfoxc/keymaps/default/keymap.c new file mode 100644 index 000000000..aaed41870 --- /dev/null +++ b/keyboards/handwired/3dfoxc/keymaps/default/keymap.c | |||
| @@ -0,0 +1,69 @@ | |||
| 1 | /* Copyright 2022 david l goodrich <dlg@dsrw.org> | ||
| 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 | enum custom_layers { | ||
| 20 | _BL, | ||
| 21 | _FL, | ||
| 22 | }; | ||
| 23 | |||
| 24 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||
| 25 | |||
| 26 | /* Keymap _BL: (Base Layer) Default Layer | ||
| 27 | * ,---------------------------------------------------------------. | ||
| 28 | * |Esc| 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 0 | - | = | \ |~` |???| | ||
| 29 | * |---------------------------------------------------------------| | ||
| 30 | * |Tab | Q | W | E | R | T | Y | U | I | O | P | [ | ] |Bkspc|Del| | ||
| 31 | * |---------------------------------------------------------------| | ||
| 32 | * |Ctrl | A | S | D | F | G | H | J | K | L | ; | ' | Enter |PUp| | ||
| 33 | * |---------------------------------------------------------------| | ||
| 34 | * |Shift | Z | X | C | V | B | N | M | , | . | / |Shift |Up |PDn| | ||
| 35 | * |---------------------------------------------------------------| | ||
| 36 | * |Ctrl|Win |Alt | Space |Alt |Fn ||Lt |Dn |Rt | | ||
| 37 | * `--------------------------------------------------''-----------' | ||
| 38 | */ | ||
| 39 | |||
| 40 | [_BL] = LAYOUT( | ||
| 41 | KC_ESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSLS, KC_GRV, KC_NO, | ||
| 42 | KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSPC, KC_DEL, | ||
| 43 | KC_LCTL, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT, KC_PGUP, | ||
| 44 | KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_LSFT, KC_UP, KC_PGDN, | ||
| 45 | KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_LALT, MO(_FL), KC_LEFT, KC_DOWN, KC_RGHT | ||
| 46 | ), | ||
| 47 | |||
| 48 | /* Keymap _FL: Function Layer | ||
| 49 | * ,---------------------------------------------------------------. | ||
| 50 | * | |F1 |F2 |F3 |F4 |F5 |F6 |F7 |F8 |F9 |F10|F11|F12| |RST| | | ||
| 51 | * |---------------------------------------------------------------| | ||
| 52 | * | | | | | | | | | | |PSc| | |Del |Ins| | ||
| 53 | * |---------------------------------------------------------------| | ||
| 54 | * | | | | | | | | | | | | | |Hme| | ||
| 55 | * |---------------------------------------------------------------| | ||
| 56 | * | | | | | | | |MUT|V- |V+ | | |PUp|End| | ||
| 57 | * |---------------------------------------------------------------| | ||
| 58 | * | | | | | | ||Hme|PDn|End| | ||
| 59 | * `--------------------------------------------------''-----------' | ||
| 60 | */ | ||
| 61 | [_FL] = LAYOUT( | ||
| 62 | _______, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, _______, RESET, _______, | ||
| 63 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_PSCR, _______, _______, KC_DEL, KC_INS, | ||
| 64 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_HOME, | ||
| 65 | _______, _______, _______, _______, _______, _______, _______, KC_MUTE, KC_VOLD, KC_VOLU, _______, _______, KC_PGUP, KC_END, | ||
| 66 | _______, _______, _______, _______, _______, _______, KC_HOME, KC_PGDN, KC_END | ||
| 67 | ) | ||
| 68 | }; | ||
| 69 | \ No newline at end of file | ||
diff --git a/keyboards/handwired/3dfoxc/keymaps/default/readme.md b/keyboards/handwired/3dfoxc/keymaps/default/readme.md new file mode 100644 index 000000000..26ced1cb9 --- /dev/null +++ b/keyboards/handwired/3dfoxc/keymaps/default/readme.md | |||
| @@ -0,0 +1,3 @@ | |||
| 1 | # 3dfoxc "Default" keymap | ||
| 2 | |||
| 3 | Set up just like the [original whitefox](https://input.club/whitefox/), except the function layer is totally made up. \ No newline at end of file | ||
diff --git a/keyboards/handwired/3dfoxc/keymaps/dlg/config.h b/keyboards/handwired/3dfoxc/keymaps/dlg/config.h new file mode 100644 index 000000000..d824330b0 --- /dev/null +++ b/keyboards/handwired/3dfoxc/keymaps/dlg/config.h | |||
| @@ -0,0 +1,19 @@ | |||
| 1 | /* Copyright 2022 david l goodrich <dlg@dsrw.org> | ||
| 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 GRAVE_ESC_ALT_OVERRIDE | ||
diff --git a/keyboards/handwired/3dfoxc/keymaps/dlg/keymap.c b/keyboards/handwired/3dfoxc/keymaps/dlg/keymap.c new file mode 100644 index 000000000..c4431acec --- /dev/null +++ b/keyboards/handwired/3dfoxc/keymaps/dlg/keymap.c | |||
| @@ -0,0 +1,112 @@ | |||
| 1 | /* Copyright 2022 david l goodrich <dlg@dsrw.org> | ||
| 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 | enum custom_layers { | ||
| 20 | _BL, | ||
| 21 | _FL, | ||
| 22 | _MAC, | ||
| 23 | _LA, | ||
| 24 | }; | ||
| 25 | |||
| 26 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||
| 27 | |||
| 28 | /* Keymap _BL: (Base Layer) Default Layer | ||
| 29 | * ,---------------------------------------------------------------. | ||
| 30 | * |~` | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 0 | - | = |Bks|???|Esc| | ||
| 31 | * |---------------------------------------------------------------| | ||
| 32 | * |Tab | Q | W | E | R | T | Y | U | I | O | P | [ | ] | \ |Del| | ||
| 33 | * |---------------------------------------------------------------| | ||
| 34 | * |Ctrl | A | S | D | F | G | H | J | K | L | ; | ' | Enter |PUp| | ||
| 35 | * |---------------------------------------------------------------| | ||
| 36 | * |Shift | Z | X | C | V | B | N | M | , | . | / |Shift |Up |PDn| | ||
| 37 | * |---------------------------------------------------------------| | ||
| 38 | * |Ctrl|Win |Alt | Space |Alt |Fn ||Lt |Dn |Rt | | ||
| 39 | * `--------------------------------------------------''-----------' | ||
| 40 | */ | ||
| 41 | [_BL] = LAYOUT( | ||
| 42 | KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSPC, XXXXXXX, KC_ESC, | ||
| 43 | KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSLS, KC_DEL, | ||
| 44 | KC_LCTL, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT, KC_PGUP, | ||
| 45 | KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_LSFT, KC_UP, KC_PGDN, | ||
| 46 | KC_LCTL, KC_LGUI, LM(_LA, MOD_LALT), KC_SPC, KC_LALT, MO(_FL), KC_LEFT, KC_DOWN, KC_RGHT | ||
| 47 | ), | ||
| 48 | |||
| 49 | /* Keymap _FL: Function Layer | ||
| 50 | * ,---------------------------------------------------------------. | ||
| 51 | * | |F1 |F2 |F3 |F4 |F5 |F6 |F7 |F8 |F9 |F10|F11|F12|Del|RST| | | ||
| 52 | * |---------------------------------------------------------------| | ||
| 53 | * | | | | | | | | |mac| |PSc|Br-|Br+| |Ins| | ||
| 54 | * |---------------------------------------------------------------| | ||
| 55 | * | | | | | | |Lt |Dn |Up |Rt | | | |Hme| | ||
| 56 | * |---------------------------------------------------------------| | ||
| 57 | * | | | | | | | |MUT|V- |V+ | | |PUp|End| | ||
| 58 | * |---------------------------------------------------------------| | ||
| 59 | * | | | | | | ||Hme|PDn|End| | ||
| 60 | * `--------------------------------------------------''-----------' | ||
| 61 | */ | ||
| 62 | [_FL] = LAYOUT( | ||
| 63 | _______, 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, RESET, _______, | ||
| 64 | _______, _______, _______, _______, _______, _______, _______, _______, TG(_MAC),_______, KC_PSCR, KC_BRID, KC_BRIU, _______, KC_INS, | ||
| 65 | _______, _______, _______, _______, _______, _______, KC_LEFT, KC_DOWN, KC_UP, KC_RGHT, _______, _______, _______, KC_HOME, | ||
| 66 | _______, _______, _______, _______, _______, _______, _______, KC_MUTE, KC_VOLD, KC_VOLU, _______, _______, KC_PGUP, KC_END, | ||
| 67 | _______, _______, _______, _______, _______, _______, KC_HOME, KC_PGDN, KC_END | ||
| 68 | ), | ||
| 69 | |||
| 70 | /* Keymap _MAC: Mac Layer | ||
| 71 | * ,---------------------------------------------------------------. | ||
| 72 | * | | | | | | | | | | | | | | | | | | ||
| 73 | * |---------------------------------------------------------------| | ||
| 74 | * | | | | | | | | | | | | | | | | | ||
| 75 | * |---------------------------------------------------------------| | ||
| 76 | * | | | | | | | | | | | | | | | | ||
| 77 | * |---------------------------------------------------------------| | ||
| 78 | * | | | | | | | | | | | | | | | | ||
| 79 | * |---------------------------------------------------------------| | ||
| 80 | * |Ctrl|Alt |Win | |Win | || | | | | ||
| 81 | * `--------------------------------------------------''-----------' | ||
| 82 | */ | ||
| 83 | [_MAC] = LAYOUT( | ||
| 84 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 85 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 86 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 87 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 88 | KC_LCTL, KC_LALT, KC_LGUI, _______, KC_RGUI, _______, _______, _______, _______ | ||
| 89 | ), | ||
| 90 | |||
| 91 | /* Keymap _LA: Left Alt Layer - LALT-4 maps to LALT-F4 so I can quit apps | ||
| 92 | * ,---------------------------------------------------------------. | ||
| 93 | * | | | | |F4 | | | | | | | | | | | | | ||
| 94 | * |---------------------------------------------------------------| | ||
| 95 | * | | | | | | | | | | | | | | | | | ||
| 96 | * |---------------------------------------------------------------| | ||
| 97 | * | | | | | | | | | | | | | | | | ||
| 98 | * |---------------------------------------------------------------| | ||
| 99 | * | | | | | | | | | | | | | | | | ||
| 100 | * |---------------------------------------------------------------| | ||
| 101 | * | | | | | | || | | | | ||
| 102 | * `--------------------------------------------------''-----------' | ||
| 103 | */ | ||
| 104 | [_LA] = LAYOUT( | ||
| 105 | _______, _______, _______, _______, KC_F4, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 106 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 107 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 108 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 109 | _______, _______, _______, _______, _______, _______, _______, _______, _______ | ||
| 110 | ) | ||
| 111 | |||
| 112 | }; | ||
diff --git a/keyboards/handwired/3dfoxc/keymaps/dlg/readme.md b/keyboards/handwired/3dfoxc/keymaps/dlg/readme.md new file mode 100755 index 000000000..487086e57 --- /dev/null +++ b/keyboards/handwired/3dfoxc/keymaps/dlg/readme.md | |||
| @@ -0,0 +1,73 @@ | |||
| 1 | # dlg's layout | ||
| 2 | |||
| 3 | Inspired heavily by [my tada68 layout](https://github.com/qmk/qmk_firmware/tree/master/keyboards/tada68/keymaps/dlg). | ||
| 4 | |||
| 5 | Notable deviation from the default keymap includes correctly placing `KC_BSLS` and moving `KC_BSPC` up to the top row where it belongs. The additional key on the top-row is a NOOP while I think of something fun. I also swapped `Esc` and `~` as in my tada68 layout. | ||
| 6 | |||
| 7 | |||
| 8 | ### Base Layer | ||
| 9 | |||
| 10 | ``` | ||
| 11 | ,---------------------------------------------------------------. | ||
| 12 | |~` | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 0 | - | = |Bks|???|Esc| | ||
| 13 | |---------------------------------------------------------------| | ||
| 14 | |Tab | Q | W | E | R | T | Y | U | I | O | P | [ | ] | \ |Del| | ||
| 15 | |---------------------------------------------------------------| | ||
| 16 | |Ctrl | A | S | D | F | G | H | J | K | L | ; | ' | Enter |PUp| | ||
| 17 | |---------------------------------------------------------------| | ||
| 18 | |Shift | Z | X | C | V | B | N | M | , | . | / |Shift |Up |PDn| | ||
| 19 | |---------------------------------------------------------------| | ||
| 20 | |Ctrl|Win |Alt | Space |Alt |Fn ||Lt |Dn |Rt | | ||
| 21 | `--------------------------------------------------''-----------' | ||
| 22 | ``` | ||
| 23 | |||
| 24 | |||
| 25 | ### Fn Layer | ||
| 26 | |||
| 27 | ``` | ||
| 28 | ,---------------------------------------------------------------. | ||
| 29 | | |F1 |F2 |F3 |F4 |F5 |F6 |F7 |F8 |F9 |F10|F11|F12|Del|RST| | | ||
| 30 | |---------------------------------------------------------------| | ||
| 31 | | | | | | | | | |mac| |PSc|Br-|Br+| |Ins| | ||
| 32 | |---------------------------------------------------------------| | ||
| 33 | | | | | | | |Lt |Dn |Up |Rt | | | |Hme| | ||
| 34 | |---------------------------------------------------------------| | ||
| 35 | | | | | | | | |MUT|V- |V+ | | |PUp|End| | ||
| 36 | |---------------------------------------------------------------| | ||
| 37 | | | | | | | ||Hme|PDn|End| | ||
| 38 | `--------------------------------------------------''-----------' | ||
| 39 | ``` | ||
| 40 | |||
| 41 | ### Mac Layer | ||
| 42 | |||
| 43 | ``` | ||
| 44 | ,---------------------------------------------------------------. | ||
| 45 | | | | | | | | | | | | | | | | | | | ||
| 46 | |---------------------------------------------------------------| | ||
| 47 | | | | | | | | | | | | | | | | | | ||
| 48 | |---------------------------------------------------------------| | ||
| 49 | | | | | | | | | | | | | | | | | ||
| 50 | |---------------------------------------------------------------| | ||
| 51 | | | | | | | | | | | | | | | | | ||
| 52 | |---------------------------------------------------------------| | ||
| 53 | |Ctrl|Alt |Win | |Win | || | | | | ||
| 54 | `--------------------------------------------------''-----------' | ||
| 55 | ``` | ||
| 56 | |||
| 57 | ### `LALT` Layer | ||
| 58 | |||
| 59 | Left Alt Layer - LALT-4 maps to LALT-F4 so I can quit apps | ||
| 60 | |||
| 61 | ``` | ||
| 62 | ,---------------------------------------------------------------. | ||
| 63 | | | | | |F4 | | | | | | | | | | | | | ||
| 64 | |---------------------------------------------------------------| | ||
| 65 | | | | | | | | | | | | | | | | | | ||
| 66 | |---------------------------------------------------------------| | ||
| 67 | | | | | | | | | | | | | | | | | ||
| 68 | |---------------------------------------------------------------| | ||
| 69 | | | | | | | | | | | | | | | | | ||
| 70 | |---------------------------------------------------------------| | ||
| 71 | | | | | | | || | | | | ||
| 72 | `--------------------------------------------------''-----------' | ||
| 73 | ``` | ||
diff --git a/keyboards/handwired/3dfoxc/readme.md b/keyboards/handwired/3dfoxc/readme.md new file mode 100644 index 000000000..3d6e33a5c --- /dev/null +++ b/keyboards/handwired/3dfoxc/readme.md | |||
| @@ -0,0 +1,42 @@ | |||
| 1 | # 3dfoxc | ||
| 2 | |||
| 3 |  | ||
| 4 | |||
| 5 | A [3d-printed whitefox](https://www.thingiverse.com/thing:2952008) with an Elite-C microcontroller. | ||
| 6 | |||
| 7 | This is a build of [matt3o's "How to Build a Custom Keyboard" guide](https://matt3o.com/book/), except that I have replaced the Teensy with an [Elite-C v4](https://keeb.io/products/elite-c-low-profile-version-usb-c-pro-micro-replacement-atmega32u4). Presumably you could replace it with anything compatible. The USB-C port had to be enlarged with dremel, and the mount for the Teensy was ground off and replaced with everyone's favorite rapid modeling polymer ... hot glue. | ||
| 8 | |||
| 9 | * Keyboard Maintainer: [david l goodrich](mailto:dlg@dsrw.org) | ||
| 10 | * Hardware Supported: | ||
| 11 | * [3d-printed whitefox](https://www.thingiverse.com/thing:2952008) | ||
| 12 | * Elite-C microcontroller | ||
| 13 | * Hardware Availability: [keebio](https://keeb.io/products/elite-c-low-profile-version-usb-c-pro-micro-replacement-atmega32u4), [1up](https://1upkeyboards.com/shop/controllers/elite-c-v4-controller/), [keyhive](https://keyhive.xyz/shop/elite-c), [splitkb](https://splitkb.com/products/elite-c-low-profile-rev4-microcontroller) | ||
| 14 | |||
| 15 | ## Wiring | ||
| 16 | |||
| 17 | Badly, because I have never done this before. Build pics available upon request, I guess. | ||
| 18 | |||
| 19 |  | ||
| 20 | |||
| 21 | |||
| 22 | ## Flashing | ||
| 23 | |||
| 24 | Make example for this keyboard (after setting up your build environment): | ||
| 25 | |||
| 26 | make handwired/3dfoxc:default | ||
| 27 | |||
| 28 | Flashing example for this keyboard (use the `dfu` target for the Elite-C!): | ||
| 29 | |||
| 30 | make handwired/3dfoxc:default:dfu | ||
| 31 | |||
| 32 | 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). | ||
| 33 | |||
| 34 | ## Bootloader | ||
| 35 | |||
| 36 | Enter the bootloader in 3 ways: | ||
| 37 | |||
| 38 | * **Bootmagic reset**: Hold down the key at (0,0) in the matrix (usually the top left key or Escape) and plug in the keyboard | ||
| 39 | * **Physical reset button**: Briefly press the button on the back of the PCB - some may have pads you must short instead | ||
| 40 | * **Keycode in layout**: Press the key mapped to `RESET` if it is available | ||
| 41 | |||
| 42 | |||
diff --git a/keyboards/handwired/3dfoxc/rules.mk b/keyboards/handwired/3dfoxc/rules.mk new file mode 100644 index 000000000..168a61775 --- /dev/null +++ b/keyboards/handwired/3dfoxc/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 = no # Mouse keys | ||
| 12 | EXTRAKEY_ENABLE = yes # Audio control and System control | ||
| 13 | CONSOLE_ENABLE = yes # Console for debug | ||
| 14 | COMMAND_ENABLE = yes # Commands for debug and configuration | ||
| 15 | NKRO_ENABLE = yes # Enable N-Key Rollover | ||
| 16 | BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality | ||
| 17 | RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow | ||
| 18 | AUDIO_ENABLE = no # Audio output | ||
