usb-hid: add event callback
commit8bde6805412a2808009a84f1ce5f47b88b0352d0
authorGerd Hoffmann <kraxel@redhat.com>
Fri, 15 Jul 2011 12:37:15 +0000 (15 14:37 +0200)
committerGerd Hoffmann <kraxel@redhat.com>
Thu, 4 Aug 2011 13:51:51 +0000 (4 15:51 +0200)
tree5fef3d64780cd9426ba32e26fda1f31fe1de145f
parent0d878eec1eddcf01f07c38c6040ea91184139299
usb-hid: add event callback

Add callback for event notification, which allows to un-usbify more
functions.  Also split separate hid_* functions for reset and release.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
hw/usb-hid.c