Files
psxrecomp/runtime
Matthew Stanley bd60a359fc Controller: fall back to first available, add Steam Remote Play hints
- 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>
2026-05-29 21:40:36 -07:00
..