summaryrefslogtreecommitdiff
path: root/hw/usb/hid-logitech-dj.h
diff options
context:
space:
mode:
authorPeter Wu <peter@lekensteyn.nl>2014-03-20 15:52:34 +0100
committerPeter Wu <peter@lekensteyn.nl>2014-03-20 15:52:34 +0100
commit37f78fd8e2c17ac63ba5fcbd9b3d0e616e921606 (patch)
treecf192c35c4c53f6a655aaf6548fb901301806df8 /hw/usb/hid-logitech-dj.h
parent06f8259d0c6a70916d4bd48804e284f028bbb5dd (diff)
downloadqemu-37f78fd8e2c17ac63ba5fcbd9b3d0e616e921606.tar.gz
unifying: introduce usbdump property to specify dump name
Stop hard-coding capture file and introduce the "usbdump" property to specify the capture file path. When omitted, no capture will be done. Signed-off-by: Peter Wu <peter@lekensteyn.nl>
Diffstat (limited to 'hw/usb/hid-logitech-dj.h')
-rw-r--r--hw/usb/hid-logitech-dj.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/usb/hid-logitech-dj.h b/hw/usb/hid-logitech-dj.h
index 6a2ca18413..de46a74453 100644
--- a/hw/usb/hid-logitech-dj.h
+++ b/hw/usb/hid-logitech-dj.h
@@ -223,6 +223,7 @@ typedef struct {
typedef struct USBLtunifyState {
USBDevice dev;
USBEndpoint *intr[3]; /* interfaces (keyboard, mouse, DJ) */
+ char *usbdump_filename;
UsbDumpState *usb_dump_state;
HIDState hid[2]; /* HID devices (keyboard, mouse) */