diff options
author | David Herrmann <dh.herrmann@gmail.com> | 2013-04-02 21:58:36 +0400 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2013-04-04 11:38:43 +0400 |
commit | 2d44e3d26891e9530e29395f5a86b751c2f69ee8 (patch) | |
tree | 6f172c6332daf6c456dcefd61821ae6071c6194a /drivers/hid/hid-ids.h | |
parent | a33042fafdda4c4fb11981c2db95df86682e1083 (diff) | |
download | linux-2d44e3d26891e9530e29395f5a86b751c2f69ee8.tar.xz |
HID: wiimote: parse reduced status reports
It turns out the Wii accepts any status reports from clients reduced to
"BB BB" key data only, as long as the report actually includes key data at
the first two bytes.
The official devices don't send these reduced reports, but of course, 3rd
party devices make great use of this feature.
Hence, add parsers for these reduced reports for every matching report.
Also change the logic how we find handlers. There is no reason to call
multiple handlers on a single report, but instead find the best handler
and call it only once.
Signed-off-by: David Herrmann <dh.herrmann@gmail.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'drivers/hid/hid-ids.h')
0 files changed, 0 insertions, 0 deletions