From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1C3Uvk-00087N-3x for qemu-devel@nongnu.org; Sat, 04 Sep 2004 03:25:48 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1C3Uvi-00087A-Jo for qemu-devel@nongnu.org; Sat, 04 Sep 2004 03:25:47 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1C3Uvi-000877-F3 for qemu-devel@nongnu.org; Sat, 04 Sep 2004 03:25:46 -0400 Received: from [213.165.64.20] (helo=mail.gmx.net) by monty-python.gnu.org with smtp (Exim 4.34) id 1C3UqZ-0005zh-15 for qemu-devel@nongnu.org; Sat, 04 Sep 2004 03:20:27 -0400 Message-ID: <41396C33.4000505@gmx.com> Date: Sat, 04 Sep 2004 09:18:11 +0200 From: "Bochnig, Martin" MIME-Version: 1.0 Subject: Re: [Qemu-devel] Keyboard problem in qemu 0.6.0-2 References: <4139299A.3090607@bigpond.net.au> <41392AAF.2020408@bigpond.net.au> <413943E6.1000901@bigpond.net.au> <4138A646.3000500@gmx.com> <41392034.6000602@bigpond.net.au> In-Reply-To: <41392034.6000602@bigpond.net.au> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Reply-To: bochnig@pool.math.tu-berlin.de, 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 Kim Adil wrote: > Thanks Martin, it worked perfectly. > > Kim Hi, I'm glad to hear that I could help you. However - sdl does have its advantages: Ctr+Shift+f switches forth and back to and from fullscreen mode operation; (and of course it makes QEMU as well as other projects using it ways more host platform independent as it doesn't require the presence of X). In my eyes Juergen's approach is a much cleaner solution: > I guess that (``scancode = keycode - 8'') only works with an XFree86 X11 > server. > > > My current workaround is to compile sdl.c with CONFIG_SDL_GENERIC_KBD > defined. This enables a more accurate X11 keysym to PC scancode translation > table. Problem is, the translation table assumes a US keyboard layout. > > Having installed both qemu_using_X11 and qemu_using_SDL at the same time would be possible too (ie to /usr/local and /opt or /usr). Regards, Martin