diff options
author | Richard Purdie <richard@openedhand.com> | 2005-10-10 10:41:35 +0000 |
---|---|---|
committer | Richard Purdie <richard@openedhand.com> | 2005-10-10 10:41:35 +0000 |
commit | cbf3ef91305558fb8a59e19c5987a9e9ca22013a (patch) | |
tree | f7142e57734a8b2fac92ff758a6617d4464a82f9 /openembedded/packages/tslib/tslib | |
parent | 562d4d35878bb644cbe2b9f23ef407fd6e1e38e2 (diff) | |
download | poky-cbf3ef91305558fb8a59e19c5987a9e9ca22013a.tar.gz |
Merge changes from mainline OE to try and keep us in sync.
git-svn-id: https://svn.o-hand.com/repos/poky@127 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'openembedded/packages/tslib/tslib')
4 files changed, 23 insertions, 11 deletions
diff --git a/openembedded/packages/tslib/tslib/h3900/tslib.sh b/openembedded/packages/tslib/tslib/h3900/tslib.sh index c885ccc9d2..be9448b1dc 100644 --- a/openembedded/packages/tslib/tslib/h3900/tslib.sh +++ b/openembedded/packages/tslib/tslib/h3900/tslib.sh | |||
@@ -11,15 +11,7 @@ case `uname -r` in | |||
11 | ;; | 11 | ;; |
12 | *) | 12 | *) |
13 | TSLIB_TSDEVICE=`detect-stylus --device` | 13 | TSLIB_TSDEVICE=`detect-stylus --device` |
14 | case `module_id` in | 14 | TSLIB_CONFFILE=/usr/share/tslib/ts.conf-h3600 |
15 | "HP iPAQ H2200") | ||
16 | # h2200 needs special linearizing thing | ||
17 | TSLIB_CONFFILE=/usr/share/tslib/ts.conf-h2200 | ||
18 | ;; | ||
19 | *) | ||
20 | TSLIB_CONFFILE=/usr/share/tslib/ts.conf-h3600 | ||
21 | ;; | ||
22 | esac | ||
23 | ;; | 15 | ;; |
24 | esac | 16 | esac |
25 | 17 | ||
diff --git a/openembedded/packages/tslib/tslib/simpad/tslib.sh b/openembedded/packages/tslib/tslib/simpad/tslib.sh index e87a2095c4..8bb94a037f 100644 --- a/openembedded/packages/tslib/tslib/simpad/tslib.sh +++ b/openembedded/packages/tslib/tslib/simpad/tslib.sh | |||
@@ -1,5 +1,15 @@ | |||
1 | #!/bin/sh | 1 | #!/bin/sh |
2 | 2 | ||
3 | TSLIB_TSDEVICE=/dev/input/event0 | 3 | case `uname -r` in |
4 | 2.4*) | ||
5 | TSLIB_TSDEVICE=/dev/touchscreen/ucb1x00 | ||
6 | TSLIB_CONFFILE=/usr/share/tslib/ts.conf-simpad-2.4 | ||
7 | ;; | ||
8 | *) | ||
9 | TSLIB_TSDEVICE=/dev/input/event0 | ||
10 | TSLIB_CONFFILE=/usr/share/tslib/ts.conf-simpad | ||
11 | ;; | ||
12 | esac | ||
13 | |||
14 | export TSLIB_TSDEVICE TSLIB_CONFFILE | ||
4 | 15 | ||
5 | export TSLIB_TSDEVICE | ||
diff --git a/openembedded/packages/tslib/tslib/ts.conf-simpad b/openembedded/packages/tslib/tslib/ts.conf-simpad new file mode 100644 index 0000000000..09309719f2 --- /dev/null +++ b/openembedded/packages/tslib/tslib/ts.conf-simpad | |||
@@ -0,0 +1,5 @@ | |||
1 | module_raw input | ||
2 | module pthres pmin=1 | ||
3 | module variance delta=30 | ||
4 | module dejitter delta=100 | ||
5 | module linear | ||
diff --git a/openembedded/packages/tslib/tslib/ts.conf-simpad-2.4 b/openembedded/packages/tslib/tslib/ts.conf-simpad-2.4 new file mode 100644 index 0000000000..035e794cb4 --- /dev/null +++ b/openembedded/packages/tslib/tslib/ts.conf-simpad-2.4 | |||
@@ -0,0 +1,5 @@ | |||
1 | module_raw ucb1x00 | ||
2 | module pthres pmin=1 | ||
3 | module variance delta=10 | ||
4 | module dejitter delta=150 | ||
5 | module linear | ||