Remote cursor location
Constantin Kaplinsky
const at tightvnc.com
Wed Oct 7 10:57:37 BST 2009
Hello Jon,
>>>>> Jon Watte wrote:
> Is there a pseudo-encoding that lets me get the remote machine cursor
> location (coordinate)?
>
> When I request the cursor image, I don't know where to put it. I can
> put it where the local user has his cursor, but in the case where the
> local user is just viewing a remote user, this doesn't make sense,
> because you really want to see the remote cursor. Still, it's much
> more efficient to just send "cursor moved to X" than to send the
> framebuffer equivalent of graphics updates.
TightVNC supports such a pseudo-encoding called PointerPos:
#define rfbEncodingPointerPos 0xFFFFFF18
The x and y coordinates of the "pseudo-encoded" rectangle are
interpreted as the coordinates of the cursor. Width and height fields
are not used and should be 0.
--
With Best Wishes,
Constantin
More information about the VNC-List
mailing list