Giter Site home page Giter Site logo

daveriedstra / libinput-gestures Goto Github PK

View Code? Open in Web Editor NEW

This project forked from bulletmark/libinput-gestures

30.0 30.0 5.0 196 KB

Actions gestures on your touchpad using libinput (fork with 3-finger drag)

Makefile 3.24% Python 77.42% Shell 19.34%

libinput-gestures's People

Contributors

amarullz avatar bulletmark avatar daveriedstra avatar lorenzobettini avatar mhoeher avatar rhendric avatar ritwickverma avatar spiderx avatar vinzv avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

libinput-gestures's Issues

How to LockedDrags when using 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 tap

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!

3FD not triggered for slow movements

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.

Don't recreate cursor movements in 3FD

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.

3 fingr drag in chrome

@daveriedstra I having trouble copying text selected with a 3 finger scroll.

  • I am using gnome with xorg
  • I am using 2 finger scrolling from the gnome settings also
  • without libgestures, I could tap with two fingers and see the menu in chrome which let me copy text show up
  • I can select text in chrome with 3 fingers. This is from your repo

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.