]> git.itanic.dy.fi Git - linux-stable/commit
HID: mf: add support for 0079:1846 Mayflash/Dragonrise USB Gamecube Adapter
authorEthan Warth <redyoshi49q@gmail.com>
Tue, 17 Nov 2020 08:48:00 +0000 (09:48 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 11 Mar 2021 13:06:50 +0000 (14:06 +0100)
commitfd476c6d4e1a6988920def9cbbebb92ea9e2273f
treeb53d09979aeffed004b3b64cdefe221aa6b675bd
parentef9fa6bb858221a426a099b8965444ee7ff65703
HID: mf: add support for 0079:1846 Mayflash/Dragonrise USB Gamecube Adapter

[ Upstream commit 1008230f2abeb624f6d71b2e1c424fa4eeebbf84 ]

Mayflash/Dragonrise seems to have yet another device ID for one of their
Gamecube controller adapters.  Previous to this commit, the adapter
registered only one /dev/input/js* device, and all controller inputs (from
any controller) were mapped to this device.  This patch defines the 1846
USB device ID and enables the HID_QUIRK_MULTI_INPUT quirk for it, which
fixes that (with the patch, four /dev/input/js* devices are created, one
for each of the four controller ports).

Signed-off-by: Ethan Warth <redyoshi49q@gmail.com>
Tested-by: Wladimir J. van der Laan <laanwj@gmail.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/hid/hid-ids.h
drivers/hid/hid-mf.c
drivers/hid/hid-quirks.c