HID: wiimote: add Balance Board support
authorDavid Herrmann <dh.herrmann@gmail.com>
Sun, 5 May 2013 21:12:58 +0000 (23:12 +0200)
committerJiri Kosina <jkosina@suse.cz>
Mon, 3 Jun 2013 09:07:03 +0000 (11:07 +0200)
commitf1d4bed45b553dda2be402e427d8d708c4dca85d
tree182ad53d5c28f5f1e3e8696f16e36c7ea61cef58
parent4148b6bf8a4a4d6e533329775370ccf49778c061
HID: wiimote: add Balance Board support

This adds Nintendo Wii Balance Board support to the new HOTPLUG capable
wiimote core. It is mostly copied from the old extension.

This also adds Balance Board device detection. Whenever we find a device
that supports the balance-board extension, we assume that it is a real
balance board and disable unsupported hardward like accelerometer, IR,
rumble and more.

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