Repository navigation
How to enable gamepad in the game (Switch Pro Controller) #1101
|
On darner build using americas launcher everything work fine. But using Larp i cant activate my gamepad (Switch Pro Controller). How to fix it? Thanks! |
Replies: 2 comments 3 replies
|
Larp reads gamepads through SDL3 when Two things to check in
Also, input is held until the pipeline counter at the top reaches 100%, and Steam Input can grab pads before SDL sees them (the docs say to close Steam for PlayStation pads, docs/controls-and-input.md section 2), so it's worth trying with Steam closed. If the log shows SDL3 loaded but no |
Larp reads gamepads through SDL3 when
bin\SDL3.dllis present (it ships in the FULL package, see docs/setup-and-quickstart.md), and falls back to XInput only when SDL3 is missing or doesn't start (crates/larp-hle/src/modules/gameinput/sdl.rs). XInput alone never sees a Switch Pro Controller, so the SDL3 path is the one that matters here.Two things to check in
logs\play.logfrom a run with the pad connected:host pads: from ...: if it says XInput (or mentionsSDL3.dll not loaded), the DLL is missing frombin\; re-extract it from the FULL zip.host pads: connected: <name>: shows whether the controller was picked up at all.Also, input is held until the pipeline counter at the top reaches…