|
From: | Laurent Amon |
Subject: | Re: [Qemu-devel] Mac keyboard not supported |
Date: | Tue, 28 Dec 2004 08:29:55 +0100 |
On 28 déc. 04, at 02:16, Johannes Schindelin wrote:
If there is a need for a special mac keymap, then there is something completely rotten. As far as people told me, there were only problems with Escape, Apple, and keys outside of ASCII (code>127). The first two problems are fixed(hopefully) by the attached patch. The other keys are more of a problem: Ibelieve that this is a bug in SDL: AFAIK insrc/video/maccommon/SDL_macevents.c, at the end of Mac_InitOSKeymap(), the if after the comment about non-ASCII, should be replaced by the command inthe else branch: "MAC_keymap[i] = value;", i.e. not treat the non-ASCII case specially.
I also have a problem with some ascii keys. At least on the french keyboard, most upper row numbers don't work. 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) but I'd rather build on the current system. 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.
I would very much like to know if anybody has success with that.
I'll look at it as soon as I can. Bye for now, Lga.
[Prev in Thread] | Current Thread | [Next in Thread] |