aboutsummaryrefslogtreecommitdiff
path: root/wiki
diff options
context:
space:
mode:
authorchillinbythetree <141879625+chillinbythetree@users.noreply.github.com>2024-10-17 01:43:47 -0400
committerGitHub <noreply@github.com>2024-10-17 05:43:47 +0000
commita480087618ea8835663ae0eb7da3bd066c1941d0 (patch)
tree115d245d1dfaed7e3303be1154eb75983afa3757 /wiki
parent84655d3b2627687e14431adb49450cd6af1de40f (diff)
downloadniri-a480087618ea8835663ae0eb7da3bd066c1941d0.tar.gz
niri-a480087618ea8835663ae0eb7da3bd066c1941d0.tar.bz2
niri-a480087618ea8835663ae0eb7da3bd066c1941d0.zip
Add scroll-button property for Touchpad, Mouse, Trackpoint, Trackball (#744)
Diffstat (limited to 'wiki')
-rw-r--r--wiki/Configuration:-Input.md4
1 files changed, 3 insertions, 1 deletions
diff --git a/wiki/Configuration:-Input.md b/wiki/Configuration:-Input.md
index 4c824b9a..05636fa5 100644
--- a/wiki/Configuration:-Input.md
+++ b/wiki/Configuration:-Input.md
@@ -56,6 +56,7 @@ input {
// accel-speed 0.2
// accel-profile "flat"
// scroll-method "on-button-down"
+ // scroll-button 273
// middle-emulation
}
@@ -134,13 +135,14 @@ A few settings are common between input devices:
- `off`: if set, no events will be sent from this device.
-A few settings are common between `touchpad`, `mouse` and `trackpoint`:
+A few settings are common between `touchpad`, `mouse`, `trackpoint`, and `trackball`:
- `natural-scroll`: if set, inverts the scrolling direction.
- `accel-speed`: pointer acceleration speed, valid values are from `-1.0` to `1.0` where the default is `0.0`.
- `accel-profile`: can be `adaptive` (the default) or `flat` (disables pointer acceleration).
- `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`: the button code used for the `on-button-down` scroll method. You can find it in `libinput debug-events`.
- `middle-emulation`: emulate a middle mouse click by pressing left and right mouse buttons at once.
Settings specific to `touchpad`s: