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 00:37:52 +0100
User-agent: Mutt/1.5.12-2006-07-14

Tomas Carnecky, le Thu 10 Jul 2008 01:27:49 +0200, a écrit :
> Why is there OS (X11/Windows) specific code in the SDL frontend? And why 
> does qemu need keymaps anyway?

The keymaps are for the VNC case, where you get a keyboard symbol, not a
keycode, so you need to know how to translate back into a scancode.

> I would expect qemu to translate my 
> keypresses to corresponding bios scancodes and do no further processing. 

Yep.

>  If you do that, you won't need the keymaps code, just a table to 
> translate from SDL events to bios scancodes.

In the SDL case that should work indeed.

Samuel




reply via email to

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