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: Thu, 10 Jul 2008 01:20:01 +0100
User-agent: Mutt/1.5.12-2006-07-14

Tomas Carnecky, le Thu 10 Jul 2008 02:09:04 +0200, a écrit :
> But you said it yourself, SDL doesn't need the keymap table, it can 
> translate the keycodes on its own. So where is the need to share the 
> keymaps?

I didn't say it needed to, I agree that it's odd it does. That said, see
what Anthony said, windows SDL seems to provide keysyms only.

> Do other frontends need the keymaps as well?

The ncurses one too.

> Anyway, whatever you do, please don't try to be smart, parse the SDL 
> 'scancode' (which is the X11 keycode) and use that to get the 'real' 
> scancode.

In that case we should rather use the SDL keysyms, and thus have to use
a translation table :/

Samuel




reply via email to

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