daveriedstra / libinput-gestures Goto Github PK
View Code? Open in Web Editor NEWThis project forked from bulletmark/libinput-gestures
Actions gestures on your touchpad using libinput (fork with 3-finger drag)
This project forked from bulletmark/libinput-gestures
Actions gestures on your touchpad using libinput (fork with 3-finger drag)
Thanks for your project!
When dragging for long distance , I have to drag more times. So, how to add feature for LockedDrags and LockedDragTimeout.
BTW, can I set drag speed
or enable pointer acceleration
when using 3-finger drag?
Thanks so much!
3-finger drag works great, thank you! I'm using it with XFCE's "move window" shortcut in Window Manager settings, which allows me to do 3 window drag with the pointer ANYWHERE in the window, not just the title bar!
gesture swipebegin all 3 xdotool key alt+F7
gesture swipeend all 3 xdotool key alt+F7
gesture swipeupdate all 3 xdotool mousemove_relative -- x y
Very happy with this!
Is there a way or can you implement a way to do 3-finger tap for middle-click (paste) ?
With touchegg I used to do: gesture type="TAP" fingers="3" direction="", action type="MOUSE_CLICK">BUTTON=2
Looking for something similar here.
Could you add 3fingertap and 4fingertap gestures so we can call xdotool with them ?
Thank you!
Slow three-finger movements are registered as GESTURE_PINCH and aren't used for 3-finger-drag. I think we just need to replicate the swipebegin / update / end hooks for pinch to get around this.
Currently libinput eats cursor movements during gestures, so our 3-finger-drag technique recreates them using xdotool. This causes CPU usage to spike, bypasses pointer acceleration, and is generally an inferior experience. A better approach would be to allow cursor movement during gestures while still triggering mousedown / up at gesture beginning / end.
I'm not sure how to do this.
@daveriedstra I having trouble copying text selected with a 3 finger scroll.
However the issue is after selecting the text it, the browser somehow goes back to the previous page.
gesture swipebegin all 3 xdotool mousedown 1
gesture swipeend all 3 xdotool mouseup 1
gesture swipeupdate all 3 xdotool mousemove_relative -- x y
Is it possible to setup some timeout before tree finger drag gesture end, like tap and drag timeout in libinput (in KDE it work fine)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.