kwin/plugins/platforms/drm
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
..
CMakeLists.txt Merge branch 'Plasma/5.11' 2017-10-09 21:04:41 +02:00
drm.json SVN_SILENT made messages (.desktop file) - always resolve ours 2017-12-13 07:01:42 +01:00
drm_backend.cpp [colorcorrection] Night Color - blue light filter at nighttime 2017-12-11 10:58:40 +01:00
drm_backend.h [colorcorrection] Night Color - blue light filter at nighttime 2017-12-11 10:58:40 +01:00
drm_buffer.cpp [autotests] Add tests for DRM platform plugin 2017-11-21 19:27:33 +01:00
drm_buffer.h [autotests] Add tests for DRM platform plugin 2017-11-21 19:27:33 +01:00
drm_buffer_gbm.cpp [autotests] Add tests for DRM platform plugin 2017-11-21 19:27:33 +01:00
drm_buffer_gbm.h [autotests] Add tests for DRM platform plugin 2017-11-21 19:27:33 +01:00
drm_inputeventfilter.cpp
drm_inputeventfilter.h
drm_object.cpp [autotests] Add tests for DRM platform plugin 2017-11-21 19:27:33 +01:00
drm_object.h [autotests] Add tests for DRM platform plugin 2017-11-21 19:27:33 +01:00
drm_object_connector.cpp [autotests] Add tests for DRM platform plugin 2017-11-21 19:27:33 +01:00
drm_object_connector.h [autotests] Add tests for DRM platform plugin 2017-11-21 19:27:33 +01:00
drm_object_crtc.cpp [colorcorrection] Night Color - blue light filter at nighttime 2017-12-11 10:58:40 +01:00
drm_object_crtc.h [colorcorrection] Night Color - blue light filter at nighttime 2017-12-11 10:58:40 +01:00
drm_object_plane.cpp [autotests] Add tests for DRM platform plugin 2017-11-21 19:27:33 +01:00
drm_object_plane.h [autotests] Add tests for DRM platform plugin 2017-11-21 19:27:33 +01:00
drm_output.cpp Support dynamic output enabling/disabling from KScreen 2017-11-21 12:04:30 +00:00
drm_output.h [libinput] Find screen for touch screen devices and calibrate accordingly 2017-12-23 10:18:55 +01:00
drm_pointer.h
egl_gbm_backend.cpp [platforms/drm] At safety checks for the properties 2017-11-13 21:19:31 +01:00
egl_gbm_backend.h [drm] Implement changing of modes 2017-10-31 12:45:38 +01:00
gbm_surface.cpp [platforms/drm] Use a shared pointer for gbm_surface 2017-10-05 21:32:46 +02:00
gbm_surface.h Fix DRM EGL crash regression 2017-10-12 10:12:24 +02:00
logging.cpp
logging.h
scene_qpainter_drm_backend.cpp [drm] Implement changing of modes 2017-10-31 12:45:38 +01:00
scene_qpainter_drm_backend.h Move QPainter compositor into plugin 2017-09-01 17:44:49 +02:00
screens_drm.cpp [libinput] Find screen for touch screen devices and calibrate accordingly 2017-12-23 10:18:55 +01:00
screens_drm.h [libinput] Find screen for touch screen devices and calibrate accordingly 2017-12-23 10:18:55 +01:00