kdeconnect-kde/plugins/mousepad
Àlex Fiestas dbea3171bd Make kdeconnect core compile without KDELibs4Support
This meant to add a lot of dependencies to each plugin since we had
KDELibs4support as PUBLIC link meaning that anything linking against
kdeconnectcore was linking at the same time to mostly all frameworks.

Now each plugin has more or less its dependencies in the CMake some
still depend on KDELibs4Support.

For the mousepad plugin I needed to add a fixX11.h file that basically
undefines/defines again some stuff xlib has that conflcits with normal
C++ and Qt.

Before it was not conflicting because some lib within KDELibs4Support
was including this file, but now we have to do it ourselves.
2014-09-22 02:40:51 +02:00
..
CMakeLists.txt Make kdeconnect core compile without KDELibs4Support 2014-09-22 02:40:51 +02:00
fixx11h.h Make kdeconnect core compile without KDELibs4Support 2014-09-22 02:40:51 +02:00
kdeconnect_mousepad.desktop SVN_SILENT made messages (.desktop file) 2014-06-30 04:42:38 +00:00
mousepadplugin.cpp Make kdeconnect core compile without KDELibs4Support 2014-09-22 02:40:51 +02:00
mousepadplugin.h Make kdeconnect core compile without KDELibs4Support 2014-09-22 02:40:51 +02:00
README Implementation of mousepad plugin 2014-06-27 15:43:34 +02: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