qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] Mac keyboard not supported


From: Laurent Amon
Subject: Re: [Qemu-devel] Mac keyboard not supported
Date: Mon, 17 Jan 2005 17:51:28 +0100
User-agent: Internet Messaging Program (IMP) 3.2.5

Hi,

Selon Johannes Schindelin <address@hidden>:

> I don't think the SDL guys are slow. And it is no major rework. It is one
> 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 right
> modifier keys. Also, it is not important to have exactly the same mapping
> 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 the
modifier key mask necessary to generate it. I believe windows works on that
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.






reply via email to

[Prev in Thread] Current Thread [Next in Thread]