Add the MX Master in the list of supported devices

There is not much available now, but the mouse should provide configurable
DPI and buttons, which is a perfect test for libratbag.

Signed-off-by: Benjamin Tissoires <benjamin.tissoires@gmail.com>
This commit is contained in:
Benjamin Tissoires
2015-08-20 10:50:31 -04:00
parent 29b72c1a94
commit 793df27e90
2 changed files with 8 additions and 1 deletions

View File

@@ -155,13 +155,19 @@ static const struct ratbag_id unifying_table[] = {
.version = VERSION_ANY },
.data = 1,
},
{.id = { .bustype = BUS_USB,
.vendor = USB_VENDOR_ID_LOGITECH,
.product = USB_DEVICE_ID_LOGITECH_M570,
.version = VERSION_ANY },
.data = 1,
},
{.id = { .bustype = BUS_USB,
.vendor = USB_VENDOR_ID_LOGITECH,
.product = USB_DEVICE_ID_LOGITECH_MX_MASTER,
.version = VERSION_ANY },
.data = 1,
},
{ },
};

View File

@@ -34,6 +34,7 @@
#define USB_VENDOR_ID_LOGITECH 0x046d
#define USB_DEVICE_ID_LOGITECH_M705 0x101b
#define USB_DEVICE_ID_LOGITECH_M570 0x1028
#define USB_DEVICE_ID_LOGITECH_MX_MASTER 0x4041
#define USB_DEVICE_ID_UNIFYING_RECEIVER 0xc52b
#define USB_DEVICE_ID_UNIFYING_RECEIVER2 0xc532