From 2aad80bfde7d337063cd6c07b59410dfce880a22 Mon Sep 17 00:00:00 2001
From: Ekaitz Zarraga <ekaitz@elenq.tech>
Date: Thu, 14 Jan 2021 17:19:48 +0100
Subject: Configure touchpads to have tapping

---
 config.scm | 15 ++++++++++++++-
 1 file changed, 14 insertions(+), 1 deletion(-)

diff --git a/config.scm b/config.scm
index 114a19e..ce4e561 100644
--- a/config.scm
+++ b/config.scm
@@ -96,7 +96,20 @@
                      (xorg-configuration
                        (keyboard-layout keyboard-layout)
                        (modules (append %default-xorg-modules
-                                        (list xf86-input-wacom)))))
+                                        (list xf86-input-wacom)))
+                       (extra-config
+                         '("\n"
+                           "\n"
+                           "Section \"InputClass\"\n"
+                           "  Identifier \"libinput touchpad catchall\"\n"
+                           "  Driver \"libinput\"\n"
+                           "  MatchIsTouchpad \"on\"\n"
+                           "  MatchDevicePath \"/dev/input/event*\"\n"
+                           "  Option \"Tapping\" \"on\"\n"
+                           "  Option \"TappingDrag\" \"on\"\n"
+                           "  Option \"DisableWhileTyping\" \"on\"\n"
+                           "EndSection\n"
+                           ))))
                    ; Removes ModemManager because it interferes with USB
                    ; development. If using a 3/4G modem or something we have
                    ; to activate it.
-- 
cgit v1.2.3