Skip to content

Commit 5327439

Browse files
leo60228Jiri Kosina
authored andcommitted
HID: quirks: add HID_QUIRK_ALWAYS_POLL for 8BitDo Pro 3
According to a mailing list report [1], this controller's predecessor has the same issue. However, it uses the xpad driver instead of HID, so this quirk wouldn't apply. [1]: https://lore.kernel.org/linux-input/unufo3$det$1@ciao.gmane.io/ Signed-off-by: leo vriska <leo@60228.dev> Signed-off-by: Jiri Kosina <jkosina@suse.com>
1 parent d802d84 commit 5327439

2 files changed

Lines changed: 4 additions & 0 deletions

File tree

drivers/hid/hid-ids.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,9 @@
2222
#define USB_DEVICE_ID_3M2256 0x0502
2323
#define USB_DEVICE_ID_3M3266 0x0506
2424

25+
#define USB_VENDOR_ID_8BITDO 0x2dc8
26+
#define USB_DEVICE_ID_8BITDO_PRO_3 0x6009
27+
2528
#define USB_VENDOR_ID_A4TECH 0x09da
2629
#define USB_DEVICE_ID_A4TECH_WCP32PU 0x0006
2730
#define USB_DEVICE_ID_A4TECH_X5_005D 0x000a

drivers/hid/hid-quirks.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
*/
2626

2727
static const struct hid_device_id hid_quirks[] = {
28+
{ HID_USB_DEVICE(USB_VENDOR_ID_8BITDO, USB_DEVICE_ID_8BITDO_PRO_3), HID_QUIRK_ALWAYS_POLL },
2829
{ HID_USB_DEVICE(USB_VENDOR_ID_AASHIMA, USB_DEVICE_ID_AASHIMA_GAMEPAD), HID_QUIRK_BADPAD },
2930
{ HID_USB_DEVICE(USB_VENDOR_ID_AASHIMA, USB_DEVICE_ID_AASHIMA_PREDATOR), HID_QUIRK_BADPAD },
3031
{ HID_USB_DEVICE(USB_VENDOR_ID_ADATA_XPG, USB_VENDOR_ID_ADATA_XPG_WL_GAMING_MOUSE), HID_QUIRK_ALWAYS_POLL },

0 commit comments

Comments
 (0)