Comments (6)
Please test this branch: https://github.com/p2rkw/xf86-input-mtrack/tree/tap_drag_tiemout
I hardcoded drag lock time to 500 ms, but it could potentially be infinite, which means additional tap will be needed to break drag mode.
from xf86-input-mtrack.
Works excellent!
libinput uses hardcoded 500ms.
Is there a way to disable keyboard cursor arrows based window movement?
from xf86-input-mtrack.
New commits, please test, and let me know about issues before I push to master.
from xf86-input-mtrack.
Now: Cursor movement is disabled but the cross arrows are visible and window (in KDE) is semi-transparent = waiting for drag finish.
Now and previous version of this branch:
There is also a problem with clicking before drag - no matter how fast I try to tap to drag there is always double click and drag. Is it possible to wait with "release" of the button for some time (maybe 150ms) to see if user decides to tap again or drag?
from xf86-input-mtrack.
Now: Cursor movement is disabled but the cross arrows are visible and window (in KDE) is semi-transparent = waiting for drag finish.
I don't fully understand: does it mean my latest changes disable your cursor movement?
Now and previous version of this branch:
There is also a problem with clicking before drag - no matter how fast I try to tap to drag there is always double click and drag. Is it possible to wait with "release" of the button for some time (maybe 150ms) to see if user decides to tap again or drag?
I think I can tweak code to support that, but it will require some delay for tap clicks. See #50
from xf86-input-mtrack.
When I start drag mouse cursor is as a 4-way-arrows, window is semi-transparent.
If I finish drag by waiting 500ms:
- with previous version: mouse cursor stays 4-way-arrows, window is still semi-transparent, I can use arrow keys from keyboard to move window. Tapping or enter finishes drag.
- with current version: mouse cursor stays 4-way-arrows, window is still semi-transparent, I can't use arrow keys from keyboard to move window. Tapping finishes drag.
from xf86-input-mtrack.
Related Issues (20)
- Any experience with ARM chromebook touchpads (ARM) ?
- PopOS 19.10 Lenovo p73 physical buttons do not work HOT 1
- Touchpad disabled at login screen HOT 1
- Feature request - 3 finger swipe delay
- I can't exchange libinput for mtrack HOT 1
- 4 finger back and forward not working on Dell XPS 13.
- Two finger scroll direction HOT 1
- mtdev-mapping.h: No such file or directory HOT 1
- Three finger drag clicks repeatedly, and cursor not moving, instead of dragging HOT 1
- clickpad not fully disabled when palm detected (still clicks)
- Enabling two finger middle mouse drag blocks scale and rotate gestures
- Swipe (three finger drag) lock timeout
- [Help] It seems KDE overwrites settings some way HOT 1
- Mtrack is not the default touchpad HOT 1
- Cursor shaking when finger stay on touchpad HOT 3
- in the file manager thunar mtrack can't resize the columns ( name, size, type, etc...)
- EdgeLeftSize or EdgeRightSize is not working. Bottom one works
- QXTP7868 (27C6:01E8) Touchpad works only partially HOT 1
- MacBookPro: Click not being actioned unless one finger touching
- Can't enable momentum scrolling - Apple Trackpad 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from xf86-input-mtrack.