From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KGyQs-00035D-2e for qemu-devel@nongnu.org; Thu, 10 Jul 2008 11:51:46 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KGyQo-000331-06 for qemu-devel@nongnu.org; Thu, 10 Jul 2008 11:51:45 -0400 Received: from [199.232.76.173] (port=59837 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KGyQn-00032s-NT for qemu-devel@nongnu.org; Thu, 10 Jul 2008 11:51:41 -0400 Received: from smtp.eu.citrix.com ([62.200.22.115]:11037) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KGyQn-0005tn-9M for qemu-devel@nongnu.org; Thu, 10 Jul 2008 11:51:41 -0400 Received: from samy by implementation.famille.thibault.fr with local (Exim 4.69) (envelope-from ) id 1KGyQi-000429-GN for qemu-devel@nongnu.org; Thu, 10 Jul 2008 17:51:36 +0200 Date: Thu, 10 Jul 2008 16:51:36 +0100 From: Samuel Thibault Subject: Re: [Qemu-devel] Bug in SDL key event processing Message-ID: <20080710155136.GM4536@implementation.uk.xensource.com> References: <48754DF2.2010704@dbservice.com> <20080709235516.GM4889@implementation> <48755320.5090707@dbservice.com> <48757FB8.8010400@codemonkey.ws> <4875C0B6.2060302@dbservice.com> <4876101A.1080800@codemonkey.ws> <487611FC.5070500@dbservice.com> <487616BB.8020402@dbservice.com> <48761F31.4090909@codemonkey.ws> <48762C59.9010204@dbservice.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <48762C59.9010204@dbservice.com> Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Tomas Carnecky, le Thu 10 Jul 2008 17:35:53 +0200, a écrit : > -k raw[=model]: when the user presses the top left key, generate a > scancode corresponding to the top left key. Use 'model' to translate the > SDL scancode (possible useful for other frontends as well). > > -k map[=keymap]: Guest OS uses this keymap: 'keymap'. When the user > presses 'f', send whatever scancode is needed to have the guest generate > 'f'. > > > I'd expect -k map=en-us to be the default. > That way the user doesn't > have to change the layout in each of the VMs (just tell them to use > en-us when installing the guest). When he/she changes the layout in the > host, it will be 'changed' in all guests as well. It's not so simple. Think about shifted keysyms. Samuel