Autocommit of all changes since last autosync startup on host gaia
authorJulien Valroff <julien@kirya.net>
Sat, 28 Apr 2012 05:35:07 +0000 (07:35 +0200)
committerJulien Valroff <julien@kirya.net>
Sat, 28 Apr 2012 05:35:07 +0000 (07:35 +0200)
touchpad [new file with mode: 0755]

diff --git a/touchpad b/touchpad
new file mode 100755 (executable)
index 0000000..019fac5
--- /dev/null
+++ b/touchpad
@@ -0,0 +1,15 @@
+#!/bin/sh
+
+if grep -iq 'TouchPad' /proc/bus/input/devices; then
+    synclient VertEdgeScroll=1 &
+    synclient VertTwoFingerScroll=1 &
+    synclient TapButton1=1 &
+    syndaemon -i0.2 -d &
+fi
+if grep -q 'ETPS/2 Elantech Touchpad' /proc/bus/input/devices; then
+    synclient MinSpeed=0 &
+    synclient MaxSpeed=2.5 &
+    synclient PalmDetect=1 &
+    synclient AccelFactor=0.15 &
+    synclient VertScrollDelta=15 &
+fi