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.h11
1 files changed, 10 insertions, 1 deletions
diff --git a/hw/usb/hid-logitech-dj.h b/hw/usb/hid-logitech-dj.h
index d0522b2a81..0dbf6c7943 100644
--- a/hw/usb/hid-logitech-dj.h
+++ b/hw/usb/hid-logitech-dj.h
@@ -172,7 +172,11 @@ typedef struct {
uint8_t activity_counter[MAX_DEVICES];
/* TODO: pairing lock open or closed (+ timeout) */
/* TODO: connected devices */
- /* TODO: device firmware upgrade things? */
+
+ struct {
+ bool active;
+ uint8_t device_index;
+ } dfu; /* device firmware upgrade thingeys */
} LHidReceiver;
/* defined in hid-logitech-hidpp20.c */
@@ -243,6 +247,11 @@ typedef struct {
uint8_t status;
} battery;
uint8_t activity_counter;
+
+ struct {
+ bool active;
+ int state;
+ } dfu;
} LHidDevice;
/* helper macros for handling the report and error queue */