Re: [PATCH 1/3] drivers: hid: fix G940 axis/button mappings

From: f h
Date: Tue Apr 02 2019 - 05:11:34 EST


On Mon, 11 Mar 2019, Chris Boyle wrote:

> Provide a complete map of axes and buttons for the Logitech Flight System
> G940, which fixes several issues:
>
> Stop conflating the stick X/Y axes with the mini-stick (hat) axes. This
> stops reported X jumping between stick X and hat X (likewise Y).
>
> Stop conflating the other three hat switches (non-mini-stick) with each
> other. This was caused by commit 190d7f02ce8e ("HID: input: do not
> increment usages when a duplicate is found")
>
> Report TRIM1 and TRIM2, previously ignored as unrecognised usage types.
>
> Report the MODE switch and hand sensor, previously ignored as they're in
> a vendor page.
>
> Signed-off-by: Chris Boyle <chris@xxxxxxxxxx>
> ---


I have to confirm, that the current kernel driver for logitech G940 is
deficient (as desribed by the author of this patches).

I tested this patch series against latest stable kernel (5.0.5, debian
testing) and it fixes all former input related issues.

Regards,
Jens