Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: VNC: list

Remote cursor location

 

 

VNC list RSS feed   Index | Next | Previous | View Threaded


jwatte at gmail

Sep 16, 2009, 1:05 PM

Post #1 of 4 (1961 views)
Permalink
Remote cursor location

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.

Sincerely,

jw


--
Americans might object: there is no way we would sacrifice our living
standards for the benefit of people in the rest of the world.
Nevertheless, whether we get there willingly or not, we shall soon
have lower consumption rates, because our present rates are
unsustainable.

_______________________________________________
VNC-List mailing list
VNC-List [at] realvnc
To remove yourself from the list visit:
http://www.realvnc.com/mailman/listinfo/vnc-list


const at tightvnc

Oct 7, 2009, 2:57 AM

Post #2 of 4 (1689 views)
Permalink
Re: Remote cursor location [In reply to]

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
VNC-List [at] realvnc
To remove yourself from the list visit:
http://www.realvnc.com/mailman/listinfo/vnc-list


jwatte at gmail

Oct 7, 2009, 9:27 AM

Post #3 of 4 (1689 views)
Permalink
Re: Remote cursor location [In reply to]

Constantin Kaplinsky wrote:
>> 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.
>
>

Great! Thanks for the note.

Also, is there a document that describes how exactly the client and
server should behave when this encoding is turned on?

Sincerely,

jw



--

Revenge is the most pointless and damaging of human desires.


_______________________________________________
VNC-List mailing list
VNC-List [at] realvnc
To remove yourself from the list visit:
http://www.realvnc.com/mailman/listinfo/vnc-list


const at tightvnc

Oct 8, 2009, 9:13 PM

Post #4 of 4 (1671 views)
Permalink
Re: Remote cursor location [In reply to]

Hello Jon,

>>>>> Jon Watte wrote:

> Also, is there a document that describes how exactly the client and
> server should behave when this encoding is turned on?

There is no special documentation, but I can answer particular questions
on this subject.

--
With Best Wishes,
Constantin


_______________________________________________
VNC-List mailing list
VNC-List [at] realvnc
To remove yourself from the list visit:
http://www.realvnc.com/mailman/listinfo/vnc-list

VNC list RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.