ab5438d338
Don't open a second Display, we can use the one used by Qt. Advantages are: we are on the correct Display, we don't open a Display connection on e.g. Wayland (it would succeed but not work as a connection to Xwayland would be opened) and we can drop the copy of fixx11h. It's also a prerequisite to properly split the implementation to support Wayland in a later change. REVIEW: 124230 |
||
---|---|---|
.. | ||
CMakeLists.txt | ||
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