kwin/plugins/platforms
Martin Flöser 68698b4201 [libinput] Find screen for touch screen devices and calibrate accordingly
Summary:
This change finds the screen for a touch screen device based on:
 * number available screens
 * output name defined on the touch screen device
 * internal screen
 * and physical size

The id of the screen is stored in the Device allowing to adjust the
touch points accordingly. This means instead of transferring to the
combined display size the touch points are transferred into the output
space and the position of the output is added. Thus in a multi screen
system the touch points are properly mapped to the output.

Furthermore the screen orientation is passed to the Device and a
calibration matrix is set accordingly. Thus a transformed screen has the
touch screen transformed accordingly.

Please note that this only affects libinput on Wayland and not on X11!
The x11 standalone platform needs to gain similar code.

Reviewers: #kwin, #plasma

Subscribers: plasma-devel, kwin

Tags: #kwin

Differential Revision: https://phabricator.kde.org/D8748
2017-12-23 10:18:55 +01:00
..
drm [libinput] Find screen for touch screen devices and calibrate accordingly 2017-12-23 10:18:55 +01:00
fbdev SVN_SILENT made messages (.desktop file) - always resolve ours 2017-12-13 07:01:42 +01:00
hwcomposer SVN_SILENT made messages (.desktop file) - always resolve ours 2017-12-13 07:01:42 +01:00
virtual SVN_SILENT made messages (.desktop file) - always resolve ours 2017-12-13 07:01:42 +01:00
wayland SVN_SILENT made messages (.desktop file) - always resolve ours 2017-12-13 07:01:42 +01:00
x11 SVN_SILENT made messages (.desktop file) - always resolve ours 2017-12-13 07:01:42 +01:00
CMakeLists.txt Hide the Linux specific parts behind check for headers 2017-07-24 16:19:27 +02:00