update keymap to September 12, 2021, 6:48 pm

This commit is contained in:
jmding@gmail.com 2021-09-13 02:08:02 +00:00
parent 7a627f20d2
commit e4f0e917a4

View file

@ -12,7 +12,7 @@
#define SYS 6
// %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
// Last committed: September 12, 2021, 9:49 am
// Last committed: September 12, 2021, 6:48 pm
// %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
/ {
@ -26,15 +26,23 @@
bindings = <&mo>, <&kp>;
};
// Short tapping term results in preference for hold over tap behaviors.
// To counteract this, use conditional hold-tap (hold-enabler-keys)
// to prevent unintentional hold behaviors.
// For regular, hold-preferred, hold-tap behaviors, a shorter tapping term
// encourages hold-decisions. This is because an expiring tapping term forces
// the behavior to decide as a hold.
//
// However, for conditional, hold-preferred, hold-tap behaviors, a shorter
// tapping term actually encourages tap-decisions. This is because a shorter
// tapping term gives the user less time to press one of the conditional
// hold-enabler-keys that are required to enable a hold-decision.
// Furthermore, if the tapping-term expires before the user manages to press
// a hold-enabler-key, the expiring tapping-term timer also directly triggers
// the behavior to decide as a tap.
cmt: c_mod_tap {
compatible = "zmk,behavior-hold-tap";
label = "CONDITIONAL_HOLD_TAP";
#binding-cells = <2>;
flavor = "hold-preferred";
tapping-term-ms = <100>;
tapping-term-ms = <300>;
bindings = <&kp>, <&kp>;
hold-enabler-keys = <0 12>;
};