dgurkaynak / Penc

Trackpad-oriented window manager for macOS
https://deniz.co/penc/
MIT License
1.11k stars 25 forks source link

Double-press detection threshold #43

Open ArkitectNaut opened 1 year ago

ArkitectNaut commented 1 year ago

You are currently only able to increase the threshold of the double-press speed. The problem is that by increasing the threshold, you can still double-press super quickly and the action will active. It would be very helpful if you could set a 'zone' of activation where too slow or too fast won't activate it.

I have the 'hold duration to activate' set to 0ms as I like it to activate instantly once I call it but this results in any type of unintended 'jitter' action on the key to activate the Penc interface. If you could set the previously mentioned 'zone', one could decide to have Penc activate between 200ms-300ms where anything faster than 200ms and anything slower than 300ms would not be registered as a Penc call. Hopefully this explanation makes sense.

Penc_Threshold_Concept

dgurkaynak commented 1 year ago

It definetely make sense. And this should be easy to implement it!