SDL2: Gamepads stopped working

Takashi Yano takashi.yano@nifty.ne.jp
Sun Oct 8 15:07:35 GMT 2023


On Fri, 6 Oct 2023 14:00:16 +0200
risingpower wrote:
> On 06.10.2023 13:14, Takashi Yano wrote:
> >
> > Thanks for the information. I might find the cause.
> > Please test 2.28.4-1a (Test).
> 
> It works! HID and XBOX360 controller!

Thank you for testing!

> Thank you very much! What exactly have you done?

1) Fix mishandling for WCHAR string. (Fixes device name)
2) Fix the upstream bug when SDL_VIDEO_DRIVER_WINDOWS is not defined.
   (Fixes dinput open failure)
3) Drop SDL_JOYSTICK_RAWINPUT. (Make xinput device work)

> The XBOX controller identifies now as "XInput Controller #1",
> but that's ok.

This is the result of 3).

I will release SDL2 2.28.4-2 shortly.

-- 
Takashi Yano <takashi.yano@nifty.ne.jp>


More information about the Cygwin mailing list