]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
Input: xpad - enable force feedback on xbox 360 controllers only
authorAnssi Hannula <anssi.hannula@gmail.com>
Thu, 3 Apr 2008 20:18:57 +0000 (16:18 -0400)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Thu, 3 Apr 2008 20:18:57 +0000 (16:18 -0400)
commitcfbe20106fa00e89c1fb2c74dbff0ba80e0e539d
tree737c2a591d6f240fe1a38f7f94f0e4d583b92433
parentfc55e95214f1e8384e48cff88279d16507fa5358
Input: xpad - enable force feedback on xbox 360 controllers only

Commit 4994cd8dadcf9d484ab3ec19f3c7c7a4e5353c1c introduced a
regression which causes xpad to report force feedback cababilities
for non-360 controllers too, even while there is no actual support
for those.

Fix that by adding a check for XTYPE_XBOX360 to xpad_init_ff().

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