diff options
author | Maxin B. John <maxin.john@intel.com> | 2016-09-16 14:19:17 +0300 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2016-09-26 08:29:10 +0200 |
commit | df0c384b38ab220098c84267933e71d5f8c9d528 (patch) | |
tree | 13648854c1dbbaed0234701f8153670567797b5c /meta-oe/recipes-graphics/tslib/tslib | |
parent | fe249f8c5dcce33666447d74d886d6474c676a8d (diff) | |
download | meta-openembedded-contrib-df0c384b38ab220098c84267933e71d5f8c9d528.tar.gz |
tslib: move recipe from oe-core
Move tslib recipe from oe-core layer.
Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-oe/recipes-graphics/tslib/tslib')
-rw-r--r-- | meta-oe/recipes-graphics/tslib/tslib/ts.conf | 25 | ||||
-rw-r--r-- | meta-oe/recipes-graphics/tslib/tslib/tslib.sh | 8 |
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 0000000000..1b0da937e8 --- /dev/null +++ b/meta-oe/recipes-graphics/tslib/tslib/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/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 + |