summaryrefslogtreecommitdiffstats
path: root/src/doc/src
diff options
context:
space:
mode:
authorLaszlo Agocs <laszlo.agocs@theqtcompany.com>2014-11-24 14:08:27 +0100
committerLaszlo Agocs <laszlo.agocs@theqtcompany.com>2014-11-24 15:39:23 +0200
commit433cb41f8661403f2aadd1b156829c820ad1e773 (patch)
tree3173e48e81a89c934c274d11e979112e34d6795d /src/doc/src
parent225a1ee016e24eea3b3b7d1a980c0067b5e32917 (diff)
Document how to use tslib
In Qt 5.5 this will be simplified. In the meantime however we need to document the hard way. Change-Id: I6495e1084a065d435d7e2e13cdd7b8074d813365 Reviewed-by: Topi Reiniƶ <topi.reinio@digia.com>
Diffstat (limited to 'src/doc/src')
-rw-r--r--src/doc/src/qtee-customization.qdoc27
1 files changed, 27 insertions, 0 deletions
diff --git a/src/doc/src/qtee-customization.qdoc b/src/doc/src/qtee-customization.qdoc
index 1bd937d..9016bb3 100644
--- a/src/doc/src/qtee-customization.qdoc
+++ b/src/doc/src/qtee-customization.qdoc
@@ -60,6 +60,33 @@
necessary because the automatic device discovery would fail to find the
touchscreen.
+ \section1 Switching to tslib for Resistive Touchscreens
+
+ For touchscreens that do not provide modern multitouch capabilities it may
+ be necessary to use the \c tslib library instead of relying on direct event
+ device access and the Linux kernel's multitouch protocol. This also allows
+ calibration and is more suitable for resistive touchscreens that are often used
+ in an industrial setting.
+
+ To enable \c tslib, add the following line to \c /etc/appcontroller.conf on the device:
+
+ \badcode
+ env=QT_QPA_GENERIC_PLUGINS=tslib
+ \endcode
+
+ In some cases it will be necessary to disable the built-in input handlers in
+ case they interfere with \c tslib. To do this, add the following line to
+ \c /etc/appcontroller.conf on the device. Once this is done, no input device
+ handling is in use by default. Instead, the necessary plugins have to be
+ specified in \c QT_QPA_GENERIC_PLUGINS.
+
+ \badcode
+ env=QT_QPA_EGLFS_DISABLE_INPUT=1
+ \endcode
+
+ \note The \c tslib plugin provides no multitouch events (QTouchEvent). It
+ only generates mouse events (QMouseEvent).
+
\section1 Booting to a Custom Application
By default, the \e {\B2Q demo launcher} is configured to run on startup.