HID: wiimote: add support for Guitar-Hero drums
authorDavid Herrmann <dh.herrmann@gmail.com>
Mon, 26 Aug 2013 17:14:47 +0000 (19:14 +0200)
committerJiri Kosina <jkosina@suse.cz>
Wed, 4 Sep 2013 08:44:17 +0000 (10:44 +0200)
commit73f8645db1913ab2475ec3c1cee8d5f748963aa7
tree5415151a1b7fc473459490d0d5dc2695089e981e
parent61e00655e9cb82e034eb72b95a51072e718d14a7
HID: wiimote: add support for Guitar-Hero drums

Guitar-Hero comes with a drums extension. Use the newly introduced input
drums-bits to report this back to user-space. This is a usual extension
like any other device. Nothing special to take care of.

We report this to user-space as "Nintendo Wii Remote Drums". There are
other drums (like "RockBand" drums) which we currently do not support and
maybe will at some point. However, it is quite likely that we can report
these via the same interface. This allows user-space to work with them
without knowing the exact branding.
I couldn't find anyone who owns a "RockBand" device, though.

Initial-work-by: Nicolas Adenis-Lamarre <nicolas.adenis.lamarre@gmail.com>
Signed-off-by: David Herrmann <dh.herrmann@gmail.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/hid-wiimote-core.c
drivers/hid/hid-wiimote-modules.c
drivers/hid/hid-wiimote.h