]> 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)
commit3f64546c249c65859153ec2542a2a0681a21589a
tree5415151a1b7fc473459490d0d5dc2695089e981e
parent705768d99944fef5b8d8509dc19b45a1d4758732
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