|
From: | Laurent Amon |
Subject: | Re: [Qemu-devel] Mac keyboard not supported |
Date: | Sun, 2 Jan 2005 17:24:50 +0100 |
Hi Phil,I never noticed that Caps Lock didn't work. I hardly ever use it. However, the 'A' key works perfectly on my keyboard. The part of the patch you point to is needed because (at least on my machine) the keysim returned by the 'a' key is 0 and you need to determine by keycode. The comment is from the person who wrote the original patch. What language is your keyboard in? You may want to uncomment the fprintf to see what you are missing.
What I get is not perfect : I get a PC mapping fo my mac keyboard so few symbols are not at the same place and a couple are missing. But that's enough to be useful. If somebody can improve on this patch or write a better one, please go ahead. I may have a look at it, but I don't have much time for it, so don't expect anything soon.
Happy new year to you too, Lga. On 2 janv. 05, at 15:40, Phil Krylov wrote:
Hello Laurent, Have a happy new year!On Sat, 1 Jan 2005 19:20:50 +0100, Laurent Amon <address@hidden> wrote:In the meanwhile, I just ported my old patch (included) to the snapshotof a few days ago. It works with the french keyboard, and should workwith any other international one (and even US). Use your usual languagesetting and start qemu without the '-k' argument.With this patch, everything works just fine here - except CapsLock and A keys.This piece of the patch doesn't seem to work as expected:case SDLK_a: /* I just don't want to know why this is needed */case 0x71: keycode = 0x1e; break;
[Prev in Thread] | Current Thread | [Next in Thread] |