aboutsummaryrefslogtreecommitdiffstats
path: root/tslib/tslib/poodle/tslib.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tslib/tslib/poodle/tslib.sh')
-rw-r--r--tslib/tslib/poodle/tslib.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/tslib/tslib/poodle/tslib.sh b/tslib/tslib/poodle/tslib.sh
index e69de29bb2..187b7ce6d2 100644
--- a/tslib/tslib/poodle/tslib.sh
+++ b/tslib/tslib/poodle/tslib.sh
@@ -0,0 +1,10 @@
+#!/bin/sh
+
+if (uname -r|grep -q 'embedix'); then
+ TSLIB_TSDEVICE=/dev/ts
+ TSLIB_TSEVENTTYPE=COLLIE
+else
+ TSLIB_TSDEVICE=/dev/input/event0
+fi
+
+export TSLIB_TSDEVICE TSLIB_TSEVENTTYPE