Mac OSX keyboard patch (2)
I just notices I was missing one key (MK_a) on my Apple keyboard patch. The following additional patch should restore this... I hope. It works on my AZERTY keyboard when using both french and US mapping. I'd like somebody with a QWERTY keyboard to make sure, though.
Regards,
Lga.
Re: [Qemu-devel] Mac OSX keyboard patch (2, patch included)
Selon Laurent Amon <[email protected]>:
Quoted 10 lines
I just notices I was missing one key (
MK_a) on my Apple keyboard patch. The following additional patch should restore this... I hope. It works on my AZERTY keyboard when using both french and US mapping. I'd like somebody with a
QWERTY keyboard to make sure, though.Regards,
Lga.
I forgot to join the patch, sorry.
Here it is.
*** qemu/sdl.c.orig Mon Jul 19 23:09:51 2004
--- qemu/sdl.c Tue Jul 20 11:22:54 2004
***************
*** 420,425 ****
--- 420,428 ----
case SDLK_LMETA:
keycode = 0x56;
case SDLK_a: /* I just don't want to know why this is needed */
+ #if defined __APPLE__
+ case 0x71: /* Me, I know :-) */
+ #endif
keycode = 0x1e;
break;
default: