]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit9c88dd062c5184cf34fa356178db08012d23ffe5
treef71bdf22afe9cf6411a01db14abef46bf3b4f207
parent9e30be9f4cdbf12b37e8530bf89f55606311da5e
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