diff options
author | Peter Wu <peter@lekensteyn.nl> | 2014-08-17 23:12:01 +0200 |
---|---|---|
committer | Peter Wu <peter@lekensteyn.nl> | 2014-08-17 23:12:01 +0200 |
commit | de29db4632a64cc7c20eb626a1b17e41e50adb26 (patch) | |
tree | b09a92c303180556c83db1d64d65c2a1ea5b04b4 /hw/usb/hid-logitech-dj.h | |
parent | 505280bd9af458c712ec6d19afacdc192c6e02ab (diff) | |
download | qemu-de29db4632a64cc7c20eb626a1b17e41e50adb26.tar.gz |
WIP firmware reverse engineeringlogitech-unifying
Not touched since 7 April 2014.
Diffstat (limited to 'hw/usb/hid-logitech-dj.h')
-rw-r--r-- | hw/usb/hid-logitech-dj.h | 11 |
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 */ |