summaryrefslogtreecommitdiffstats
path: root/meta/recipes-graphics/tslib/tslib/tslib.sh
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-graphics/tslib/tslib/tslib.sh')
-rw-r--r--meta/recipes-graphics/tslib/tslib/tslib.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/meta/recipes-graphics/tslib/tslib/tslib.sh b/meta/recipes-graphics/tslib/tslib/tslib.sh
new file mode 100644
index 0000000..7068e8d
--- /dev/null
+++ b/meta/recipes-graphics/tslib/tslib/tslib.sh
@@ -0,0 +1,8 @@
+#!/bin/sh
+
+if [ -e /dev/input/touchscreen0 ]; then
+ TSLIB_TSDEVICE=/dev/input/touchscreen0
+
+ export TSLIB_TSDEVICE
+fi
+
OpenPOWER on IntegriCloud