68698b4201
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 |
||
---|---|---|
.. | ||
CMakeLists.txt | ||
context_test.cpp | ||
device_test.cpp | ||
gesture_event_test.cpp | ||
input_event_test.cpp | ||
key_event_test.cpp | ||
mock_libinput.cpp | ||
mock_libinput.h | ||
mock_udev.cpp | ||
mock_udev.h | ||
pointer_event_test.cpp | ||
touch_event_test.cpp |