Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add 'dactyl_tracer' keyboard #20993

Merged
merged 20 commits into from
Sep 23, 2023
Merged
Show file tree
Hide file tree
Changes from 9 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions keyboards/handwired/dactyl_tracer/config.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
// Copyright 2022 mjohns
// SPDX-License-Identifier: GPL-2.0-or-later

/* Set 0 if debouncing isn't needed */
#define DEBOUNCE 15

dunk2k marked this conversation as resolved.
Show resolved Hide resolved
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
#define LOCKING_SUPPORT_ENABLE
/* Locking resynchronize hack */
#define LOCKING_RESYNC_ENABLE

/* Enables This makes it easier for fast typists to use dual-function keys */
#define PERMISSIVE_HOLD
145 changes: 145 additions & 0 deletions keyboards/handwired/dactyl_tracer/info.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,145 @@
{
"keyboard_name": "Dactyl Tracer",
"manufacturer": "mjohns",
"url": "https://github.com/mjohns/tracer",
"maintainer": "mjohns",
"usb": {
"vid": "0xFEED",
"pid": "0x1307",
"device_version": "0.0.1"
},
"matrix_pins": {
"cols": ["C6", "D7", "E6", "B4", "B5"],
"rows": ["F7", "B1", "B3", "B2", "B6"]
},
"diode_direction": "COL2ROW",
dunk2k marked this conversation as resolved.
Show resolved Hide resolved
"ws2812": {
"pin": "D3"
},
"development_board": "pro_micro",
"split": {
"enabled": true,
"soft_serial_pin": "D0"
},
"features": {
"bootmagic": true,
"command": true,
"console": false,
"mousekey": true,
"extrakey": true,
"audio": false,
"rgblight": false,
"backlight": false,
"nkro": false
},
"community_layouts": ["split_3x5_3"],
"layouts": {
"LAYOUT" : {
"layout": [
{"matrix": [0, 0], "x": 0, "y": 0.25},
{"matrix": [0, 1], "x": 1, "y": 0},
{"matrix": [0, 2], "x": 2, "y": 0},
{"matrix": [0, 3], "x": 3, "y": 0},
{"matrix": [0, 4], "x": 4, "y": 0},

{"matrix": [5, 0], "x": 9, "y": 0},
{"matrix": [5, 1], "x": 10, "y": 0},
{"matrix": [5, 2], "x": 11, "y": 0},
{"matrix": [5, 3], "x": 12, "y": 0},
{"matrix": [5, 4], "x": 13, "y": 0.25},

{"matrix": [1, 0], "x": 0, "y": 1.5},
{"matrix": [1, 1], "x": 1, "y": 1},
{"matrix": [1, 2], "x": 2, "y": 1},
{"matrix": [1, 3], "x": 3, "y": 1},
{"matrix": [1, 4], "x": 4, "y": 1},

{"matrix": [6, 0], "x": 9, "y": 1},
{"matrix": [6, 1], "x": 10, "y": 1},
{"matrix": [6, 2], "x": 11, "y": 1},
{"matrix": [6, 3], "x": 12, "y": 1},
{"matrix": [6, 4], "x": 13, "y": 1.5},

{"matrix": [2, 0], "x": 0, "y": 2.5},
{"matrix": [2, 1], "x": 1, "y": 2},
{"matrix": [2, 2], "x": 2, "y": 2},
{"matrix": [2, 3], "x": 3, "y": 2},
{"matrix": [2, 4], "x": 4, "y": 2},

{"matrix": [7, 0], "x": 9, "y": 2},
{"matrix": [7, 1], "x": 10, "y": 2},
{"matrix": [7, 2], "x": 11, "y": 2},
{"matrix": [7, 3], "x": 12, "y": 2},
{"matrix": [7, 4], "x": 13, "y": 2.5},

{"matrix": [3, 1], "x": 1, "y": 3},
{"matrix": [3, 2], "x": 2, "y": 3},

{"matrix": [3, 4], "x": 5, "y": 3.25},

{"matrix": [8, 0], "x": 8, "y": 3.25},

{"matrix": [8, 2], "x": 11, "y": 3},
{"matrix": [8, 3], "x": 12, "y": 3},

{"matrix": [4, 2], "x": 3, "y": 4 },
{"matrix": [3, 3], "x": 4, "y": 4 },
{"matrix": [4, 4], "x": 5, "y": 4.25},

{"matrix": [9, 0], "x": 8, "y": 4.25},
{"matrix": [8, 1], "x": 9, "y": 4},
{"matrix": [9, 2], "x": 10, "y": 4},

{"matrix": [4, 3], "x": 4.5, "y": 5.25},
{"matrix": [9, 1], "x": 8.5, "y": 5.25}
]
},
"LAYOUT_split_3x5_3" : {
"layout": [
{"matrix": [0, 0], "x": 0, "y": 0.25},
{"matrix": [0, 1], "x": 1, "y": 0},
{"matrix": [0, 2], "x": 2, "y": 0},
{"matrix": [0, 3], "x": 3, "y": 0},
{"matrix": [0, 4], "x": 4, "y": 0},

{"matrix": [5, 0], "x": 9, "y": 0},
{"matrix": [5, 1], "x": 10, "y": 0},
{"matrix": [5, 2], "x": 11, "y": 0},
{"matrix": [5, 3], "x": 12, "y": 0},
{"matrix": [5, 4], "x": 13, "y": 0.25},

{"matrix": [1, 0], "x": 0, "y": 1.5},
{"matrix": [1, 1], "x": 1, "y": 1},
{"matrix": [1, 2], "x": 2, "y": 1},
{"matrix": [1, 3], "x": 3, "y": 1},
{"matrix": [1, 4], "x": 4, "y": 1},

{"matrix": [6, 0], "x": 9, "y": 1},
{"matrix": [6, 1], "x": 10, "y": 1},
{"matrix": [6, 2], "x": 11, "y": 1},
{"matrix": [6, 3], "x": 12, "y": 1},
{"matrix": [6, 4], "x": 13, "y": 1.5},

{"matrix": [2, 0], "x": 0, "y": 2.5},
{"matrix": [2, 1], "x": 1, "y": 2},
{"matrix": [2, 2], "x": 2, "y": 2},
{"matrix": [2, 3], "x": 3, "y": 2},
{"matrix": [2, 4], "x": 4, "y": 2},

{"matrix": [7, 0], "x": 9, "y": 2},
{"matrix": [7, 1], "x": 10, "y": 2},
{"matrix": [7, 2], "x": 11, "y": 2},
{"matrix": [7, 3], "x": 12, "y": 2},
{"matrix": [7, 4], "x": 13, "y": 2.5},

{"matrix": [4, 2], "x": 3, "y": 4 },
{"matrix": [3, 3], "x": 4, "y": 4 },
{"matrix": [4, 4], "x": 5, "y": 4.25},

{"matrix": [9, 0], "x": 8, "y": 4.25},
{"matrix": [8, 1], "x": 9, "y": 4},
{"matrix": [9, 2], "x": 10, "y": 4}
]
}
}
}
13 changes: 13 additions & 0 deletions keyboards/handwired/dactyl_tracer/keymaps/default/config.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
// Copyright 2022 mjohns
// SPDX-License-Identifier: GPL-2.0-or-later

/* mouse config */
dunk2k marked this conversation as resolved.
Show resolved Hide resolved
#define MOUSEKEY_INTERVAL 20
#define MOUSEKEY_DELAY 0
#define MOUSEKEY_TIME_TO_MAX 60
#define MOUSEKEY_MAX_SPEED 7
#define MOUSEKEY_WHEEL_DELAY 0

#define TAPPING_TERM 200

#define MASTER_RIGHT
59 changes: 59 additions & 0 deletions keyboards/handwired/dactyl_tracer/keymaps/default/keymap.c
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
// Copyright 2022 mjohns
// SPDX-License-Identifier: GPL-2.0-or-later

#include QMK_KEYBOARD_H

enum custom_layers {
_BASE,
_RAISE,
_LOWER,
_SYS
};

#define MG_A LGUI_T(KC_A)
#define MA_S LALT_T(KC_S)
#define MC_D LCTL_T(KC_D)
#define MS_F LSFT_T(KC_F)
#define MS_J RSFT_T(KC_J)
#define MC_K RCTL_T(KC_K)
#define MA_L LALT_T(KC_L)
#define MG_SCLN RGUI_T(KC_SCLN)
#define APP_N LALT(KC_TAB)
#define APP_P LSA(KC_TAB)

const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
[_BASE] = LAYOUT(
KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P,
MG_A, MA_S, MC_D, MS_F, KC_G, KC_H, MS_J, MC_K, MA_L, MG_SCLN,
KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_QUOT,
KC_LEFT, KC_RGHT, KC_HOME, KC_END, KC_UP, KC_DOWN,
KC_TAB, KC_SPC, KC_DEL, KC_BSPC, KC_ENT, KC_ESC,
MO(1), MO(2)
),

[_RAISE] = LAYOUT(
KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9 KC_0,
KC_EXLM, KC_AT, KC_HASH, KC_DLR, KC_LBRC, KC_RBRC, KC_PERC, KC_CIRC, KC_AMPR, KC_ASTR,
KC_PIPE, KC_GRV, KC_BSLS, KC_LPRN, KC_LCBR, KC_RCBR, KC_RPRN, KC_SLSH, KC_QUES, KC_TILD,
KC_MINS, KC_PLUS, KC_NO, KC_LALT, KC_EQL, KC_UNDS,
KC_NO_, KC_NO, KC_NO, KC_RCTL, KC_RSFT, KC_RGUI,
KC_TRNS, MO(3)
),

[_LOWER] = LAYOUT(
KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10,
KC_F11, KC_INS, KC_PAUS, KC_PGUP, KC_PSCR, KC_MUTE, KC_VOLU, KC_MNXT, KC_MPRV, KC_F12,
KC_SCRL, KC_NO, KC_NO, KC_PGDN, KC_NO, KC_NO, KC_VOLD, KC_MPLY, KC_MSTP, KC_NO,
KC_BRID, KC_BRIU, KC_LALT, KC_NO, APP_N, APP_P,
KC_LGUI, KC_LSFT, KC_LCTL, KC_NO, KC_NO, KC_NO,
), MO(3), KC_TRNS

[_SYS] = LAYOUT(
KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO,
KC_NO, QK_BOOT, KC_NO, KC_NO, KC_NO, KC_NO, KC_SLEP, KC_NO, KC_NO, KC_NO,
KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO,
KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO,
KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO,
KC_TRNS, KC_TRNS
),
};
13 changes: 13 additions & 0 deletions keyboards/handwired/dactyl_tracer/keymaps/via/config.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
// Copyright 2022 mjohns
// SPDX-License-Identifier: GPL-2.0-or-later

/* mouse config */
dunk2k marked this conversation as resolved.
Show resolved Hide resolved
#define MOUSEKEY_INTERVAL 20
#define MOUSEKEY_DELAY 0
#define MOUSEKEY_TIME_TO_MAX 60
#define MOUSEKEY_MAX_SPEED 7
#define MOUSEKEY_WHEEL_DELAY 0

#define TAPPING_TERM 200

#define MASTER_RIGHT
59 changes: 59 additions & 0 deletions keyboards/handwired/dactyl_tracer/keymaps/via/keymap.c
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
// Copyright 2022 mjohns
// SPDX-License-Identifier: GPL-2.0-or-later

#include QMK_KEYBOARD_H

enum custom_layers {
_BASE,
_RAISE,
_LOWER,
_SYS
};

#define MG_A LGUI_T(KC_A)
#define MA_S LALT_T(KC_S)
#define MC_D LCTL_T(KC_D)
#define MS_F LSFT_T(KC_F)
#define MS_J RSFT_T(KC_J)
#define MC_K RCTL_T(KC_K)
#define MA_L LALT_T(KC_L)
#define MG_SCLN RGUI_T(KC_SCLN)
#define APP_N LALT(KC_TAB)
#define APP_P LSA(KC_TAB)

const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
[_BASE] = LAYOUT(
KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P,
MG_A, MA_S, MC_D, MS_F, KC_G, KC_H, MS_J, MC_K, MA_L, MG_SCLN,
KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_QUOT,
KC_LEFT, KC_RGHT, KC_HOME, KC_END, KC_UP, KC_DOWN,
KC_TAB, KC_SPC, KC_DEL, KC_BSPC, KC_ENT, KC_ESC,
MO(1), MO(2)
),

[_RAISE] = LAYOUT(
KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9 KC_0,
KC_EXLM, KC_AT, KC_HASH, KC_DLR, KC_LBRC, KC_RBRC, KC_PERC, KC_CIRC, KC_AMPR, KC_ASTR,
KC_PIPE, KC_GRV, KC_BSLS, KC_LPRN, KC_LCBR, KC_RCBR, KC_RPRN, KC_SLSH, KC_QUES, KC_TILD,
KC_MINS, KC_PLUS, KC_NO, KC_LALT, KC_EQL, KC_UNDS,
KC_NO_, KC_NO, KC_NO, KC_RCTL, KC_RSFT, KC_RGUI,
KC_TRNS, MO(3)
),

[_LOWER] = LAYOUT(
KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10,
KC_F11, KC_INS, KC_PAUS, KC_PGUP, KC_PSCR, KC_MUTE, KC_VOLU, KC_MNXT, KC_MPRV, KC_F12,
KC_SCRL, KC_NO, KC_NO, KC_PGDN, KC_NO, KC_NO, KC_VOLD, KC_MPLY, KC_MSTP, KC_NO,
KC_BRID, KC_BRIU, KC_LALT, KC_NO, APP_N, APP_P,
KC_LGUI, KC_LSFT, KC_LCTL, KC_NO, KC_NO, KC_NO,
), MO(3), KC_TRNS

[_SYS] = LAYOUT(
KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO,
KC_NO, QK_BOOT, KC_NO, KC_NO, KC_NO, KC_NO, KC_SLEP, KC_NO, KC_NO, KC_NO,
KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO,
KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO,
KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO,
KC_TRNS, KC_TRNS
),
};
1 change: 1 addition & 0 deletions keyboards/handwired/dactyl_tracer/keymaps/via/rules.mk
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
VIA_ENABLE = yes
34 changes: 34 additions & 0 deletions keyboards/handwired/dactyl_tracer/readme.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
# Dactyl Tracer

![DactylTracer](https://i.imgur.com/ReCBppEh.jpeg)

The Dactyl Tracer is a handwired, split bodied, concave key-well, columnar keyboard. Case design is similar to the [Dactyl CC](/keyboards/handwired/dactyl_cc) though overall design is closer to the [Dactyl ManuForm](/keyboards/handwired/dactyl_manuform/). The `Q` Key is vertically offset, from `A` key, to allow for actuation by third/ring finger.

* Keyboard Maintainer: [Michael Johns](https://github.com/mjohns)
* Hardware Supported: Pro Micro controller, or clone of
* Hardware Availability: [Case Files](https://github.com/mjohns/tracer)

Make example for this keyboard (after setting up your build environment):

make handwired/dactyl_tracer:default

Flashing example for this keyboard:

make handwired/dactyl_tracer:default:flash

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 `QK_BOOT` if it is available

## QMK Layouts

The following [community layout](/layouts/) is supported:
| Layout | Diagram |
| :---: | :---: |
| Split_3x5_3 | ![split_3x5_3](https://i.imgur.com/P3POmzbh.png) |