From b166c7e50efee72b665d98cf0be731482bd6fab8 Mon Sep 17 00:00:00 2001 From: Clay Gomera <95720679+d4r1us-drk@users.noreply.github.com> Date: Fri, 14 Jan 2022 08:24:37 -0400 Subject: [PATCH] added my mouse config for xorg --- etc/X11/xorg.conf.d/40-libinput.conf | 42 ++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 etc/X11/xorg.conf.d/40-libinput.conf diff --git a/etc/X11/xorg.conf.d/40-libinput.conf b/etc/X11/xorg.conf.d/40-libinput.conf new file mode 100644 index 000000000..f2116449b --- /dev/null +++ b/etc/X11/xorg.conf.d/40-libinput.conf @@ -0,0 +1,42 @@ +# 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 "Tapping" "on" + Option "ClickMethod" "clickfinger" + Option "NaturalScrolling" "true" + Driver "libinput" +EndSection +