kdeconnect-kde/plugins/mousepad
Martin Gräßlin ab5438d338 [mousepad] Use QX11Info to get the Display
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
2015-07-03 09:43:01 +02:00
..
CMakeLists.txt [mousepad] Use QX11Info to get the Display 2015-07-03 09:43:01 +02:00
kdeconnect_mousepad.json SVN_SILENT made messages (.desktop file) - always resolve ours 2015-06-24 10:38:32 +00:00
mousepadplugin.cpp [mousepad] Use QX11Info to get the Display 2015-07-03 09:43:01 +02:00
mousepadplugin.h [mousepad] Use QX11Info to get the Display 2015-07-03 09:43:01 +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