3c4aa590f1
Summary: Fixes T6701 The reason it did not work before is that the "Keyboard" did not report itself as available. Test Plan: Type in plasmoid on one Desktop, see text on another. Note that no ack packets are sent, so the text does not appear in the original input text field. I want to await the discussion in D12670 before doing that Reviewers: apol Reviewed By: apol Subscribers: mtijink, kdeconnect Tags: #kde_connect Maniphest Tasks: T6701 Differential Revision: https://phabricator.kde.org/D12812 |
||
---|---|---|
.. | ||
abstractremoteinput.cpp | ||
abstractremoteinput.h | ||
CMakeLists.txt | ||
config-mousepad.h.cmake | ||
kdeconnect_mousepad.json | ||
mousepadplugin.cpp | ||
mousepadplugin.h | ||
README | ||
waylandremoteinput.cpp | ||
waylandremoteinput.h | ||
windowsremoteinput.cpp | ||
windowsremoteinput.h | ||
x11remoteinput.cpp | ||
x11remoteinput.h |
When the user moves his on the phone, dx and dy (The difference between the last movement and the current movement of the X and Y Axis respectively) is sent inside a NetworkPackage QCursor is used to move mouse cursor according to its relative position. When the user tap or double taps his phone, a mouse key button is simulated using XTestFakeButtonEvent