Hikari9 / comfortable-swipe

Comfortable 3-finger and 4-finger swipe gesture using Xdotool in native C++
GNU General Public License v3.0
558 stars 46 forks source link

Add mouse hold gestures #79

Closed Hikari9 closed 4 years ago

Hikari9 commented 4 years ago

This adds 3/4-finger mouse hold gestures.

Summary

It will now be possible to bind mouse gestures, such as left/middle/right click or drag to 3/4 finger swipes. We internally use xdo_mouse_move and xdo_mouse_down methods to achieve this.

Features

Additional configurations:

Possible Values:

Any value not mentioned above disables the mouse-hold.

Note: Applying any mouse-hold configuration will disable up/left/right/down behavior to avoid gesture conflicts. The logic of this will be improved in the future.

Example Usage

3-finger drag

hold3 = button1

4-finger drag (with middle click)

hold4 = button2

3-finger natural scroll

hold3 = scroll

4-finger reverse scroll

hold4 = scroll_reverse

Just move the cursor

hold3 = move
hold4 = move

Any other command will disable the mouse hold

hold3 = disabled
hold4 = nothing

Changelog

Related Issues