HID: multitouch: fix touchpad buttons
authorBenjamin Tissoires <benjamin.tissoires@redhat.com>
Fri, 22 Mar 2013 17:53:57 +0000 (18:53 +0100)
committerJiri Kosina <jkosina@suse.cz>
Wed, 27 Mar 2013 13:09:40 +0000 (14:09 +0100)
commit4c43755506ececbe903585265aa8408e937620a1
treefd0dc3c3bcc35c6c3f1f22171ec5077b30ce3a4e
parent570637dc8eeb2faba06228d497ff40bb019bcc93
HID: multitouch: fix touchpad buttons

Commit "HID: multitouch: use the callback "report" instead..." breaks the
buttons of touchpads following the HID multitouch specification.
The buttons were emmitted through hid-input, but as now the events
are generated only in hid-multitouch, the buttons are not emmitted anymore.

The input_event() call is far much simpler than the hid-input one as
many of the different tests do not apply to multitouch touchpads.

Signed-off-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/hid-multitouch.c