From e0b0b04b445f7044f383e50104f861e632e1c905 Mon Sep 17 00:00:00 2001 From: Nikolay Yakimov Date: Thu, 19 Jun 2025 02:22:01 +0300 Subject: Expose libinput Button Scrolling Button Lock Enabled property --- wiki/Configuration:-Input.md | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'wiki') 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`: Since: 0.1.10 the button code used for the `on-button-down` scroll method. You can find it in `libinput debug-events`. +- `scroll-button-lock`: Since: next release 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. -- cgit