mirror of
https://github.com/X11Libre/xf86-input-libinput.git
synced 2026-03-24 01:24:04 +00:00
conf: add an example snippet for how to assign options
Users still like to copy the whole file, potentially messing things up. Let's put a warning into the file directly that this is less than ideal. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
@@ -1,4 +1,21 @@
|
|||||||
# Match on all types of devices but joysticks
|
# Match on all types of devices but joysticks
|
||||||
|
#
|
||||||
|
# If you want to configure your devices, do not copy this file.
|
||||||
|
# Instead, use a config snippet that contains something like this:
|
||||||
|
#
|
||||||
|
# Section "InputClass"
|
||||||
|
# Identifier "something or other"
|
||||||
|
# MatchDriver "libinput"
|
||||||
|
#
|
||||||
|
# MatchIsTouchpad "on"
|
||||||
|
# ... other Match directives ...
|
||||||
|
# Option "someoption" "value"
|
||||||
|
# EndSection
|
||||||
|
#
|
||||||
|
# This applies the option any libinput device also matched by the other
|
||||||
|
# directives. See the xorg.conf(5) man page for more info on
|
||||||
|
# matching devices.
|
||||||
|
|
||||||
Section "InputClass"
|
Section "InputClass"
|
||||||
Identifier "libinput pointer catchall"
|
Identifier "libinput pointer catchall"
|
||||||
MatchIsPointer "on"
|
MatchIsPointer "on"
|
||||||
|
|||||||
Reference in New Issue
Block a user