]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
HID: quirks: add support for Legion Go dual dinput modes
authorAntheas Kapenekakis <lkml@antheas.dev>
Sun, 3 Aug 2025 16:02:53 +0000 (18:02 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 4 Sep 2025 13:30:26 +0000 (15:30 +0200)
commit8783b2a0b740978a765611f306dbc3e73b46d138
tree54c52e172bab784624b9a35002b967c1c1daaec3
parentd4e6e2680807671e1c73cd6a986b33659ce92f2b
HID: quirks: add support for Legion Go dual dinput modes

commit 1f3214aae9f49faf495f3836216afbc6c5400b2e upstream.

The Legion Go features detachable controllers which support a dual
dinput mode. In this mode, the controllers appear under a single HID
device with two applications.

Currently, both controllers appear under the same event device, causing
their controls to be mixed up. This patch separates the two so that
they can be used independently.

In addition, the latest firmware update for the Legion Go swaps the IDs
to the ones used by the Legion Go 2, so add those IDs as well.

[jkosina@suse.com: improved shortlog]
Signed-off-by: Antheas Kapenekakis <lkml@antheas.dev>
Signed-off-by: Jiri Kosina <jkosina@suse.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/hid/hid-ids.h
drivers/hid/hid-quirks.c