summaryrefslogtreecommitdiff
path: root/hw/usb/hid-logitech-dj.h
diff options
context:
space:
mode:
Diffstat (limited to 'hw/usb/hid-logitech-dj.h')
-rw-r--r--hw/usb/hid-logitech-dj.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/hw/usb/hid-logitech-dj.h b/hw/usb/hid-logitech-dj.h
index 36b2c31e2e..bc4a044382 100644
--- a/hw/usb/hid-logitech-dj.h
+++ b/hw/usb/hid-logitech-dj.h
@@ -196,7 +196,12 @@ typedef struct USBLtunifyState {
HidppMsg reports[16];
unsigned head;
unsigned n;
- } queue;
+ } input_queue;
+ struct {
+ HidppMsg reports[16];
+ unsigned head;
+ unsigned n;
+ } output_queue;
/* receiver error queue (to be send): drop if full */
struct {
HidppMsgShort reports[2];
@@ -204,7 +209,7 @@ typedef struct USBLtunifyState {
unsigned n;
} error_queue;
LHidReceiver receiver;
- LHidDevice devices[MAX_DEVICES];
+ LHidDevice devices[MAX_DEVICES]; /* paired devices */
} USBLtunifyState;