summaryrefslogtreecommitdiffstats
path: root/drivers/hid/hid-ids.h
diff options
context:
space:
mode:
authorHarald Brinkmann2014-05-20 20:28:00 +0200
committerJiri Kosina2014-05-20 21:28:42 +0200
commit37c492c8f6a99870551fe2964b2dfce5d9e87375 (patch)
treeebd0971a7181fbb0d7cdb03f5cabb613d7b86fca /drivers/hid/hid-ids.h
parentHID: add missing hid usages (diff)
downloadkernel-qcow2-linux-37c492c8f6a99870551fe2964b2dfce5d9e87375.tar.gz
kernel-qcow2-linux-37c492c8f6a99870551fe2964b2dfce5d9e87375.tar.xz
kernel-qcow2-linux-37c492c8f6a99870551fe2964b2dfce5d9e87375.zip
HID: quirk for Saitek RAT7 and MMO7 mices' mode button
Some saitek mice implement a tristate button (for switching button mappings in the original driver) by keeping one of three (non-physical) buttons constantly pressed. This breaks X and probably other userspace software. This patch implements a quirk for the R.A.T.7 and M.M.O.7, tracking the mode and generating presses of a single button if it changes. Also the missing release event is generated instantly. Signed-off-by: Harald Brinkmann <hbrinkmann@braincalibration.de> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'drivers/hid/hid-ids.h')
-rw-r--r--drivers/hid/hid-ids.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/hid/hid-ids.h b/drivers/hid/hid-ids.h
index c8af7202c28d..91db867d89fa 100644
--- a/drivers/hid/hid-ids.h
+++ b/drivers/hid/hid-ids.h
@@ -761,6 +761,8 @@
#define USB_VENDOR_ID_SAITEK 0x06a3
#define USB_DEVICE_ID_SAITEK_RUMBLEPAD 0xff17
#define USB_DEVICE_ID_SAITEK_PS1000 0x0621
+#define USB_DEVICE_ID_SAITEK_RAT7 0x0cd7
+#define USB_DEVICE_ID_SAITEK_MMO7 0x0cd0
#define USB_VENDOR_ID_SAMSUNG 0x0419
#define USB_DEVICE_ID_SAMSUNG_IR_REMOTE 0x0001