Minor polishing

This commit is contained in:
urob 2022-06-20 13:21:18 -04:00
parent 594661bc26
commit 962e2dbca1
2 changed files with 55 additions and 67 deletions

View file

@ -25,29 +25,29 @@
#endif #endif
/* /*
TODO and ISSUES TODOs and ISSUES
* unicode not officially supported (#232), implement with macro (tri-lt on D and H) * unicode not officially supported (#232), implement with macro (tri-lt on D and H)
* tap-only combos not yet possible (#544), combos not working with global-quick-tap * tap-only combos not yet possible (#544), combos not working with global-quick-tap
* mod-taps getting stuck with heterogenous combo-terms (#986, #905) * mod-taps getting stuck with heterogenous combo-terms (#986, #905)
* &bootloader doesn't work with Planck_rev6 (#1086) * &bootloader doesn't work with Planck_rev6 (#1086)
* mod-morph doesn't swallow mod (#686), PR https://github.com/zmkfirmware/zmk/pull/1114 * mod-morph doesn't swallow mod (#686), PR https://github.com/zmkfirmware/zmk/pull/1114
* native sleep key doesn't work with windows (#1077), workaround implemented below * native sleep key doesn't work with windows (#1077), using macro instead below
* mouse wheel not implemented yet (#319) * mouse wheel keys not implemented yet (#319), using up/down instead below
* sticky hold swallows os shift when typing quickly * sticky hold swallows OS shift when typing quickly
* Invalid DFU suffix signature warning when flashing with dfu-util * Invalid DFU suffix signature warning when flashing with dfu-util
*/ */
/* sticky key config */ /* sticky key config */
&sk { &sk {
release-after-ms = <550>; // release after 0.5s release-after-ms = <550>; // release after 0.55s
quick-release; // fix double capitalization when rolling keys quick-release; // no double capitalization when rolling keys
}; };
/* layer tap config */ /* layer tap config */
&lt { &lt {
flavor = "balanced"; flavor = "balanced";
tapping-term-ms = <200>; tapping-term-ms = <200>;
quick-tap-ms = <175>; quick-tap-ms = <175>; // double-tap + hold repeats tap-key
// global-quick-tap; // global-quick-tap;
}; };
@ -89,7 +89,7 @@ TODO and ISSUES
quick-tap-ms = <125>; quick-tap-ms = <125>;
global-quick-tap; global-quick-tap;
bindings = <&kp>, <&kp>; bindings = <&kp>, <&kp>;
hold-trigger-key-positions = <LHM RHK THK>; hold-trigger-key-positions = <LHM RHK THK>; // add left-hand HRMs for chaining
}; };
// right-hand homerow mods // right-hand homerow mods
@ -102,7 +102,7 @@ TODO and ISSUES
quick-tap-ms = <125>; quick-tap-ms = <125>;
global-quick-tap; global-quick-tap;
bindings = <&kp>, <&kp>; bindings = <&kp>, <&kp>;
hold-trigger-key-positions = <RHM LHK THK>; hold-trigger-key-positions = <RHM LHK THK>; // add right-hand HRMs for chaining
}; };
/* custom keys */ /* custom keys */
@ -125,18 +125,6 @@ TODO and ISSUES
bindings = <&sk LSHFT>, <&caps_word>, <&none>; bindings = <&sk LSHFT>, <&caps_word>, <&none>;
}; };
// tap: repeat | hold: switch layer -- unused
repeat: repeat_layer_tap {
compatible = "zmk,behavior-hold-tap";
label = "REPEAT_LAYER_TAP";
#binding-cells = <2>;
flavor = "balanced";
tapping-term-ms = <200>;
quick-tap-ms = <175>;
//global-quick-tap;
bindings = <&mo>, <&key_repeat>;
};
}; };
keymap { keymap {
@ -165,7 +153,7 @@ TODO and ISSUES
// ├─────────────┼─────────────┼─────────────┼─────────────┼─────────────┤ ├─────────────┤ ├─────────────┼─────────────┼─────────────┼─────────────┼─────────────┤ // ├─────────────┼─────────────┼─────────────┼─────────────┼─────────────┤ ├─────────────┤ ├─────────────┼─────────────┼─────────────┼─────────────┼─────────────┤
___ ___ ___ ___ ___ EXTRA_MID ___ &kp LC(X) &kp LC(INS) &kp LS(INS) ___ ___ ___ ___ ___ ___ EXTRA_MID ___ &kp LC(X) &kp LC(INS) &kp LS(INS) ___
// ├─────────────┼─────────────┼─────────────┼─────────────┼─────────────┤ ├─────────────┤ ├─────────────┼─────────────┼─────────────┼─────────────┼─────────────┤ // ├─────────────┼─────────────┼─────────────┼─────────────┼─────────────┤ ├─────────────┤ ├─────────────┼─────────────┼─────────────┼─────────────┼─────────────┤
EXTRA_BOT_L ___ ___ ___ EXTRA_MID ___ &kp TAB ___ EXTRA_BOT_R EXTRA_BOT_L ___ ___ ___ EXTRA_MID ___ ___ ___ EXTRA_BOT_R
// ╰─────────────╯ ╰─────────────┴──── ────────┴─────────────╯ ╰─────────────╯ ╰─────────────┴─────────────┴─────────────╯ ╰─────────────╯ // ╰─────────────╯ ╰─────────────┴──── ────────┴─────────────╯ ╰─────────────╯ ╰─────────────┴─────────────┴─────────────╯ ╰─────────────╯
>; >;
}; };

View file

@ -22,7 +22,7 @@ compatible = "zmk,combos";
}; };
/* Capsword */ /* Capsword */
COMBO(cpwrd, &caps_word, LM3 RM1, DEF NUM, COMBO_TERM_H) // COMBO(cpwrd, &caps_word, LM3 RM1, DEF NUM, COMBO_TERM_V)
/* Punctuation (horizontal left hand) */ /* Punctuation (horizontal left hand) */
COMBO(num, &tog NUM, LT1 LT3, DEF NUM, COMBO_TERM_H) COMBO(num, &tog NUM, LT1 LT3, DEF NUM, COMBO_TERM_H)