]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit
HID: usbhid: Fix for the WiiU adapter from Mayflash
authorOliver Schmitt <voltumna@gmx.net>
Sat, 3 Oct 2015 16:20:02 +0000 (18:20 +0200)
committerJiri Kosina <jkosina@suse.cz>
Sun, 4 Oct 2015 21:00:59 +0000 (23:00 +0200)
commitb6ad9a26e7c6fae74062baa9b8a7f583a803e092
treefeb67a3a3515ec08aad817c5d998d0aef647ede7
parent79b568b9d0c7c5d81932f4486d50b38efdd6da6d
HID: usbhid: Fix for the WiiU adapter from Mayflash

The WiiU adapter from Mayflash (see
http://www.mayflash.com/Products/NINTENDOWiiU/W009.html) is not
working correctly.

The "XInput" mode works fine, the controller is recognized as a xbox
controller. But it is only possible to connect one controller with this method.

In "DInput" mode the device is recognized as some kind of mouse input but no
joystick is created. This commit will change this behavior with
HID_QUIRK_MULTI_INPUT to split the device into 4 input devices so that it will
also create joysticks in /dev/input/js*.

Signed-off-by: Oliver Schmitt <voltumna@gmx.net>
Reviewed-by: Felipe Balbi <balbi@ti.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/hid-ids.h
drivers/hid/usbhid/hid-quirks.c