495e3019e4
Change some optional dependencies from being optional to being mandatory or being mandatory but behind on-by-default cmake flags. Eg: instead of only compiling Wayland support if we find the appropriate libraries, we always require the libraries unless the user specifies WITH_WAYLAND=OFF. Optional libraries are hard to discover by packagers (since they don't see an error once we add them) and create lots of possible build flavors with a different features that can confuse users. |
||
---|---|---|
.. | ||
abstractremoteinput.cpp | ||
abstractremoteinput.h | ||
CMakeLists.txt | ||
config-mousepad.h.cmake | ||
kdeconnect_mousepad.json | ||
macosremoteinput.h | ||
macosremoteinput.mm | ||
mousepadplugin.cpp | ||
mousepadplugin.h | ||
README | ||
waylandremoteinput.cpp | ||
waylandremoteinput.h | ||
windowsremoteinput.cpp | ||
windowsremoteinput.h | ||
x11remoteinput.cpp | ||
x11remoteinput.h | ||
xdp_dbus_remotedesktop_interface.xml |
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