[Top][All Lists]
[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
- Re: [Qemu-devel] Bug in SDL key event processing, (continued)
- Re: [Qemu-devel] Bug in SDL key event processing, Samuel Thibault, 2008/07/10
- Re: [Qemu-devel] Bug in SDL key event processing, Anthony Liguori, 2008/07/10
- Re: [Qemu-devel] Bug in SDL key event processing, Tomas Carnecky, 2008/07/10
- Re: [Qemu-devel] Bug in SDL key event processing, Samuel Thibault, 2008/07/10
- Re: [Qemu-devel] Bug in SDL key event processing, Anthony Liguori, 2008/07/10
- Re: [Qemu-devel] Bug in SDL key event processing, Tomas Carnecky, 2008/07/10
- Re: [Qemu-devel] Bug in SDL key event processing, Samuel Thibault, 2008/07/10
- Re: [Qemu-devel] Bug in SDL key event processing, Anthony Liguori, 2008/07/10
- Re: [Qemu-devel] Bug in SDL key event processing, Samuel Thibault, 2008/07/10
- Re: [Qemu-devel] Bug in SDL key event processing, Ian Jackson, 2008/07/14
- Re: [Qemu-devel] Bug in SDL key event processing,
Samuel Thibault <=
- Re: [Qemu-devel] Bug in SDL key event processing, Ian Jackson, 2008/07/14
Re: [Qemu-devel] Bug in SDL key event processing, Anthony Liguori, 2008/07/09
Re: [Qemu-devel] Bug in SDL key event processing, Juergen Keil, 2008/07/10