]> git.baikalelectronics.ru Git - kernel.git/commit
Input: xpad - sync supported devices with 360Controller
authorBenjamin Valentin <benpicco@googlemail.com>
Sun, 18 Jun 2017 22:40:37 +0000 (15:40 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Sun, 18 Jun 2017 23:00:17 +0000 (16:00 -0700)
commit31dd4b2398d8830b6ba3683430d124ce9f9bd7f0
tree87374d938bcad030ae2f897814d4a56b266b7cfd
parent3ddaafaa81927ec4efa1136ad510c7c5b38d9fb7
Input: xpad - sync supported devices with 360Controller

360Controller [0] is an OpenSource driver for Xbox/Xbox360/XboxOne
controllers on macOS.

It contains a couple device IDs unknown to the Linux driver, so I wrote a
small Python script [1] to extract them and feed them into my previous
script [2] to compare them with the IDs known to Linux.

For most devices, this information is not really needed as xpad is able to
automatically detect the type of an unknown Xbox Controller at run-time.
I've therefore stripped all the generic/vague entries.

I've excluded the Logitech G920, it's handled by a HID driver already.
I've also excluded the Scene It! Big Button IR, it's handled by an
out-of-tree driver. [3]

[0] https://github.com/360Controller/360Controller
[1] http://codepad.org/v9GyLKMq
[2] http://codepad.org/qh7jclpD
[3] https://github.com/micolous/xbox360bb

Reviewed-by: Cameron Gutman <aicommander@gmail.com>
Signed-off-by: Benjamin Valentin <benpicco@googlemail.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/joystick/xpad.c