]> git.baikalelectronics.ru Git - kernel.git/commit
HID: wiimote: Add wiimote input button parser
authorDavid Herrmann <dh.herrmann@googlemail.com>
Tue, 5 Jul 2011 11:45:16 +0000 (13:45 +0200)
committerJiri Kosina <jkosina@suse.cz>
Mon, 11 Jul 2011 12:30:23 +0000 (14:30 +0200)
commit5e90ae6e1f4cd94ff8e6b769a21cc8898ae79daa
tree48db9fb71189b63c5b776bb42d0cbf18a7eaab43
parentc7a088471307be9c0d18662df749e0e8ed2c514a
HID: wiimote: Add wiimote input button parser

Parse input report 0x30 from the wiimote as button input. We need to
send events for all buttons on every input report because the wiimote
does not send events for single buttons but always for all buttons
to us. The input layer, however, filters redundant events.

Signed-off-by: David Herrmann <dh.herrmann@googlemail.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/hid-wiimote.c