summaryrefslogtreecommitdiffstats
path: root/drivers/hid/hid-saitek.c
diff options
context:
space:
mode:
authorHarald Brinkmann <hbrinkmann@braincalibration.de>2015-09-03 17:49:26 +0200
committerJiri Kosina <jkosina@suse.cz>2015-09-04 14:44:44 +0200
commit8ffd341c4b66f4a2c0dea93dac9b7141870ea63c (patch)
tree908642d586eee971bd9835a2f423f4a50eaffa9d /drivers/hid/hid-saitek.c
parentMerge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jik... (diff)
downloadlinux-8ffd341c4b66f4a2c0dea93dac9b7141870ea63c.tar.xz
linux-8ffd341c4b66f4a2c0dea93dac9b7141870ea63c.zip
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),