experimented with a one-handed layout (currently disabled)

kenbarbour60
Ken Barbour 2023-01-06 20:13:17 -05:00
parent f78c8935fc
commit f86bac50be
2 changed files with 17 additions and 1 deletions

View File

@ -0,0 +1,11 @@
// Retro Tapping means releasing a dual-function key
// after a tapping term will send the original keypress
//
// For instance, holding and releasing `LT(2, KC_SPACE)`
// without hitting another key normally will result in
// nothing happening. With this enabled, it will send
// `KC_SPACE` instead.
//
// If more granular control is required, try RETRO_TAPPING_PER_KEY
// and define bool get_retro_tapping(uint16_t keycode, keyrecord_t *record)
#define RETRO_TAPPING

View File

@ -1,5 +1,9 @@
/*
vim: textwidth=150 colorcolumn=0
*/
#include QMK_KEYBOARD_H
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
[0] = LAYOUT_all(
@ -7,7 +11,8 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
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_HOME, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, XXXXXXX, KC_ENT,
KC_LSFT, XXXXXXX, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_ESC, XXXXXXX, KC_UP,
TT(2), KC_LCTL, KC_LGUI, XXXXXXX, LT(7,KC_SPC), XXXXXXX, KC_LALT, KC_LEFT, XXXXXXX, KC_DOWN, KC_RGHT),
TT(2), KC_LCTL, KC_LGUI, XXXXXXX, KC_SPC, XXXXXXX, KC_LALT, KC_LEFT, XXXXXXX, KC_DOWN, KC_RGHT),
// LT(7,KC_SPC) is used to enable layer 7 while pressing space
// Colemak Layer
[1] = LAYOUT_all(