tslib: add configuration for htc-msm7 devices
authorMichael 'Mickey' Lauer <mickey@vanille-media.de>
Sun, 14 Mar 2010 20:00:41 +0000 (21:00 +0100)
committerMichael 'Mickey' Lauer <mickey@vanille-media.de>
Sun, 14 Mar 2010 20:00:41 +0000 (21:00 +0100)
recipes/tslib/tslib/htc-msm7/ts.conf [new file with mode: 0644]
recipes/tslib/tslib/htc-msm7/tslib.sh [new file with mode: 0644]
recipes/tslib/tslib_1.0.bb

diff --git a/recipes/tslib/tslib/htc-msm7/ts.conf b/recipes/tslib/tslib/htc-msm7/ts.conf
new file mode 100644 (file)
index 0000000..1b0da93
--- /dev/null
@@ -0,0 +1,25 @@
+# Uncomment if you wish to use the linux input layer event interface
+module_raw input
+
+# Uncomment if you're using a Sharp Zaurus SL-5500/SL-5000d
+# module_raw collie
+
+# Uncomment if you're using a Sharp Zaurus SL-C700/C750/C760/C860
+# module_raw corgi
+
+# Uncomment if you're using a device with a UCB1200/1300/1400 TS interface
+# module_raw ucb1x00
+
+# Uncomment if you're using an HP iPaq h3600 or similar
+# module_raw h3600
+
+# Uncomment if you're using a Hitachi Webpad
+# module_raw mk712
+
+# Uncomment if you're using an IBM Arctic II
+# module_raw arctic2
+
+module pthres pmin=1
+module variance delta=30
+module dejitter delta=100
+module linear
diff --git a/recipes/tslib/tslib/htc-msm7/tslib.sh b/recipes/tslib/tslib/htc-msm7/tslib.sh
new file mode 100644 (file)
index 0000000..d6141f8
--- /dev/null
@@ -0,0 +1,7 @@
+#!/bin/sh
+
+# FIXME: Use /dev/input/touchscreen, once we have this logic on all hotplug system
+# Yes, hardcoding the event node is wrong, will fix this eventually
+TSLIB_TSDEVICE=/dev/input/event1
+
+export TSLIB_TSDEVICE
index 58a0e35..4c2a56c 100644 (file)
@@ -2,6 +2,6 @@ SRC_URI = "http://download.berlios.de/tslib/${BP}.tar.bz2 \
            file://fix_version.patch;patch=1 \
            file://tslib-nopressure.patch;patch=1 \
            file://tslib-pluginsld.patch;patch=1"
-PR = "${INC_PR}.3"
+PR = "${INC_PR}.4"
 
 include tslib.inc