summaryrefslogtreecommitdiffstats
path: root/drivers/hid/hid-wiimote-debug.c
diff options
context:
space:
mode:
authorDavid Herrmann2013-05-05 23:13:07 +0200
committerJiri Kosina2013-06-03 11:07:06 +0200
commit9f329741a6d7253f044677af00a999b47e85721e (patch)
tree83e95fb89963553dc418c09022ffb138518e7133 /drivers/hid/hid-wiimote-debug.c
parentHID: wiimote: remove old static extension support (diff)
downloadkernel-qcow2-linux-9f329741a6d7253f044677af00a999b47e85721e.tar.gz
kernel-qcow2-linux-9f329741a6d7253f044677af00a999b47e85721e.tar.xz
kernel-qcow2-linux-9f329741a6d7253f044677af00a999b47e85721e.zip
HID: wiimote: add MP quirks
Devices which have built-in motion plus ports don't need MP detection logic. The new WIIMOD_BUILTIN_MP modules sets the WIIPROTO_FLAG_BUILTIN_MP flag which disables polling for MP. Some other devices erroneously report that they support motion-plus. For these devices and all devices without extension ports, we load WIIMOD_NO_MP which sets WIIPROTO_FLAG_NO_MP. This effectively disables all MP detection logic. Signed-off-by: David Herrmann <dh.herrmann@gmail.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'drivers/hid/hid-wiimote-debug.c')
0 files changed, 0 insertions, 0 deletions