1# Do not edit this file, it will be overwritten on update 2 3# The Madcatz RAT3 has a mode button that cycles through event codes. 4# On press, we get a release for the current mode and a press for the 5# next mode: 6# -event21 DEVICE_ADDED Madcatz Mad Catz R.A.T.3 Mouse seat0 default group1 cap:p left scroll-nat scroll-button 7# event21 POINTER_BUTTON +2.35s BTN_BACK (278) pressed, seat count: 1 8# event21 POINTER_BUTTON +3.08s BTN_BACK (278) released, seat count: 0 9# event21 POINTER_BUTTON +3.08s BTN_TASK (279) pressed, seat count: 1 10# event21 POINTER_BUTTON +6.69s BTN_FORWARD (277) pressed, seat count: 1 11# event21 POINTER_BUTTON +6.69s BTN_TASK (279) released, seat count: 0 12# event21 POINTER_BUTTON +7.32s BTN_FORWARD (277) released, seat count: 0 13# event21 POINTER_BUTTON +7.32s BTN_BACK (278) pressed, seat count: 1 14# event21 POINTER_BUTTON +7.84s BTN_BACK (278) released, seat count: 0 15# event21 POINTER_BUTTON +7.84s BTN_TASK (279) pressed, seat count: 1 16# 17# Disable the event codes to avoid stuck buttons. 18[Madcatz RAT3] 19MatchUdevType=mouse 20MatchBus=usb 21MatchVendor=0x0738 22MatchProduct=0x1703 23# EV_KEY 0x115, 0x116, 0x117 24AttrEventCodeDisable=EV_KEY:0x115;EV_KEY:0x116;EV_KEY:0x117 25 26# Like the Madcatz RAT3, but with different codes: 27# event8 POINTER_BUTTON +0.488s ??? (280) pressed, seat count: 1 28# event8 POINTER_BUTTON +1.275s ??? (280) released, seat count: 0 29# event8 POINTER_BUTTON +1.275s ??? (281) pressed, seat count: 1 30# event8 POINTER_BUTTON +3.585s ??? (281) released, seat count: 0 31# event8 POINTER_BUTTON +3.585s ??? (282) pressed, seat count: 1 32# event8 POINTER_BUTTON +4.184s ??? (280) pressed, seat count: 1 33# event8 POINTER_BUTTON +4.184s ??? (282) released, seat count: 0 34[Madcatz RAT7] 35MatchUdevType=mouse 36MatchBus=usb 37MatchVendor=0x0738 38MatchProduct=0x1708 39# EV_KEY 0x118, 0x119, 0x11A 40AttrEventCodeDisable=EV_KEY:0x118;EV_KEY:0x119;EV_KEY:0x11A 41