aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAaditya Dhruv <[email protected]>2022-07-14 17:03:45 -0700
committerAaditya Dhruv <[email protected]>2022-07-14 17:03:45 -0700
commit16b3009b8687a662751335bd9576a9cb75dc8b42 (patch)
tree543b2e49e87578a6a08e32de94399e722d82b1f8
parenta08145b107de63c41d7cbd73219d147794b6d2b7 (diff)
libinput natural scroll
-rw-r--r--80-libinput.conf53
1 files changed, 53 insertions, 0 deletions
diff --git a/80-libinput.conf b/80-libinput.conf
new file mode 100644
index 0000000..12fa57b
--- /dev/null
+++ b/80-libinput.conf
@@ -0,0 +1,53 @@
+# 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"
+ 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*"
+ Option "NaturalScrolling" "true"
+ Driver "libinput"
+EndSection
+
+Section "InputClass"
+ Identifier "libinput touchscreen catchall"
+ MatchIsTouchscreen "on"
+ MatchDevicePath "/dev/input/event*"
+ Driver "libinput"
+EndSection
+
+Section "InputClass"
+ Identifier "libinput tablet catchall"
+ MatchIsTablet "on"
+ MatchDevicePath "/dev/input/event*"
+ Driver "libinput"
+EndSection