libinput: implement threeFingerDrag feature

This commit is contained in:
may 2025-06-06 23:08:53 +02:00 committed by Hiroaki Yamamoto
parent 22d319cce8
commit e96b5af42d
7 changed files with 47 additions and 1 deletions

View file

@ -959,6 +959,7 @@ extending outward from the snapped edge.
<tapButtonMap></tapButtonMap>
<tapAndDrag></tapAndDrag>
<dragLock>sticky</dragLock>
<threeFingerDrag></threeFingerDrag>
<middleEmulation></middleEmulation>
<disableWhileTyping></disableWhileTyping>
<clickMethod></clickMethod>
@ -1033,6 +1034,16 @@ extending outward from the snapped edge.
drag lock, but if *yes* is set, the drag lock expires after a timeout.
Default is *sticky*.
*<libinput><device><threeFingerDrag>* [yes|no|3|4]
Enable or disable the three-finger drag feature. When enabled, three
fingers down will result in a button down event and subsequent finger
motions triggers a drag.
The available options are:
- *no* - Disable three-finger drag.
- *yes* | *3* - Enable three-finger drag for 3 fingers.
- *4* - Enable three-finger drag for 4 fingers.
*<libinput><device><middleEmulation>* [yes|no]
Enable or disable middle button emulation for this category. Middle
emulation processes a simultaneous left and right click as a press of