aboutsummaryrefslogtreecommitdiff
path: root/wiki/Configuration:-Input.md
diff options
context:
space:
mode:
authorAlex David <alexdavid@users.noreply.github.com>2025-03-01 23:01:34 -0800
committerGitHub <noreply@github.com>2025-03-02 10:01:34 +0300
commitd6e736aaf01b234e62e330e41135f47fe076a6d4 (patch)
tree591f253aff9564a569deec8dc08e68e0e7c7094c /wiki/Configuration:-Input.md
parent36b28d9b96107441e3f8502a61f598fb666ec492 (diff)
downloadniri-d6e736aaf01b234e62e330e41135f47fe076a6d4.tar.gz
niri-d6e736aaf01b234e62e330e41135f47fe076a6d4.tar.bz2
niri-d6e736aaf01b234e62e330e41135f47fe076a6d4.zip
Allow disabling tap-and-drag (#1107)
* Allow disabling tap-and-drag Similar to https://github.com/YaLTeR/niri/pull/1088, this adds a new touchpad `drag` configuration option that configures tap-and-drag behavior. Currently tap-and-drag is always enabled when the `tap` setting is enabled, but other compositors allow setting this separately. * Update wiki/Configuration:-Input.md --------- Co-authored-by: Ivan Molodetskikh <yalterz@gmail.com>
Diffstat (limited to 'wiki/Configuration:-Input.md')
-rw-r--r--wiki/Configuration:-Input.md2
1 files changed, 2 insertions, 0 deletions
diff --git a/wiki/Configuration:-Input.md b/wiki/Configuration:-Input.md
index c1350198..a3bd0a7f 100644
--- a/wiki/Configuration:-Input.md
+++ b/wiki/Configuration:-Input.md
@@ -30,6 +30,7 @@ input {
tap
// dwt
// dwtp
+ // drag false
// drag-lock
natural-scroll
// accel-speed 0.2
@@ -186,6 +187,7 @@ Settings specific to `touchpad`s:
- `tap`: tap-to-click.
- `dwt`: disable-when-typing.
- `dwtp`: disable-when-trackpointing.
+- `drag`: can be `true` or `false`, controls if tap-and-drag is enabled.
- `drag-lock`: <sup>Since: 25.02</sup> if set, lifting the finger off for a short time while dragging will not drop the dragged item. See the [libinput documentation](https://wayland.freedesktop.org/libinput/doc/latest/tapping.html#tap-and-drag).
- `tap-button-map`: can be `left-right-middle` or `left-middle-right`, controls which button corresponds to a two-finger tap and a three-finger tap.
- `click-method`: can be `button-areas` or `clickfinger`, changes the [click method](https://wayland.freedesktop.org/libinput/doc/latest/clickpad-softbuttons.html).