Solo4K Support.
[vuplus_openvuplus_3.0] / meta-openvuplus / recipes-graphics / tslib / tslib / tslib.sh
diff --git a/meta-openvuplus/recipes-graphics/tslib/tslib/tslib.sh b/meta-openvuplus/recipes-graphics/tslib/tslib/tslib.sh
new file mode 100644 (file)
index 0000000..7068e8d
--- /dev/null
@@ -0,0 +1,8 @@
+#!/bin/sh
+
+if [ -e /dev/input/touchscreen0 ]; then
+    TSLIB_TSDEVICE=/dev/input/touchscreen0
+
+    export TSLIB_TSDEVICE
+fi
+