]> git.baikalelectronics.ru Git - kernel.git/commitdiff
HID: Add quirk for Xin-Mo Dual Controller
authorPriit Laes <plaes@plaes.org>
Sat, 30 Nov 2019 22:22:09 +0000 (00:22 +0200)
committerJiri Kosina <jkosina@suse.cz>
Fri, 13 Dec 2019 09:17:00 +0000 (10:17 +0100)
Without the quirk, joystick shows up as single controller
for both first and second player pads/pins.

Signed-off-by: Priit Laes <plaes@plaes.org>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/hid-quirks.c

index d1b39c29e3535a0aa40cf34dc52101c1ace87046..0e7b2d998395a91f5d5f9109443501707fe964fc 100644 (file)
@@ -174,6 +174,7 @@ static const struct hid_device_id hid_quirks[] = {
        { HID_USB_DEVICE(USB_VENDOR_ID_WALTOP, USB_DEVICE_ID_WALTOP_SIRIUS_BATTERY_FREE_TABLET), HID_QUIRK_MULTI_INPUT },
        { HID_USB_DEVICE(USB_VENDOR_ID_WISEGROUP_LTD2, USB_DEVICE_ID_SMARTJOY_DUAL_PLUS), HID_QUIRK_NOGET | HID_QUIRK_MULTI_INPUT },
        { 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 },
 
        { 0 }
 };