]> git.baikalelectronics.ru Git - kernel.git/commit
Input: xpad - add support for Xbox One controllers
authorTed Mielczarek <ted@mielczarek.org>
Fri, 8 Aug 2014 18:21:59 +0000 (11:21 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Wed, 13 Aug 2014 17:30:01 +0000 (10:30 -0700)
commitafc40042edcdb929eced83eaa544282cfdf1d4a3
treedee47146fc9f21262499c1aeaab1b3fb5615d895
parenta999681896d0374c0e77ac8a009dcd8cf3bb1e8e
Input: xpad - add support for Xbox One controllers

Xbox One controllers require an initialization message to start sending
data, so xpad_init_output becomes a required function. The Xbox One
controller does not have LEDs like the Xbox 360 controller, so that
functionality is not implemented. The format of messages controlling rumble
is currently undocumented, so rumble support is not yet implemented.

Note that Xbox One controller advertises three interfaces with the same
interface class, subclass and protocol, so we have to also match against
interface number.

Signed-off-by: Ted Mielczarek <ted@mielczarek.org>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/joystick/xpad.c