From d2d5566156c902b5b276525601ec2e0c8c61d321 Mon Sep 17 00:00:00 2001 From: Benjamin Tissoires Date: Wed, 2 Sep 2015 11:59:42 -0400 Subject: [PATCH] data: add an SVG for the MX Master Signed-off-by: Benjamin Tissoires --- data/logitech-mx_master.svg | 373 ++++++++++++++++++++++++++++++++++++ src/driver-hidpp20.c | 6 +- 2 files changed, 377 insertions(+), 2 deletions(-) create mode 100644 data/logitech-mx_master.svg diff --git a/data/logitech-mx_master.svg b/data/logitech-mx_master.svg new file mode 100644 index 00000000..19dfd7ca --- /dev/null +++ b/data/logitech-mx_master.svg @@ -0,0 +1,373 @@ + + + + + + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Button0 + Button1 + Button2 + Button3 + Button4 + Button5 + Button6 + Resolution0 + + + diff --git a/src/driver-hidpp20.c b/src/driver-hidpp20.c index 3a497803..18156923 100644 --- a/src/driver-hidpp20.c +++ b/src/driver-hidpp20.c @@ -495,10 +495,12 @@ hidpp20drv_remove(struct ratbag_device *device) static const struct ratbag_id hidpp20drv_table[] = { /* MX Master over unifying */ - { .id = LOGITECH_DEVICE(BUS_USB, 0x4041) }, + { .id = LOGITECH_DEVICE(BUS_USB, 0x4041), + .svg_filename = "logitech-mx_master.svg" }, /* MX Master over bluetooth */ - { .id = LOGITECH_DEVICE(BUS_BLUETOOTH, 0xb012) }, + { .id = LOGITECH_DEVICE(BUS_BLUETOOTH, 0xb012), + .svg_filename = "logitech-mx_master.svg" }, /* T650 over unifying */ { .id = LOGITECH_DEVICE(BUS_USB, 0x4101) },