HID: usbhid: Add quirks for Mayflash/Dragonrise GameCube and PS3 adapters
authorMarcel Hasler <mahasler@gmail.com>
Tue, 4 Apr 2017 19:32:03 +0000 (19:32 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 12 Apr 2017 10:41:15 +0000 (12:41 +0200)
commitd640c41bced65d82592e4d01a61715d78dede2ae
tree6f9efa098127c6f00cae5723aeaeb21e67d214d5
parente02a5d1d5a053374dffe9ed6300113a125121f29
HID: usbhid: Add quirks for Mayflash/Dragonrise GameCube and PS3 adapters

[ Upstream commit b2554000f5b5d2a3a368d09c6debf7da64901fcf ]

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>
Signed-off-by: Sasha Levin <alexander.levin@verizon.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/hid/hid-ids.h
drivers/hid/usbhid/hid-quirks.c