aboutsummaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-graphics/tslib/tslib/tslib.sh
diff options
context:
space:
mode:
authorMartin Jansa <Martin.Jansa@gmail.com>2011-09-12 21:50:48 +0200
committerKoen Kooi <koen@dominion.thruhere.net>2011-09-14 17:13:40 +0200
commitdcb9111c7fe87630f028528b4daab4024372b252 (patch)
tree15ee6478b32dd56a25d220d4eda57ed4b79c819c /meta-oe/recipes-graphics/tslib/tslib/tslib.sh
parent7f1ea2868a1f3ce20a6fe982d835a72c6cbf6ba3 (diff)
downloadmeta-openembedded-contrib-dcb9111c7fe87630f028528b4daab4024372b252.tar.gz
tslib: import from meta-aurora
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Diffstat (limited to 'meta-oe/recipes-graphics/tslib/tslib/tslib.sh')
-rw-r--r--meta-oe/recipes-graphics/tslib/tslib/tslib.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/meta-oe/recipes-graphics/tslib/tslib/tslib.sh b/meta-oe/recipes-graphics/tslib/tslib/tslib.sh
new file mode 100644
index 0000000000..7068e8d922
--- /dev/null
+++ b/meta-oe/recipes-graphics/tslib/tslib/tslib.sh
@@ -0,0 +1,8 @@
+#!/bin/sh
+
+if [ -e /dev/input/touchscreen0 ]; then
+ TSLIB_TSDEVICE=/dev/input/touchscreen0
+
+ export TSLIB_TSDEVICE
+fi
+