diff options
author | David Herrmann <dh.herrmann@gmail.com> | 2013-02-18 01:47:15 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-02-28 06:59:05 -0800 |
commit | a9115fba99247ad51211beb3ffd23b6553c80ee9 (patch) | |
tree | c3a4e28f8f5058e9e304977ba1d575c43ea0fc3b /net/bridge | |
parent | 6a924a76039689fd260ee311b85fb2202bcd4910 (diff) |
HID: wiimote: fix nunchuck button parser
commit 89bdd0c6f38ccf0de43d5a36ede384a730f3394e upstream.
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.
Reported-by: Victor Quicksilver <victor.quicksilver@gmail.com>
Signed-off-by: David Herrmann <dh.herrmann@gmail.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'net/bridge')
0 files changed, 0 insertions, 0 deletions