From: David Herrmann Date: Mon, 18 Feb 2013 00:47:15 +0000 (+0100) Subject: HID: wiimote: fix nunchuck button parser X-Git-Tag: v3.9-rc1~112^2~1^5~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=89bdd0c6f38ccf0de43d5a36ede384a730f3394e;p=pandora-kernel.git HID: wiimote: fix nunchuck button parser The buttons of the Wii Remote Nunchuck extension are actually active low. Fix the parser to forward the inverted values. The comment in the function always said "0 == pressed" but the implementation was wrong from the beginning. Cc: stable@vger.kernel.org Reported-by: Victor Quicksilver Signed-off-by: David Herrmann Signed-off-by: Jiri Kosina --- Reading git-diff-tree failed