keymapper icon indicating copy to clipboard operation
keymapper copied to clipboard

[suggestion] Add a timeout function to achieve xcape-like effects

Open yyy33 opened this issue 3 years ago • 2 comments

For example, I have the following two mappings, which implement the function of sending esc with a click of ctrl,But I want the second mapping to take effect only when I press the key and release it within 500ms, and nothing if it exceeds 500ms. In the actual use of the process, I think this timeout is quite helpful, otherwise often will accidentally touch the esc key

ControlLeft{Any} >> ControlLeft{Any}
ControlLeft >> Escape

yyy33 avatar Sep 21 '22 03:09 yyy33

Thanks for the suggestion. Never heard of xcape or thought about this use case. Seems to be quite prevalent. There is another similar request #32. I will think about how this could be achieved.

houmain avatar Sep 23 '22 16:09 houmain

Thanks for the suggestion. Never heard of xcape or thought about this use case. Seems to be quite prevalent. There is another similar request #32. I will think about how this could be achieved.

Great!

yyy33 avatar Sep 26 '22 02:09 yyy33

Hi, this should work now in the 2.4.0 release. See No key.

houmain avatar Nov 26 '22 12:11 houmain

Hi, this should work now in the 2.4.0 release. See No key.

Great, thanks for your hard work!

yyy33 avatar Nov 28 '22 08:11 yyy33