From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KGwRB-0003lN-P5 for qemu-devel@nongnu.org; Thu, 10 Jul 2008 09:43:57 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KGwRA-0003l9-0n for qemu-devel@nongnu.org; Thu, 10 Jul 2008 09:43:57 -0400 Received: from [199.232.76.173] (port=48589 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KGwR9-0003l6-Sj for qemu-devel@nongnu.org; Thu, 10 Jul 2008 09:43:55 -0400 Received: from dbservice.com ([213.239.204.14]:45711 helo=matterhorn.dbservice.com) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KGwR9-0006OI-8G for qemu-devel@nongnu.org; Thu, 10 Jul 2008 09:43:55 -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 DCADA20BB3C5 for ; Thu, 10 Jul 2008 15:43:38 +0200 (CEST) Message-ID: <487611FC.5070500@dbservice.com> Date: Thu, 10 Jul 2008 15:43:24 +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> <48754DF2.2010704@dbservice.com> <20080709235516.GM4889@implementation> <48755320.5090707@dbservice.com> <48757FB8.8010400@codemonkey.ws> <4875C0B6.2060302@dbservice.com> <4876101A.1080800@codemonkey.ws> In-Reply-To: <4876101A.1080800@codemonkey.ws> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit 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 Anthony Liguori wrote: > Tomas Carnecky wrote: >> When I press the 'Up' key, the xserver generates an event with keycode >> 111 (tested with xev). SDL repacks the XEvent to a SDL_KeyboardEvent >> with keycode=SDLK_UP and scancode=111. > > No. keysym.sym = SDLK_UP. scancode=111 presumably. Yes, that's what I meant. > What keyboard do you have? What is your host and guest locale? Host: Keyboard hardware is Logitech DiNovo Edge, connected via the supplied USB Bluetooth 2.0 dongle. Using evdev driver and hald to configure the keyboard, fdi policy file contains: model: evdev, layout: us, variant: colemak. Guest: ubuntu 8.04.1, standard desktop installation with US layout tom