summaryrefslogtreecommitdiff
path: root/drivers/hid/hid-saitek.c
diff options
context:
space:
mode:
authorHarald Brinkmann <hbrinkmann@braincalibration.de>2015-09-03 18:49:26 +0300
committerJiri Kosina <jkosina@suse.cz>2015-09-04 15:44:44 +0300
commit8ffd341c4b66f4a2c0dea93dac9b7141870ea63c (patch)
tree908642d586eee971bd9835a2f423f4a50eaffa9d /drivers/hid/hid-saitek.c
parent851328feb8c1d4130d3a0acb004e474168702d6d (diff)
downloadlinux-8ffd341c4b66f4a2c0dea93dac9b7141870ea63c.tar.xz
HID: saitek: mode button quirk for Mad Catz R.A.T.5
This patch enables the Saitek HID quirk for the mode button of the Mad Catz R.A.T.5 gaming mouse by adding the same quirk that's been neeeded for preivous versions. [jikos@kernel.org: update changelog a little bit] Signed-off-by: Harald Brinkmann <hbrinkmann@braincalibration.de> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'drivers/hid/hid-saitek.c')
-rw-r--r--drivers/hid/hid-saitek.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/hid/hid-saitek.c b/drivers/hid/hid-saitek.c
index a014f21275d8..2f84b26f1167 100644
--- a/drivers/hid/hid-saitek.c
+++ b/drivers/hid/hid-saitek.c
@@ -177,6 +177,8 @@ static int saitek_event(struct hid_device *hdev, struct hid_field *field,
static const struct hid_device_id saitek_devices[] = {
{ HID_USB_DEVICE(USB_VENDOR_ID_SAITEK, USB_DEVICE_ID_SAITEK_PS1000),
.driver_data = SAITEK_FIX_PS1000 },
+ { HID_USB_DEVICE(USB_VENDOR_ID_MADCATZ, USB_DEVICE_ID_MADCATZ_RAT5),
+ .driver_data = SAITEK_RELEASE_MODE_RAT7 },
{ HID_USB_DEVICE(USB_VENDOR_ID_SAITEK, USB_DEVICE_ID_SAITEK_RAT7_OLD),
.driver_data = SAITEK_RELEASE_MODE_RAT7 },
{ HID_USB_DEVICE(USB_VENDOR_ID_SAITEK, USB_DEVICE_ID_SAITEK_RAT7),