Duncan Sutherland 1 week ago
committed by GitHub
parent
commit
7791ce6870
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
34 changed files with 670 additions and 841 deletions
  1. +3
    -0
      data/mappings/keyboard_aliases.hjson
  2. +0
    -47
      keyboards/handwired/dactyl/config.h
  3. +18
    -0
      keyboards/handwired/dactyl/info.json
  4. +0
    -117
      keyboards/handwired/dactyl/keyboard.json
  5. +48
    -143
      keyboards/handwired/dactyl/keymaps/default/keymap.c
  6. +0
    -10
      keyboards/handwired/dactyl/keymaps/default/readme.md
  7. +0
    -1
      keyboards/handwired/dactyl/keymaps/default/rules.mk
  8. +10
    -0
      keyboards/handwired/dactyl/keymaps/dvorak/config.h
  9. +48
    -65
      keyboards/handwired/dactyl/keymaps/dvorak/keymap.c
  10. +0
    -1
      keyboards/handwired/dactyl/keymaps/dvorak/rules.mk
  11. +10
    -0
      keyboards/handwired/dactyl/keymaps/erincalling/config.h
  12. +47
    -76
      keyboards/handwired/dactyl/keymaps/erincalling/keymap.c
  13. +55
    -0
      keyboards/handwired/dactyl/keymaps/via/keymap.c
  14. +1
    -0
      keyboards/handwired/dactyl/keymaps/via/rules.mk
  15. +23
    -0
      keyboards/handwired/dactyl/legacy/config.h
  16. +194
    -0
      keyboards/handwired/dactyl/legacy/keyboard.json
  17. +4
    -1
      keyboards/handwired/dactyl/legacy/legacy.c
  18. +3
    -0
      keyboards/handwired/dactyl/legacy/legacy.h
  19. +4
    -18
      keyboards/handwired/dactyl/legacy/matrix.c
  20. +37
    -0
      keyboards/handwired/dactyl/legacy/readme.md
  21. +10
    -0
      keyboards/handwired/dactyl/legacy/rules.mk
  22. +119
    -0
      keyboards/handwired/dactyl/promicro/keyboard.json
  23. +14
    -0
      keyboards/handwired/dactyl/promicro/readme.md
  24. +21
    -26
      keyboards/handwired/dactyl/readme.md
  25. +1
    -5
      keyboards/handwired/dactyl/rules.mk
  26. +0
    -50
      keyboards/handwired/dactyl_promicro/config.h
  27. +0
    -23
      keyboards/handwired/dactyl_promicro/keymaps/default/config.h
  28. +0
    -68
      keyboards/handwired/dactyl_promicro/keymaps/default/keymap.c
  29. +0
    -30
      keyboards/handwired/dactyl_promicro/readme.md
  30. +0
    -46
      keyboards/handwired/dactyl_rah/config.h
  31. +0
    -47
      keyboards/handwired/dactyl_rah/keymaps/default/keymap.c
  32. +0
    -19
      keyboards/handwired/dactyl_rah/keymaps/right/config.h
  33. +0
    -47
      keyboards/handwired/dactyl_rah/keymaps/right/keymap.c
  34. +0
    -1
      keyboards/handwired/dactyl_rah/readme.md

+ 3
- 0
data/mappings/keyboard_aliases.hjson View File

@ -223,6 +223,9 @@
},
"handwired/dactyl_manuform/dmote/62key": {
"target": "handwired/dmote"
},
"handwired/dactyl_promicro": {
"target": "handwired/dactyl/promicro"
},
"handwired/ferris": {
"target": "ferris/0_1"


+ 0
- 47
keyboards/handwired/dactyl/config.h View File

@ -1,47 +0,0 @@
/*
Copyright 2012 Jun Wako <wakojun@gmail.com>
Copyright 2013 Oleg Kostyuk <cub.uanic@gmail.com>
Copyright 2017 Erin Call <hello@erincall.com>
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 DIODE_DIRECTION ROW2COL
#define MATRIX_ROWS 6
#define MATRIX_COLS 12
#define COL_EXPANDED { true, true, true, true, true, true, false, false, false, false, false, false}
#define MATRIX_ONBOARD_ROW_PINS { F0, F1, F4, F5, F6, F7 }
#define MATRIX_ONBOARD_COL_PINS { 0, 0, 0, 0, 0, 0, B1, B2, B3, D2, D3, C6 }
#define EXPANDER_COL_REGISTER GPIOA
#define EXPANDER_ROW_REGISTER GPIOB
#define MATRIX_EXPANDER_COL_PINS {0, 1, 2, 3, 4, 5}
#define MATRIX_EXPANDER_ROW_PINS {0, 1, 2, 3, 4, 5}
#define MOUSEKEY_INTERVAL 20
#define MOUSEKEY_DELAY 0
#define MOUSEKEY_TIME_TO_MAX 60
#define MOUSEKEY_MAX_SPEED 7
#define MOUSEKEY_WHEEL_DELAY 0
/* key combination for command */
#define IS_COMMAND() ( \
get_mods() == (MOD_BIT(KC_LCTL) | MOD_BIT(KC_RCTL)) || \
get_mods() == (MOD_BIT(KC_LSFT) | MOD_BIT(KC_RSFT)) \
)
/* fix space cadet rollover issue */
#define DISABLE_SPACE_CADET_ROLLOVER

+ 18
- 0
keyboards/handwired/dactyl/info.json View File

@ -0,0 +1,18 @@
{
"keyboard_name": "Dactyl",
"manufacturer": "Adereth",
"url": "https://github.com/adereth/dactyl-keyboard",
"maintainer": "qmk",
"usb": {
"vid": "0x444C"
},
"features": {
"bootmagic": true,
"command": false,
"console": false,
"extrakey": true,
"mousekey": true,
"nkro": true
},
"tags": ["split"]
}

+ 0
- 117
keyboards/handwired/dactyl/keyboard.json View File

@ -1,117 +0,0 @@
{
"keyboard_name": "Dactyl",
"manufacturer": "Adereth",
"url": "",
"maintainer": "qmk",
"usb": {
"vid": "0xFEED",
"pid": "0x1308",
"device_version": "0.0.1"
},
"processor": "atmega32u4",
"bootloader": "halfkay",
"features": {
"bootmagic": false,
"mousekey": false,
"extrakey": true,
"nkro": true,
"unicode": true,
"swap_hands": true
},
"debounce": 15,
"tapping": {
"toggle": 1
},
"layouts": {
"LAYOUT_dactyl": {
"layout": [
{"matrix": [0, 0], "x": 0, "y": 0},
{"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": [0, 5], "x": 5, "y": 0},
{"matrix": [1, 0], "x": 0, "y": 1},
{"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": [1, 5], "x": 5, "y": 1},
{"matrix": [2, 0], "x": 0, "y": 2},
{"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": [2, 5], "x": 5, "y": 2},
{"matrix": [3, 0], "x": 0, "y": 3},
{"matrix": [3, 1], "x": 1, "y": 3},
{"matrix": [3, 2], "x": 2, "y": 3},
{"matrix": [3, 3], "x": 3, "y": 3},
{"matrix": [3, 4], "x": 4, "y": 3},
{"matrix": [3, 5], "x": 5, "y": 3},
{"matrix": [4, 0], "x": 0, "y": 4},
{"matrix": [4, 1], "x": 1, "y": 4},
{"matrix": [4, 2], "x": 2, "y": 4},
{"matrix": [4, 3], "x": 3, "y": 4},
{"matrix": [4, 4], "x": 4, "y": 4},
{"matrix": [5, 5], "x": 6, "y": 5},
{"matrix": [5, 0], "x": 7, "y": 5},
{"matrix": [5, 4], "x": 7, "y": 6},
{"matrix": [5, 3], "x": 5, "y": 6, "h": 2},
{"matrix": [5, 2], "x": 6, "y": 6, "h": 2},
{"matrix": [5, 1], "x": 7, "y": 7},
{"matrix": [0, 6], "x": 11, "y": 0},
{"matrix": [0, 7], "x": 12, "y": 0},
{"matrix": [0, 8], "x": 13, "y": 0},
{"matrix": [0, 9], "x": 14, "y": 0},
{"matrix": [0, 10], "x": 15, "y": 0},
{"matrix": [0, 11], "x": 16, "y": 0},
{"matrix": [1, 6], "x": 11, "y": 1},
{"matrix": [1, 7], "x": 12, "y": 1},
{"matrix": [1, 8], "x": 13, "y": 1},
{"matrix": [1, 9], "x": 14, "y": 1},
{"matrix": [1, 10], "x": 15, "y": 1},
{"matrix": [1, 11], "x": 16, "y": 1},
{"matrix": [2, 6], "x": 11, "y": 2},
{"matrix": [2, 7], "x": 12, "y": 2},
{"matrix": [2, 8], "x": 13, "y": 2},
{"matrix": [2, 9], "x": 14, "y": 2},
{"matrix": [2, 10], "x": 15, "y": 2},
{"matrix": [2, 11], "x": 16, "y": 2},
{"matrix": [3, 6], "x": 11, "y": 3},
{"matrix": [3, 7], "x": 12, "y": 3},
{"matrix": [3, 8], "x": 13, "y": 3},
{"matrix": [3, 9], "x": 14, "y": 3},
{"matrix": [3, 10], "x": 15, "y": 3},
{"matrix": [3, 11], "x": 16, "y": 3},
{"matrix": [4, 7], "x": 12, "y": 4},
{"matrix": [4, 8], "x": 13, "y": 4},
{"matrix": [4, 9], "x": 14, "y": 4},
{"matrix": [4, 10], "x": 15, "y": 4},
{"matrix": [4, 11], "x": 16, "y": 4},
{"matrix": [5, 11], "x": 9, "y": 5},
{"matrix": [5, 6], "x": 10, "y": 5},
{"matrix": [5, 7], "x": 9, "y": 6},
{"matrix": [5, 10], "x": 9, "y": 7},
{"matrix": [5, 9], "x": 10, "y": 6, "h": 2},
{"matrix": [5, 8], "x": 11, "y": 6, "h": 2}
]
}
}
}

+ 48
- 143
keyboards/handwired/dactyl/keymaps/default/keymap.c View File

@ -1,150 +1,55 @@
#include QMK_KEYBOARD_H
#include "version.h"
// Copyright 2017 Matthew Adereth
// SPDX-License-Identifier: GPL-2.0-or-later
#define BASE 0 // default layer
#define SYMB 1 // symbols
#define MDIA 2 // media keys
#include QMK_KEYBOARD_H
enum custom_keycodes {
PLACEHOLDER = SAFE_RANGE, // ensure these codes start after the highest keycode defined in Quantum
VRSN,
enum layers {
_QWERTY,
_LOWER,
_RAISE
};
#define RAISE MO(_RAISE)
#define LOWER MO(_LOWER)
#define ONE_GRV LT(_LOWER, KC_GRAVE)
#define CTL_Z LCTL_T(KC_Z)
#define ALT_SHFT LALT(KC_LSFT)
#define ALT_MENU LALT_T(KC_MENU)
#define LG_QUOT LGUI_T(KC_QUOT)
#define CTL_ESC LCTL_T(KC_ESC)
#define CTL_SLS LCTL_T(KC_SLSH)
#define LT2_COL LT(_RAISE, KC_SCLN)
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
/* Keymap 0: Basic layer
*
* ,-----------------------------------------. ,-----------------------------------------.
* | = | 1 | 2 | 3 | 4 | 5 | | 6 | 7 | 8 | 9 | 0 | - |
* |------+------+------+------+------+------| |------+------+------+------+------+------|
* | Del | Q | W | E | R | T | | Y | U | I | O | P | \ |
* |------+------+------+------+------+------| |------+------+------+------+------+------|
* | BkSp | A | S | D | F | G | | H | J | K | L |; / L2|'/Cmd |
* |------+------+------+------+------+------| |------+------+------+------+------+------|
* |LShift|Z/Ctrl| X | C | V | B | | N | M | , | . |//Ctrl|RShift|
* |------+------+------+------+------+------' `------+------+------+------+------+------|
* |Grv/L1| '" |AltShf| Left | Right| | Up | Down | [ | ] | ~L1 |
* `----------------------------------' `----------------------------------'
* ,-------------. ,-------------.
* | App | LGui | | Alt | ^/Esc|
* ,------|------|------| |------+------+------.
* | | | Home | | PgUp | | |
* | Space|Backsp|------| |------| Tab |Enter |
* | |ace | End | | PgDn | | |
* `--------------------' `--------------------'
*/
[BASE] = LAYOUT_dactyl( // layer 0 : default
// left hand
KC_EQL, KC_1, KC_2, KC_3, KC_4, KC_5,
KC_DEL, KC_Q, KC_W, KC_E, KC_R, KC_T,
KC_BSPC, KC_A, KC_S, KC_D, KC_F, KC_G,
KC_LSFT, CTL_T(KC_Z), KC_X, KC_C, KC_V, KC_B,
LT(SYMB,KC_GRV), KC_QUOT, LALT(KC_LSFT), KC_LEFT, KC_RGHT,
ALT_T(KC_APP), KC_LGUI,
KC_HOME,
KC_SPC, KC_BSPC, KC_END,
// right hand
KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS,
KC_Y, KC_U, KC_I, KC_O, KC_P, KC_BSLS,
KC_H, KC_J, KC_K, KC_L, LT(MDIA, KC_SCLN), GUI_T(KC_QUOT),
KC_N, KC_M, KC_COMM, KC_DOT, CTL_T(KC_SLSH), KC_RSFT,
KC_UP, KC_DOWN, KC_LBRC, KC_RBRC, TT(SYMB),
KC_RALT, CTL_T(KC_ESC),
KC_PGUP,
KC_PGDN, KC_TAB, KC_ENT
[_QWERTY] = LAYOUT(
KC_EQL, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_BSPC,
KC_DEL, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_MINS,
KC_BSPC, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, LT2_COL, LG_QUOT,
KC_LSFT, CTL_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, CTL_SLS, KC_RSFT,
ONE_GRV, KC_QUOT, ALT_SHFT, KC_LEFT, KC_RGHT, KC_UP, KC_DOWN, KC_LBRC, KC_RBRC, TT(_LOWER),
ALT_MENU, KC_LGUI, KC_RALT, CTL_ESC,
KC_SPC, KC_BSPC, KC_HOME, KC_PGUP, KC_TAB, KC_ENT,
KC_END, KC_PGDN
),
[_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_EXLM, KC_AT, KC_LBRC, KC_RBRC, KC_PIPE, KC_UP, KC_P7, KC_P8, KC_P9, KC_PAST, KC_F12,
_______, KC_HASH, KC_DLR, KC_LPRN, KC_RPRN, KC_GRV, KC_DOWN, KC_P4, KC_P5, KC_P6, KC_PPLS, _______,
_______, KC_PERC, KC_CIRC, KC_LBRC, KC_RBRC, KC_TILD, KC_AMPR, KC_P1, KC_P2, KC_P3, KC_PSLS, _______,
QK_BOOT, _______, _______, _______, _______, _______, KC_PDOT, KC_P0, KC_PEQL, _______,
_______, _______, _______, _______,
_______, _______, _______, _______, _______, _______,
_______, _______
),
/* Keymap 1: Symbol Layer
*
* ,-----------------------------------------. ,-----------------------------------------.
* |Versn | F1 | F2 | F3 | F4 | F5 | | F6 | F7 | F8 | F9 | F10 | F11 |
* |------+------+------+------+------+------| |------+------+------+------+------+------|
* | | ! | @ | { | } | | | | Up | 7 | 8 | 9 | * | F12 |
* |------+------+------+------+------+------| |------+------+------+------+------+------|
* | | # | $ | ( | ) | ` | | Down | 4 | 5 | 6 | + | |
* |------+------+------+------+------+------| |------+------+------+------+------+------|
* | | % | ^ | [ | ] | ~ | | & | 1 | 2 | 3 | \ | |
* |------+------+------+------+------+------' `------+------+------+------+------+------|
* |QK_BOOT | | | | | | | . | 0 | = | |
* `----------------------------------' `----------------------------------'
* ,-------------. ,-------------.
* | | | | | |
* ,------|------|------| |------+------+------.
* | | | | | | | |
* | | |------| |------| | |
* | | | | | | | |
* `--------------------' `--------------------'
*/
// SYMBOLS
[SYMB] = LAYOUT_dactyl(
// left hand
VRSN, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5,
KC_TRNS, KC_EXLM, KC_AT, KC_LCBR, KC_RCBR, KC_PIPE,
KC_TRNS, KC_HASH, KC_DLR, KC_LPRN, KC_RPRN, KC_GRV,
KC_TRNS, KC_PERC, KC_CIRC, KC_LBRC, KC_RBRC, KC_TILD,
QK_BOOT, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
KC_TRNS, KC_TRNS,
KC_TRNS,
KC_TRNS, KC_TRNS, KC_TRNS,
// right hand
KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11,
KC_UP, KC_7, KC_8, KC_9, KC_ASTR, KC_F12,
KC_DOWN, KC_4, KC_5, KC_6, KC_PLUS, KC_TRNS,
KC_AMPR, KC_1, KC_2, KC_3, KC_BSLS, KC_TRNS,
KC_TRNS, KC_DOT, KC_0, KC_EQL, KC_TRNS,
KC_TRNS, KC_TRNS,
KC_TRNS,
KC_TRNS, KC_TRNS, KC_TRNS
),
/* Keymap 2: Media and mouse keys
* ,-----------------------------------------. ,-----------------------------------------.
* | | | | | | | | | | | | | |
* |------+------+------+------+------+------| |------+------+------+------+------+------|
* | | | | MsUp | | | | | | | | | |
* |------+------+------+------+------+------| |------+------+------+------+------+------|
* | | |MsLeft|MsDown|MsRght| | | | | | | | Play |
* |------+------+------+------+------+------| |------+------+------+------+------+------|
* | | | | | | | | | | Prev | Next | | |
* |------+------+------+------+------+------' `------+------+------+------+------+------|
* | | | | Lclk | Rclk | | VolUp| VolDn| Mute | | |
* `----------------------------------' `----------------------------------'
* ,-------------. ,-------------.
* | | | | | |
* ,------|------|------| |------+------+------.
* | | | | | | |Brwser|
* | | |------| |------| |Back |
* | | | | | | | |
* `--------------------' `--------------------'
*
*/
// MEDIA AND MOUSE
[MDIA] = LAYOUT_dactyl(
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
KC_TRNS, KC_TRNS, KC_TRNS, KC_MS_U, KC_TRNS, KC_TRNS,
KC_TRNS, KC_TRNS, KC_MS_L, KC_MS_D, KC_MS_R, KC_TRNS,
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
KC_TRNS, KC_TRNS, KC_TRNS, KC_BTN1, KC_BTN2,
KC_TRNS, KC_TRNS,
KC_TRNS,
KC_TRNS, KC_TRNS, KC_TRNS,
// right hand
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_MPLY,
KC_TRNS, KC_TRNS, KC_MPRV, KC_MNXT, KC_TRNS, KC_TRNS,
KC_VOLU, KC_VOLD, KC_MUTE, KC_TRNS, KC_TRNS,
KC_TRNS, KC_TRNS,
KC_TRNS,
KC_TRNS, KC_TRNS, KC_WBAK
),
[_RAISE] = LAYOUT(
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
_______, _______, _______, KC_MS_U, _______, _______, _______, _______, _______, _______, _______, _______,
_______, _______, KC_MS_L, KC_MS_D, KC_MS_R, _______, _______, _______, _______, _______, _______, KC_MPLY,
_______, _______, _______, _______, _______, _______, _______, _______, KC_MPRV, KC_MNXT, _______, _______,
_______, _______, _______, KC_BTN1, KC_BTN2, KC_VOLU, KC_VOLD, KC_MUTE, _______, _______,
_______, _______, _______, _______,
_______, _______, _______, _______, _______, KC_WBAK,
_______, _______
)
};
bool process_record_user(uint16_t keycode, keyrecord_t *record) {
switch (keycode) {
case VRSN:
if (record->event.pressed) {
SEND_STRING (QMK_KEYBOARD "/" QMK_KEYMAP " @ " QMK_VERSION);
}
return false;
break;
}
return true;
}

+ 0
- 10
keyboards/handwired/dactyl/keymaps/default/readme.md View File

@ -1,10 +0,0 @@
# Dactyl Default Configuration
## Changelog
* Nov 2017:
* Copied and adapted from the Ergodox EZ equivalent
* Notable differences:
- Don't try to have the columns that don't exist, naturally
- Removed RGB keys, since there are no RGB LEDs in the Dactyl (as designed, at least)

+ 0
- 1
keyboards/handwired/dactyl/keymaps/default/rules.mk View File

@ -1 +0,0 @@
MOUSEKEY_ENABLE = yes

+ 10
- 0
keyboards/handwired/dactyl/keymaps/dvorak/config.h View File

@ -0,0 +1,10 @@
// Copyright 2017 Erin Call
// SPDX-License-Identifier: GPL-2.0-or-later
#pragma once
#define MOUSEKEY_INTERVAL 20
#define MOUSEKEY_DELAY 0
#define MOUSEKEY_TIME_TO_MAX 60
#define MOUSEKEY_MAX_SPEED 7
#define MOUSEKEY_WHEEL_DELAY 0

+ 48
- 65
keyboards/handwired/dactyl/keymaps/dvorak/keymap.c View File

@ -1,13 +1,27 @@
// Copyright 2017 Erin Call
// SPDX-License-Identifier: GPL-2.0-or-later
#include QMK_KEYBOARD_H
#include "version.h"
#define BASE 0 // default layer
#define SYMB 1 // symbols
#define MDIA 2 // media keys
enum layers {
BASE,
SYMB,
MDIA
};
#define ONE_GRV LT(SYMB, KC_GRAVE)
#define CTL_Z LCTL_T(KC_Z)
#define ALT_SHFT LALT(KC_LSFT)
#define ALT_MENU LALT_T(KC_MENU)
#define LG_SLSH LGUI_T(KC_SLSH)
#define CTL_ESC LCTL_T(KC_ESC)
#define CTL_SCLN LCTL_T(KC_SCLN)
#define LT2_S LT(MDIA, KC_S)
enum custom_keycodes {
PLACEHOLDER = SAFE_RANGE, // ensure these codes start after the highest keycode defined in Quantum
VRSN,
PLACEHOLDER = SAFE_RANGE, // ensure these codes start after the highest keycode defined in Quantum
VRSN,
};
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
@ -32,25 +46,15 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
* | |ace | End | | PgDn | | |
* `--------------------' `--------------------'
*/
[BASE] = LAYOUT_dactyl( // layer 0 : default
// left hand
KC_EQL, KC_1, KC_2, KC_3, KC_4, KC_5,
KC_DEL, KC_QUOT, KC_COMM, KC_DOT, KC_P, KC_Y,
KC_BSPC, KC_A, KC_O, KC_E, KC_U, KC_I,
KC_LSFT, CTL_T(KC_SCLN), KC_Q, KC_J, KC_K, KC_X,
LT(SYMB,KC_GRV), KC_EQL, LALT(KC_LSFT), KC_LEFT, KC_RGHT,
ALT_T(KC_APP), KC_LGUI,
KC_HOME,
KC_SPC, KC_BSPC, KC_END,
// right hand
KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS,
KC_F, KC_G, KC_C, KC_R, KC_L, KC_BSLS,
KC_D, KC_H, KC_T, KC_N, LT(MDIA, KC_S), GUI_T(KC_SLSH),
KC_B, KC_M, KC_W, KC_V, CTL_T(KC_Z), KC_RSFT,
KC_UP, KC_DOWN, KC_LBRC, KC_RBRC, TT(SYMB),
KC_RALT, CTL_T(KC_ESC),
KC_PGUP,
KC_PGDN, KC_TAB, KC_ENT
[BASE] = LAYOUT(
KC_EQL, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS,
KC_DEL, KC_QUOT, KC_COMM, KC_DOT, KC_P, KC_Y, KC_F, KC_G, KC_C, KC_R, KC_L, KC_BSLS,
KC_BSPC, KC_A, KC_O, KC_E, KC_U, KC_I, KC_D, KC_H, KC_T, KC_N, LT2_S, LG_SLSH,
KC_LSFT, CTL_SCLN, KC_Q, KC_J, KC_K, KC_X, KC_B, KC_M, KC_W, KC_V, CTL_Z, KC_RSFT,
ONE_GRV, KC_EQL, ALT_SHFT, KC_LEFT, KC_RGHT, KC_UP, KC_DOWN, KC_LBRC, KC_RBRC, TT(SYMB),
ALT_MENU, KC_LGUI, KC_RALT, CTL_ESC,
KC_SPC, KC_BSPC, KC_HOME, KC_PGUP, KC_TAB, KC_ENT,
KC_END, KC_PGDN
),
/* Keymap 1: Symbol Layer
*
@ -73,27 +77,16 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
* | | | | | | | |
* `--------------------' `--------------------'
*/
// SYMBOLS
[SYMB] = LAYOUT_dactyl(
// left hand
VRSN, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5,
KC_TRNS, KC_EXLM, KC_AT, KC_LCBR, KC_RCBR, KC_PIPE,
KC_TRNS, KC_HASH, KC_DLR, KC_LPRN, KC_RPRN, KC_GRV,
KC_TRNS, KC_PERC, KC_CIRC, KC_LBRC, KC_RBRC, KC_TILD,
QK_BOOT, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
KC_TRNS, KC_TRNS,
KC_TRNS,
KC_TRNS, KC_TRNS, KC_TRNS,
// right hand
KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11,
KC_UP, KC_7, KC_8, KC_9, KC_ASTR, KC_F12,
KC_DOWN, KC_4, KC_5, KC_6, KC_PLUS, KC_TRNS,
KC_AMPR, KC_1, KC_2, KC_3, KC_BSLS, KC_TRNS,
KC_TRNS, KC_DOT, KC_0, KC_EQL, KC_TRNS,
KC_TRNS, KC_TRNS,
KC_TRNS,
KC_TRNS, KC_TRNS, KC_TRNS
),
[SYMB] = LAYOUT(
VRSN, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11,
KC_TRNS, KC_EXLM, KC_AT, KC_LCBR, KC_RCBR, KC_PIPE, KC_UP, KC_P7, KC_8, KC_9, KC_PAST, KC_F12,
KC_TRNS, KC_HASH, KC_DLR, KC_LPRN, KC_RPRN, KC_GRV, KC_DOWN, KC_P4, KC_5, KC_6, KC_PPLS, KC_TRNS,
KC_TRNS, KC_PERC, KC_CIRC, KC_LBRC, KC_RBRC, KC_TILD, KC_AMPR, KC_P1, KC_2, KC_3, KC_PSLS, KC_TRNS,
QK_BOOT, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_PDOT, KC_P0, KC_PEQL, KC_TRNS,
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
KC_TRNS, KC_TRNS
),
/* Keymap 2: Media and mouse keys
* ,-----------------------------------------. ,-----------------------------------------.
* | | | | | | | | | | | | | |
@ -115,26 +108,16 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
* `--------------------' `--------------------'
*
*/
// MEDIA AND MOUSE
[MDIA] = LAYOUT_dactyl(
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
KC_TRNS, KC_TRNS, KC_TRNS, KC_MS_U, KC_TRNS, KC_TRNS,
KC_TRNS, KC_TRNS, KC_MS_L, KC_MS_D, KC_MS_R, KC_TRNS,
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
KC_TRNS, KC_TRNS, KC_TRNS, KC_BTN1, KC_BTN2,
KC_TRNS, KC_TRNS,
KC_TRNS,
KC_TRNS, KC_TRNS, KC_TRNS,
// right hand
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_MPLY,
KC_TRNS, KC_TRNS, KC_MPRV, KC_MNXT, KC_TRNS, KC_TRNS,
KC_VOLU, KC_VOLD, KC_MUTE, KC_TRNS, KC_TRNS,
KC_TRNS, KC_TRNS,
KC_TRNS,
KC_TRNS, KC_TRNS, KC_WBAK
),
[MDIA] = LAYOUT(
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
KC_TRNS, KC_TRNS, KC_TRNS, KC_MS_U, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
KC_TRNS, KC_TRNS, KC_MS_L, KC_MS_D, KC_MS_R, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_MPLY,
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_MPRV, KC_MNXT, KC_TRNS, KC_TRNS,
KC_TRNS, KC_TRNS, KC_TRNS, KC_BTN1, KC_BTN2, KC_VOLU, KC_VOLD, KC_MUTE, KC_TRNS, KC_TRNS,
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_WBAK,
KC_TRNS, KC_TRNS
)
};
bool process_record_user(uint16_t keycode, keyrecord_t *record) {


+ 0
- 1
keyboards/handwired/dactyl/keymaps/dvorak/rules.mk View File

@ -1 +0,0 @@
MOUSEKEY_ENABLE = yes

+ 10
- 0
keyboards/handwired/dactyl/keymaps/erincalling/config.h View File

@ -0,0 +1,10 @@
// Copyright 2017 Erin Call
// SPDX-License-Identifier: GPL-2.0-or-later
#pragma once
#define MOUSEKEY_INTERVAL 20
#define MOUSEKEY_DELAY 0
#define MOUSEKEY_TIME_TO_MAX 60
#define MOUSEKEY_MAX_SPEED 7
#define MOUSEKEY_WHEEL_DELAY 0

+ 47
- 76
keyboards/handwired/dactyl/keymaps/erincalling/keymap.c View File

@ -1,13 +1,18 @@
// Copyright 2017 Erin Call
// SPDX-License-Identifier: GPL-2.0-or-later
#include QMK_KEYBOARD_H
#include "version.h"
#define BASE 0 // default layer
#define CONT 1 // control layer
#define QWER 2 // qwerty layer
enum layers {
BASE,
CONT,
QWER
};
enum custom_keycodes {
PLACEHOLDER = SAFE_RANGE, // ensure these codes start after the highest keycode defined in Quantum
COLON_EQ,
PLACEHOLDER = SAFE_RANGE, // ensure these codes start after the highest keycode defined in Quantum
COLON_EQ,
};
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
@ -32,25 +37,15 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
* |Space | | LGui | | RGui | | |
* `--------------------' `--------------------'
*/
[BASE] = LAYOUT_dactyl( // layer 0 : default
// left hand
KC_ESC, KC_1, KC_2, KC_3, KC_4, KC_5,
KC_TAB, KC_QUOT, KC_COMM, KC_DOT, KC_P, KC_Y,
COLON_EQ, KC_A, KC_O, KC_E, KC_U, KC_I,
KC_LSFT, KC_SCLN, KC_Q, KC_J, KC_K, KC_X,
KC_HOME, KC_GRV, KC_EQL, KC_LEFT, KC_RGHT,
KC_LCTL, KC_LALT,
MO(CONT),
KC_BSPC, KC_DEL, KC_LGUI,
// right hand
KC_6, KC_7, KC_8, KC_9, KC_0, KC_BSLS,
KC_F, KC_G, KC_C, KC_R, KC_L, KC_SLSH,
KC_D, KC_H, KC_T, KC_N, KC_S, KC_MINS,
KC_B, KC_M, KC_W, KC_V, KC_Z, KC_RSFT,
KC_UP, KC_DOWN, KC_LBRC, KC_RBRC, KC_END,
KC_RALT, KC_RCTL,
MO(CONT),
KC_RGUI, KC_ENT, KC_SPACE
[BASE] = LAYOUT(
KC_ESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_BSLS,
KC_TAB, KC_QUOT, KC_COMM, KC_DOT, KC_P, KC_Y, KC_F, KC_G, KC_C, KC_R, KC_L, KC_SLSH,
COLON_EQ, KC_A, KC_O, KC_E, KC_U, KC_I, KC_D, KC_H, KC_T, KC_N, KC_S, KC_MINS,
KC_LSFT, KC_SCLN, KC_Q, KC_J, KC_K, KC_X, KC_B, KC_M, KC_W, KC_V, KC_Z, KC_RSFT,
KC_HOME, KC_GRV, KC_EQL, KC_LEFT, KC_RGHT, KC_UP, KC_DOWN, KC_LBRC, KC_RBRC, KC_END,
KC_LCTL, KC_LALT, KC_RALT, KC_RCTL,
KC_BSPC, KC_DEL, MO(CONT), MO(CONT), KC_ENT, KC_SPACE,
KC_LGUI, KC_RGUI
),
/* Keymap 1: Control layer (media keys, Fkeys, numpad)
*
@ -73,27 +68,16 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
* | | | | | | | |
* `--------------------' `--------------------'
*/
// SYMBOLS
[CONT] = LAYOUT_dactyl(
// left hand
KC_TRNS, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5,
KC_TRNS, KC_TRNS, KC_MUTE, KC_VOLD, KC_VOLU, KC_TRNS,
TG(QWER), KC_TRNS, KC_MPRV, KC_MPLY, KC_MNXT, KC_TRNS,
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
KC_PGUP, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
KC_TRNS, KC_TRNS,
KC_TRNS,
KC_TRNS, KC_TRNS, KC_TRNS,
// right hand
KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, QK_BOOT,
KC_TRNS, KC_7, KC_8, KC_9, KC_KP_PLUS, KC_TRNS,
KC_TRNS, KC_4, KC_5, KC_6, KC_EQL, KC_TRNS,
KC_TRNS, KC_1, KC_2, KC_3, KC_COMM, KC_TRNS,
KC_0, KC_0, KC_DOT, KC_TRNS, KC_PGDN,
KC_TRNS, KC_TRNS,
KC_TRNS,
KC_TRNS, KC_TRNS, KC_TRNS
),
[CONT] = LAYOUT(
KC_TRNS, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, QK_BOOT,
KC_TRNS, KC_TRNS, KC_MUTE, KC_VOLD, KC_VOLU, KC_TRNS, KC_TRNS, KC_7, KC_8, KC_9, KC_PPLS, KC_TRNS,
TG(QWER), KC_TRNS, KC_MPRV, KC_MPLY, KC_MNXT, KC_TRNS, KC_TRNS, KC_4, KC_5, KC_6, KC_EQL, KC_TRNS,
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_1, KC_2, KC_3, KC_COMM, KC_TRNS,
KC_PGUP, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_0, KC_0, KC_DOT, KC_TRNS, KC_PGDN,
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
KC_TRNS, KC_TRNS
),
/* Keymap 2: QWERTY overlay
* ,-----------------------------------------. ,-----------------------------------------.
* | | | | | | | | | | | | | [ |
@ -113,41 +97,29 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
* | | |------| |------| | |
* | | | | | | | |
* `--------------------' `--------------------'
*
*/
// QWERTY
[QWER] = LAYOUT_dactyl(
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
KC_TRNS, KC_Q, KC_W, KC_E, KC_R, KC_T,
KC_TRNS, KC_A, KC_S, KC_D, KC_F, KC_G,
KC_TRNS, KC_Z, KC_X, KC_C, KC_V, KC_B,
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
KC_TRNS, KC_TRNS,
KC_TRNS,
KC_TRNS, KC_TRNS, KC_TRNS,
// right hand
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_LBRC,
KC_Y, KC_U, KC_I, KC_O, KC_P, KC_RBRC,
KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT,
KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_TRNS,
KC_TRNS, KC_TRNS, KC_MINS, KC_BSLS, KC_TRNS,
KC_TRNS, KC_TRNS,
KC_TRNS,
KC_TRNS, KC_TRNS, KC_TRNS
),
[QWER] = LAYOUT(
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_LBRC,
KC_TRNS, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_RBRC,
KC_TRNS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT,
KC_TRNS, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_TRNS,
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_MINS, KC_BSLS, KC_TRNS,
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
KC_TRNS, KC_TRNS
)
};
bool process_record_user(uint16_t keycode, keyrecord_t *record) {
if (record->event.pressed) {
switch(keycode) {
case COLON_EQ:
SEND_STRING(":=");
return false;
break;
if (record->event.pressed) {
switch(keycode) {
case COLON_EQ:
SEND_STRING(":=");
return false;
break;
}
}
}
return true;
return true;
}
// Runs just one time when the keyboard initializes.
@ -155,6 +127,5 @@ void matrix_init_user(void) {
};
// Runs constantly in the background, in a loop.
void matrix_scan_user(void) {};

+ 55
- 0
keyboards/handwired/dactyl/keymaps/via/keymap.c View File

@ -0,0 +1,55 @@
// Copyright 2023 Duncan Sutherland
// SPDX-License-Identifier: GPL-2.0-or-later
#include QMK_KEYBOARD_H
enum layers {
_QWERTY,
_LOWER,
_RAISE
};
#define RAISE MO(_RAISE)
#define LOWER MO(_LOWER)
#define ONE_GRV LT(_LOWER, KC_GRAVE)
#define CTL_Z LCTL_T(KC_Z)
#define ALT_SHFT LALT(KC_LSFT)
#define ALT_MENU LALT_T(KC_MENU)
#define LG_QUOT LGUI_T(KC_QUOT)
#define CTL_ESC LCTL_T(KC_ESC)
#define CTL_SLS LCTL_T(KC_SLSH)
#define LT2_COL LT(_RAISE, KC_SCLN)
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
[_QWERTY] = LAYOUT(
KC_EQL, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_BSPC,
KC_DEL, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_MINS,
KC_BSPC, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, LT2_COL, LG_QUOT,
KC_LSFT, CTL_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, CTL_SLS, KC_RSFT,
ONE_GRV, KC_QUOT, ALT_SHFT, KC_LEFT, KC_RGHT, KC_UP, KC_DOWN, KC_LBRC, KC_RBRC, TT(_LOWER),
ALT_MENU, KC_LGUI, KC_RALT, CTL_ESC,
KC_SPC, KC_BSPC, KC_HOME, KC_PGUP, KC_TAB, KC_ENT,
KC_END, KC_PGDN
),
[_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_EXLM, KC_AT, KC_LBRC, KC_RBRC, KC_PIPE, KC_UP, KC_P7, KC_P8, KC_P9, KC_PAST, KC_F12,
_______, KC_HASH, KC_DLR, KC_LPRN, KC_RPRN, KC_GRV, KC_DOWN, KC_P4, KC_P5, KC_P6, KC_PPLS, _______,
_______, KC_PERC, KC_CIRC, KC_LBRC, KC_RBRC, KC_TILD, KC_AMPR, KC_P1, KC_P2, KC_P3, KC_PSLS, _______,
QK_BOOT, _______, _______, _______, _______, _______, KC_PDOT, KC_P0, KC_PEQL, _______,
_______, _______, _______, _______,
_______, _______, _______, _______, _______, _______,
_______, _______
),
[_RAISE] = LAYOUT(
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
_______, _______, _______, KC_MS_U, _______, _______, _______, _______, _______, _______, _______, _______,
_______, _______, KC_MS_L, KC_MS_D, KC_MS_R, _______, _______, _______, _______, _______, _______, KC_MPLY,
_______, _______, _______, _______, _______, _______, _______, _______, KC_MPRV, KC_MNXT, _______, _______,
_______, _______, _______, KC_BTN1, KC_BTN2, KC_VOLU, KC_VOLD, KC_MUTE, _______, _______,
_______, _______, _______, _______,
_______, _______, _______, _______, _______, KC_WBAK,
_______, _______
)
};

+ 1
- 0
keyboards/handwired/dactyl/keymaps/via/rules.mk View File

@ -0,0 +1 @@
VIA_ENABLE = yes

+ 23
- 0
keyboards/handwired/dactyl/legacy/config.h View File

@ -0,0 +1,23 @@
// Copyright 2017 Matthew Adereth
// SPDX-License-Identifier: GPL-2.0-or-later
#pragma once
#define MATRIX_ROWS 6
#define MATRIX_COLS 12
#define COL_EXPANDED { true, true, true, true, true, true, false, false, false, false, false, false}
#define MATRIX_ONBOARD_ROW_PINS { F0, F1, F4, F5, F6, F7 }
#define MATRIX_ONBOARD_COL_PINS { 0, 0, 0, 0, 0, 0, B1, B2, B3, D2, D3, C6 }
#define EXPANDER_COL_REGISTER GPIOA
#define EXPANDER_ROW_REGISTER GPIOB
#define MATRIX_EXPANDER_COL_PINS {0, 1, 2, 3, 4, 5}
#define MATRIX_EXPANDER_ROW_PINS {0, 1, 2, 3, 4, 5}
/* key combination for command */
#define IS_COMMAND() ( \
get_mods() == (MOD_BIT(KC_LCTL) | MOD_BIT(KC_RCTL)) || \
get_mods() == (MOD_BIT(KC_LSFT) | MOD_BIT(KC_RSFT)) \
)
/* fix space cadet rollover issue */
#define DISABLE_SPACE_CADET_ROLLOVER

+ 194
- 0
keyboards/handwired/dactyl/legacy/keyboard.json View File

@ -0,0 +1,194 @@
{
"usb": {
"pid": "0x1308",
"device_version": "1.0.0"
},
"processor": "atmega32u4",
"bootloader": "halfkay",
"debounce": 15,
"tapping": {
"toggle": 1
},
"diode_direction": "ROW2COL",
"layouts": {
"LAYOUT": {
"layout": [
{"matrix": [0, 0], "x": 0, "y": 0.35},
{"matrix": [0, 1], "x": 1, "y": 0.35},
{"matrix": [0, 2], "x": 2, "y": 0.1},
{"matrix": [0, 3], "x": 3, "y": 0},
{"matrix": [0, 4], "x": 4, "y": 0.1},
{"matrix": [0, 5], "x": 5, "y": 0.1},
{"matrix": [0, 6], "x": 11, "y": 0.1},
{"matrix": [0, 7], "x": 12, "y": 0.1},
{"matrix": [0, 8], "x": 13, "y": 0},
{"matrix": [0, 9], "x": 14, "y": 0.1},
{"matrix": [0, 10], "x": 15, "y": 0.35},
{"matrix": [0, 11], "x": 16, "y": 0.35},
{"matrix": [1, 0], "x": 0, "y": 1.35},
{"matrix": [1, 1], "x": 1, "y": 1.35},
{"matrix": [1, 2], "x": 2, "y": 1.1},
{"matrix": [1, 3], "x": 3, "y": 1},
{"matrix": [1, 4], "x": 4, "y": 1.1},
{"matrix": [1, 5], "x": 5, "y": 1.1},
{"matrix": [1, 6], "x": 11, "y": 1.1},
{"matrix": [1, 7], "x": 12, "y": 1.1},
{"matrix": [1, 8], "x": 13, "y": 1},
{"matrix": [1, 9], "x": 14, "y": 1.1},
{"matrix": [1, 10], "x": 15, "y": 1.35},
{"matrix": [1, 11], "x": 16, "y": 1.35},
{"matrix": [2, 0], "x": 0, "y": 2.35},
{"matrix": [2, 1], "x": 1, "y": 2.35},
{"matrix": [2, 2], "x": 2, "y": 2.1},
{"matrix": [2, 3], "x": 3, "y": 2},
{"matrix": [2, 4], "x": 4, "y": 2.1},
{"matrix": [2, 5], "x": 5, "y": 2.1},
{"matrix": [2, 6], "x": 11, "y": 2.1},
{"matrix": [2, 7], "x": 12, "y": 2.1},
{"matrix": [2, 8], "x": 13, "y": 2},
{"matrix": [2, 9], "x": 14, "y": 2.1},
{"matrix": [2, 10], "x": 15, "y": 2.35},
{"matrix": [2, 11], "x": 16, "y": 2.35},
{"matrix": [3, 0], "x": 0, "y": 3.35},
{"matrix": [3, 1], "x": 1, "y": 3.35},
{"matrix": [3, 2], "x": 2, "y": 3.1},
{"matrix": [3, 3], "x": 3, "y": 3},
{"matrix": [3, 4], "x": 4, "y": 3.1},
{"matrix": [3, 5], "x": 5, "y": 3.1},
{"matrix": [3, 6], "x": 11, "y": 3.1},
{"matrix": [3, 7], "x": 12, "y": 3.1},
{"matrix": [3, 8], "x": 13, "y": 3},
{"matrix": [3, 9], "x": 14, "y": 3.1},
{"matrix": [3, 10], "x": 15, "y": 3.35},
{"matrix": [3, 11], "x": 16, "y": 3.35},
{"matrix": [4, 0], "x": 0, "y": 4.35},
{"matrix": [4, 1], "x": 1, "y": 4.35},
{"matrix": [4, 2], "x": 2, "y": 4.1},
{"matrix": [4, 3], "x": 3, "y": 4},
{"matrix": [4, 4], "x": 4, "y": 4.1},
{"matrix": [4, 7], "x": 12, "y": 4.1},
{"matrix": [4, 8], "x": 13, "y": 4},
{"matrix": [4, 9], "x": 14, "y": 4.1},
{"matrix": [4, 10], "x": 15, "y": 4.35},
{"matrix": [4, 11], "x": 16, "y": 4.35},
{"matrix": [5, 5], "x": 6, "y": 5},
{"matrix": [5, 0], "x": 7, "y": 5},
{"matrix": [5, 11], "x": 9, "y": 5},
{"matrix": [5, 6], "x": 10, "y": 5},
{"matrix": [5, 3], "x": 5, "y": 6, "h": 2},
{"matrix": [5, 2], "x": 6, "y": 6, "h": 2},
{"matrix": [5, 4], "x": 7, "y": 6},
{"matrix": [5, 7], "x": 9, "y": 6},
{"matrix": [5, 9], "x": 10, "y": 6, "h": 2},
{"matrix": [5, 8], "x": 11, "y": 6, "h": 2},
{"matrix": [5, 1], "x": 7, "y": 7},
{"matrix": [5, 10], "x": 9, "y": 7}
]
},
"LAYOUT_dactyl": {
"layout": [
{"matrix": [0, 0], "x": 0, "y": 0},
{"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": [0, 5], "x": 5, "y": 0},
{"matrix": [1, 0], "x": 0, "y": 1},
{"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": [1, 5], "x": 5, "y": 1},
{"matrix": [2, 0], "x": 0, "y": 2},
{"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": [2, 5], "x": 5, "y": 2},
{"matrix": [3, 0], "x": 0, "y": 3},
{"matrix": [3, 1], "x": 1, "y": 3},
{"matrix": [3, 2], "x": 2, "y": 3},
{"matrix": [3, 3], "x": 3, "y": 3},
{"matrix": [3, 4], "x": 4, "y": 3},
{"matrix": [3, 5], "x": 5, "y": 3},
{"matrix": [4, 0], "x": 0, "y": 4},
{"matrix": [4, 1], "x": 1, "y": 4},
{"matrix": [4, 2], "x": 2, "y": 4},
{"matrix": [4, 3], "x": 3, "y": 4},
{"matrix": [4, 4], "x": 4, "y": 4},
{"matrix": [5, 5], "x": 6, "y": 5},
{"matrix": [5, 0], "x": 7, "y": 5},
{"matrix": [5, 4], "x": 7, "y": 6},
{"matrix": [5, 3], "x": 5, "y": 6, "h": 2},
{"matrix": [5, 2], "x": 6, "y": 6, "h": 2},
{"matrix": [5, 1], "x": 7, "y": 7},
{"matrix": [0, 6], "x": 11, "y": 0},
{"matrix": [0, 7], "x": 12, "y": 0},
{"matrix": [0, 8], "x": 13, "y": 0},
{"matrix": [0, 9], "x": 14, "y": 0},
{"matrix": [0, 10], "x": 15, "y": 0},
{"matrix": [0, 11], "x": 16, "y": 0},
{"matrix": [1, 6], "x": 11, "y": 1},
{"matrix": [1, 7], "x": 12, "y": 1},
{"matrix": [1, 8], "x": 13, "y": 1},
{"matrix": [1, 9], "x": 14, "y": 1},
{"matrix": [1, 10], "x": 15, "y": 1},
{"matrix": [1, 11], "x": 16, "y": 1},
{"matrix": [2, 6], "x": 11, "y": 2},
{"matrix": [2, 7], "x": 12, "y": 2},
{"matrix": [2, 8], "x": 13, "y": 2},
{"matrix": [2, 9], "x": 14, "y": 2},
{"matrix": [2, 10], "x": 15, "y": 2},
{"matrix": [2, 11], "x": 16, "y": 2},
{"matrix": [3, 6], "x": 11, "y": 3},
{"matrix": [3, 7], "x": 12, "y": 3},
{"matrix": [3, 8], "x": 13, "y": 3},
{"matrix": [3, 9], "x": 14, "y": 3},
{"matrix": [3, 10], "x": 15, "y": 3},
{"matrix": [3, 11], "x": 16, "y": 3},
{"matrix": [4, 7], "x": 12, "y": 4},
{"matrix": [4, 8], "x": 13, "y": 4},
{"matrix": [4, 9], "x": 14, "y": 4},
{"matrix": [4, 10], "x": 15, "y": 4},
{"matrix": [4, 11], "x": 16, "y": 4},
{"matrix": [5, 11], "x": 9, "y": 5},
{"matrix": [5, 6], "x": 10, "y": 5},
{"matrix": [5, 7], "x": 9, "y": 6},
{"matrix": [5, 10], "x": 9, "y": 7},
{"matrix": [5, 9], "x": 10, "y": 6, "h": 2},
{"matrix": [5, 8], "x": 11, "y": 6, "h": 2}
]
}
}
}

keyboards/handwired/dactyl/dactyl.c → keyboards/handwired/dactyl/legacy/legacy.c View File

@ -1,4 +1,7 @@
#include "dactyl.h"
// Copyright 2017 Matthew Adereth
// SPDX-License-Identifier: GPL-2.0-or-later
#include "legacy.h"
#ifdef SWAP_HANDS_ENABLE
__attribute__ ((weak))

keyboards/handwired/dactyl/dactyl.h → keyboards/handwired/dactyl/legacy/legacy.h View File

@ -1,3 +1,6 @@
// Copyright 2017 Matthew Adereth
// SPDX-License-Identifier: GPL-2.0-or-later
#pragma once
#include "quantum.h"

keyboards/handwired/dactyl/matrix.c → keyboards/handwired/dactyl/legacy/matrix.c View File

@ -1,20 +1,6 @@
/*
Copyright 2013 Oleg Kostyuk <cub.uanic@gmail.com>
Copyright 2017 Erin Call <hello@erincall.com>
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/>.
*/
// Copyright 2017 Matthew Adereth
// SPDX-License-Identifier: GPL-2.0-or-later
#include <stdint.h>
#include <stdbool.h>
#include <avr/io.h>
@ -24,7 +10,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#include "debug.h"
#include "util.h"
#include "matrix.h"
#include "dactyl.h"
#include "legacy.h"
#include "i2c_master.h"
#include "timer.h"

+ 37
- 0
keyboards/handwired/dactyl/legacy/readme.md View File

@ -0,0 +1,37 @@
# Dactyl (Legacy)
The Legacy configuration for Dactyl uses the [Teensy Loader](https://www.pjrc.com/teensy/loader.html).
Linux users need to modify udev rules as described on the [Teensy
Linux page]. Some distributions provide a binary, maybe called
`teensy-loader-cli`.
[Teensy Linux page]: https://www.pjrc.com/teensy/loader_linux.html
To flash the firmware:
- Build the firmware with `make handwired/dactyl/legacy:<keymapname>`, for example `make handwired/dactyl/legacy:default`
- This will result in a hex file called `handwired_dactyl_legacy_<keymapname>.hex`, e.g.
`handwired_dactyl_legacy_default.hex`
- Start the teensy loader.
- Load the .hex file into it.
- Put the Teensy in firmware-loading mode:
* If your current layout has a `QK_BOOT` key, press it.
* If you lack a RESET key, press the reset button on the Teensy board itself.
- Click the button in the Teensy app to download the firmware.
To flash with ´teensy-loader-cli´:
- Build the firmware as above
- Run `<path/to/>teensy_loader_cli -mmcu=atmega32u4 -w handwired_dactyl_legacy_<keymapname>.hex`
- If you like, you can do both at once: `make handwired/dactyl/legacy:<keymapname>:teensy`
- Put the Teensy in firmware-loading mode:
* If your current layout has a `QK_BOOT` key, press it.
* If you lack a RESET key, press the reset button on the Teensy board itself.

+ 10
- 0
keyboards/handwired/dactyl/legacy/rules.mk View File

@ -0,0 +1,10 @@
# Build Options
# change yes to no to disable
#
CUSTOM_MATRIX = yes # Custom matrix file for the Dactyl
UNICODE_ENABLE = yes # Unicode
SWAP_HANDS_ENABLE = yes # Allow swapping hands of keyboard
# project specific files
QUANTUM_LIB_SRC += i2c_master.c
SRC += matrix.c

+ 119
- 0
keyboards/handwired/dactyl/promicro/keyboard.json View File

@ -0,0 +1,119 @@
{
"usb": {
"pid": "0x0560",
"device_version": "1.0.0"
},
"matrix_pins": {
"cols": ["D4", "C6", "D7", "E6", "B4", "B5"],
"rows": ["F6", "F7", "B1", "B3", "B2", "B6"]
},
"diode_direction": "COL2ROW",
"split": {
"enabled": true,
"soft_serial_pin": "D0"
},
"development_board": "promicro",
"qmk": {
"locking": {
"enabled": true,
"resync": true
}
},
"tapping": {
"permissive_hold": true
},
"layout_aliases": {
"LAYOUT_6x6": "LAYOUT"
},
"layouts": {
"LAYOUT": {
"layout": [
{"matrix": [0, 0], "x": 0, "y": 0.35},
{"matrix": [0, 1], "x": 1, "y": 0.35},
{"matrix": [0, 2], "x": 2, "y": 0.1},
{"matrix": [0, 3], "x": 3, "y": 0},
{"matrix": [0, 4], "x": 4, "y": 0.1},
{"matrix": [0, 5], "x": 5, "y": 0.1},
{"matrix": [6, 0], "x": 11, "y": 0.1},
{"matrix": [6, 1], "x": 12, "y": 0.1},
{"matrix": [6, 2], "x": 13, "y": 0},
{"matrix": [6, 3], "x": 14, "y": 0.1},
{"matrix": [6, 4], "x": 15, "y": 0.35},
{"matrix": [6, 5], "x": 16, "y": 0.35},
{"matrix": [1, 0], "x": 0, "y": 1.35},
{"matrix": [1, 1], "x": 1, "y": 1.35},
{"matrix": [1, 2], "x": 2, "y": 1.1},
{"matrix": [1, 3], "x": 3, "y": 1},
{"matrix": [1, 4], "x": 4, "y": 1.1},
{"matrix": [1, 5], "x": 5, "y": 1.1},
{"matrix": [7, 0], "x": 11, "y": 1.1},
{"matrix": [7, 1], "x": 12, "y": 1.1},
{"matrix": [7, 2], "x": 13, "y": 1},
{"matrix": [7, 3], "x": 14, "y": 1.1},
{"matrix": [7, 4], "x": 15, "y": 1.35},
{"matrix": [7, 5], "x": 16, "y": 1.35},
{"matrix": [2, 0], "x": 0, "y": 2.35},
{"matrix": [2, 1], "x": 1, "y": 2.35},
{"matrix": [2, 2], "x": 2, "y": 2.1},
{"matrix": [2, 3], "x": 3, "y": 2},
{"matrix": [2, 4], "x": 4, "y": 2.1},
{"matrix": [2, 5], "x": 5, "y": 2.1},
{"matrix": [8, 0], "x": 11, "y": 2.1},
{"matrix": [8, 1], "x": 12, "y": 2.1},
{"matrix": [8, 2], "x": 13, "y": 2},
{"matrix": [8, 3], "x": 14, "y": 2.1},
{"matrix": [8, 4], "x": 15, "y": 2.35},
{"matrix": [8, 5], "x": 16, "y": 2.35},
{"matrix": [3, 0], "x": 0, "y": 3.35},
{"matrix": [3, 1], "x": 1, "y": 3.35},
{"matrix": [3, 2], "x": 2, "y": 3.1},
{"matrix": [3, 3], "x": 3, "y": 3},
{"matrix": [3, 4], "x": 4, "y": 3.1},
{"matrix": [3, 5], "x": 5, "y": 3.1},
{"matrix": [9, 0], "x": 11, "y": 3.1},
{"matrix": [9, 1], "x": 12, "y": 3.1},
{"matrix": [9, 2], "x": 13, "y": 3},
{"matrix": [9, 3], "x": 14, "y": 3.1},
{"matrix": [9, 4], "x": 15, "y": 3.35},
{"matrix": [9, 5], "x": 16, "y": 3.35},
{"matrix": [4, 0], "x": 0, "y": 4.35},
{"matrix": [4, 1], "x": 1, "y": 4.35},
{"matrix": [4, 2], "x": 2, "y": 4.1},
{"matrix": [4, 3], "x": 3, "y": 4},
{"matrix": [4, 4], "x": 4, "y": 4.1},
{"matrix": [10, 1], "x": 12, "y": 4.1},
{"matrix": [10, 2], "x": 13, "y": 4},
{"matrix": [10, 3], "x": 14, "y": 4.1},
{"matrix": [10, 4], "x": 15, "y": 4.35},
{"matrix": [10, 5], "x": 16, "y": 4.35},
{"matrix": [5, 1], "x": 6, "y": 5},
{"matrix": [5, 2], "x": 7, "y": 5},
{"matrix": [11, 3], "x": 9, "y": 5},
{"matrix": [11, 4], "x": 10, "y": 5},
{"matrix": [4, 5], "x": 5, "y": 6, "h": 2},
{"matrix": [5, 5], "x": 6, "y": 6, "h": 2},
{"matrix": [5, 3], "x": 7, "y": 6},
{"matrix": [11, 2], "x": 9, "y": 6},
{"matrix": [11, 0], "x": 10, "y": 6, "h": 2},
{"matrix": [10, 0], "x": 11, "y": 6, "h": 2},
{"matrix": [5, 4], "x": 7, "y": 7},
{"matrix": [11, 1], "x": 9, "y": 7}
]
}
}
}

+ 14
- 0
keyboards/handwired/dactyl/promicro/readme.md View File

@ -0,0 +1,14 @@
# Dactyl (Pro Micro)
The modernised Dactyl uses two Pro Micro development boards, one per half. The method of wiring matrix rows is identical to the Dactyl ManuForm, in that:
- Left Half: Row pins are wired to controller in sequence as specified in [keyboard.json](./keyboard.json).
- Right Half: Row pins are wired to controller in reverse order of Left Half.
| Row# | Left | Right |
| :---: | :---: | :---: |
| Row1 | F6 | B6 |
| Row2 | F7 | B2 |
| Row5 | B1 | B3 |
| Row4 | B3 | B1 |
| Row5 | B2 | F7 |
| Row6 | B6 | F6 |

+ 21
- 26
keyboards/handwired/dactyl/readme.md View File

@ -1,39 +1,34 @@
# Dactyl
See https://github.com/adereth/dactyl-keyboard
![Dactyl](https://i.imgur.com/3s2sqdGh.png)
The Dactyl uses the [Teensy Loader](https://www.pjrc.com/teensy/loader.html).
The *Dactyl* is a parameterized, split-bodied, concave key-well, columnar arranged, ergonomic keyboard. The 'legacy' configuration of this board required a microcontroller and I/O expander, though modern renditions require 2 micro controllers.
Linux users need to modify udev rules as described on the [Teensy
Linux page]. Some distributions provide a binary, maybe called
`teensy-loader-cli`.
- Default is the modernized 2 micro controller configuration in the `promicro` sub-directory.
- The legacy configuration has been retained and is available in the `legacy` sub-directory.
[Teensy Linux page]: https://www.pjrc.com/teensy/loader_linux.html
* Keyboard Maintainer: [Matthew Adereth](https://github.com/adereth)
* Hardware Supported:
* **Default** (Promicro): Arduino Pro Micro controllers, of clones of
* Legacy: Teensy2 controller and MCP23018 I/O expander
* Hardware Availability: [Case Files](https://github.com/adereth/dactyl-keyboard)
To flash the firmware:
Make examples for this keyboard (after setting up your build environment):
- Build the firmware with `make handwired/dactyl:<keymapname>`, for example `make handwired/dactyl:default`
- This will result in a hex file called `handwired_dactyl_<keymapname>.hex`, e.g.
`handwired_dactyl_default.hex`
make handwired/dactyl:default
make handwired/dactyl/legacy:default
- Start the teensy loader.
Flashing examples for this keyboard:
- Load the .hex file into it.
make handwired/dactyl:default:flash
make handwired/dactyl/legacy:default:flash
- Put the Teensy in firmware-loading mode:
* If your current layout has a `QK_BOOT` key, press it.
* If you lack a RESET key, press the reset button on the Teensy board itself.
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).
- Click the button in the Teensy app to download the firmware.
## Bootloader
To flash with ´teensy-loader-cli´:
Enter the bootloader in 3 ways:
- Build the firmware as above
- Run `<path/to/>teensy_loader_cli -mmcu=atmega32u4 -w handwired_dactyl_<keymapname>.hex`
- If you like, you can do both at once: `make handwired/dactyl:<keymapname>:teensy`
- Put the Teensy in firmware-loading mode:
* If your current layout has a `QK_BOOT` key, press it.
* If you lack a RESET key, press the reset button on the Teensy board itself.
* **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

+ 1
- 5
keyboards/handwired/dactyl/rules.mk View File

@ -1,5 +1 @@
CUSTOM_MATRIX = yes
# project specific files
I2C_DRIVER_REQUIRED = yes
SRC += matrix.c
DEFAULT_FOLDER = handwired/dactyl/promicro

+ 0
- 50
keyboards/handwired/dactyl_promicro/config.h View File

@ -1,50 +0,0 @@
/*
Copyright 2012 Jun Wako <wakojun@gmail.com>
Copyright 2015 Jack Humbert
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
/* mouse config */
#define MOUSEKEY_INTERVAL 20
#define MOUSEKEY_DELAY 0
#define MOUSEKEY_TIME_TO_MAX 60
#define MOUSEKEY_MAX_SPEED 7
#define MOUSEKEY_WHEEL_DELAY 0
/* 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
/*
* Feature disable options
* These options are also useful to firmware size reduction.
*/
/* disable debug print */
// #define NO_DEBUG
/* disable print */
// #define NO_PRINT
/* disable action features */
//#define NO_ACTION_LAYER
//#define NO_ACTION_TAPPING
//#define NO_ACTION_ONESHOT

+ 0
- 23
keyboards/handwired/dactyl_promicro/keymaps/default/config.h View File

@ -1,23 +0,0 @@
/*
Copyright 2012 Jun Wako <wakojun@gmail.com>
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 MASTER_RIGHT
// #define MASTER_RIGHT
//#define EE_HANDS
// Rows are doubled-up

+ 0
- 68
keyboards/handwired/dactyl_promicro/keymaps/default/keymap.c View File

@ -1,68 +0,0 @@
/*
Copyright 2012 Jun Wako <wakojun@gmail.com>
Copyright 2015 Jack Humbert
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
#define _QWERTY 0
#define _LOWER 1
#define _RAISE 2
#define RAISE MO(_RAISE)
#define LOWER MO(_LOWER)
#define ONE_GRV LT(1,KC_GRAVE)
#define CTL_Z LCTL_T(KC_Z)
#define ALT_SHFT LALT(KC_LSFT)
#define ALT_MENU LALT_T(KC_MENU)
#define LG_QUOT LGUI_T(KC_QUOT)
#define CTL_ESC LCTL_T(KC_ESC)
#define CTL_SLS LCTL_T(KC_SLSH)
#define LT2_COL LT(_RAISE, KC_SCLN)
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
[_QWERTY] = LAYOUT_6x6(
KC_EQL , KC_1 ,KC_2 , KC_3 , KC_4 , KC_5 , KC_6 , KC_7 , KC_8 , KC_9 , KC_0 ,KC_BSPC,
KC_DEL , KC_Q ,KC_W , KC_E , KC_R , KC_T , KC_Y , KC_U , KC_I , KC_O , KC_P ,KC_MINS,
KC_BSPC, KC_A ,KC_S , KC_D , KC_F , KC_G , KC_H , KC_J , KC_K , KC_L ,LT2_COL,LG_QUOT,
KC_LSFT, CTL_Z ,KC_X , KC_C , KC_V , KC_B , KC_N , KC_M ,KC_COMM, KC_DOT,CTL_SLS,KC_RSFT,
ONE_GRV,KC_QUOT,ALT_SHFT,KC_LEFT,KC_RGHT,KC_SPC , KC_ENT , KC_UP ,KC_DOWN,KC_LBRC,KC_RBRC,TT(_LOWER),
KC_BSPC,ALT_MENU,KC_LGUI, KC_RALT,CTL_ESC,KC_TAB ,
KC_HOME, KC_PGUP,
KC_END , KC_PGDN
),
[_LOWER] = LAYOUT_6x6(
_______,KC_F1 ,KC_F2 ,KC_F3 ,KC_F4 ,KC_F5 , KC_F6 ,KC_F7 ,KC_F8 ,KC_F9 ,KC_F10 ,KC_F11 ,
_______,KC_EXLM,KC_AT ,KC_LBRC,KC_RBRC,KC_PIPE, KC_UP ,KC_P7 ,KC_P8 ,KC_P9 ,KC_PAST,KC_F12 ,
_______,KC_HASH,KC_DLR ,KC_LPRN,KC_RPRN,KC_GRV , KC_DOWN,KC_P4 ,KC_P5 ,KC_P6 ,KC_PPLS,_______,
_______,KC_PERC,KC_CIRC,KC_LBRC,KC_RBRC,KC_TILD, KC_AMPR,KC_P1 ,KC_P2 ,KC_P3 ,KC_PSLS,_______,
QK_BOOT ,_______,_______,_______,_______,_______, _______,_______,KC_PDOT,KC_P0 ,KC_PEQL,_______,
_______,_______,_______, _______,_______,_______,
_______, _______,
_______, _______
),
[_RAISE] = LAYOUT_6x6(
_______,_______,_______,_______,_______,_______, _______,_______,_______,_______,_______,_______,
_______,_______,_______,KC_MS_U,_______,_______, _______,_______,_______,_______,_______,_______,
_______,_______,KC_MS_L,KC_MS_D,KC_MS_R,_______, _______,_______,_______,_______,_______,KC_MPLY,
_______,_______,_______,_______,_______,_______, _______,_______,KC_MPRV,KC_MNXT,_______,_______,
QK_BOOT ,_______,_______,KC_BTN1,KC_BTN2,_______, KC_WBAK,KC_VOLU,KC_VOLD,KC_MUTE,_______,_______,
_______,_______,_______, _______,_______,_______,
_______, _______,
_______, _______
)
};

+ 0
- 30
keyboards/handwired/dactyl_promicro/readme.md View File

@ -1,30 +0,0 @@
# Dactyl (Pro Micro)
![Dactyl](https://i.imgur.com/a7uY1eSh.png)
A split body, concave shaped key well, columnar keyboard with a 6 key thumb cluster that takes inspiration from the Kinesis Advantage keyboard range. This rendition of the *Dactyl* requires two micro controllers rather than the [original implementation](/keyboards/handwired/dactyl/) of a micro controller and I/O expander.
* Keyboard Maintainer: [Matt Adereth](https://github.com/adereth)
* Hardware Supported: Pro Micro controller, or clones of
* Hardware Availability: [GitHub](https://github.com/adereth/dactyl-keyboard)
Make example for this keyboard (after setting up your build environment):
make handwired/dactyl_promicro:default
Flashing example for this keyboard:
make handwired/dactyl_promicro: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).
## Optional Hardware
A speaker can be hooked-up to either side to the `5` (`C6`) pin and `GND`, and turned on via `AUDIO_ENABLE`.
## Bootloader
Enter the bootloader in 2 ways:
* **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

+ 0
- 46
keyboards/handwired/dactyl_rah/config.h View File

@ -1,46 +0,0 @@
/*
Copyright 2020 Ralph Azucena <ralphie02@live.com>
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
/* mouse config */
#define MOUSEKEY_DELAY 0
// Lowering MOUSEKEY_INTERVAL raises the cursor speed significantly, you may want to lower MOUSEKEY_MAX_SPEED (default: 10)
#define MOUSEKEY_INTERVAL 20
#define MOUSEKEY_MAX_SPEED 7
#define MOUSEKEY_WHEEL_DELAY 0
/* 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
// Feature disable options
// These options are also useful to firmware size reduction.
/* disable print */
// #define NO_DEBUG
// #define NO_PRINT
/* disable action features */
//#define NO_ACTION_LAYER
//#define NO_ACTION_TAPPING
//#define NO_ACTION_ONESHOT

+ 0
- 47
keyboards/handwired/dactyl_rah/keymaps/default/keymap.c View File

@ -1,47 +0,0 @@
/* Copyright 2020 Ralph Azucena <ralphie02@live.com>
* 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
#define BASE 0
#define NAV 1
#define CTL_ESC LCTL_T(KC_ESC)
#define CTL_CAP LCTL_T(KC_CAPS)
#define ALT_BSP LALT_T(KC_BSPC)
#define LT_SCLN LT(NAV, KC_SCLN)
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
[BASE] = LAYOUT_6x6(
KC_GRV , KC_1 ,KC_2 , KC_3 , KC_4 , KC_5 , KC_6 , KC_7 , KC_8 , KC_9 , KC_0 ,KC_HOME,
KC_TAB , KC_Q ,KC_W , KC_E , KC_R , KC_T , KC_Y , KC_U , KC_I , KC_O , KC_P ,KC_BSLS,
CTL_CAP, KC_A ,KC_S , KC_D , KC_F , KC_G , KC_H , KC_J , KC_K , KC_L ,LT_SCLN,KC_QUOT,
KC_LSFT, KC_Z ,KC_X , KC_C , KC_V , KC_B , KC_N , KC_M ,KC_COMM, KC_DOT,KC_SLSH,KC_RSFT,
CTL_ESC,KC_MINS,KC_EQL ,KC_LBRC,KC_RBRC, KC_LEFT,KC_DOWN, KC_UP ,KC_RGHT,KC_END ,
TT(NAV),KC_DEL , KC_PGUP,KC_RCTL,
KC_LGUI, KC_PGDN,
KC_BSPC,CTL_ESC,KC_LALT, KC_RALT,KC_ENT ,KC_SPC
),
[NAV] = LAYOUT_6x6(
QK_BOOT , KC_NO ,KC_MPRV,KC_MPLY,KC_MNXT, KC_NO , KC_BRIU, KC_7 , KC_8 , KC_9 , KC_NO , QK_BOOT ,
_______,KC_VOLU,KC_WBAK,KC_MS_U,KC_WFWD,KC_WH_U, KC_BRID, KC_4 , KC_5 , KC_6 , KC_NO , KC_F9 ,
_______,KC_VOLD,KC_MS_L,KC_MS_D,KC_MS_R,KC_WH_D, KC_PPLS, KC_1 , KC_2 , KC_3 ,KC_PMNS, KC_F10,
KC_NO , KC_F1 , KC_F2 , KC_F3 , KC_F4 , KC_NO , KC_PAST, KC_0 , KC_NO ,_______,KC_PSLS, KC_F11,
_______, KC_F5 , KC_F6 , KC_F7 , KC_F8 , _______,_______,_______,_______, KC_F12,
_______,_______, KC_HOME,_______,
_______, KC_END ,
KC_BTN1,KC_BTN2,_______, ALT_BSP,_______,_______
)
};

+ 0
- 19
keyboards/handwired/dactyl_rah/keymaps/right/config.h View File

@ -1,19 +0,0 @@
/*
Copyright 2020 Ralph Azucena <ralphie02@live.com>
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 MASTER_RIGHT

+ 0
- 47
keyboards/handwired/dactyl_rah/keymaps/right/keymap.c View File

@ -1,47 +0,0 @@
/* Copyright 2020 Ralph Azucena <ralphie02@live.com>
* 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
#define BASE 0
#define NAV 1
#define CTL_ESC LCTL_T(KC_ESC)
#define CTL_CAP LCTL_T(KC_CAPS)
#define ALT_BSP LALT_T(KC_BSPC)
#define LT_SCLN LT(NAV, KC_SCLN)
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
[BASE] = LAYOUT_6x6(
KC_GRV , KC_1 ,KC_2 , KC_3 , KC_4 , KC_5 , KC_6 , KC_7 , KC_8 , KC_9 , KC_0 ,KC_HOME,
KC_TAB , KC_Q ,KC_W , KC_E , KC_R , KC_T , KC_Y , KC_U , KC_I , KC_O , KC_P ,KC_BSLS,
CTL_CAP, KC_A ,KC_S , KC_D , KC_F , KC_G , KC_H , KC_J , KC_K , KC_L ,LT_SCLN,KC_QUOT,
KC_LSFT, KC_Z ,KC_X , KC_C , KC_V , KC_B , KC_N , KC_M ,KC_COMM, KC_DOT,KC_SLSH,KC_RSFT,
CTL_ESC,KC_MINS,KC_EQL ,KC_LBRC,KC_RBRC, KC_LEFT,KC_DOWN, KC_UP ,KC_RGHT,KC_END ,
TT(NAV),KC_DEL , KC_PGUP,KC_RCTL,
KC_LGUI, KC_PGDN,
KC_BSPC,CTL_ESC,KC_LALT, KC_RALT,KC_ENT ,KC_SPC
),
[NAV] = LAYOUT_6x6(
QK_BOOT , KC_NO ,KC_MPRV,KC_MPLY,KC_MNXT, KC_NO , KC_BRIU, KC_7 , KC_8 , KC_9 , KC_NO , QK_BOOT ,
_______,KC_VOLU,KC_WBAK,KC_MS_U,KC_WFWD,KC_WH_U, KC_BRID, KC_4 , KC_5 , KC_6 , KC_NO , KC_F9 ,
_______,KC_VOLD,KC_MS_L,KC_MS_D,KC_MS_R,KC_WH_D, KC_PPLS, KC_1 , KC_2 , KC_3 ,KC_PMNS, KC_F10,
KC_NO , KC_F1 , KC_F2 , KC_F3 , KC_F4 , KC_NO , KC_PAST, KC_0 , KC_NO ,_______,KC_PSLS, KC_F11,
_______, KC_F5 , KC_F6 , KC_F7 , KC_F8 , _______,_______,_______,_______, KC_F12,
_______,_______, KC_HOME,_______,
_______, KC_END ,
KC_BTN1,KC_BTN2,_______, ALT_BSP,_______,_______
)
};

+ 0
- 1
keyboards/handwired/dactyl_rah/readme.md View File

@ -1 +0,0 @@
For reference, visite dactyl_micro [readme](https://github.com/qmk/qmk_firmware/blob/master/keyboards/handwired/dactyl_promicro/readme.md)

Loading…
Cancel
Save