From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1CjGcJ-0001y7-CE for qemu-devel@nongnu.org; Tue, 28 Dec 2004 07:38:23 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1CjGcI-0001xv-V8 for qemu-devel@nongnu.org; Tue, 28 Dec 2004 07:38:23 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CjGcI-0001xs-Pm for qemu-devel@nongnu.org; Tue, 28 Dec 2004 07:38:22 -0500 Received: from [213.228.0.44] (helo=postfix3-1.free.fr) by monty-python.gnu.org with esmtp (Exim 4.34) id 1CjGRD-0002Wl-Jd for qemu-devel@nongnu.org; Tue, 28 Dec 2004 07:26:55 -0500 Received: from imp2-q.free.fr (imp2-q.free.fr [212.27.42.2]) by postfix3-1.free.fr (Postfix) with ESMTP id 0CD5D17348A for ; Tue, 28 Dec 2004 13:26:54 +0100 (CET) Message-ID: <1104236814.41d1510ecf637@imp2-q.free.fr> Date: Tue, 28 Dec 2004 13:26:54 +0100 From: Laurent Amon Subject: Re: [Qemu-devel] Mac keyboard not supported References: <458F1E7B-58A2-11D9-B8FF-00039307264A@stanfordalumni.org> 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 Selon Johannes Schindelin : > Hi, > > On Tue, 28 Dec 2004, Laurent Amon wrote: > > > On 28 d=E9c. 04, at 02:16, Johannes Schindelin wrote: > > > > What are the messages for 1..0? Can't tell you right now, I am at work. It is a mix of accented character= s, symbols and numbers. Some characters do appear twice. > > > I hacked a workable keyboard (or rather enhanced on a hack Johannes > > Fortmann wrote) in july (posted to the list on july 17th and 21st) bu= t > > I'd rather build on the current system. > > You should, as the only way to support different keyboard layouts for > other platforms than a PC would be to duplicate the work. I should... what? Build through a new keymap or add code for the support = of other keyboard. I am not clear on the meaning of your sentence. > > > I guess that the mac keycodes are different from te PC ones and need = an > > extra translation. SDL is not perfect in that respect, though I haven= 't > > tries 1.2.8 release. > > That aspect didn't change AFAIK. Anyway, the keycodes may differ, but > *not* the keysyms. The whole purpose of keysyms *is* that they are > platform-independent. If they are not correct on the Mac, then SDL has = to > be fixed. My old patch did that, by providing extra transcoding. SDL seems to work correctly when you are not changing platforms, but here we are trying to emulate a PC keyboard under windows when the hardware is a Apple keyboard= under OSX. I can't expand more since I haven't studied the 0.6.1 code and I don= 't have my machine at hand right now. Rgds, Lga.