kdeconnect-kde/plugins/mousepad
Alexander Lohnau 2e67f95017 Add explicit moc includes to cpp files
The rationale is explained in https://planet.kde.org/friedrich-kossebau-2023-06-28-include-also-moc-files-of-headers/

In case of KDEConnect, it impressively speeds up compilation. Before it
took 390 seconds on a clean build and with this change it took 330 seconds.
This is due to the mocs_compilation having to include the header files
and thus all their headers. Due to the lots of small plugins we have,
this means that the same headers must be compiled plenty of times.
When we include the moc files directly in the C++ file, they are already
available.
2023-07-30 07:27:45 +00:00
..
abstractremoteinput.cpp Add explicit moc includes to cpp files 2023-07-30 07:27:45 +00:00
abstractremoteinput.h Use pragma once in plugins 2023-07-22 20:51:19 +00:00
CMakeLists.txt Move all generated dbus interfaces to kdeconnectinterfaces exclude them from clazy 2023-07-24 12:18:47 +00:00
config-mousepad.h.cmake Reduce number of optional dependencies 2023-07-19 17:08:03 +00:00
kdeconnect_mousepad.json SVN_SILENT made messages (.desktop file) - always resolve ours 2023-07-30 01:37:54 +00:00
macosremoteinput.h Use pragma once in plugins 2023-07-22 20:51:19 +00:00
macosremoteinput.mm Add explicit moc includes to cpp files 2023-07-30 07:27:45 +00:00
mousepadplugin.cpp Add explicit moc includes to cpp files 2023-07-30 07:27:45 +00:00
mousepadplugin.h Use pragma once in plugins 2023-07-22 20:51:19 +00:00
README Implementation of mousepad plugin 2014-06-27 15:43:34 +02:00
waylandremoteinput.cpp Add explicit moc includes to cpp files 2023-07-30 07:27:45 +00:00
waylandremoteinput.h Move all generated dbus interfaces to kdeconnectinterfaces exclude them from clazy 2023-07-24 12:18:47 +00:00
windowsremoteinput.cpp Add explicit moc includes to cpp files 2023-07-30 07:27:45 +00:00
windowsremoteinput.h Use pragma once in plugins 2023-07-22 20:51:19 +00:00
x11remoteinput.cpp Add explicit moc includes to cpp files 2023-07-30 07:27:45 +00:00
x11remoteinput.h Use pragma once in plugins 2023-07-22 20:51:19 +00:00

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