summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael 'Mickey' Lauer <mickey@vanille-media.de>2010-03-14 21:00:41 +0100
committerMichael 'Mickey' Lauer <mickey@vanille-media.de>2010-03-14 21:00:41 +0100
commit2d6f65949cb6fbf7c3ee77a9383e54126c84b3b7 (patch)
tree88eb8d0416cdca29848cdeefc920a5a39e3bf321
parente32f710d17793c2412e69199c0d8b74424f720c6 (diff)
tslib: add configuration for htc-msm7 devices
-rw-r--r--recipes/tslib/tslib/htc-msm7/ts.conf25
-rw-r--r--recipes/tslib/tslib/htc-msm7/tslib.sh7
-rw-r--r--recipes/tslib/tslib_1.0.bb2
3 files changed, 33 insertions, 1 deletions
diff --git a/recipes/tslib/tslib/htc-msm7/ts.conf b/recipes/tslib/tslib/htc-msm7/ts.conf
new file mode 100644
index 0000000000..1b0da937e8
--- /dev/null
+++ b/recipes/tslib/tslib/htc-msm7/ts.conf
@@ -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
index 0000000000..d6141f8d66
--- /dev/null
+++ b/recipes/tslib/tslib/htc-msm7/tslib.sh
@@ -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
diff --git a/recipes/tslib/tslib_1.0.bb b/recipes/tslib/tslib_1.0.bb
index 58a0e35bd1..4c2a56c435 100644
--- a/recipes/tslib/tslib_1.0.bb
+++ b/recipes/tslib/tslib_1.0.bb
@@ -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