diff options
Diffstat (limited to 'recipes')
-rw-r--r-- | recipes/tslib/tslib.inc | 4 | ||||
-rw-r--r-- | recipes/tslib/tslib/omap3-pandora/ts.conf | 8 | ||||
-rw-r--r-- | recipes/tslib/tslib/omap3-pandora/tslib.sh | 7 |
3 files changed, 18 insertions, 1 deletions
diff --git a/recipes/tslib/tslib.inc b/recipes/tslib/tslib.inc index e10351b817..81f2a4eaa6 100644 --- a/recipes/tslib/tslib.inc +++ b/recipes/tslib/tslib.inc @@ -3,7 +3,7 @@ HOMEPAGE = "http://tslib.berlios.de/" AUTHOR = "Russell King w/ plugins by Chris Larson et. al." SECTION = "base" LICENSE = "LGPL" -INC_PR = "r22" +INC_PR = "r23" SRC_URI += "\ file://ts.conf \ @@ -61,6 +61,7 @@ PACKAGE_ARCH_tslib-conf_jornada7xx = "${MACHINE_ARCH}" PACKAGE_ARCH_tslib-conf_netbook-pro = "${MACHINE_ARCH}" PACKAGE_ARCH_tslib-conf_omap1610h2 = "${MACHINE_ARCH}" PACKAGE_ARCH_tslib-conf_omap5912osk = "${MACHINE_ARCH}" +PACKAGE_ARCH_tslib-conf_omap3-pandora = "${MACHINE_ARCH}" PACKAGE_ARCH_tslib-conf_simpad = "${MACHINE_ARCH}" PACKAGES =+ "tslib-conf libts-dev tslib-tests tslib-calibrate" @@ -78,3 +79,4 @@ FILES_${PN} = "${libdir}/*.so.* ${libdir}/ts/*.so*" FILES_libts-dev = "${FILES_tslib-dev} ${libdir}/ts/*.la" FILES_tslib-calibrate += "${bindir}/ts_calibrate" FILES_tslib-tests = "${bindir}/ts_harvest ${bindir}/ts_print ${bindir}/ts_print_raw ${bindir}/ts_test" + 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 + |