Skip to content

Commit 79425b2

Browse files
Swell61Jiri Kosina
authored andcommitted
HID: saitek: add madcatz variant of MMO7 mouse device ID
The MadCatz variant of the MMO7 mouse has the ID 0738:1713 and the same quirks as the Saitek variant. Signed-off-by: Samuel Bailey <[email protected]> Signed-off-by: Jiri Kosina <[email protected]>
1 parent 9fecab2 commit 79425b2

File tree

3 files changed

+4
-0
lines changed

3 files changed

+4
-0
lines changed

drivers/hid/hid-ids.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -867,6 +867,7 @@
867867
#define USB_DEVICE_ID_MADCATZ_BEATPAD 0x4540
868868
#define USB_DEVICE_ID_MADCATZ_RAT5 0x1705
869869
#define USB_DEVICE_ID_MADCATZ_RAT9 0x1709
870+
#define USB_DEVICE_ID_MADCATZ_MMO7 0x1713
870871

871872
#define USB_VENDOR_ID_MCC 0x09db
872873
#define USB_DEVICE_ID_MCC_PMD1024LS 0x0076

drivers/hid/hid-quirks.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -620,6 +620,7 @@ static const struct hid_device_id hid_have_special_driver[] = {
620620
{ HID_USB_DEVICE(USB_VENDOR_ID_SAITEK, USB_DEVICE_ID_SAITEK_MMO7) },
621621
{ HID_USB_DEVICE(USB_VENDOR_ID_MADCATZ, USB_DEVICE_ID_MADCATZ_RAT5) },
622622
{ HID_USB_DEVICE(USB_VENDOR_ID_MADCATZ, USB_DEVICE_ID_MADCATZ_RAT9) },
623+
{ HID_USB_DEVICE(USB_VENDOR_ID_MADCATZ, USB_DEVICE_ID_MADCATZ_MMO7) },
623624
#endif
624625
#if IS_ENABLED(CONFIG_HID_SAMSUNG)
625626
{ HID_USB_DEVICE(USB_VENDOR_ID_SAMSUNG, USB_DEVICE_ID_SAMSUNG_IR_REMOTE) },

drivers/hid/hid-saitek.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -187,6 +187,8 @@ static const struct hid_device_id saitek_devices[] = {
187187
.driver_data = SAITEK_RELEASE_MODE_RAT7 },
188188
{ HID_USB_DEVICE(USB_VENDOR_ID_SAITEK, USB_DEVICE_ID_SAITEK_MMO7),
189189
.driver_data = SAITEK_RELEASE_MODE_MMO7 },
190+
{ HID_USB_DEVICE(USB_VENDOR_ID_MADCATZ, USB_DEVICE_ID_MADCATZ_MMO7),
191+
.driver_data = SAITEK_RELEASE_MODE_MMO7 },
190192
{ }
191193
};
192194

0 commit comments

Comments
 (0)