summaryrefslogtreecommitdiff
path: root/hw/usb/hid-logitech-dj.h
diff options
context:
space:
mode:
authorPeter Wu <peter@lekensteyn.nl>2014-03-19 16:30:40 +0100
committerPeter Wu <peter@lekensteyn.nl>2014-03-19 16:30:40 +0100
commit3ae4630e287d6b27c4f19180d68831f019dfd7d4 (patch)
tree9835cbc9edf07da2c4e5fd51695a65fc7ea29478 /hw/usb/hid-logitech-dj.h
parentc23420020f9b6f23e1f2e45cd7050ae9e17e4087 (diff)
downloadqemu-3ae4630e287d6b27c4f19180d68831f019dfd7d4.tar.gz
unifying: fill in more device and receiver info
These serial numbers are obviously fake, the product and device names, however, are real. 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.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/usb/hid-logitech-dj.h b/hw/usb/hid-logitech-dj.h
index bcfe17cc7e..5e0ba2efe8 100644
--- a/hw/usb/hid-logitech-dj.h
+++ b/hw/usb/hid-logitech-dj.h
@@ -122,7 +122,7 @@ struct firmware_version {
};
typedef struct {
- const struct {
+ struct {
uint32_t serial;
struct firmware_version version;
} info; /* static information */
@@ -155,7 +155,7 @@ typedef struct {
uint16_t protocol_version; /* HID++ protocol version */
uint16_t wireless_pid;
uint32_t serial;
- const char name[15];
+ char name[15];
uint8_t usability_info; /* bits 0..3 power switch location */
uint32_t report_types; /* supported report types (e.g. mouse) */
/* TODO: feature set */