diff options
| author | Yuya Nishihara <yuya@tcha.org> | 2024-05-26 14:41:00 +0900 |
|---|---|---|
| committer | Ivan Molodetskikh <yalterz@gmail.com> | 2024-05-26 16:49:40 +0300 |
| commit | 4746a0da7dffde6befcb3c80609fa3d31bffc29c (patch) | |
| tree | 5267194f8152d5138ab88020b0d3d1224bb863ed /wiki/Configuration:-Input.md | |
| parent | 2ac8d840343dc964981507353c9128c68361cb6f (diff) | |
| download | niri-4746a0da7dffde6befcb3c80609fa3d31bffc29c.tar.gz niri-4746a0da7dffde6befcb3c80609fa3d31bffc29c.tar.bz2 niri-4746a0da7dffde6befcb3c80609fa3d31bffc29c.zip | |
Add scroll-method property to pointer devices
My use case is to enable middle-button scroll on my keyboard with pointing
stick. The device is recognized as USB mouse.
Diffstat (limited to 'wiki/Configuration:-Input.md')
| -rw-r--r-- | wiki/Configuration:-Input.md | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/wiki/Configuration:-Input.md b/wiki/Configuration:-Input.md index 988514b4..baa43acb 100644 --- a/wiki/Configuration:-Input.md +++ b/wiki/Configuration:-Input.md @@ -31,6 +31,7 @@ input { natural-scroll // accel-speed 0.2 // accel-profile "flat" + // scroll-method "two-finger" // tap-button-map "left-middle-right" // click-method "clickfinger" // left-handed @@ -40,6 +41,7 @@ input { // natural-scroll // accel-speed 0.2 // accel-profile "flat" + // scroll-method "no-scroll" // left-handed } @@ -47,6 +49,7 @@ input { // natural-scroll // accel-speed 0.2 // accel-profile "flat" + // scroll-method "on-button-down" } tablet { @@ -124,6 +127,8 @@ A few settings are common between `touchpad`, `mouse` and `trackpoint`: - `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. Settings specific to `touchpad`s: |
