diff options
| author | Joseph Fass <joseph.fass@gmail.com> | 2022-09-29 20:44:25 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-09-29 20:44:25 -0700 |
| commit | 83776b44b3ee7ff95cef9481dee023d98528e5e6 (patch) | |
| tree | a20ca7efe338477639e3a12683858369f80a4598 | |
| parent | be61df0827cbd07468a6acdd9b7ce8d2e7c8094e (diff) | |
[Keyboard] Add handwired tkk diodeless keyboard (#18379)
Co-authored-by: Joel Challis <git@zvecr.com>
Co-authored-by: Drashna Jaelre <drashna@live.com>
| -rw-r--r-- | keyboards/handwired/tkk/info.json | 42 | ||||
| -rw-r--r-- | keyboards/handwired/tkk/keymaps/default/keymap.c | 53 | ||||
| -rw-r--r-- | keyboards/handwired/tkk/readme.md | 34 | ||||
| -rw-r--r-- | keyboards/handwired/tkk/rules.mk | 1 |
4 files changed, 130 insertions, 0 deletions
diff --git a/keyboards/handwired/tkk/info.json b/keyboards/handwired/tkk/info.json new file mode 100644 index 0000000000..032b2c10f7 --- /dev/null +++ b/keyboards/handwired/tkk/info.json | |||
| @@ -0,0 +1,42 @@ | |||
| 1 | { | ||
| 2 | "manufacturer": "Joe Fass", | ||
| 3 | "keyboard_name": "tkk", | ||
| 4 | "maintainer": "jfass", | ||
| 5 | "bootloader": "halfkay", | ||
| 6 | "features": { | ||
| 7 | "bootmagic": true, | ||
| 8 | "command": false, | ||
| 9 | "console": false, | ||
| 10 | "extrakey": true, | ||
| 11 | "mousekey": true, | ||
| 12 | "nkro": true | ||
| 13 | }, | ||
| 14 | "matrix_pins": { | ||
| 15 | "direct": [ | ||
| 16 | ["B0", "B1", "B2", "B3", "B7", "D0", "D1", "D2", "D3", "C6"] | ||
| 17 | ] | ||
| 18 | }, | ||
| 19 | "processor": "atmega32u4", | ||
| 20 | "url": "", | ||
| 21 | "usb": { | ||
| 22 | "device_version": "1.0.0", | ||
| 23 | "pid": "0x0000", | ||
| 24 | "vid": "0xFEED" | ||
| 25 | }, | ||
| 26 | "layouts": { | ||
| 27 | "LAYOUT_all": { | ||
| 28 | "layout": [ | ||
| 29 | { "matrix": [0, 0], "x": 0, "y": 0 }, | ||
| 30 | { "matrix": [0, 1], "x": 1, "y": 0 }, | ||
| 31 | { "matrix": [0, 2], "x": 2, "y": 0 }, | ||
| 32 | { "matrix": [0, 3], "x": 3, "y": 0 }, | ||
| 33 | { "matrix": [0, 4], "x": 4, "y": 0 }, | ||
| 34 | { "matrix": [0, 5], "x": 5, "y": 0 }, | ||
| 35 | { "matrix": [0, 6], "x": 6, "y": 0 }, | ||
| 36 | { "matrix": [0, 7], "x": 7, "y": 0 }, | ||
| 37 | { "matrix": [0, 8], "x": 8, "y": 0 }, | ||
| 38 | { "matrix": [0, 9], "x": 9, "y": 0 } | ||
| 39 | ] | ||
| 40 | } | ||
| 41 | } | ||
| 42 | } | ||
diff --git a/keyboards/handwired/tkk/keymaps/default/keymap.c b/keyboards/handwired/tkk/keymaps/default/keymap.c new file mode 100644 index 0000000000..14367413da --- /dev/null +++ b/keyboards/handwired/tkk/keymaps/default/keymap.c | |||
| @@ -0,0 +1,53 @@ | |||
| 1 | // Copyright 2022 Joe Fass (@jfass) | ||
| 2 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
| 3 | |||
| 4 | #include QMK_KEYBOARD_H | ||
| 5 | |||
| 6 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||
| 7 | /* | ||
| 8 | * L = left, R = right | ||
| 9 | * T = thumb, I = index, M = middle, R = ring, P = pinky | ||
| 10 | * | ||
| 11 | * LP, LR, LM, LI, LT, RT, RI, RM, RR, RP | ||
| 12 | * | ||
| 13 | */ | ||
| 14 | [0] = LAYOUT_all( | ||
| 15 | LT(8, KC_A), LT(7, KC_O), LT(6, KC_E), LT(5, KC_U), LT(10,KC_BSPC), LT(9, KC_SPC), LT(1, KC_H), LT(2, KC_T), LT(3, KC_N), LT(4, KC_S) | ||
| 16 | ), | ||
| 17 | [1] = LAYOUT_all( | ||
| 18 | KC_Q, KC_K, KC_J, KC_I, KC_ESC, KC_TAB, KC_NO, KC_RGUI, KC_RGUI, KC_RGUI | ||
| 19 | ), | ||
| 20 | [2] = LAYOUT_all( | ||
| 21 | KC_Z, KC_Y, KC_X, KC_P, KC_NO, KC_NO, KC_RCTL, KC_NO, KC_RCTL, KC_RCTL | ||
| 22 | ), | ||
| 23 | [3] = LAYOUT_all( | ||
| 24 | KC_QUOT, KC_COMM, KC_DOT, KC_F, KC_NO, KC_NO, KC_RALT, KC_RALT, KC_NO, KC_RALT | ||
| 25 | ), | ||
| 26 | [4] = LAYOUT_all( | ||
| 27 | KC_SCLN, KC_LPRN, KC_RPRN, KC_GRV, KC_NO, MO(11), KC_RSFT, KC_RSFT, KC_RSFT, KC_NO | ||
| 28 | ), | ||
| 29 | [5] = LAYOUT_all( | ||
| 30 | KC_LGUI, KC_LGUI, KC_LGUI, KC_NO, LGUI(KC_GRV), LGUI(KC_TAB), KC_D, KC_G, KC_C, KC_ENT | ||
| 31 | ), | ||
| 32 | [6] = LAYOUT_all( | ||
| 33 | KC_LCTL, KC_LCTL, KC_NO, KC_LCTL, KC_NO, KC_NO, KC_M, KC_B, KC_V, KC_W | ||
| 34 | ), | ||
| 35 | [7] = LAYOUT_all( | ||
| 36 | KC_LALT, KC_NO, KC_LALT, KC_LALT, KC_NO, KC_NO, KC_SLSH, KC_L, KC_R, KC_BSLS | ||
| 37 | ), | ||
| 38 | [8] = LAYOUT_all( | ||
| 39 | KC_NO, KC_LSFT, KC_LSFT, KC_LSFT, MO(11), KC_NO, KC_MINS, KC_LBRC, KC_RBRC, KC_EQL | ||
| 40 | ), | ||
| 41 | [9] = LAYOUT_all( | ||
| 42 | KC_1, KC_2, KC_3, KC_4, KC_5, KC_NO, KC_LEFT, KC_RGHT, KC_UP, KC_DOWN | ||
| 43 | ), | ||
| 44 | [10] = LAYOUT_all( | ||
| 45 | KC_PGDN, KC_PGUP, KC_HOME, KC_END, KC_NO, KC_6, KC_7, KC_8, KC_9, KC_0 | ||
| 46 | ), | ||
| 47 | [11] = LAYOUT_all( | ||
| 48 | KC_WH_D, KC_WH_U, KC_WH_L, KC_WH_R, KC_BTN2, KC_BTN1, KC_MS_L, KC_MS_R, KC_MS_U, KC_MS_D | ||
| 49 | ) | ||
| 50 | }; | ||
| 51 | |||
| 52 | |||
| 53 | |||
diff --git a/keyboards/handwired/tkk/readme.md b/keyboards/handwired/tkk/readme.md new file mode 100644 index 0000000000..2693565f84 --- /dev/null +++ b/keyboards/handwired/tkk/readme.md | |||
| @@ -0,0 +1,34 @@ | |||
| 1 | # tkk | ||
| 2 | |||
| 3 |  | ||
| 4 | |||
| 5 | This is 'tkk', a ten key split keyboard wired as a single "row," ten "column" diode-less numpad. I've been dreaming of my own ten key layout since before discovering [ASETIOP](https://asetniop.com/), and [gboard's Ginny](https://www.gboards.ca/) ... but I'm too new to QMK and too rusty with C to figure out how to modify the Ginny's layout / chording engine. So here we are. The tkk [layout](https://imgur.com/a/eQzhSgw) is built around a vaguely DVORAK-ish letter layout (with some adjustments meant to aid memorization), with "modules" for numbers, movement, modifiers, and even mouse keys. | ||
| 6 | |||
| 7 | * Keyboard Maintainer: [Joe Fass](https://github.com/jfass) | ||
| 8 | * Hardware Supported: hand-wired, ten switch diode-less keyboard, using a Teensy 2.0 | ||
| 9 | * Hardware Availability: (forget where I bought the parts, but easy to find) | ||
| 10 | |||
| 11 | Make example for this keyboard (after setting up your build environment): | ||
| 12 | |||
| 13 | make handwired/tkk:default | ||
| 14 | |||
| 15 | Or: | ||
| 16 | |||
| 17 | qmk compile -kb handwired/tkk -km default | ||
| 18 | |||
| 19 | In my build environment (Ubuntu), I needed to unset quite a few environment variables like CONDA\_BACKUP\_LDFLAGS that contained hardware options qmk didn't like, before this succeeded. | ||
| 20 | |||
| 21 | Flashing example for this keyboard: | ||
| 22 | |||
| 23 | make handwired/tkk:default:flash | ||
| 24 | |||
| 25 | 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). | ||
| 26 | |||
| 27 | ## Bootloader | ||
| 28 | |||
| 29 | Enter the bootloader in 3 ways: | ||
| 30 | |||
| 31 | * **Bootmagic reset**: Hold down the key at (0,0) in the matrix (usually the top left key or Escape) and plug in the keyboard | ||
| 32 | * **Physical reset button**: Briefly press the button on the back of the PCB - some may have pads you must short instead | ||
| 33 | * **Keycode in layout**: Press the key mapped to `RESET` if it is available | ||
| 34 | |||
diff --git a/keyboards/handwired/tkk/rules.mk b/keyboards/handwired/tkk/rules.mk new file mode 100644 index 0000000000..6e7633bfe0 --- /dev/null +++ b/keyboards/handwired/tkk/rules.mk | |||
| @@ -0,0 +1 @@ | |||
| # This file intentionally left blank | |||
