|
From: | Tomas Carnecky |
Subject: | Re: [Qemu-devel] Bug in SDL key event processing |
Date: | Thu, 10 Jul 2008 01:46:58 +0200 |
User-agent: | Thunderbird 2.0.0.14 (X11/20080621) |
Samuel Thibault wrote:
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.
Well, every 'frontend' needs some kind of keymap table to map the events into bios scancodes. But there is no need to have user-editable keymap files. This mapping can be done entirely within the qemu code, within each of the frontends.
tom
[Prev in Thread] | Current Thread | [Next in Thread] |