From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1M9bwC-0000RS-0E for qemu-devel@nongnu.org; Thu, 28 May 2009 05:30:12 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1M9bw6-0000M9-U6 for qemu-devel@nongnu.org; Thu, 28 May 2009 05:30:10 -0400 Received: from [199.232.76.173] (port=52613 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1M9bw6-0000Lw-PQ for qemu-devel@nongnu.org; Thu, 28 May 2009 05:30:06 -0400 Date: Thu, 28 May 2009 10:29:57 +0100 From: "Daniel P. Berrange" Subject: Re: [Qemu-devel] Moving keymaps -> pc-bios/keymaps Message-ID: <20090528092957.GA24488@redhat.com> References: <4A1E481F.1060207@us.ibm.com> <20090528083220.GU5809@const.bordeaux.inria.fr> <4A1E4D58.5040307@us.ibm.com> <20090528084448.GW5809@const.bordeaux.inria.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline In-Reply-To: <20090528084448.GW5809@const.bordeaux.inria.fr> Content-Transfer-Encoding: quoted-printable Reply-To: "Daniel P. Berrange" List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Samuel Thibault Cc: Anthony Liguori , "qemu-devel@nongnu.org" On Thu, May 28, 2009 at 10:44:48AM +0200, Samuel Thibault wrote: > Anthony Liguori, le Thu 28 May 2009 03:37:44 -0500, a =E9crit : > > Samuel Thibault wrote: > > > Could qemu perhaps just use xkb data? > >=20 > > We could but we would probably want to keep it in the tree for Window= s > > and non-X11 targets. >=20 > Yes, of course. My idea was mostly to get keymaps for free :) For VNC at least you're better off getting a VNC client that supports the hardware scancode extension[1], avoiding the need for any of this horrible keymap conversion in QEMU itself, leaving it entirely to the guest OS where xkb (or equiv) is indeed used. Not sure what SDL does... Regards, Daniel [1] eg gtk-vnc as found in vinagre, virt-manager, virt-viewer --=20 |: Red Hat, Engineering, London -o- http://people.redhat.com/berrange= / :| |: http://libvirt.org -o- http://virt-manager.org -o- http://ovirt.or= g :| |: http://autobuild.org -o- http://search.cpan.org/~danberr= / :| |: GnuPG: 7D3B9505 -o- F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 950= 5 :|