Open leiflm opened 3 years ago
Hi, there is already a setting like this I think. If you adjust the sensitivity, that will change the threshold of the gesture to be detected.
Let me know if that is not what you are looking for.
Hey, thanks for your quick feedback.
If you adjust the sensitivity, that will change the threshold of the gesture to be detected.
hmm.. the code (_checkActivated
and _checkSwipeValid
) reads like the threshold refers to the travel distance (i.e. solves https://github.com/mpiannucci/gnome-shell-extended-gestures/issues/19), but does not provide a solution to the requested feature.
What I'm suggesting is implementing flicking recognition as shown here: https://vimeo.com/1933594.
Ahhhhh Ok so you want new gestures. Got it!
In theory, this can be implemented by piggy backing on the existing gestures and just changing the sensitivity to be really low so they trigger fast but only if there is both acceptable acceleration and the direction is perfectly horizontal or vertical
In theory, this can be implemented by piggy backing on the existing gestures and just changing the sensitivity to be really low so they trigger fast but only if there is both acceptable acceleration and the direction is perfectly horizontal or vertical
You'd still need timing right? I used a more general approach/title ("add timing sensitivity") so that if you add other gestures, you could have both again.
Example pinch (in/out):
It would be really nice, if one could enable a timing dependency for a gesture like: "unless this gesture happens within 500ms, the event is ignored by the extension/propagated.".
This would allow two-finger gestures to be used alongside two-finger scrolling, etc.
I'm willing to implement this, but would be interested, if this has already been contemplated and was rejected for some reason?