HID: wiimote: add Motion Plus extension module

Add parsers for motion plus data so we can hotplug motion plus extensions
and make use of them. This is mostly the same as the old static motion
plus parser.

Signed-off-by: David Herrmann <dh.herrmann@gmail.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
This commit is contained in:
David Herrmann
2013-05-05 23:13:01 +02:00
committed by Jiri Kosina
parent 9d6f9ecb0c
commit 34472d370f
2 changed files with 145 additions and 0 deletions

View File

@@ -139,6 +139,7 @@ struct wiimote_data {
struct input_dev *accel;
struct input_dev *ir;
struct power_supply battery;
struct input_dev *mp;
struct timer_list timer;
struct wiimote_ext *ext;
struct wiimote_debug *debug;