diff options
Diffstat (limited to 'keyboards/handwired/3dfoxc')
-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 0000000000..e83a32d295 --- /dev/null +++ b/keyboards/handwired/3dfoxc/3dfoxc.c @@ -0,0 +1,17 @@ +/* Copyright 2022 david l goodrich <dlg@dsrw.org> + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + */ + +#include "3dfoxc.h" diff --git a/keyboards/handwired/3dfoxc/3dfoxc.h b/keyboards/handwired/3dfoxc/3dfoxc.h new file mode 100644 index 0000000000..b632cff2ce --- /dev/null +++ b/keyboards/handwired/3dfoxc/3dfoxc.h @@ -0,0 +1,38 @@ +/* Copyright 2022 david l goodrich <dlg@dsrw.org> + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + */ + +#pragma once + +#include "quantum.h" + +#define XXX KC_NO + +#define LAYOUT( \ + K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B, K0C, K0D, K0E, K0F, \ + K10, K12, K13, K14, K15, K16, K17, K18, K19, K1A, K1B, K1C, K1D, K1E, K1F, \ + K20, K22, K23, K24, K25, K26, K27, K28, K29, K2A, K2B, K2C, K2D, K2F, \ + K31, K32, K33, K34, K35, K36, K37, K38, K39, K3A, K3B, K3D, K3E, K3F, \ + K40, K41, K43, K46, K4A, K4B, K4D, K4E, K4F \ +) { \ + { K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B, K0C, K0D, K0E, K0F }, \ + { K10, XXX, K12, K13, K14, K15, K16, K17, K18, K19, K1A, K1B, K1C, K1D, K1E, K1F }, \ + { K20, XXX, K22, K23, K24, K25, K26, K27, K28, K29, K2A, K2B, K2C, K2D, XXX, K2F }, \ + { XXX, K31, K32, K33, K34, K35, K36, K37, K38, K39, K3A, K3B, XXX, K3D, K3E, K3F }, \ + { K40, K41, XXX, K43, XXX, XXX, K46, XXX, XXX, XXX, K4A, K4B, XXX, K4D, K4E, K4F }, \ +} + +// generated by KBFirmware JSON to QMK Parser +// 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 0000000000..ea73f91ba0 --- /dev/null +++ b/keyboards/handwired/3dfoxc/config.h @@ -0,0 +1,45 @@ +/* Copyright 2022 david l goodrich <dlg@dsrw.org> + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + */ + +#pragma once + +#include "config_common.h" + +/* USB Device descriptor parameter */ +#define VENDOR_ID 0xFEED +#define PRODUCT_ID 0x0000 +#define DEVICE_VER 0x0001 +#define MANUFACTURER dlgoodr +#define PRODUCT 3dfoxc + +/* key matrix size */ +#define MATRIX_ROWS 5 +#define MATRIX_COLS 16 + +/* + * Keyboard Matrix Assignments + * + * Change this to how you wired your keyboard + * COLS: AVR pins used for columns, left to right + * ROWS: AVR pins used for rows, top to bottom + * DIODE_DIRECTION: COL2ROW = COL = Anode (+), ROW = Cathode (-, marked on diode) + * ROW2COL = ROW = Anode (+), COL = Cathode (-, marked on diode) + * + */ +#define MATRIX_ROW_PINS { F0, F1, C7, D5, B7 } +#define MATRIX_COL_PINS { D1, D0, D4, C6, D7, E6, B4, B5, B6, B2, B3, B1, F7, F6, F5, F4 } + +#define DIODE_DIRECTION COL2ROW diff --git a/keyboards/handwired/3dfoxc/info.json b/keyboards/handwired/3dfoxc/info.json new file mode 100644 index 0000000000..06e849bb11 --- /dev/null +++ b/keyboards/handwired/3dfoxc/info.json @@ -0,0 +1,364 @@ +{ + "keyboard_name": "3dfoxc", + "url": "", + "maintainer": "dlgoodr", + "layouts": { + "LAYOUT": { + "layout": [ + { + "label": "K00 (B0,B5)", + "x": 0, + "y": 0 + }, + { + "label": "K01 (B0,B6)", + "x": 1, + "y": 0 + }, + { + "label": "K02 (B0,B7)", + "x": 2, + "y": 0 + }, + { + "label": "K03 (B0,C0)", + "x": 3, + "y": 0 + }, + { + "label": "K04 (B0,C1)", + "x": 4, + "y": 0 + }, + { + "label": "K05 (B0,C2)", + "x": 5, + "y": 0 + }, + { + "label": "K06 (B0,C3)", + "x": 6, + "y": 0 + }, + { + "label": "K07 (B0,C4)", + "x": 7, + "y": 0 + }, + { + "label": "K08 (B0,C5)", + "x": 8, + "y": 0 + }, + { + "label": "K09 (B0,C6)", + "x": 9, + "y": 0 + }, + { + "label": "K0A (B0,C7)", + "x": 10, + "y": 0 + }, + { + "label": "K0B (B0,D0)", + "x": 11, + "y": 0 + }, + { + "label": "K0C (B0,D1)", + "x": 12, + "y": 0 + }, + { + "label": "K0D (B0,D2)", + "x": 13, + "y": 0 + }, + { + "label": "K0E (B0,D3)", + "x": 14, + "y": 0 + }, + { + "label": "K0F (B0,D4)", + "x": 15, + "y": 0 + }, + { + "label": "K10 (B1,B5)", + "x": 0, + "y": 1, + "w": 1.5 + }, + { + "label": "K12 (B1,B7)", + "x": 1.5, + "y": 1 + }, + { + "label": "K13 (B1,C0)", + "x": 2.5, + "y": 1 + }, + { + "label": "K14 (B1,C1)", + "x": 3.5, + "y": 1 + }, + { + "label": "K15 (B1,C2)", + "x": 4.5, + "y": 1 + }, + { + "label": "K16 (B1,C3)", + "x": 5.5, + "y": 1 + }, + { + "label": "K17 (B1,C4)", + "x": 6.5, + "y": 1 + }, + { + "label": "K18 (B1,C5)", + "x": 7.5, + "y": 1 + }, + { + "label": "K19 (B1,C6)", + "x": 8.5, + "y": 1 + }, + { + "label": "K1A (B1,C7)", + "x": 9.5, + "y": 1 + }, + { + "label": "K1B (B1,D0)", + "x": 10.5, + "y": 1 + }, + { + "label": "K1C (B1,D1)", + "x": 11.5, + "y": 1 + }, + { + "label": "K1D (B1,D2)", + "x": 12.5, + "y": 1 + }, + { + "label": "K1E (B1,D3)", + "x": 13.5, + "y": 1, + "w": 1.5 + }, + { + "label": "K1F (B1,D4)", + "x": 15, + "y": 1 + }, + { + "label": "K20 (B2,B5)", + "x": 0, + "y": 2, + "w": 1.75 + }, + { + "label": "K22 (B2,B7)", + "x": 1.75, + "y": 2 + }, + { + "label": "K23 (B2,C0)", + "x": 2.75, + "y": 2 + }, + { + "label": "K24 (B2,C1)", + "x": 3.75, + "y": 2 + }, + { + "label": "K25 (B2,C2)", + "x": 4.75, + "y": 2 + }, + { + "label": "K26 (B2,C3)", + "x": 5.75, + "y": 2 + }, + { + "label": "K27 (B2,C4)", + "x": 6.75, + "y": 2 + }, + { + "label": "K28 (B2,C5)", + "x": 7.75, + "y": 2 + }, + { + "label": "K29 (B2,C6)", + "x": 8.75, + "y": 2 + }, + { + "label": "K2A (B2,C7)", + "x": 9.75, + "y": 2 + }, + { + "label": "K2B (B2,D0)", + "x": 10.75, + "y": 2 + }, + { + "label": "K2C (B2,D1)", + "x": 11.75, + "y": 2 + }, + { + "label": "K2D (B2,D2)", + "x": 12.75, + "y": 2, + "w": 2.25 + }, + { + "label": "K2F (B2,D4)", + "x": 15, + "y": 2 + }, + { + "label": "K31 (B3,B6)", + "x": 0, + "y": 3, + "w": 2.25 + }, + { + "label": "K32 (B3,B7)", + "x": 2.25, + "y": 3 + }, + { + "label": "K33 (B3,C0)", + "x": 3.25, + "y": 3 + }, + { + "label": "K34 (B3,C1)", + "x": 4.25, + "y": 3 + }, + { + "label": "K35 (B3,C2)", + "x": 5.25, + "y": 3 + }, + { + "label": "K36 (B3,C3)", + "x": 6.25, + "y": 3 + }, + { + "label": "K37 (B3,C4)", + "x": 7.25, + "y": 3 + }, + { + "label": "K38 (B3,C5)", + "x": 8.25, + "y": 3 + }, + { + "label": "K39 (B3,C6)", + "x": 9.25, + "y": 3 + }, + { + "label": "K3A (B3,C7)", + "x": 10.25, + "y": 3 + }, + { + "label": "K3B (B3,D0)", + "x": 11.25, + "y": 3 + }, + { + "label": "K3D (B3,D2)", + "x": 12.25, + "y": 3, + "w": 1.75 + }, + { + "label": "K3E (B3,D3)", + "x": 14, + "y": 3 + }, + { + "label": "K3F (B3,D4)", + "x": 15, + "y": 3 + }, + { + "label": "K40 (B4,B5)", + "x": 0, + "y": 4, + "w": 1.25 + }, + { + "label": "K41 (B4,B6)", + "x": 1.25, + "y": 4, + "w": 1.25 + }, + { + "label": "K43 (B4,C0)", + "x": 2.5, + "y": 4, + "w": 1.25 + }, + { + "label": "K46 (B4,C3)", + "x": 3.75, + "y": 4, + "w": 6.25 + }, + { + "label": "K4A (B4,C7)", + "x": 10, + "y": 4, + "w": 1.25 + }, + { + "label": "K4B (B4,D0)", + "x": 11.25, + "y": 4, + "w": 1.25 + }, + { + "label": "K4D (B4,D2)", + "x": 13, + "y": 4 + }, + { + "label": "K4E (B4,D3)", + "x": 14, + "y": 4 + }, + { + "label": "K4F (B4,D4)", + "x": 15, + "y": 4 + } + ] + } + }, + "meta": "https://noroadsleft.github.io/kbf_qmk_converter/" +}
\ 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 0000000000..aaed418709 --- /dev/null +++ b/keyboards/handwired/3dfoxc/keymaps/default/keymap.c @@ -0,0 +1,69 @@ +/* Copyright 2022 david l goodrich <dlg@dsrw.org> + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + */ + +#include QMK_KEYBOARD_H + +enum custom_layers { + _BL, + _FL, +}; + +const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { + + /* Keymap _BL: (Base Layer) Default Layer + * ,---------------------------------------------------------------. + * |Esc| 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 0 | - | = | \ |~` |???| + * |---------------------------------------------------------------| + * |Tab | Q | W | E | R | T | Y | U | I | O | P | [ | ] |Bkspc|Del| + * |---------------------------------------------------------------| + * |Ctrl | A | S | D | F | G | H | J | K | L | ; | ' | Enter |PUp| + * |---------------------------------------------------------------| + * |Shift | Z | X | C | V | B | N | M | , | . | / |Shift |Up |PDn| + * |---------------------------------------------------------------| + * |Ctrl|Win |Alt | Space |Alt |Fn ||Lt |Dn |Rt | + * `--------------------------------------------------''-----------' + */ + + [_BL] = LAYOUT( + 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, + 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, + 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, + 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, + KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_LALT, MO(_FL), KC_LEFT, KC_DOWN, KC_RGHT + ), + + /* Keymap _FL: Function Layer + * ,---------------------------------------------------------------. + * | |F1 |F2 |F3 |F4 |F5 |F6 |F7 |F8 |F9 |F10|F11|F12| |RST| | + * |---------------------------------------------------------------| + * | | | | | | | | | | |PSc| | |Del |Ins| + * |---------------------------------------------------------------| + * | | | | | | | | | | | | | |Hme| + * |---------------------------------------------------------------| + * | | | | | | | |MUT|V- |V+ | | |PUp|End| + * |---------------------------------------------------------------| + * | | | | | | ||Hme|PDn|End| + * `--------------------------------------------------''-----------' + */ + [_FL] = LAYOUT( + _______, 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, _______, + _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_PSCR, _______, _______, KC_DEL, KC_INS, + _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_HOME, + _______, _______, _______, _______, _______, _______, _______, KC_MUTE, KC_VOLD, KC_VOLU, _______, _______, KC_PGUP, KC_END, + _______, _______, _______, _______, _______, _______, KC_HOME, KC_PGDN, KC_END + ) +}; +
\ 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 0000000000..26ced1cb91 --- /dev/null +++ b/keyboards/handwired/3dfoxc/keymaps/default/readme.md @@ -0,0 +1,3 @@ +# 3dfoxc "Default" keymap + +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 0000000000..d824330b04 --- /dev/null +++ b/keyboards/handwired/3dfoxc/keymaps/dlg/config.h @@ -0,0 +1,19 @@ +/* Copyright 2022 david l goodrich <dlg@dsrw.org> + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + */ + +#pragma once + +#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 0000000000..c4431acecc --- /dev/null +++ b/keyboards/handwired/3dfoxc/keymaps/dlg/keymap.c @@ -0,0 +1,112 @@ +/* Copyright 2022 david l goodrich <dlg@dsrw.org> + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + */ + +#include QMK_KEYBOARD_H + +enum custom_layers { + _BL, + _FL, + _MAC, + _LA, +}; + +const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { + + /* Keymap _BL: (Base Layer) Default Layer + * ,---------------------------------------------------------------. + * |~` | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 0 | - | = |Bks|???|Esc| + * |---------------------------------------------------------------| + * |Tab | Q | W | E | R | T | Y | U | I | O | P | [ | ] | \ |Del| + * |---------------------------------------------------------------| + * |Ctrl | A | S | D | F | G | H | J | K | L | ; | ' | Enter |PUp| + * |---------------------------------------------------------------| + * |Shift | Z | X | C | V | B | N | M | , | . | / |Shift |Up |PDn| + * |---------------------------------------------------------------| + * |Ctrl|Win |Alt | Space |Alt |Fn ||Lt |Dn |Rt | + * `--------------------------------------------------''-----------' + */ + [_BL] = LAYOUT( + 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, + 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, + 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, + 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, + KC_LCTL, KC_LGUI, LM(_LA, MOD_LALT), KC_SPC, KC_LALT, MO(_FL), KC_LEFT, KC_DOWN, KC_RGHT + ), + + /* Keymap _FL: Function Layer + * ,---------------------------------------------------------------. + * | |F1 |F2 |F3 |F4 |F5 |F6 |F7 |F8 |F9 |F10|F11|F12|Del|RST| | + * |---------------------------------------------------------------| + * | | | | | | | | |mac| |PSc|Br-|Br+| |Ins| + * |---------------------------------------------------------------| + * | | | | | | |Lt |Dn |Up |Rt | | | |Hme| + * |---------------------------------------------------------------| + * | | | | | | | |MUT|V- |V+ | | |PUp|End| + * |---------------------------------------------------------------| + * | | | | | | ||Hme|PDn|End| + * `--------------------------------------------------''-----------' + */ + [_FL] = LAYOUT( + _______, 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, _______, + _______, _______, _______, _______, _______, _______, _______, _______, TG(_MAC),_______, KC_PSCR, KC_BRID, KC_BRIU, _______, KC_INS, + _______, _______, _______, _______, _______, _______, KC_LEFT, KC_DOWN, KC_UP, KC_RGHT, _______, _______, _______, KC_HOME, + _______, _______, _______, _______, _______, _______, _______, KC_MUTE, KC_VOLD, KC_VOLU, _______, _______, KC_PGUP, KC_END, + _______, _______, _______, _______, _______, _______, KC_HOME, KC_PGDN, KC_END + ), + + /* Keymap _MAC: Mac Layer + * ,---------------------------------------------------------------. + * | | | | | | | | | | | | | | | | | + * |---------------------------------------------------------------| + * | | | | | | | | | | | | | | | | + * |---------------------------------------------------------------| + * | | | | | | | | | | | | | | | + * |---------------------------------------------------------------| + * | | | | | | | | | | | | | | | + * |---------------------------------------------------------------| + * |Ctrl|Alt |Win | |Win | || | | | + * `--------------------------------------------------''-----------' + */ + [_MAC] = LAYOUT( + _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, + _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, + _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, + _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, + KC_LCTL, KC_LALT, KC_LGUI, _______, KC_RGUI, _______, _______, _______, _______ + ), + + /* Keymap _LA: Left Alt Layer - LALT-4 maps to LALT-F4 so I can quit apps + * ,---------------------------------------------------------------. + * | | | | |F4 | | | | | | | | | | | | + * |---------------------------------------------------------------| + * | | | | | | | | | | | | | | | | + * |---------------------------------------------------------------| + * | | | | | | | | | | | | | | | + * |---------------------------------------------------------------| + * | | | | | | | | | | | | | | | + * |---------------------------------------------------------------| + * | | | | | | || | | | + * `--------------------------------------------------''-----------' + */ + [_LA] = LAYOUT( + _______, _______, _______, _______, KC_F4, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, + _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, + _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, + _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, + _______, _______, _______, _______, _______, _______, _______, _______, _______ + ) + +}; diff --git a/keyboards/handwired/3dfoxc/keymaps/dlg/readme.md b/keyboards/handwired/3dfoxc/keymaps/dlg/readme.md new file mode 100755 index 0000000000..487086e572 --- /dev/null +++ b/keyboards/handwired/3dfoxc/keymaps/dlg/readme.md @@ -0,0 +1,73 @@ +# dlg's layout + +Inspired heavily by [my tada68 layout](https://github.com/qmk/qmk_firmware/tree/master/keyboards/tada68/keymaps/dlg). + +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. + + +### Base Layer + +``` +,---------------------------------------------------------------. +|~` | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 0 | - | = |Bks|???|Esc| +|---------------------------------------------------------------| +|Tab | Q | W | E | R | T | Y | U | I | O | P | [ | ] | \ |Del| +|---------------------------------------------------------------| +|Ctrl | A | S | D | F | G | H | J | K | L | ; | ' | Enter |PUp| +|---------------------------------------------------------------| +|Shift | Z | X | C | V | B | N | M | , | . | / |Shift |Up |PDn| +|---------------------------------------------------------------| +|Ctrl|Win |Alt | Space |Alt |Fn ||Lt |Dn |Rt | +`--------------------------------------------------''-----------' +``` + + +### Fn Layer + +``` +,---------------------------------------------------------------. +| |F1 |F2 |F3 |F4 |F5 |F6 |F7 |F8 |F9 |F10|F11|F12|Del|RST| | +|---------------------------------------------------------------| +| | | | | | | | |mac| |PSc|Br-|Br+| |Ins| +|---------------------------------------------------------------| +| | | | | | |Lt |Dn |Up |Rt | | | |Hme| +|---------------------------------------------------------------| +| | | | | | | |MUT|V- |V+ | | |PUp|End| +|---------------------------------------------------------------| +| | | | | | ||Hme|PDn|End| +`--------------------------------------------------''-----------' +``` + +### Mac Layer + +``` +,---------------------------------------------------------------. +| | | | | | | | | | | | | | | | | +|---------------------------------------------------------------| +| | | | | | | | | | | | | | | | +|---------------------------------------------------------------| +| | | | | | | | | | | | | | | +|---------------------------------------------------------------| +| | | | | | | | | | | | | | | +|---------------------------------------------------------------| +|Ctrl|Alt |Win | |Win | || | | | +`--------------------------------------------------''-----------' +``` + +### `LALT` Layer + +Left Alt Layer - LALT-4 maps to LALT-F4 so I can quit apps + +``` +,---------------------------------------------------------------. +| | | | |F4 | | | | | | | | | | | | +|---------------------------------------------------------------| +| | | | | | | | | | | | | | | | +|---------------------------------------------------------------| +| | | | | | | | | | | | | | | +|---------------------------------------------------------------| +| | | | | | | | | | | | | | | +|---------------------------------------------------------------| +| | | | | | || | | | +`--------------------------------------------------''-----------' +``` diff --git a/keyboards/handwired/3dfoxc/readme.md b/keyboards/handwired/3dfoxc/readme.md new file mode 100644 index 0000000000..3d6e33a5c1 --- /dev/null +++ b/keyboards/handwired/3dfoxc/readme.md @@ -0,0 +1,42 @@ +# 3dfoxc + +![3dfoxc](https://cdn.thingiverse.com/assets/12/3a/3e/5f/47/64A223C2-57E8-4124-B6AB-3031A0BA7973.jpeg) + +A [3d-printed whitefox](https://www.thingiverse.com/thing:2952008) with an Elite-C microcontroller. + +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. + +* Keyboard Maintainer: [david l goodrich](mailto:dlg@dsrw.org) +* Hardware Supported: + * [3d-printed whitefox](https://www.thingiverse.com/thing:2952008) + * Elite-C microcontroller +* 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) + +## Wiring + +Badly, because I have never done this before. Build pics available upon request, I guess. + +![wiring diagram](https://user-images.githubusercontent.com/6492494/148123622-36cae91e-97f3-40f7-a6fc-4d59b1a3ef02.png) + + +## Flashing + +Make example for this keyboard (after setting up your build environment): + + make handwired/3dfoxc:default + +Flashing example for this keyboard (use the `dfu` target for the Elite-C!): + + make handwired/3dfoxc:default:dfu + +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). + +## Bootloader + +Enter the bootloader in 3 ways: + +* **Bootmagic reset**: Hold down the key at (0,0) in the matrix (usually the top left key or Escape) and plug in the keyboard +* **Physical reset button**: Briefly press the button on the back of the PCB - some may have pads you must short instead +* **Keycode in layout**: Press the key mapped to `RESET` if it is available + + diff --git a/keyboards/handwired/3dfoxc/rules.mk b/keyboards/handwired/3dfoxc/rules.mk new file mode 100644 index 0000000000..168a617754 --- /dev/null +++ b/keyboards/handwired/3dfoxc/rules.mk @@ -0,0 +1,18 @@ +# MCU name +MCU = atmega32u4 + +# Bootloader selection +BOOTLOADER = atmel-dfu + +# Build Options +# change yes to no to disable +# +BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite +MOUSEKEY_ENABLE = no # Mouse keys +EXTRAKEY_ENABLE = yes # Audio control and System control +CONSOLE_ENABLE = yes # Console for debug +COMMAND_ENABLE = yes # Commands for debug and configuration +NKRO_ENABLE = yes # Enable N-Key Rollover +BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality |