From: Marcel Apfelbaum Date: Thu, 22 Aug 2013 17:11:36 +0000 (+0300) Subject: usb/dev-hid: Modified usb-tablet category from Misc to Input X-Git-Tag: v1.6.1~43 X-Git-Url: https://git.proxmox.com/?a=commitdiff_plain;h=11b0ab70a58e3e6c06dc1fd1ea318b1c5806d955;p=qemu.git usb/dev-hid: Modified usb-tablet category from Misc to Input usb-tablet device was wrongly assigned to Misc category Reported-by: Markus Armbruster Cc: qemu-stable@nongnu.org Signed-off-by: Marcel Apfelbaum Reviewed-by: Andreas Färber Signed-off-by: Gerd Hoffmann (cherry picked from commit 31efd2e883018b4c079ad082105bc161fbb3fef8) Signed-off-by: Michael Roth --- diff --git a/hw/usb/dev-hid.c b/hw/usb/dev-hid.c index 66c63317d..59567200a 100644 --- a/hw/usb/dev-hid.c +++ b/hw/usb/dev-hid.c @@ -658,7 +658,7 @@ static void usb_tablet_class_initfn(ObjectClass *klass, void *data) uc->product_desc = "QEMU USB Tablet"; dc->vmsd = &vmstate_usb_ptr; dc->props = usb_tablet_properties; - set_bit(DEVICE_CATEGORY_MISC, dc->categories); + set_bit(DEVICE_CATEGORY_INPUT, dc->categories); } static const TypeInfo usb_tablet_info = {