[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v2 1/2] kbd: add brazil kbd keys to qemu
From: |
Daniel P. Berrange |
Subject: |
Re: [Qemu-devel] [PATCH v2 1/2] kbd: add brazil kbd keys to qemu |
Date: |
Thu, 28 May 2015 09:53:37 +0100 |
User-agent: |
Mutt/1.5.23 (2014-03-12) |
On Thu, May 28, 2015 at 09:40:44AM +0200, Gerd Hoffmann wrote:
> The brazilian computer keyboard layout has two extra keys (compared to
> the usual 105-key intl ps/2 keyboard). This patch makes these two keys
> known to qemu.
>
> For historic reasons qemu has two ways to specify a key: A QKeyCode
> (name-based) or a number (ps/2 scancode based). Therefore we have to
> update multiple places to make new keys known to qemu:
>
> (1) The QKeyCode definition in qapi-schema.json
> (2) The QKeyCode <-> number mapping table in ui/input-keymap.c
>
> This patch does just that. With this patch applied you can send those
> two keys to the guest using the send-key monitor command.
>
> Signed-off-by: Gerd Hoffmann <address@hidden>
Reviewed-by: Daniel P. Berrange <address@hidden>
Regards,
Daniel
--
|: http://berrange.com -o- http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org -o- http://virt-manager.org :|
|: http://autobuild.org -o- http://search.cpan.org/~danberr/ :|
|: http://entangle-photo.org -o- http://live.gnome.org/gtk-vnc :|