From: Anssi Hannula Date: Thu, 3 Apr 2008 20:18:57 +0000 (-0400) Subject: Input: xpad - enable force feedback on xbox 360 controllers only X-Git-Tag: v2.6.26-rc1~1062^2^2~19^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cfbe20106fa00e89c1fb2c74dbff0ba80e0e539d;p=pandora-kernel.git 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 Signed-off-by: Dmitry Torokhov --- Reading git-diff-tree failed