Re: Remote cursor location

Constantin Kaplinsky <[email protected]>
Newsgroups gmane.network.vnc.realvnc.general
Message-ID <[email protected]>
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

_______________________________________________
VNC-List mailing list
[email protected]
To remove yourself from the list visit:
http://www.realvnc.com/mailman/listinfo/vnc-list
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.