mirror of
https://github.com/swaywm/sway.git
synced 2026-03-21 05:33:56 -04:00
Support libinput's 1.21 new dwtp option
Support the new dwtp (disable while trackpointing) option introduced in libinput 1.21, allowing users to control whether the trackpoint (like those in Thinkpads, but not only) should be disabled while using the keyboard/touchpad. See: https://gitlab.freedesktop.org/libinput/libinput/-/issues/731
This commit is contained in:
parent
a61815d385
commit
7cc8ab6d6c
11 changed files with 74 additions and 3 deletions
|
|
@ -1197,6 +1197,10 @@ following properties will be included for devices that support them:
|
|||
|- dwt
|
||||
: string
|
||||
: Whether disable-while-typing is enabled. It can be _enabled_ or _disabled_
|
||||
|- dwtp
|
||||
: string
|
||||
: Whether disable-while-trackpointing is enabled. It can be _enabled_ or
|
||||
_disabled_
|
||||
|- calibration_matrix
|
||||
: array
|
||||
: An array of 6 floats representing the calibration matrix for absolute
|
||||
|
|
@ -1236,7 +1240,8 @@ following properties will be included for devices that support them:
|
|||
"click_method": "button_areas",
|
||||
"middle_emulation": "disabled",
|
||||
"scroll_method": "edge",
|
||||
"dwt": "enabled"
|
||||
"dwt": "enabled",
|
||||
"dwtp": "enabled"
|
||||
}
|
||||
},
|
||||
{
|
||||
|
|
@ -1363,7 +1368,8 @@ one seat. Each object has the following properties:
|
|||
"click_method": "button_areas",
|
||||
"middle_emulation": "disabled",
|
||||
"scroll_method": "edge",
|
||||
"dwt": "enabled"
|
||||
"dwt": "enabled",
|
||||
"dwtp": "enabled"
|
||||
}
|
||||
},
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue