WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
Xen

xen-devel

[Top] [All Lists]

Re: [Xen-devel] [RFC] keymap support for PVFB

To: <berrange@xxxxxxxxxx>,<kraxel@xxxxxxx>
Subject: Re: [Xen-devel] [RFC] keymap support for PVFB
From: "Bruce Rogers" <brogers@xxxxxxxxxx>
Date: 2007年1月12日 05:35:27 -0700
Cc: Xen-devel@xxxxxxxxxxxxxxxxxxx, ichino.junko@xxxxxxxxxxxxxx, armbru@xxxxxxxxxx
Delivery-date: 2007年1月12日 04:36:34 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Correct me if I'm wrong, but I thought the default *was* to use relative
mouse coordinates. And can you point me to Anthony's work?
- Thanks
>>> "Daniel P. Berrange" <berrange@xxxxxxxxxx> 01/12/07 5:16 AM >>>
On Fri, Jan 12, 2007 at 09:15:21AM +0100, Gerd Hoffmann wrote:
> Hi,
>
> >> I've tried to tackle the same issue by hacking the vnc client side to
> >> send us keysyms no matter what the local keyboard mapping is. So I can
> >> have any keyboard map loaded on the host, qemu-dm/vncfb sees us keysyms
> >> nevertheless and passes the correct scancodes to the guest OS.
> > 
> > You mean scan codes, don't you? Key symbols are the XK_a and so
> > forth.
>
> No, keysyms. This is what the vnc protocol uses, so there is no way
> around that, unfortunaly. It takes the X11 keycodes and translates
> these to us keymap keysyms using a buildin table, then sends them. So
> for the server side (from vnc protocol view, i.e. qemu-dm or vnc-fb) it
> looks like a vnc client with us keyboard.
>
> > Passing scan codes in addition to key symbols makes sense.
>
> Does the vnc protocol allow that? I don't think so :-(
No, but there's no reason we couldn't come up with an extension. Anthony
has already done similar to allow passing of relative mouse co-ords instead
of absolute co-ords. Extensions are opt-in, so unless the client has support
they'd carry on with normal keysyms, but a client that understood the new
extension could switch to scan codes. The important thing is talking to
upstream VNC mailing lists about any proposed extension to get buy-in so
some of the popular clients implement it. As far as i'm concerned, I'm more
than happy to extend the virt-manager VNC client if it could enable better
internationalized keyboard handling.
Dan.
-- 
|=- Red Hat, Engineering, Emerging Technologies, Boston. +1 978 392 2496 -=|
|=- Perl modules: http://search.cpan.org/~danberr/ -=|
|=- Projects: http://freshmeat.net/~danielpb/ -=|
|=- GnuPG: 7D3B9505 F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 -=| 
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>
Previous by Date: Re: [Xen-devel] [RFC] keymap support for PVFB , Daniel P. Berrange
Next by Date: Re: [Xen-devel] Tracking "Cannot allocate memory" error in shadow_alloc_p2m_table , Steven Rostedt
Previous by Thread: Re: [Xen-devel] [RFC] keymap support for PVFB , Markus Armbruster
Next by Thread: Re: [Xen-devel] [RFC] keymap support for PVFB , Daniel P. Berrange
Indexes: [Date] [Thread] [Top] [All Lists]

Copyright ©, Citrix Systems Inc. All rights reserved. Legal and Privacy
Citrix This site is hosted by Citrix

AltStyle によって変換されたページ (->オリジナル) /