So we now have @algernon's awesome Tap Dance feature merged in!
I need to document the feature and show an example of how it's used.
Hi, @ezuk, I'm not trying to rush you in any way, I'm just curious how much progress you've made with some documentation and an example or two. Thanks.
The original pull request, #451 has some examples, simple ones. Those are a reasonable start until better docs are available.
@squarology I actually appreciate the ping. I've now simply taken @algernon's excellent documentation from the PR, credited him, and put it right in the official readme. Please let me know if there are any edits, tweaks, or examples you'd like to make.
Is it possible to have a tap dance key do one thing when it's unshifted and another thing when it is shifted?
@squarology yes, but not easily. You will have to use a custom function, with the ACTION_TAP_DANCE_FN helper, and you can check whether shift is set there, and register a keycode accordingly.
Having double tap a key act like tapping the key with AltGr pressed could be a nice feature for those having to use AltGr to insert characters with diacritical marks or other _special_ ones. This is particularly since very often right Alt is mapped to AltGr, making it difficult to type many combos employing Alt key.
@piotr-dobrogost working on something like that. I have something that works sometimes, when one modifier is pressed, but it's not done yet.
The goal is to allow ACTION_TAP_DANCE_DOUBLE(KC_A, RALT(KC_A)) to do the right thing, and register RALT + A when double tapped.
Converting QMK modifiers to TMK codes to pass along to register_code is not as trivial as I would have hoped.
@algernon It is the right thing to do. I would expect register_code method to take all the combination that i can use directly keymaps directly.
I think this can be closed now, there is adequate documentation, with examples, in the readme now.
Agreed! Thank you @algernon!
Most helpful comment
The original pull request, #451 has some examples, simple ones. Those are a reasonable start until better docs are available.