HID: xinmo: fix for out of range for THT 2P arcade controller.
authorPeter Stein <peter@stuntstein.dk>
Fri, 17 Feb 2017 08:00:50 +0000 (00:00 -0800)
committerJiri Kosina <jkosina@suse.cz>
Fri, 24 Mar 2017 14:43:03 +0000 (15:43 +0100)
commit9257821c5a1dc57ef3a37f7cbcebaf548395c964
treeff8c3d541a1ff6f4dc0e30ac540a14534ee4f8e7
parent6e5364f5f472d4ea66d37459e299071b0190362c
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>
drivers/hid/hid-core.c
drivers/hid/hid-ids.h
drivers/hid/hid-xinmo.c