]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit - drivers/input/joystick/xpad.c
Input: xpad - sync supported devices with XBCD
authorBenjamin Valentin <benpicco@googlemail.com>
Sun, 18 Jun 2017 22:41:20 +0000 (15:41 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Sun, 18 Jun 2017 23:00:20 +0000 (16:00 -0700)
commitbe19788c73d382f66dd3fba3c5ccef59cf12a126
treef71bdf22afe9cf6411a01db14abef46bf3b4f207
parentc225370e01b87d3c4ef40d98295ac0bb1e5a3116
Input: xpad - sync supported devices with XBCD

XBCD [0][1] is an OpenSource driver for Xbox controllers on Windows.
Later it also started supporting Xbox360 controllers (presumably before
the official Windows driver was released).

It contains a couple device IDs unknown to the Linux driver, so I extracted
those from xbcd.inf and added them to our list.

It has a special type for Wheels and I have the feeling they might need
some extra handling. They all have 'Wheel' in their name, so that
information is available for future improvements.

[0] https://www.s-config.com/xbcd-original-xbox-controllers-win10/
[1] http://www.redcl0ud.com/xbcd.html

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