]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commit
HID: wiimote: add support for Guitar-Hero guitars
authorNicolas Adenis-Lamarre <nicolas.adenis.lamarre@gmail.com>
Mon, 26 Aug 2013 17:14:48 +0000 (19:14 +0200)
committerJiri Kosina <jkosina@suse.cz>
Wed, 4 Sep 2013 08:44:17 +0000 (10:44 +0200)
commit8e22ecb603c88b7397ab2e80b7b0811b8a1318f5
treebdd599a39eaa8eef420f8bbfc1c1ec25ed6d943f
parent73f8645db1913ab2475ec3c1cee8d5f748963aa7
HID: wiimote: add support for Guitar-Hero guitars

Apart from drums, Guitar-Hero also ships with guitars. Use the recently
introduced input ABS/BTN-bits to report this to user-space.

Devices are reported as "Nintendo Wii Remote Guitar". If I ever get my
hands on "RockBand" guitars, I will try to report them via the same
interface so user-space does not have to bother which device it deals
with.

Signed-off-by: Nicolas.Adenis-Lamarre <nicolas.adenis.lamarre@gmail.com>
(add commit-msg and adjust to new BTN_* IDs)
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