diff options
author | David Herrmann <dh.herrmann@gmail.com> | 2013-05-05 23:13:07 +0200 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2013-06-03 11:07:06 +0200 |
commit | 9f329741a6d7253f044677af00a999b47e85721e (patch) | |
tree | 83e95fb89963553dc418c09022ffb138518e7133 /drivers/hid/hid-wiimote-debug.c | |
parent | 45ec9fff8629dda47d0c7645174220bcf5d9b6ba (diff) | |
download | lwn-9f329741a6d7253f044677af00a999b47e85721e.tar.gz lwn-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