summaryrefslogtreecommitdiffstats
path: root/drivers/hid/hid-wiimote.h
diff options
context:
space:
mode:
authorDavid Herrmann2013-05-05 23:13:01 +0200
committerJiri Kosina2013-06-03 11:07:04 +0200
commit34472d370f698f891b92eed879c87a2a82eaaace (patch)
treea01d8c4d2df3ae7c58dccd2bd2219e7cb20224cb /drivers/hid/hid-wiimote.h
parentHID: wiimote: add Classic Controller extension (diff)
downloadkernel-qcow2-linux-34472d370f698f891b92eed879c87a2a82eaaace.tar.gz
kernel-qcow2-linux-34472d370f698f891b92eed879c87a2a82eaaace.tar.xz
kernel-qcow2-linux-34472d370f698f891b92eed879c87a2a82eaaace.zip
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 118520a79211..3a8bdb94152a 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;