summaryrefslogtreecommitdiff
path: root/quirks/30-vendor-madcatz.quirks
diff options
context:
space:
mode:
authorVictor Brekenfeld <github@drakulix.de>2020-02-15 20:15:41 +0100
committerVictor Brekenfeld <github@drakulix.de>2020-02-15 20:24:00 +0100
commit0da2e744eaf0da98ecab3413c25e5aa288b2fca8 (patch)
tree4e560400caaf797039ed728a79d462e57e82ed2a /quirks/30-vendor-madcatz.quirks
parent07a86b85dd3e467d8d2b1370a6c944213241fe0d (diff)
downloadlibinput-0da2e744eaf0da98ecab3413c25e5aa288b2fca8.tar.gz
quirks: Add quirk for MadCatz RAT7 mouse
Signed-off-by: Victor Brekenfeld <github@drakulix.de>
Diffstat (limited to 'quirks/30-vendor-madcatz.quirks')
-rw-r--r--quirks/30-vendor-madcatz.quirks16
1 files changed, 16 insertions, 0 deletions
diff --git a/quirks/30-vendor-madcatz.quirks b/quirks/30-vendor-madcatz.quirks
index 14b2589a..57934c03 100644
--- a/quirks/30-vendor-madcatz.quirks
+++ b/quirks/30-vendor-madcatz.quirks
@@ -22,3 +22,19 @@ MatchVendor=0x0738
MatchProduct=0x1703
# EV_KEY 0x115, 0x116, 0x117
AttrEventCodeDisable=EV_KEY:0x115;EV_KEY:0x116;EV_KEY:0x117
+
+# Like the Madcatz RAT3, but with different codes:
+# event8 POINTER_BUTTON +0.488s ??? (280) pressed, seat count: 1
+# event8 POINTER_BUTTON +1.275s ??? (280) released, seat count: 0
+# event8 POINTER_BUTTON +1.275s ??? (281) pressed, seat count: 1
+# event8 POINTER_BUTTON +3.585s ??? (281) released, seat count: 0
+# event8 POINTER_BUTTON +3.585s ??? (282) pressed, seat count: 1
+# event8 POINTER_BUTTON +4.184s ??? (280) pressed, seat count: 1
+# event8 POINTER_BUTTON +4.184s ??? (282) released, seat count: 0
+[Madcatz RAT7]
+MatchUdevType=mouse
+MatchBus=usb
+MatchVendor=0x0738
+MatchProduct=0x1708
+# EV_KEY 0x118, 0x119, 0x11A
+AttrEventCodeDisable=EV_KEY:0x118;EV_KEY:0x119;EV_KEY:0x11A