]> git.baikalelectronics.ru Git - kernel.git/commit
Input: xpad - add Mad Catz FightStick TE 2 VID/PID
authorSilvan Jegen <s.jegen@gmail.com>
Fri, 18 Mar 2016 00:15:01 +0000 (17:15 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Tue, 5 Apr 2016 16:49:17 +0000 (09:49 -0700)
commitab848603668f9a312caea72224fc3a90bca233c8
tree4f5fc802fa6528c2b9d8e06db48d75934e882ab9
parent71b3406c487de060ba71c8e59a9719c564bd99b0
Input: xpad - add Mad Catz FightStick TE 2 VID/PID

This adds the VID/PID combination for the Xbox One version of the Mad
Catz FightStick TE 2.

The functionality that this provides is about on par with what the
Windows drivers for the stick manage to deliver.

What works:
- Digital stick
- 6 main buttons
- Xbox button
- The two buttons on the back
- The locking buttons (preventing accidental Xbox button press)

What doesn't work:
- Two of the main buttons (don't work on Windows either)
- The "Haptic" button setting does not have an effect (not sure if it
  works on Windows)

I added the MAP_TRIGGERS_TO_BUTTONS option but in my (limited) testing
there was no practical difference with or without. The FightStick does
not have triggers though so adding it makes sense.

Signed-off-by: Silvan Jegen <s.jegen@gmail.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/joystick/xpad.c