diff options
author | Oliver Schmitt <voltumna@gmx.net> | 2015-10-03 18:20:02 +0200 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2015-10-04 23:00:59 +0200 |
commit | b6ad9a26e7c6fae74062baa9b8a7f583a803e092 (patch) | |
tree | feb67a3a3515ec08aad817c5d998d0aef647ede7 /drivers/hid/hid-ids.h | |
parent | HID: core: Avoid uninitialized buffer access (diff) | |
download | linux-b6ad9a26e7c6fae74062baa9b8a7f583a803e092.tar.xz linux-b6ad9a26e7c6fae74062baa9b8a7f583a803e092.zip |
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>
Diffstat (limited to 'drivers/hid/hid-ids.h')
-rw-r--r-- | drivers/hid/hid-ids.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/hid/hid-ids.h b/drivers/hid/hid-ids.h index f769208276ae..cfb317e66486 100644 --- a/drivers/hid/hid-ids.h +++ b/drivers/hid/hid-ids.h @@ -288,6 +288,7 @@ #define USB_DEVICE_ID_DMI_ENC 0x5fab #define USB_VENDOR_ID_DRAGONRISE 0x0079 +#define USB_DEVICE_ID_DRAGONRISE_WIIU 0x1800 #define USB_VENDOR_ID_DWAV 0x0eef #define USB_DEVICE_ID_EGALAX_TOUCHCONTROLLER 0x0001 |