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:
hold3 - three finger mouse hold
hold4 - four finger mouse hold
Possible Values:
move - just move the mouse cursor (no mousedown)
button1 - hold left click on finger swipe
button2 - hold middle click on finger swipe
button3 - hold right click on finger swipe
button4 - wheel up on finger swipe (experimental)
button5 - wheel down on finger swipe (experimental)
scroll - naive 3/4 finger natural scroll (no acceleration, very experimental)
scroll_reverse - naive 3/4 finger reverse scroll (no acceleration, very experimental)
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
Add mouse hold gestures
Add experimental hold3 configuration
Add experimental hold4 configuration
Add linker tests
Add driver.cpp
Add mouse_hold_gestures.cpp
Bugfix comfortable-swipe stop
Bugfix comfortable-swipe restart
Rename index.hpp to all_headers.hpp
Rename source directory lib to comfortable_swipe
Separate swipe_gesture.cpp from keyboard_swipe_gesture.cpp
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
andxdo_mouse_down
methods to achieve this.Features
Additional configurations:
hold3
- three finger mouse holdhold4
- four finger mouse holdPossible Values:
move
- just move the mouse cursor (no mousedown)button1
- hold left click on finger swipebutton2
- hold middle click on finger swipebutton3
- hold right click on finger swipebutton4
- wheel up on finger swipe (experimental)button5
- wheel down on finger swipe (experimental)scroll
- naive 3/4 finger natural scroll (no acceleration, very experimental)scroll_reverse
- naive 3/4 finger reverse scroll (no acceleration, very experimental)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
4-finger drag (with middle click)
3-finger natural scroll
4-finger reverse scroll
Just move the cursor
Any other command will disable the mouse hold
Changelog
hold3
configurationhold4
configurationdriver.cpp
mouse_hold_gestures.cpp
comfortable-swipe stop
comfortable-swipe restart
index.hpp
toall_headers.hpp
lib
tocomfortable_swipe
swipe_gesture.cpp
fromkeyboard_swipe_gesture.cpp
Related Issues
78 xdotool_mousedown with three fingers