HID: wiimote: Support rumble device
authorDavid Herrmann <dh.herrmann@googlemail.com>
Tue, 6 Sep 2011 11:50:26 +0000 (13:50 +0200)
committerJiri Kosina <jkosina@suse.cz>
Wed, 7 Sep 2011 11:24:37 +0000 (13:24 +0200)
commitc003ec216561077b09a8ab38876a7d6ce375f739
treee7d8ea3f8a62a4df61d11cb073f85a8f41c87b6a
parentddf28352b80c86754a6424e3a61e8bdf9213b3c7
HID: wiimote: Support rumble device

This adds support for the wiimote's rumble device. Every output report can
enable and disable the rumble motor. Hence, every output report must look up our
new RUMBLE flag and make sure that it does not unintentionally toggle the
rumble motor.

Signed-off-by: David Herrmann <dh.herrmann@googlemail.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/hid-wiimote.c