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

Re: [Xen-devel] [PATCH 0/2] PV framebuffer



On Tue, Nov 21, 2006 at 06:50:30AM +0100, Markus Armbruster wrote:

> "Kasai Takanori" <kasai.takanori@xxxxxxxxxxxxxx> writes:
> 
> > Hi all,
> >
> > The keymap is being written in these patches.
> 
> Are you talking about sdlfb or vncfb?
> 
> > However, the keymap seems to be 101 keyboard layout.
> > Therefore, other keyboard layouts cannot be used.
> 
> sdlfb works with scancodes and its mapping to Linux input layer
> keycodes assumes a standard AT or PS/2 keyboard.
> 
> vncfb can't work with scancodes, because LibVNCServer doesn't provide
> them.  It has to work with key symbols instead.  This can't work in
> general, see the source code for why.  Its mapping to Linux keycodes
> assumes you're using the usual US keymap.
> 
> > I think that the mechanism that keyboard layout is selected like
> > qemu-dm is necessary.
> > How do you think about it?
> 
> Nobody coded it yet.  It would sure be useful.

I think you could steal the keymaps from QEMU, and the parsing and translation
code.  That would be good, because we would have only one set of keymaps to
maintain.  That translation between VNC's X11 keysyms and the appropriate
scancode has been all written once (for QEMU's VNC frontend), so it would be
good if you could take advantage of that.

Cheers,

Ewan.

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

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