tslib: Add cm270x support
authorRichard Purdie <richard@openedhand.com>
Fri, 29 Sep 2006 11:13:53 +0000 (11:13 +0000)
committerRichard Purdie <richard@openedhand.com>
Fri, 29 Sep 2006 11:13:53 +0000 (11:13 +0000)
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@774 311d38ba-8fff-0310-9ca6-ca027cbcb966

meta/packages/tslib/tslib/cmx270/ts.conf [new file with mode: 0644]
meta/packages/tslib/tslib/cmx270/tslib.sh [new file with mode: 0644]

diff --git a/meta/packages/tslib/tslib/cmx270/ts.conf b/meta/packages/tslib/tslib/cmx270/ts.conf
new file mode 100644 (file)
index 0000000..0930971
--- /dev/null
@@ -0,0 +1,5 @@
+module_raw input
+module pthres pmin=1
+module variance delta=30
+module dejitter delta=100
+module linear
diff --git a/meta/packages/tslib/tslib/cmx270/tslib.sh b/meta/packages/tslib/tslib/cmx270/tslib.sh
new file mode 100644 (file)
index 0000000..7f8b47d
--- /dev/null
@@ -0,0 +1,7 @@
+#!/bin/sh
+
+TSLIB_TSDEVICE=/dev/input/touchscreen0
+TSLIB_TSEVENTTYPE=INPUT
+TSLIB_CONFFILE=/usr/share/tslib/ts-2.6.conf
+
+export TSLIB_TSDEVICE TSLIB_TSEVENTTYPE TSLIB_CONFFILE