On Thu, May 19, 2011 at 11:37:19AM +0200, Pierre Ossman wrote:
> On Fri, 16 Jul 2010 19:54:30 +0100
> "Daniel P. Berrange" <d...@berrange.com> wrote:
> 
> > This patch describes three QEMU protocol extensions
> > 
> >  - Pointer motion mode: Allows switching between relative & absolute
> >    motion events
> >  - Extended key event: Allows providing the hardware keycode alongside
> >    the X11 keysym in key events
> >  - Audio: Allows client to receive the audio stream associated with
> >    the virtual desktop.
> > 
> > These are all implemented by QEMU. GTK-VNC only implements the first
> > two so far, audio is work in progress
> > 
> 
> Hi Daniel,
> 
> Thank you for this patch. Sorry about overlooking it until now. It's
> been committed to the repo.
> 
> One clarification I'm curious about though; what should clients do if
> they don't know how to map a key to a XT scan code for a certain key?
> Picking something at random is probably not going to do wonders for
> interoperability.

There's not much you can do in that situation. Only two safe options
I can consider are to not send anything, or send '0'.

In practice I don't think this is a huge problem, since the 'XT' key
code set covers everything you're likely to come across in the real
world. In addition, QEMU uses XT keycodes internally, so if you can't
find a XT keycode mapping on the client, then by implication, QEMU
won't be able to handle the key anyway.

Regards,
Daniel
-- 
|: http://berrange.com      -o-    http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org              -o-             http://virt-manager.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: http://entangle-photo.org       -o-       http://live.gnome.org/gtk-vnc :|

------------------------------------------------------------------------------
What Every C/C++ and Fortran developer Should Know!
Read this article and learn how Intel has extended the reach of its 
next-generation tools to help Windows* and Linux* C/C++ and Fortran 
developers boost performance applications - including clusters. 
http://p.sf.net/sfu/intel-dev2devmay
_______________________________________________
tigervnc-rfbproto mailing list
tigervnc-rfbproto@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tigervnc-rfbproto

Reply via email to