Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

HID: microsoft: Add rumble support for the 8bitdo SN30 Pro+ controller

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>

authored by

Nicholas Miell and committed by
Jiri Kosina
724a419e 77df710b

+3
+1
drivers/hid/hid-ids.h
··· 850 850 #define USB_DEVICE_ID_MS_POWER_COVER 0x07da 851 851 #define USB_DEVICE_ID_MS_XBOX_ONE_S_CONTROLLER 0x02fd 852 852 #define USB_DEVICE_ID_MS_PIXART_MOUSE 0x00cb 853 + #define USB_DEVICE_ID_8BITDO_SN30_PRO_PLUS 0x02e0 853 854 854 855 #define USB_VENDOR_ID_MOJO 0x8282 855 856 #define USB_DEVICE_ID_RETRO_ADAPTER 0x3201
+2
drivers/hid/hid-microsoft.c
··· 451 451 .driver_data = MS_SURFACE_DIAL }, 452 452 { HID_BLUETOOTH_DEVICE(USB_VENDOR_ID_MICROSOFT, USB_DEVICE_ID_MS_XBOX_ONE_S_CONTROLLER), 453 453 .driver_data = MS_QUIRK_FF }, 454 + { HID_BLUETOOTH_DEVICE(USB_VENDOR_ID_MICROSOFT, USB_DEVICE_ID_8BITDO_SN30_PRO_PLUS), 455 + .driver_data = MS_QUIRK_FF }, 454 456 { } 455 457 }; 456 458 MODULE_DEVICE_TABLE(hid, ms_devices);