Commit 253e9ce4 authored by Ethan Warth's avatar Ethan Warth Committed by Zheng Zengkai
Browse files

HID: mf: add support for 0079:1846 Mayflash/Dragonrise USB Gamecube Adapter



stable inclusion
from stable-5.10.23
commit 748446897d367d86b28406467072ab65079d0dc3
bugzilla: 50838

--------------------------------

[ Upstream commit 1008230f ]

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: default avatarEthan Warth <redyoshi49q@gmail.com>
Tested-by: default avatarWladimir J. van der Laan <laanwj@gmail.com>
Signed-off-by: default avatarJiri Kosina <jkosina@suse.cz>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
Signed-off-by: default avatarChen Jun <chenjun102@huawei.com>
Acked-by: default avatar  Weilong Chen <chenweilong@huawei.com>
Signed-off-by: default avatarZheng Zengkai <zhengzengkai@huawei.com>
parent 32297c1c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment