Update hold-tap.md

This commit is contained in:
Felix Sargent 2021-12-16 14:36:33 -08:00 committed by GitHub
parent 161a7846c8
commit 3efb6906ba
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -52,19 +52,19 @@ In QMK, unlike ZMK, this functionality is enabled by default, and you turn it of
If retro tap is enabled, the tap behavior is triggered when releasing the hold-tap key if no other key was pressed in the meantime. The hold key does not activate until another key is pressed, meaning that it cannot be used for mouse events like Shift Click to select from your cursor position to mouse position.
For example, if you press `&mt LEFT_SHIFT Z` and then release it without pressing another key, it will output `z`.
For example, if you press `&mt_retro LEFT_SHIFT Z` and then release it without pressing another key, it will output `z`.
```
/ {
behaviors {
mt_retro: mt_retro {
retro-tap;
compatible = "zmk,behavior-hold-tap";
label = "shift mod";
label = "mod tap with retro-tap";
#binding-cells = <2>;
tapping_term_ms = <100>;
flavor = "hold-preferred";
bindings = <&kp>, <&kp>;
retro-tap;
};
};
};