From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1CqaNu-00013n-3W for qemu-devel@nongnu.org; Mon, 17 Jan 2005 12:09:47 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1CqaNp-00011c-I1 for qemu-devel@nongnu.org; Mon, 17 Jan 2005 12:09:43 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1CqaNo-0000yu-Hd for qemu-devel@nongnu.org; Mon, 17 Jan 2005 12:09:40 -0500 Received: from [213.228.0.44] (helo=postfix3-1.free.fr) by monty-python.gnu.org with esmtp (Exim 4.34) id 1Cqa6D-0001g6-Qc for qemu-devel@nongnu.org; Mon, 17 Jan 2005 11:51:31 -0500 Received: from imp4-q.free.fr (imp4-q.free.fr [212.27.42.4]) by postfix3-1.free.fr (Postfix) with ESMTP id 61A981734ED for ; Mon, 17 Jan 2005 17:51:28 +0100 (CET) Message-ID: <1105980688.41ebed104f3b5@imp4-q.free.fr> Date: Mon, 17 Jan 2005 17:51:28 +0100 From: Laurent Amon Subject: Re: [Qemu-devel] Mac keyboard not supported References: <726C0B9A-5958-11D9-8651-000393CFF340@teleline.es> <38696B0C-5CFB-11D9-B1E0-00039307264A@cs.stanford.edu> In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 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 Hi, Selon Johannes Schindelin : > I don't think the SDL guys are slow. And it is no major rework. It is o= ne > file, one function, and if I'm correct, just deletion of 3 lines -- and= it > should be a lot easier than replicating a whole keymap. If you can point me to the 3 lines, I'll try to compile SDL and see if it= works better. I hope I'll have a moment to look at it in the next few days. Not= my priority, though. > For normal users, there is no need to differentiate between left and ri= ght > modifier keys. Also, it is not important to have exactly the same mappi= ng > as on PC, but only that if you hit a key (e.g. '/') that the guest > actually understands the same key ('/'). No more, no less. I don't agree with you. When you type '/', the guest OS needs to to know = the keycode corresponding to the '/' on the keyboard you emulate as well as t= he modifier key mask necessary to generate it. I believe windows works on th= at level, does it not? I don't think that you can simply pass the character. As to differenciating between left/right keys, it would be handy in order= to emulate a Alt-Graph key (which is needed since qemu now grabs ctrl-alt), = and the "contextual menu" key too. Not to mention playing pinball. > [...] And yes, unless the good SDL people > decide to release (after a patch was sent to them), you'd have to > distribute a patched SDL (which would of course, being patcheed, break = all > apps using SDL -- NOT!). As you point out, it would probably not break anything. It is just extra logistics. Bye, Lga.