From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KGjEU-0000p2-RG for qemu-devel@nongnu.org; Wed, 09 Jul 2008 19:37:58 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KGjES-0000oM-Hk for qemu-devel@nongnu.org; Wed, 09 Jul 2008 19:37:57 -0400 Received: from [199.232.76.173] (port=39016 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KGjES-0000oJ-7S for qemu-devel@nongnu.org; Wed, 09 Jul 2008 19:37:56 -0400 Received: from mtaout02-winn.ispmail.ntl.com ([81.103.221.48]:30365) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KGjER-0006N8-NL for qemu-devel@nongnu.org; Wed, 09 Jul 2008 19:37:56 -0400 Received: from aamtaout01-winn.ispmail.ntl.com ([81.103.221.35]) by mtaout02-winn.ispmail.ntl.com with ESMTP id <20080709234254.EVDL7070.mtaout02-winn.ispmail.ntl.com@aamtaout01-winn.ispmail.ntl.com> for ; Thu, 10 Jul 2008 00:42:54 +0100 Received: from implementation.famille.thibault.fr ([82.21.96.230]) by aamtaout01-winn.ispmail.ntl.com with ESMTP id <20080709234414.NDKV16854.aamtaout01-winn.ispmail.ntl.com@implementation.famille.thibault.fr> for ; Thu, 10 Jul 2008 00:44:14 +0100 Received: from samy by implementation.famille.thibault.fr with local (Exim 4.69) (envelope-from ) id 1KGjEO-0003eW-UB for qemu-devel@nongnu.org; Thu, 10 Jul 2008 01:37:52 +0200 Date: Thu, 10 Jul 2008 00:37:52 +0100 From: Samuel Thibault Subject: Re: [Qemu-devel] Bug in SDL key event processing Message-ID: <20080709233752.GL4889@implementation> References: <48754975.1050303@dbservice.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <48754975.1050303@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 01:27:49 +0200, a écrit : > Why is there OS (X11/Windows) specific code in the SDL frontend? And why > does qemu need keymaps anyway? The keymaps are for the VNC case, where you get a keyboard symbol, not a keycode, so you need to know how to translate back into a scancode. > I would expect qemu to translate my > keypresses to corresponding bios scancodes and do no further processing. Yep. > If you do that, you won't need the keymaps code, just a table to > translate from SDL events to bios scancodes. In the SDL case that should work indeed. Samuel