Extend MousePadPlugin to see the screen under the mouse pointer

Bernhard Übelacker bernhardu at vr-web.de
Sat Dec 13 16:14:14 UTC 2014


Hello all,
I tried to extend this plugin to show the remote region under the mouse
pointer. So basically extend it to be used as remote control without
having the screen in sight.

Attached you find 2 prototype patches which enable this.


Currently biggest problem is with the performance:

Right now a QPixmap grabs the screen content, puts this as PNG to a
buffer, encodes it as base64 and attaches it to a network packet.

To make it even worse the space available on a network packet seems
rather limited and so it is split into several network packets per picture.

In small zoom areas it is bearable, but if you get a bigger part of the
screen it does not work anymore.


These minor points are also open:
- Sometimes scroll events are sent when one tries to zoom (pinch).
  Even after increasing MinDistanceToSendScroll.
- When using it without looking at the screen probably an option is
  needed to reverse directions. Also a mouse pointer on the android
  device would be needed.


What do you think about it?

Kind regards,
Bernhard

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Test-3-android.patch
Type: text/x-patch
Size: 14461 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kdeconnect/attachments/20141213/ac61a06d/attachment.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Test-3-kde.patch
Type: text/x-patch
Size: 6217 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kdeconnect/attachments/20141213/ac61a06d/attachment-0001.patch>


More information about the KDEConnect mailing list