mirror of
https://github.com/labwc/labwc.git
synced 2026-02-08 10:06:59 -05:00
Add touchpad device type
It is nice to have finer granularity for device types to allow for configurations such as using `naturalScroll` on touchpads, but not on regular pointer devices such as mice.
This commit is contained in:
parent
e3cd189769
commit
6faee17d20
6 changed files with 30 additions and 15 deletions
|
|
@ -435,11 +435,11 @@ windows using the mouse.
|
|||
*<libinput><device category="">*
|
||||
Define a category of devices to use the configuration values that
|
||||
follow. The category can be set to touch (devices that define a width
|
||||
and height), non-touch, default, or the name of a device. You can obtain
|
||||
your devices name by running *libinput list-devices* (you may need to
|
||||
be root or a part of the input group to perform this.) Any members of
|
||||
this category that are not set use the default for the device. With the
|
||||
exception of tap-to-click, which is enabled by default.
|
||||
and height), touchpad, non-touch, default, or the name of a device. You
|
||||
can obtain your devices name by running *libinput list-devices* (you may
|
||||
need to be root or a part of the input group to perform this.) Any
|
||||
members of this category that are not set use the default for the
|
||||
device. With the exception of tap-to-click, which is enabled by default.
|
||||
|
||||
*<libinput><device category=""><naturalScroll>* [yes|no]
|
||||
Use natural scrolling for this category if available.
|
||||
|
|
|
|||
|
|
@ -394,9 +394,9 @@
|
|||
</mouse>
|
||||
|
||||
<!--
|
||||
The *category* element can be set to touch, non-touch, default or the name
|
||||
of a device. You can obtain device names by running *libinput list-devices*
|
||||
as root or member of the input group.
|
||||
The *category* element can be set to touch, touchpad, non-touch, default or
|
||||
the name of a device. You can obtain device names by running *libinput
|
||||
list-devices* as root or member of the input group.
|
||||
|
||||
Tap is set to *yes* be default. All others are left blank in order to use
|
||||
device defaults.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue