diff options
Diffstat (limited to 'meta/recipes-graphics/tslib/tslib/collie')
-rw-r--r-- | meta/recipes-graphics/tslib/tslib/collie/ts.conf | 5 | ||||
-rw-r--r-- | meta/recipes-graphics/tslib/tslib/collie/tslib.sh | 13 |
2 files changed, 18 insertions, 0 deletions
diff --git a/meta/recipes-graphics/tslib/tslib/collie/ts.conf b/meta/recipes-graphics/tslib/tslib/collie/ts.conf new file mode 100644 index 0000000000..2099b9b414 --- /dev/null +++ b/meta/recipes-graphics/tslib/tslib/collie/ts.conf @@ -0,0 +1,5 @@ +module_raw collie +module pthres pmin=1 +module variance delta=30 +module dejitter delta=100 +module linear diff --git a/meta/recipes-graphics/tslib/tslib/collie/tslib.sh b/meta/recipes-graphics/tslib/tslib/collie/tslib.sh new file mode 100644 index 0000000000..664bda426a --- /dev/null +++ b/meta/recipes-graphics/tslib/tslib/collie/tslib.sh @@ -0,0 +1,13 @@ +#!/bin/sh + +TSLIB_TSDEVICE=/dev/input/touchscreen0 +TSLIB_CONFFILE=/etc/ts.conf + +case `uname -r` in +2.4*) + TSLIB_TSDEVICE=/dev/ts + TSLIB_CONFFILE=/usr/share/tslib/ts.conf-collie-2.4 + ;; +esac + +export TSLIB_TSDEVICE TSLIB_CONFFILE |