summaryrefslogtreecommitdiffstats
path: root/drivers/hid/hid-wiimote.h
diff options
context:
space:
mode:
authorDavid Herrmann <dh.herrmann@gmail.com>2013-05-05 23:13:01 +0200
committerJiri Kosina <jkosina@suse.cz>2013-06-03 11:07:04 +0200
commit34472d370f698f891b92eed879c87a2a82eaaace (patch)
treea01d8c4d2df3ae7c58dccd2bd2219e7cb20224cb /drivers/hid/hid-wiimote.h
parent9d6f9ecb0cbf714f39c0ae492fe8678bcb93a001 (diff)
downloadop-kernel-dev-34472d370f698f891b92eed879c87a2a82eaaace.zip
op-kernel-dev-34472d370f698f891b92eed879c87a2a82eaaace.tar.gz
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>
Diffstat (limited to 'drivers/hid/hid-wiimote.h')
-rw-r--r--drivers/hid/hid-wiimote.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/hid/hid-wiimote.h b/drivers/hid/hid-wiimote.h
index 118520a..3a8bdb9 100644
--- a/drivers/hid/hid-wiimote.h
+++ b/drivers/hid/hid-wiimote.h
@@ -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;
OpenPOWER on IntegriCloud