From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KGjNk-0005wm-1W for qemu-devel@nongnu.org; Wed, 09 Jul 2008 19:47:32 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KGjNj-0005wa-O3 for qemu-devel@nongnu.org; Wed, 09 Jul 2008 19:47:31 -0400 Received: from [199.232.76.173] (port=48478 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KGjNj-0005wT-Dw for qemu-devel@nongnu.org; Wed, 09 Jul 2008 19:47:31 -0400 Received: from dbservice.com ([213.239.204.14]:39213 helo=matterhorn.dbservice.com) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KGjNj-0000n7-4A for qemu-devel@nongnu.org; Wed, 09 Jul 2008 19:47:31 -0400 Received: from [192.168.0.27] (gw.ptr-62-65-141-13.customer.ch.netstream.com [62.65.141.13]) by matterhorn.dbservice.com (Postfix) with ESMTP id 15A1520BB3C6 for ; Thu, 10 Jul 2008 01:47:13 +0200 (CEST) Message-ID: <48754DF2.2010704@dbservice.com> Date: Thu, 10 Jul 2008 01:46:58 +0200 From: Tomas Carnecky MIME-Version: 1.0 Subject: Re: [Qemu-devel] Bug in SDL key event processing References: <48754975.1050303@dbservice.com> <20080709233752.GL4889@implementation> In-Reply-To: <20080709233752.GL4889@implementation> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable 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 Samuel Thibault wrote: > Tomas Carnecky, le Thu 10 Jul 2008 01:27:49 +0200, a =C3=A9crit : >> Why is there OS (X11/Windows) specific code in the SDL frontend? And w= hy=20 >> does qemu need keymaps anyway? >=20 > 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. Well, every 'frontend' needs some kind of keymap table to map the events=20 into bios scancodes. But there is no need to have user-editable keymap=20 files. This mapping can be done entirely within the qemu code, within=20 each of the frontends. tom