[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] Re: [PATCH] Paravirt framebuffer backend tools [2/5]
Stephen C. Tweedie wrote: Hi, Bear in mind that it may simply not be possible. :-( Right, this is my understanding of the problem.I think the best we can do is use a keymap in the host to translate from whatever keycodes we're getting to PC scancodes and then leave it up to the guest to convert the scancodes based on whatever keymap they're using. This is what rdesktop and qemu do. Regards, Anthony Liguori An example is my UK keyboard connecting to a guest with a US keymap. For me, "#" is a key on its own (with "~" as the shift-modified key.) When I type "#", with no modifier pressed, there is simply no way to translate that to a single keycode on a US keymap and get the "#" ksym out --- on a US keyboard, "#" requires shift to be held down. The only way you'll get such a keypress through is by faking modifiers on the fly. --Stephen _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |