Skip to content

Commit 2e1f7a9

Browse files
dec05ebametux
authored andcommitted
Improve xinput scrolling factor documentation
Use correct name for "libinput Scrolling Pixel Distance". Signed-off-by: dec05eba <dec05eba@protonmail.com>
1 parent 9e3544b commit 2e1f7a9

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

man/libinput.man

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@ button is considered logically down while held down and up once physically
207207
released.
208208
.TP 7
209209
.BI "Option \*qScrollFactor\*q \*q" float \*q
210-
Sets the scroll factor for scroll events. A higher value means faster scrolling.
210+
Sets the scroll factor for scroll events. A value higher than 1.0 means faster scrolling.
211211
Applications that don't support xi2 input will instead receive scroll button events
212212
less or more frequently depending on the scroll factor value, instead of scrolling "smoother".
213213
.TP 7
@@ -391,6 +391,12 @@ Indicates if middle emulation is enabled or disabled.
391391
Sets the rotation angle of the device,
392392
clockwise of its natural neutral position.
393393
.TP 7
394+
.B "libinput Scrolling Factor"
395+
1 32-bit float value.
396+
Sets the scroll factor for scroll events. A value higher than 1.0 means faster scrolling.
397+
Applications that don't support xi2 input will instead receive scroll button events
398+
less or more frequently depending on the scroll factor value, instead of scrolling "smoother".
399+
.TP 7
394400
.B "libinput Scroll Methods Available"
395401
3 boolean values (8 bit, 0 or 1), in order "two-finger", "edge", "button".
396402
Indicates which scroll methods are available on this device.
@@ -399,7 +405,7 @@ Indicates which scroll methods are available on this device.
399405
3 boolean values (8 bit, 0 or 1), in order "two-finger", "edge", "button".
400406
Indicates which scroll method is currently enabled on this device.
401407
.TP 7
402-
.B "libinput Scroll Pixel Distance"
408+
.B "libinput Scrolling Pixel Distance"
403409
1 32-bit value (nonzero, with additional implementation-defined range checks).
404410
Changes the movement distance required to trigger one logical wheel click.
405411
.TP 7

0 commit comments

Comments
 (0)