summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-graphics/tslib/tslib
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
parent7f1ea2868a1f3ce20a6fe982d835a72c6cbf6ba3 (diff)
downloadmeta-openembedded-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')
-rw-r--r--meta-oe/recipes-graphics/tslib/tslib/ts.conf25
-rw-r--r--meta-oe/recipes-graphics/tslib/tslib/tslib.sh8
2 files changed, 33 insertions, 0 deletions
diff --git a/meta-oe/recipes-graphics/tslib/tslib/ts.conf b/meta-oe/recipes-graphics/tslib/tslib/ts.conf
new file mode 100644
index 000000000..1b0da937e
--- /dev/null
+++ b/meta-oe/recipes-graphics/tslib/tslib/ts.conf
@@ -0,0 +1,25 @@
1# Uncomment if you wish to use the linux input layer event interface
2module_raw input
3
4# Uncomment if you're using a Sharp Zaurus SL-5500/SL-5000d
5# module_raw collie
6
7# Uncomment if you're using a Sharp Zaurus SL-C700/C750/C760/C860
8# module_raw corgi
9
10# Uncomment if you're using a device with a UCB1200/1300/1400 TS interface
11# module_raw ucb1x00
12
13# Uncomment if you're using an HP iPaq h3600 or similar
14# module_raw h3600
15
16# Uncomment if you're using a Hitachi Webpad
17# module_raw mk712
18
19# Uncomment if you're using an IBM Arctic II
20# module_raw arctic2
21
22module pthres pmin=1
23module variance delta=30
24module dejitter delta=100
25module linear
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 000000000..7068e8d92
--- /dev/null
+++ b/meta-oe/recipes-graphics/tslib/tslib/tslib.sh
@@ -0,0 +1,8 @@
1#!/bin/sh
2
3if [ -e /dev/input/touchscreen0 ]; then
4 TSLIB_TSDEVICE=/dev/input/touchscreen0
5
6 export TSLIB_TSDEVICE
7fi
8