This is an idea for a new behavior, which I think could be really useful and open up all sorts of creative uses:
The antecedent-morph behavior would trigger an alternative binding if within timeout-ms the immediate predecessor matches the trigger condition. This would enable using adaptive keys where certain keys change their meaning if pressed immediately after another key, as popularized by the Hands Down layouts.
For instance, in the Hands Down layout, ,A send UA. Using the proposed behavior, this could be implemented by replacing &kp A with a antecedent-morph configured as follows:
adaptive_A: adaptive_A {
compatible= "zmk,behavior-antecedent-morph";
bindings = <&kp A>, <&morphed_A>;
timeout-ms = <1000>;
antecedent = <&kp DOT>:
}
and where &morphed_A is a macro executing BACKSPACE, U, A.
This is an idea for a new behavior, which I think could be really useful and open up all sorts of creative uses:
The
antecedent-morphbehavior would trigger an alternative binding if withintimeout-msthe immediate predecessor matches the trigger condition. This would enable using adaptive keys where certain keys change their meaning if pressed immediately after another key, as popularized by the Hands Down layouts.For instance, in the Hands Down layout,
,AsendUA. Using the proposed behavior, this could be implemented by replacing&kp Awith aantecedent-morphconfigured as follows:and where
&morphed_Ais a macro executingBACKSPACE,U,A.