aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/tslib/tslib
diff options
context:
space:
mode:
authorDavid-John Willis <John.Willis@Distant-earth.com>2009-12-02 16:29:01 +0000
committerKoen Kooi <koen@openembedded.org>2009-12-04 10:43:03 +0100
commit32acd42a04bf21cbf02c0b095c5ebcb02df3b413 (patch)
tree8fc9ad40c996fb7f4e18264f7e688ea1aa8b8b7b /recipes/tslib/tslib
parent040fed82ade93bf93ce4f72a7572fe24b89f8a74 (diff)
downloadopenembedded-32acd42a04bf21cbf02c0b095c5ebcb02df3b413.tar.gz
tslib: Add config files for the omap3-pandora.
Diffstat (limited to 'recipes/tslib/tslib')
-rw-r--r--recipes/tslib/tslib/omap3-pandora/ts.conf8
-rw-r--r--recipes/tslib/tslib/omap3-pandora/tslib.sh7
2 files changed, 15 insertions, 0 deletions
diff --git a/recipes/tslib/tslib/omap3-pandora/ts.conf b/recipes/tslib/tslib/omap3-pandora/ts.conf
new file mode 100644
index 0000000000..7b5271c60e
--- /dev/null
+++ b/recipes/tslib/tslib/omap3-pandora/ts.conf
@@ -0,0 +1,8 @@
+# ts.conf for the OMAP3-PANDORA default touchscreen.
+
+module_raw input
+
+module pthres pmin=1
+module variance delta=30
+module dejitter delta=100
+module linear
diff --git a/recipes/tslib/tslib/omap3-pandora/tslib.sh b/recipes/tslib/tslib/omap3-pandora/tslib.sh
new file mode 100644
index 0000000000..f73e39c5d9
--- /dev/null
+++ b/recipes/tslib/tslib/omap3-pandora/tslib.sh
@@ -0,0 +1,7 @@
+#!/bin/sh
+
+TSLIB_TSDEVICE=/dev/input/touchscreen0
+TSLIB_CONFFILE=/etc/ts.conf
+
+export TSLIB_TSDEVICE TSLIB_CONFFILE
+