[PATCH v2 0/2] Support additional Xbox One pads

From: Cameron Gutman
Date: Sat Apr 08 2017 - 17:28:49 EST


This series adds support for several new or quirky Xbox One pads.
With the existing code, these pads either don't send any input
data at all, only have partial functionality, or just aren't yet
recognized by the driver even though they would work just fine.

Patch 1 of this series may be considered a v2 for patches 1-3 of my
previous series:

https://lkml.org/lkml/2017/2/4/189

I'm now only sending the quirk packets to the specific gamepads that
need them, per Dmitry's feedback on the last series.

Patch 2 is a trivial new device ID addition that I've tagged for
stable. This one is not purely cosmetic because we won't currently
bind to any Xbox One pads with Razer's VID without it. The Razer
Wildcat doesn't depend on any quirk handling or newer xpad changes
for full functionality, so it should work just fine when backported
to stable kernels.

v2 changes:
I've given the commit message for patch 1 some much needed TLC, as
the old one was poorly worded and did not contain many details about
the change.

Cameron Gutman (2):
Input: xpad - support some quirky Xbox One pads
Input: xpad - add support for Razer Wildcat gamepad

drivers/input/joystick/xpad.c | 116 +++++++++++++++++++++++++++++++++++++-----
1 file changed, 103 insertions(+), 13 deletions(-)

--
2.9.3