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

@ -1195,6 +1195,9 @@ following properties will be included for devices that support them:
: int
: The scroll button to use when _scroll_method_ is _on_button_down_. This
will be given as an input event code
|- scroll_button_lock
: string
: Whether scroll button lock is enabled. It can be _enabled_ or _disabled_
|- dwt
: string
: Whether disable-while-typing is enabled. It can be _enabled_ or _disabled_