kdeconnect-kde/plugins/mousepad
Albert Vaca f47f517827 Rename NetworkPackage -> NetworkPacket
Summary: KDE Connect, now with correct naming!

Test Plan: It still builds.

Reviewers: #kde_connect, apol, nicolasfella

Reviewed By: #kde_connect, apol, nicolasfella

Subscribers: nicolasfella

Differential Revision: https://phabricator.kde.org/D11036
2018-03-05 20:03:23 +01:00
..
CMakeLists.txt Refactor capabilities together with Albert 2016-05-31 17:16:01 +02:00
config-mousepad.h.cmake Refactor capabilities together with Albert 2016-05-31 17:16:01 +02:00
kdeconnect_mousepad.json Rename NetworkPackage -> NetworkPacket 2018-03-05 20:03:23 +01:00
mousepadplugin.cpp Rename NetworkPackage -> NetworkPacket 2018-03-05 20:03:23 +01:00
mousepadplugin.h Rename NetworkPackage -> NetworkPacket 2018-03-05 20:03:23 +01: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