HID: usbhid: Add quirks for Mayflash/Dragonrise GameCube and PS3 adapters
authorMarcel Hasler <mahasler@gmail.com>
Thu, 3 Nov 2016 18:47:26 +0000 (19:47 +0100)
committerJiri Kosina <jkosina@suse.cz>
Thu, 3 Nov 2016 20:51:28 +0000 (14:51 -0600)
commitb2554000f5b5d2a3a368d09c6debf7da64901fcf
tree0f76138259458b235c458a0c2f3eece8d5a990c7
parent8a1e377e55f2dca5c689926313beeaa8ac2adb22
HID: usbhid: Add quirks for Mayflash/Dragonrise GameCube and PS3 adapters

All known gamepad adapters by Mayflash (identified as Dragonrise) need
HID_QUIRK_MULTI_INPUT to split them up into four input devices. Without this
quirk those adapters are falsely recognized as tablets. Fixes bug 115841
(https://bugzilla.kernel.org/show_bug.cgi?id=115841).

Signed-off-by: Marcel Hasler <mahasler@gmail.com>
Reviewed-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/hid-ids.h
drivers/hid/usbhid/hid-quirks.c