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: Samuel Thibault
Subject: Re: [Qemu-devel] Bug in SDL key event processing
Date: Mon, 14 Jul 2008 17:27:51 +0100
User-agent: Mutt/1.5.12-2006-07-14

Ian Jackson, le Mon 14 Jul 2008 17:02:50 +0100, a écrit :
> 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.

Uuuggghh (to say the least).

Even more tricky.  I have an azerty keyboard.  To type '\' I press
alt-gr + '8'.  Qemu receives a '\' keysym, with altgr being pressed.
How do you know that that alt-gr is to be dropped (because it's an
artifact of the azerty keyboard) or kept as is (in the qwerty case one
may want to have an alt-gr + '\' shortcut)?

Samuel




reply via email to

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