qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] Bug in SDL key event processing


From: Ian Jackson
Subject: Re: [Qemu-devel] Bug in SDL key event processing
Date: Mon, 14 Jul 2008 17:02:50 +0100

Samuel Thibault writes ("Re: [Qemu-devel] Bug in SDL key event processing"):
> That won't for the shifted characters. Let's take for instance azerty,
> which has the numbers in the shifted position instead of the direct
> position. Typing shift+1 will produce a 1 keysym, which will indeed be
> converted to the correct scancode, but shift will be simulated too, and
> thus produce in the guest '!'... There is no other correct than properly
> reverse-engineering the keysyms we get into a positional keycode, and
> then convert to PS2 scancode, and let the guest use its keymaps..

Well, one alternative approach would be to simulate a shift down
event, followed by the key in question, followed by a shift up event.

Ian.




reply via email to

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