Input: xpad - match xbox 360 devices with interface info
authorAnssi Hannula <anssi.hannula@gmail.com>
Thu, 3 Apr 2008 20:17:52 +0000 (16:17 -0400)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Thu, 3 Apr 2008 20:17:52 +0000 (16:17 -0400)
commit8a0f83eacc1bb8899094b17483de95ddf2d8fcc6
tree65260075061391f84223aaab025c47fc22b64dde
parent3797fec17193e05dee9666b990d6c84e16b188b3
Input: xpad - match xbox 360 devices with interface info

Match Xbox 360 controllers using the interface info, i.e. interface
class 255 (Vendor specific), subclass 93 and protocol 1, instead of
specifying the device ids individually. As the class is vendor-specific,
we have to still match against vendor id as well, though.

Signed-off-by: Anssi Hannula <anssi.hannula@gmail.com>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
drivers/input/joystick/xpad.c