summaryrefslogtreecommitdiff
path: root/hw/usb/hid-logitech-dj.h
diff options
context:
space:
mode:
authorPeter Wu <peter@lekensteyn.nl>2014-03-24 18:21:04 +0100
committerPeter Wu <peter@lekensteyn.nl>2014-03-24 18:21:04 +0100
commitbed6803378b4e1eb258f3e5a25eb1be82e7117e5 (patch)
treecc86135437e90b11984a5a8c7aad91cb878707c0 /hw/usb/hid-logitech-dj.h
parent2382e2c43c3386dab0a44f4cd90a351a91329a5c (diff)
downloadqemu-bed6803378b4e1eb258f3e5a25eb1be82e7117e5.tar.gz
unifying: allow keyboard to be disabled with nokbd
Used for debugging WinXP. Turns out that even usb-kbd is broken, so it must be the USB stack used by WinXP that is problematic. 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.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/hw/usb/hid-logitech-dj.h b/hw/usb/hid-logitech-dj.h
index 33c6d4404a..b2190932d4 100644
--- a/hw/usb/hid-logitech-dj.h
+++ b/hw/usb/hid-logitech-dj.h
@@ -253,6 +253,8 @@ typedef struct USBLtunifyState {
UsbDumpState *usb_dump_state;
HIDState hid[2]; /* HID devices (keyboard, mouse) */
+ bool enable_kbd;
+
/* queue for HID++ requests and responses */
struct {
HidppMsg reports[16];