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