From 2d6f65949cb6fbf7c3ee77a9383e54126c84b3b7 Mon Sep 17 00:00:00 2001 From: Michael 'Mickey' Lauer Date: Sun, 14 Mar 2010 21:00:41 +0100 Subject: tslib: add configuration for htc-msm7 devices --- recipes/tslib/tslib/htc-msm7/ts.conf | 25 +++++++++++++++++++++++++ recipes/tslib/tslib/htc-msm7/tslib.sh | 7 +++++++ recipes/tslib/tslib_1.0.bb | 2 +- 3 files changed, 33 insertions(+), 1 deletion(-) create mode 100644 recipes/tslib/tslib/htc-msm7/ts.conf create mode 100644 recipes/tslib/tslib/htc-msm7/tslib.sh (limited to 'recipes/tslib') diff --git a/recipes/tslib/tslib/htc-msm7/ts.conf b/recipes/tslib/tslib/htc-msm7/ts.conf new file mode 100644 index 0000000000..1b0da937e8 --- /dev/null +++ b/recipes/tslib/tslib/htc-msm7/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/recipes/tslib/tslib/htc-msm7/tslib.sh b/recipes/tslib/tslib/htc-msm7/tslib.sh new file mode 100644 index 0000000000..d6141f8d66 --- /dev/null +++ b/recipes/tslib/tslib/htc-msm7/tslib.sh @@ -0,0 +1,7 @@ +#!/bin/sh + +# FIXME: Use /dev/input/touchscreen, once we have this logic on all hotplug system +# Yes, hardcoding the event node is wrong, will fix this eventually +TSLIB_TSDEVICE=/dev/input/event1 + +export TSLIB_TSDEVICE diff --git a/recipes/tslib/tslib_1.0.bb b/recipes/tslib/tslib_1.0.bb index 58a0e35bd1..4c2a56c435 100644 --- a/recipes/tslib/tslib_1.0.bb +++ b/recipes/tslib/tslib_1.0.bb @@ -2,6 +2,6 @@ SRC_URI = "http://download.berlios.de/tslib/${BP}.tar.bz2 \ file://fix_version.patch;patch=1 \ file://tslib-nopressure.patch;patch=1 \ file://tslib-pluginsld.patch;patch=1" -PR = "${INC_PR}.3" +PR = "${INC_PR}.4" include tslib.inc -- cgit v1.2.3