diff options
author | David Herrmann <dh.herrmann@googlemail.com> | 2011-07-05 13:45:09 +0200 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2011-07-11 14:30:22 +0200 |
commit | 02fb72a06ae1ed55b4373a4c678f25d70fd65902 (patch) | |
tree | ddb12e5aae98bf7667cecdad5bdad0f106cea09e /drivers/hid/hid-core.c | |
parent | fb51b44385a0ded0d629d5cf4a2095f80fb01b56 (diff) | |
download | lwn-02fb72a06ae1ed55b4373a4c678f25d70fd65902.tar.gz lwn-02fb72a06ae1ed55b4373a4c678f25d70fd65902.zip |
HID: wiimote: Register wiimote hid driver stub
The wiimote uses a fake HID protocol. Hence, we need to prevent
HIDINPUT and HIDDEV from parsing wiimote data and instead parse
raw hid events.
Add VID/PID to hid-core so the special driver is loaded on new
wiimotes.
Signed-off-by: David Herrmann <dh.herrmann@googlemail.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'drivers/hid/hid-core.c')
-rw-r--r-- | drivers/hid/hid-core.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/hid/hid-core.c b/drivers/hid/hid-core.c index 6f3289a57888..eccaf8ad26c1 100644 --- a/drivers/hid/hid-core.c +++ b/drivers/hid/hid-core.c @@ -1504,6 +1504,7 @@ static const struct hid_device_id hid_have_special_driver[] = { { HID_USB_DEVICE(USB_VENDOR_ID_ZYDACRON, USB_DEVICE_ID_ZYDACRON_REMOTE_CONTROL) }, { HID_BLUETOOTH_DEVICE(USB_VENDOR_ID_MICROSOFT, USB_DEVICE_ID_MS_PRESENTER_8K_BT) }, + { HID_BLUETOOTH_DEVICE(USB_VENDOR_ID_NINTENDO, USB_DEVICE_ID_NINTENDO_WIIMOTE) }, { } }; |