]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/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)
committerJiri Kosina <jkosina@suse.cz>
Wed, 25 Nov 2020 13:30:33 +0000 (14:30 +0100)
commit1008230f2abeb624f6d71b2e1c424fa4eeebbf84
treec7663def711f30221d0a0ae293b875a2cf3a0a90
parentba876cdc6ac9702138000d06613484de3de760db
HID: mf: add support for 0079:1846 Mayflash/Dragonrise USB Gamecube Adapter

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>
drivers/hid/hid-ids.h
drivers/hid/hid-mf.c
drivers/hid/hid-quirks.c