summaryrefslogtreecommitdiffstats
path: root/drivers/hid/hid-xinmo.c
diff options
context:
space:
mode:
authorPeter Stein <peter@stuntstein.dk>2017-02-17 09:00:50 +0100
committerJiri Kosina <jkosina@suse.cz>2017-03-24 15:43:03 +0100
commit9257821c5a1dc57ef3a37f7cbcebaf548395c964 (patch)
treeff8c3d541a1ff6f4dc0e30ac540a14534ee4f8e7 /drivers/hid/hid-xinmo.c
parentHID: wacom: generic: Wacom mouse is only provided for opaque tablets (diff)
downloadlinux-9257821c5a1dc57ef3a37f7cbcebaf548395c964.tar.xz
linux-9257821c5a1dc57ef3a37f7cbcebaf548395c964.zip
HID: xinmo: fix for out of range for THT 2P arcade controller.
There is a new clone of the XIN MO arcade controller which has same issue with out of range like the original. This fix will solve the issue where 2 directions on the joystick are not recognized by the new THT 2P arcade controller with device ID 0x75e1. In details the new device ID is added the hid-id list and the hid-xinmo source code. Signed-off-by: Peter Stein <peter@stuntstein.dk> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'drivers/hid/hid-xinmo.c')
-rw-r--r--drivers/hid/hid-xinmo.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/hid/hid-xinmo.c b/drivers/hid/hid-xinmo.c
index 7df5227a7e61..9ad7731d2e10 100644
--- a/drivers/hid/hid-xinmo.c
+++ b/drivers/hid/hid-xinmo.c
@@ -46,6 +46,7 @@ static int xinmo_event(struct hid_device *hdev, struct hid_field *field,
static const struct hid_device_id xinmo_devices[] = {
{ HID_USB_DEVICE(USB_VENDOR_ID_XIN_MO, USB_DEVICE_ID_XIN_MO_DUAL_ARCADE) },
+ { HID_USB_DEVICE(USB_VENDOR_ID_XIN_MO, USB_DEVICE_ID_THT_2P_ARCADE) },
{ }
};