* [PATCH] Adding quirk for Betop Titanwolf Hotas Bundle
@ 2023-08-31 13:09 Anton
0 siblings, 0 replies; only message in thread
From: Anton @ 2023-08-31 13:09 UTC (permalink / raw)
To: benjamin.tissoires; +Cc: linux-input
Patch for enabling quirk for Betop Titanwolf Hotas Bundle joystick where missing one axis and second Hat
diff --git a/drivers/hid/hid-ids.h b/drivers/hid/hid-ids.h
index 8a310f8ff20f..3d5abb9b2891 100644
--- a/drivers/hid/hid-ids.h
+++ b/drivers/hid/hid-ids.h
@@ -249,6 +249,7 @@
#define USB_VENDOR_ID_BETOP_2185PC 0x11c0
#define USB_VENDOR_ID_BETOP_2185V2PC 0x8380
#define USB_VENDOR_ID_BETOP_2185V2BFM 0x20bc
+#define USB_DEVICE_ID_BETOP_TWOLF_HOTAS_BUNDLE 0x5608
#define USB_VENDOR_ID_BIGBEN 0x146b
#define USB_DEVICE_ID_BIGBEN_PS3OFMINIPAD 0x0902
diff --git a/drivers/hid/hid-quirks.c b/drivers/hid/hid-quirks.c
index 3983b4f282f8..6d5e5e9f637a 100644
--- a/drivers/hid/hid-quirks.c
+++ b/drivers/hid/hid-quirks.c
@@ -206,6 +206,7 @@ static const struct hid_device_id hid_quirks[] = {
{ HID_USB_DEVICE(USB_VENDOR_ID_WISEGROUP, USB_DEVICE_ID_QUAD_USB_JOYPAD), HID_QUIRK_NOGET | HID_QUIRK_MULTI_INPUT },
{ HID_USB_DEVICE(USB_VENDOR_ID_XIN_MO, USB_DEVICE_ID_XIN_MO_DUAL_ARCADE), HID_QUIRK_MULTI_INPUT },
{ HID_USB_DEVICE(USB_VENDOR_ID_LOGITECH, USB_DEVICE_ID_LOGITECH_GROUP_AUDIO), HID_QUIRK_NOGET },
+ { HID_USB_DEVICE(USB_VENDOR_ID_BETOP_2185PC, USB_DEVICE_ID_BETOP_TWOLF_HOTAS_BUNDLE), HID_QUIRK_INCREMENT_USAGE_ON_DUPLICATE },
{ 0 }
};
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2023-08-31 13:09 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-08-31 13:09 [PATCH] Adding quirk for Betop Titanwolf Hotas Bundle Anton
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).