aboutsummaryrefslogtreecommitdiff
path: root/10-evdev.conf
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2015-05-05 15:34:07 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2015-05-18 13:39:37 +1000
commit66c997886424a20e92ce30fcfda46cbb5c7352ab (patch)
treeac0bb74524108dd208376258f181e7e8d2d4f682 /10-evdev.conf
parentBump to 2.9.99 (diff)
downloadxf86-input-evdev-66c997886424a20e92ce30fcfda46cbb5c7352ab.tar.gz
xf86-input-evdev-66c997886424a20e92ce30fcfda46cbb5c7352ab.tar.bz2
xf86-input-evdev-66c997886424a20e92ce30fcfda46cbb5c7352ab.zip
Add the default evdev config
This used to be part of the server but now that we have two drivers doing the same thing (libinput, evdev) shift the configuration defaults to the driver. This way you get what you install. https://bugs.freedesktop.org/show_bug.cgi?id=89023 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Diffstat (limited to '10-evdev.conf')
-rw-r--r--10-evdev.conf40
1 files changed, 40 insertions, 0 deletions
diff --git a/10-evdev.conf b/10-evdev.conf
new file mode 100644
index 0000000..cc83ab2
--- /dev/null
+++ b/10-evdev.conf
@@ -0,0 +1,40 @@
+#
+# Catch-all evdev loader for udev-based systems
+# We don't simply match on any device since that also adds accelerometers
+# and other devices that we don't really want to use. The list below
+# matches everything but joysticks.
+
+Section "InputClass"
+ Identifier "evdev pointer catchall"
+ MatchIsPointer "on"
+ MatchDevicePath "/dev/input/event*"
+ Driver "evdev"
+EndSection
+
+Section "InputClass"
+ Identifier "evdev keyboard catchall"
+ MatchIsKeyboard "on"
+ MatchDevicePath "/dev/input/event*"
+ Driver "evdev"
+EndSection
+
+Section "InputClass"
+ Identifier "evdev touchpad catchall"
+ MatchIsTouchpad "on"
+ MatchDevicePath "/dev/input/event*"
+ Driver "evdev"
+EndSection
+
+Section "InputClass"
+ Identifier "evdev tablet catchall"
+ MatchIsTablet "on"
+ MatchDevicePath "/dev/input/event*"
+ Driver "evdev"
+EndSection
+
+Section "InputClass"
+ Identifier "evdev touchscreen catchall"
+ MatchIsTouchscreen "on"
+ MatchDevicePath "/dev/input/event*"
+ Driver "evdev"
+EndSection