Message ID | 20180828215129.7785-1-hjmallon@gmail.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | HID: hid-saitek: Add device ID for RAT 7 Contagion | expand |
On Tue, 28 Aug 2018, Harry Mallon wrote: > diff --git a/drivers/hid/hid-ids.h b/drivers/hid/hid-ids.h > index 79bdf0c7e351..626bd5b76ce9 100644 > --- a/drivers/hid/hid-ids.h > +++ b/drivers/hid/hid-ids.h > @@ -950,6 +950,7 @@ > #define USB_DEVICE_ID_SAITEK_RUMBLEPAD 0xff17 > #define USB_DEVICE_ID_SAITEK_PS1000 0x0621 > #define USB_DEVICE_ID_SAITEK_RAT7_OLD 0x0ccb > +#define USB_DEVICE_ID_SAITEK_RAT7_CONTAGION 0x0ccd > #define USB_DEVICE_ID_SAITEK_RAT7 0x0cd7 > #define USB_DEVICE_ID_SAITEK_RAT9 0x0cfa > #define USB_DEVICE_ID_SAITEK_MMO7 0x0cd0 > diff --git a/drivers/hid/hid-saitek.c b/drivers/hid/hid-saitek.c > index 39e642686ff0..683861f324e3 100644 > --- a/drivers/hid/hid-saitek.c > +++ b/drivers/hid/hid-saitek.c > @@ -183,6 +183,8 @@ static const struct hid_device_id saitek_devices[] = { > .driver_data = SAITEK_RELEASE_MODE_RAT7 }, > { HID_USB_DEVICE(USB_VENDOR_ID_SAITEK, USB_DEVICE_ID_SAITEK_RAT7), > .driver_data = SAITEK_RELEASE_MODE_RAT7 }, > + { HID_USB_DEVICE(USB_VENDOR_ID_SAITEK, USB_DEVICE_ID_SAITEK_RAT7_CONTAGION), > + .driver_data = SAITEK_RELEASE_MODE_RAT7 }, > { HID_USB_DEVICE(USB_VENDOR_ID_SAITEK, USB_DEVICE_ID_SAITEK_RAT9), > .driver_data = SAITEK_RELEASE_MODE_RAT7 }, > { HID_USB_DEVICE(USB_VENDOR_ID_MADCATZ, USB_DEVICE_ID_MADCATZ_RAT9), Applied, thanks.
diff --git a/drivers/hid/hid-ids.h b/drivers/hid/hid-ids.h index 79bdf0c7e351..626bd5b76ce9 100644 --- a/drivers/hid/hid-ids.h +++ b/drivers/hid/hid-ids.h @@ -950,6 +950,7 @@ #define USB_DEVICE_ID_SAITEK_RUMBLEPAD 0xff17 #define USB_DEVICE_ID_SAITEK_PS1000 0x0621 #define USB_DEVICE_ID_SAITEK_RAT7_OLD 0x0ccb +#define USB_DEVICE_ID_SAITEK_RAT7_CONTAGION 0x0ccd #define USB_DEVICE_ID_SAITEK_RAT7 0x0cd7 #define USB_DEVICE_ID_SAITEK_RAT9 0x0cfa #define USB_DEVICE_ID_SAITEK_MMO7 0x0cd0 diff --git a/drivers/hid/hid-saitek.c b/drivers/hid/hid-saitek.c index 39e642686ff0..683861f324e3 100644 --- a/drivers/hid/hid-saitek.c +++ b/drivers/hid/hid-saitek.c @@ -183,6 +183,8 @@ static const struct hid_device_id saitek_devices[] = { .driver_data = SAITEK_RELEASE_MODE_RAT7 }, { HID_USB_DEVICE(USB_VENDOR_ID_SAITEK, USB_DEVICE_ID_SAITEK_RAT7), .driver_data = SAITEK_RELEASE_MODE_RAT7 }, + { HID_USB_DEVICE(USB_VENDOR_ID_SAITEK, USB_DEVICE_ID_SAITEK_RAT7_CONTAGION), + .driver_data = SAITEK_RELEASE_MODE_RAT7 }, { HID_USB_DEVICE(USB_VENDOR_ID_SAITEK, USB_DEVICE_ID_SAITEK_RAT9), .driver_data = SAITEK_RELEASE_MODE_RAT7 }, { HID_USB_DEVICE(USB_VENDOR_ID_MADCATZ, USB_DEVICE_ID_MADCATZ_RAT9),
Signed-off-by: Harry Mallon <hjmallon@gmail.com> --- drivers/hid/hid-ids.h | 1 + drivers/hid/hid-saitek.c | 2 ++ 2 files changed, 3 insertions(+)