Re: [PATCH v2] HID: gembird: add new driver to fix Gembird JPD-DualForce 2

From: Jiri Kosina
Date: Tue Aug 18 2015 - 09:05:24 EST


On Thu, 13 Aug 2015, Benjamin Tissoires wrote:

> This gamepad advertise 5 absolute axis while 4 are actually used.
> The second Z axis shows some garbage, so it has to be ignored by HID.
> The first Z axis and the Rz one are actually Rx and Ry. Remap them.
>
> We could also just remap and ignore the axis in .input_mapping(). I
> went ahead with .report_fixup() first, so here it is.
>
> Reported-by: Orivej Desh <orivej@xxxxxx>
> Tested-by: Orivej Desh <orivej@xxxxxx>
> Signed-off-by: Benjamin Tissoires <benjamin.tissoires@xxxxxxxxxx>

Applied to for-4.3/gembird.

--
Jiri Kosina
SUSE Labs

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/