]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commita87ea7ceebde739a1334685ec09550645fd536c9
tree5415151a1b7fc473459490d0d5dc2695089e981e
parent3cf8a505cad2b0c7137f4a4238b311238b6766d9
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