aboutsummaryrefslogtreecommitdiff
path: root/wiki/Configuration:-Input.md
diff options
context:
space:
mode:
authorNikolay Yakimov <root@livid.pp.ru>2025-06-19 02:22:01 +0300
committerIvan Molodetskikh <yalterz@gmail.com>2025-06-19 05:05:47 -0700
commite0b0b04b445f7044f383e50104f861e632e1c905 (patch)
tree39e25b9ae148688e6cf1fb868a94817d20153001 /wiki/Configuration:-Input.md
parented14e8da8476d5fde27b14d1dde03256a2f6e11b (diff)
downloadniri-e0b0b04b445f7044f383e50104f861e632e1c905.tar.gz
niri-e0b0b04b445f7044f383e50104f861e632e1c905.tar.bz2
niri-e0b0b04b445f7044f383e50104f861e632e1c905.zip
Expose libinput Button Scrolling Button Lock Enabled property
Diffstat (limited to 'wiki/Configuration:-Input.md')
-rw-r--r--wiki/Configuration:-Input.md5
1 files changed, 5 insertions, 0 deletions
diff --git a/wiki/Configuration:-Input.md b/wiki/Configuration:-Input.md
index 5cba545c..b1e3a279 100644
--- a/wiki/Configuration:-Input.md
+++ b/wiki/Configuration:-Input.md
@@ -39,6 +39,7 @@ input {
// scroll-factor 1.0
// scroll-method "two-finger"
// scroll-button 273
+ // scroll-button-lock
// tap-button-map "left-middle-right"
// click-method "clickfinger"
// left-handed
@@ -54,6 +55,7 @@ input {
// scroll-factor 1.0
// scroll-method "no-scroll"
// scroll-button 273
+ // scroll-button-lock
// left-handed
// middle-emulation
}
@@ -65,6 +67,7 @@ input {
// accel-profile "flat"
// scroll-method "on-button-down"
// scroll-button 273
+ // scroll-button-lock
// left-handed
// middle-emulation
}
@@ -76,6 +79,7 @@ input {
// accel-profile "flat"
// scroll-method "on-button-down"
// scroll-button 273
+ // scroll-button-lock
// left-handed
// middle-emulation
}
@@ -201,6 +205,7 @@ A few settings are common between `touchpad`, `mouse`, `trackpoint`, and `trackb
- `scroll-method`: when to generate scroll events instead of pointer motion events, can be `no-scroll`, `two-finger`, `edge`, or `on-button-down`.
The default and supported methods vary depending on the device type.
- `scroll-button`: <sup>Since: 0.1.10</sup> the button code used for the `on-button-down` scroll method. You can find it in `libinput debug-events`.
+- `scroll-button-lock`: <sup>Since: next release</sup> when enabled, the button does not need to be held down. Pressing once engages scrolling, pressing a second time disengages it, and double click acts as single click of the the underlying button.
- `left-handed`: if set, changes the device to left-handed mode.
- `middle-emulation`: emulate a middle mouse click by pressing left and right mouse buttons at once.