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