kdeconnect-kde/plugins/mousepad
..
CMakeLists.txt
config-mousepad.h.cmake
kdeconnect_mousepad.json
mousepadplugin.cpp
mousepadplugin.h
README

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