From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KGjtE-0003ww-1g for qemu-devel@nongnu.org; Wed, 09 Jul 2008 20:20:04 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KGjtC-0003wB-TA for qemu-devel@nongnu.org; Wed, 09 Jul 2008 20:20:03 -0400 Received: from [199.232.76.173] (port=55300 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KGjtC-0003vy-Og for qemu-devel@nongnu.org; Wed, 09 Jul 2008 20:20:02 -0400 Received: from mtaout01-winn.ispmail.ntl.com ([81.103.221.47]:56793) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KGjtC-0000xz-5m for qemu-devel@nongnu.org; Wed, 09 Jul 2008 20:20:02 -0400 Received: from aamtaout01-winn.ispmail.ntl.com ([81.103.221.35]) by mtaout01-winn.ispmail.ntl.com with ESMTP id <20080710002447.BIGF28496.mtaout01-winn.ispmail.ntl.com@aamtaout01-winn.ispmail.ntl.com> for ; Thu, 10 Jul 2008 01:24:47 +0100 Received: from implementation.famille.thibault.fr ([82.21.96.230]) by aamtaout01-winn.ispmail.ntl.com with ESMTP id <20080710002622.NHDC16854.aamtaout01-winn.ispmail.ntl.com@implementation.famille.thibault.fr> for ; Thu, 10 Jul 2008 01:26:22 +0100 Received: from samy by implementation.famille.thibault.fr with local (Exim 4.69) (envelope-from ) id 1KGjtB-0004Pm-7G for qemu-devel@nongnu.org; Thu, 10 Jul 2008 02:20:01 +0200 Date: Thu, 10 Jul 2008 01:20:01 +0100 From: Samuel Thibault Subject: Re: [Qemu-devel] Bug in SDL key event processing Message-ID: <20080710002001.GO4889@implementation> References: <48754975.1050303@dbservice.com> <20080709233752.GL4889@implementation> <48754DF2.2010704@dbservice.com> <20080709235516.GM4889@implementation> <48755320.5090707@dbservice.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <48755320.5090707@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 02:09:04 +0200, a écrit : > But you said it yourself, SDL doesn't need the keymap table, it can > translate the keycodes on its own. So where is the need to share the > keymaps? I didn't say it needed to, I agree that it's odd it does. That said, see what Anthony said, windows SDL seems to provide keysyms only. > Do other frontends need the keymaps as well? The ncurses one too. > Anyway, whatever you do, please don't try to be smart, parse the SDL > 'scancode' (which is the X11 keycode) and use that to get the 'real' > scancode. In that case we should rather use the SDL keysyms, and thus have to use a translation table :/ Samuel