input/libinput: add scroll_button_lock method

Closes https://github.com/swaywm/sway/issues/6987

Co-authored-by: JJGadgets <git@jjgadgets.tech>
Co-authored-by: DeltaWhy <mike5713@gmail.com>
This commit is contained in:
Cezary Drożak 2023-06-16 11:28:30 +02:00 committed by Simon Ser
parent 8b4b65d665
commit c08762901e
10 changed files with 66 additions and 0 deletions

View file

@ -185,6 +185,9 @@ The following commands may only be used in the configuration file.
debug-events*, or as a x11 mouse button (button[1-3,8,9]). If set to
_disable_, it disables the scroll_method on_button_down.
*input* <identifier> scroll_button_lock enabled|disabled
Enables or disables scroll button lock for specified input device.
*input* <identifier> scroll_factor <floating point value>
Changes the scroll factor for the specified input device. Scroll speed will
be scaled by the given value, which must be non-negative.