ShadowBlip / HandyGCCS

Handheld Game Console Controller Support (Handy Geeks) for Linux
GNU General Public License v3.0
81 stars 30 forks source link

Add Legion Go Initial Controller Support #131

Closed aarron-lee closed 1 year ago

aarron-lee commented 1 year ago

Details

This PR adds initial support for the Lenovo Legion Go's controller while in X-input mode.

It does the following:

Note that it also now seems to suspend properly when pressing the power button, tapping the power button now shows the Steam suspend animation while in gamescope-session.

Tested on the Legion Go with the controller in X-input mode while both attached and detached, confirmed working in both cases.

Edit: noticed that some users can't use the Legion + B combination, we suspect a controller firmware update is the reason why. Those that did the firmware update can no longer see the Legion + B combo register anything with evtest

Device Info:

tested on:

Lenovo Legion Go ChimeraOS 45 (unstable) kernel 6.6.0-chos1-chimeraos-2 BIOS N3CN22WW