config: support <tapAndDrag> and <dragLock>

This commit is contained in:
tokyo4j 2023-09-02 17:32:48 +09:00 committed by Johan Malm
parent 4268991105
commit 3c3656f74e
6 changed files with 48 additions and 0 deletions

View file

@ -407,6 +407,14 @@ Therefore, where multiple objects of the same kind are required (for example
left button, right button, and middle button, respectively (lrm) (the
default), or to left button, middle button, and right button (lmr).
*<libinput><device category=""><tapAndDrag>* [yes|no]
Enable or disable tap-and-drag for this category. Tap-and-drag processes
a tap immediately followed by a finger down as the start of a drag.
*<libinput><device category=""><dragLock>* [yes|no]
Enable or disable drag lock for this category. Drag lock ignores a
momentary release of a finger during tap-and-dragging.
*<libinput><device category=""><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

View file

@ -392,6 +392,8 @@
<accelProfile></accelProfile>
<tap>yes</tap>
<tapButtonMap></tapButtonMap>
<tapAndDrag></tapAndDrag>
<dragLock></dragLock>
<middleEmulation></middleEmulation>
<disableWhileTyping></disableWhileTyping>
</device>