diff options
author | Peter Hutterer <peter.hutterer@who-t.net> | 2015-09-18 00:28:36 +1000 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2015-09-18 00:29:17 +1000 |
commit | 1645a79c343ea3cf8bbd71a36e9106b22e541c71 (patch) | |
tree | 19b87ed2deb5ab582e58ca2f4e9de8f4c3e4a887 /conf | |
parent | b7f8db12a3389affaa16c584e03d452624ea8bf8 (diff) |
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>
Diffstat (limited to 'conf')
-rw-r--r-- | conf/90-libinput.conf | 30 |
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 |