[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH] Paravirt framebuffer backend tools [2/5]


> (2) Simply use the host's raw keys.
>     The guest needs to understand the host's raw keys, and map them if
>     they differ from its own idea of raw keys.  At this time, the only
>     idea of raw keys in town is Linux keycodes, so no mapping is
>     necessary.
>     Nice: simple & stupid.
>     Unless I misunderstand Anthony, that's what rdesktop and qemu do.

<unimportant side node>
  Well, there are some corner cases where you can't easily get the hosts
  raw keys.  In that case qemu tries to translate the keysyms back to
  raw keycodes using the maps in /usr/share/qemu/keymaps.  See also qemu
  manpage, "-k" switch.

But, yes, using linux keycodes as wire encoding IMHO is the way to go.


Gerd Hoffmann <kraxel@xxxxxxx>

Xen-devel mailing list



Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.