HID: microsoft: Add rumble support for the 8bitdo SN30 Pro+ controller
authorNicholas Miell <nmiell@gmail.com>
Sat, 29 Aug 2020 04:14:29 +0000 (21:14 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 17 Sep 2020 11:55:36 +0000 (13:55 +0200)
commit80b7267b31270653a79c78ca4ca62966d62867e3
treec9e99ccdf34696f696428c00e45286e4f151d690
parent38ce1ae8e2c8f318bba99f04e9bda47ff4085930
HID: microsoft: Add rumble support for the 8bitdo SN30 Pro+ controller

[ Upstream commit 724a419ea28f7514a391e80040230f69cf626707 ]

When operating in XInput mode, the 8bitdo SN30 Pro+ requires the same
quirk as the official Xbox One Bluetooth controllers for rumble to
function.

Other controllers like the N30 Pro 2, SF30 Pro, SN30 Pro, etc. probably
also need this quirk, but I do not have the hardware to test.

Signed-off-by: Nicholas Miell <nmiell@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-microsoft.c