-
-
Notifications
You must be signed in to change notification settings - Fork 149
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature request: Tip-Tap gesture #280
Comments
Thank you for suggesting this interesting feature. |
I am not entirely sure to follow. The main request here was to implement a way to have the three-finger text highlight feature available in some way. However:
So I am a bit confused. It does not seem that it is possible to implement a three finger gesture to highlight text, still. It is really the gestures like:
I can achieve the backwards navigation with three finger gesture, not a big deal, using either yodtool, native features or fusuma-plugin-sendkey. As well the drag-to-move window, either user native features or either of the ydotool or native features. But the three-fingers-to-highlight, to me, seem still absolutely unachievable. What do I miss? Cheers! |
@smileBeda It is not a 3 finger gesture, it is a 2 finger one. The difference between a "normal" 2 finger tap, is that both fingers don't touch the trackpad at the same time, instead, one goes first and some time after (for example 400ms), the other one comes in. Then, based the tap order of the fingers and their x-coordinate, the software triggers tip-tap left (if right finger 1st, left finger 2nd) or tip-tap right (if left 1sr, right 2nd) That is the gesture part. And then, there's the action part. Here I'm just requesting the gesture, but obviously, if it comes with some actions it's better. In the GIF it rearranges windows, but that's a random GIF I found on the internet to show an example. What I would configure it to do is to trigger Ctrl + C and Ctrl + V, which seems trivial to me and I assumed it is already supported. |
Now, I switched to macOS, and I use an app called Better Touch Tool, which is the best gestures app by far (that I found for any OS). Take a look at the options it has, I recorded a video for you. It has almost all possible (and usable) gestures doable in a trackpad with up to 5 fingers. I also show some of the actions it supports. Screen.Recording.2023-11-20.at.10.21.21.AM.mov
|
... which is why I am so desperate for it on linux lol Anyway, I got working ... default out of the box on X server. Forget wayland. But.. probably moving back to MacOS. Battery is a catastrophe on linux. So is half of the apps available. I guess it is the drawback of FOSS. Either pay, or pain Haha... |
I believe we need an event recognition and translation layer that does not rely on libinput, but rather uses evdev. This is necessary because libinput itself does not report touch positions. Currently, Fusuma operates based on libinput, but we could create plugins that utilize evdev events as needed. For example, some functionalities of fusuma-plugin-thumbsense and fusuma-plugin-remap are implemented using evdev. This idea involves creating pairs of physical and virtual keyboards, and either rewriting the communication between them or using it as input for Fusuma. Similarly, we can create pairs of physical and virtual touchpads, rewriting the communication between them. This approach would enable us to accurately detect touch positions and convert them into arbitrary events. This means, by reporting touch positions while filtering the touches passed to the Wayland compositor's libinput, Fusuma could support more flexible gestures dependent on touch positions. |
Feature explanation
I'd like to use the Tip-Tap gestures (like the one in Better Touch Tool).
It's a very simple gesture and very versatile. Let me highlight some of it's benefits:
Example useful actions that can be assigned:
What is Tip-Tap gesture?
a. Variant 1: Left
b. Variant 2: Right
Video: https://www.youtube.com/watch?v=MRhBa3-O3fM
The text was updated successfully, but these errors were encountered: