[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 1/4] hid: register kbd hander in init()
From: |
Peter Maydell |
Subject: |
Re: [Qemu-devel] [PATCH 1/4] hid: register kbd hander in init() |
Date: |
Tue, 9 Aug 2011 23:13:26 +0100 |
On 9 August 2011 22:54, Michael Walle <address@hidden> wrote:
> Register the keyboard event handler in hid's init() instead of its reset()
> function.
>
> Signed-off-by: Michael Walle <address@hidden>
Reviewed-by: Peter Maydell <address@hidden>
There's actually an equivalent patch to this lurking in the
qemu-linaro patch stack (inherited from the meego tree).
If we fix qemu_add_kbd_event_handler() so that it actually
lets you register more than one keyboard at once (as you
can with mice) then this is definitely required, otherwise
the USB keyboard reregisters itself every time there's a
USB reset, and you get key duplication.
(There's a meego patch to add the multiple-keyboard support:
http://git.linaro.org/gitweb?p=qemu/qemu-linaro.git;a=commitdiff;h=41fc7075cfd74524acc2db73a48534e6bfbea8c4
but that's still in my "to clean up" list so it contains some
changes which should be in a separate patch.)
-- PMM
- [Qemu-devel] [PATCH v2 0/4] usb/hid: bugfixes, more on usb and hid split, Michael Walle, 2011/08/09
- [Qemu-devel] [PATCH 3/4] usb-hid: use hid vmstate macro, Michael Walle, 2011/08/09
- [Qemu-devel] [PATCH 1/4] hid: register kbd hander in init(), Michael Walle, 2011/08/09
- Re: [Qemu-devel] [PATCH 1/4] hid: register kbd hander in init(),
Peter Maydell <=
- [Qemu-devel] [PATCH 2/4] hid: introduce hid vmstate macros, Michael Walle, 2011/08/09
- [Qemu-devel] [PATCH 4/4] milkymist-softusb: use hid code directly, Michael Walle, 2011/08/09
- Re: [Qemu-devel] [PATCH v2 0/4] usb/hid: bugfixes, more on usb and hid split, Gerd Hoffmann, 2011/08/10