qmk_firmware
qmk_firmware copied to clipboard
[Feature Request] Retro tapping timeout
Feature Request Type
- [ ] Core functionality
- [ ] Add-on hardware support (eg. audio, RGB, OLED screen, etc.)
- [x] Alteration (enhancement/optimization) of existing feature(s)
- [ ] New behavior
Description
In the docs I see that RETRO_SHIFT
can be configured with a timeout.
If
RETRO_SHIFT
is defined to a value, hold times greater than that value will not produce a tap on release. This enables modifiers to be held for combining with mouse clicks without generating taps on release. For example:#define RETRO_SHIFT 500
I think adding the same behaviour to RETRO_TAPPING
would be a great with exactly the same reasoning as stands for RETRO_SHIFT
. What do you think about that?
I managed to achieve desired behaviour with TAPPING_TERM_PER_KEY
and HOLD_ON_OTHER_KEY_PRESS_PER_KEY
.
This way when I hold mod tap key longer then it's tapping term and release it no keycodes are send to the computer. And as soon as I press and hold it I get hold action. So tapping term acts like timeout for tapping action and I get configure it to be as big or as little as I like.
I think you can safely close the issue.
Please, do not close this issue. It is a necessary feature.
First of all, I use the Moonlander fork, so I cannot customise the keyboard in such a detail. And all of this settings seems to have side effects, so only a specific configuration works for me.
I enabled Retro Tapping and it makes typing much better. But there are huge problems:
- If I use it with the mouse it does not recognise the mouse clicks. For example if I want to select many files I hold shift key which is configured as "held on 'a' character" and click on the last file in the list and it selects all files as wanted. But then I release the a/shift key an a is sent and the selection is revoked. So I have to handle hundred files one by one. This happens with the programmed mouse keys of the keyboard (what i think is a bug on its own) just as with an external mouse (what is logical).
- Often I have the situation that I start a special key combo and stop in this process because I want to do something else first. So the hold key is down an by releasing it fires the key. I have no chance to stop it. But outside of the text document a key press can damage things. A hour ago I moved six emails to the archive folder in thunderbird, because the a key stroke seems to do this. And I have many situations in the last weeks where something unexpected happen in a program and I do not know what because the unintended key stroke triggered something.
So this timeout is probably not hard to implement and would make Retro Tapping much more enjoyable.
This issue has been automatically marked as stale because it has not had activity in the last 90 days. It will be closed in the next 30 days unless it is tagged properly or other activity occurs.
For maintainers: Please label with bug
, in progress
, on hold
, discussion
or to do
to prevent the issue from being re-flagged.
This issue has been automatically closed because it has not had activity in the last 30 days. If this issue is still valid, re-open the issue and let us know. // [stale-action-closed]
I also wanted this feature. Here is a working proof of concept. Theses changes can be applied to the ZSA firmware as well.