]> Pileus Git - ~andy/linux/commit
HID: wiimote: Register input devices for extensions
authorDavid Herrmann <dh.herrmann@googlemail.com>
Thu, 17 Nov 2011 13:12:05 +0000 (14:12 +0100)
committerJiri Kosina <jkosina@suse.cz>
Tue, 22 Nov 2011 22:09:23 +0000 (23:09 +0100)
commit479901ba1847902623cc348b1d09c7d8979a9683
tree199014c6f16db32187973c6b1a573533f3628ce5
parentc1e51398a14bd74c58a838e9e76e8f726c5643b9
HID: wiimote: Register input devices for extensions

Motion+ and regular extensions are physical adapters for the wiimote so create
one input device for each of them. This also allows to enable only opened
extensions and turn unused extenions off to save battery power.

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