summaryrefslogtreecommitdiff
path: root/conf/90-libinput.conf
diff options
context:
space:
mode:
Diffstat (limited to 'conf/90-libinput.conf')
-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