summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--meta/packages/tslib/tslib/cmx270/ts.conf5
-rw-r--r--meta/packages/tslib/tslib/cmx270/tslib.sh7
2 files changed, 12 insertions, 0 deletions
diff --git a/meta/packages/tslib/tslib/cmx270/ts.conf b/meta/packages/tslib/tslib/cmx270/ts.conf
new file mode 100644
index 0000000000..09309719f2
--- /dev/null
+++ b/meta/packages/tslib/tslib/cmx270/ts.conf
@@ -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
index 0000000000..7f8b47d7f8
--- /dev/null
+++ b/meta/packages/tslib/tslib/cmx270/tslib.sh
@@ -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