mirror of
https://github.com/RetroPortingToolKit/psxrecomp
synced 2026-10-26 02:11:36 -04:00
bd60a359fc
- open_configured_controller: two-pass scan — first tries the configured device index, then falls back to the first available game controller. Fixes Steam Remote Play where the virtual Xbox controller appears at an unpredictable SDL joystick index, causing silent failure when device=0 in input.ini doesn't match. - SDL_HINT_JOYSTICK_HIDAPI=1 / SDL_HINT_JOYSTICK_RAWINPUT=0 set before SDL_Init so Steam Input's virtual controller is enumerated via HIDAPI rather than the raw Windows HID path, making it visible as a proper SDL_GameController. Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>