summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2015-09-18 00:28:36 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2015-09-18 00:29:17 +1000
commit1645a79c343ea3cf8bbd71a36e9106b22e541c71 (patch)
tree19b87ed2deb5ab582e58ca2f4e9de8f4c3e4a887
parentb7f8db12a3389affaa16c584e03d452624ea8bf8 (diff)
downloadxorg-driver-xf86-input-libinput-1645a79c343ea3cf8bbd71a36e9106b22e541c71.tar.gz
conf: don't hook onto tablets and joysticks
If we install the config file by default, we shouldn't use libinput for devices we know we can't handle. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-rw-r--r--conf/90-libinput.conf30
1 files changed, 26 insertions, 4 deletions
diff --git a/conf/90-libinput.conf b/conf/90-libinput.conf
index 6c52e79..97afd07 100644
--- a/conf/90-libinput.conf
+++ b/conf/90-libinput.conf
@@ -1,6 +1,28 @@
-# Use the libinput driver for all event devices
+# Match on all types of devices but tablet devices and joysticks
Section "InputClass"
- Identifier "libinput"
- Driver "libinput"
- MatchDevicePath "/dev/input/event*"
+ Identifier "libinput pointer catchall"
+ MatchIsPointer "on"
+ MatchDevicePath "/dev/input/event*"
+ Driver "libinput"
+EndSection
+
+Section "InputClass"
+ Identifier "libinput keyboard catchall"
+ MatchIsKeyboard "on"
+ MatchDevicePath "/dev/input/event*"
+ Driver "libinput"
+EndSection
+
+Section "InputClass"
+ Identifier "libinput touchpad catchall"
+ MatchIsTouchpad "on"
+ MatchDevicePath "/dev/input/event*"
+ Driver "libinput"
+EndSection
+
+Section "InputClass"
+ Identifier "libinput touchscreen catchall"
+ MatchIsTouchscreen "on"
+ MatchDevicePath "/dev/input/event*"
+ Driver "libinput"
EndSection