Hi,
after a cygwin update, SDL2 does not recognize my gamepads any more.
They definitely worked before:
libSDL2_2.0_0-2.0.7-1.tar.xz <- joystick worked fine (2021-10-09)
libSDL2_2.0_0-2.28.3-2.tar.xz <- SDL_NumJoysticks() is 0 (2023-09-30)
Example:
// $ gcc -o testjoystick te
On 03.10.2023 14:26, Takashi Yano wrote:>
> This is because SDL_mmjoystick.c is removed from the source tree
> of upstream since 2.0.18.
>
> Now I am trying to enable SDL_dinputjoystick.c or SDL_xinputjoystick.c
> instead. Hopefully it will work again in 2.28.4.
>
Oh, good to know! Thank you!
--
On 03.10.2023 14:26, Takashi Yano wrote:
> This is because SDL_mmjoystick.c is removed from the source tree
> of upstream since 2.0.18.
>
> Now I am trying to enable SDL_dinputjoystick.c or SDL_xinputjoystick.c
> instead. Hopefully it will work again in 2.28.4.
>
I compiled SDL 2.28.4 and XInput g
On 05.10.2023 16:12, Takashi Yano wrote:>
> I guess DirectInput is necessary for that gamepads. I will release
> SDL2 2.28.4-1 (TEST) package shortly, where both dinput and xinput
> are enabled. Could you please test?
>
Thank you very much!
My gamepads show up, but do not work.
- SDL_NumJoysticks
On 05.10.2023 18:38, Takashi Yano wrote:
>
> Thanks for testing!
> What error occurs for XBOX360 controller?
>
There is no error message. Everything looks fine, but the controller
doesn't work.
Best regards,
Richard
--
Problem reports: https://cygwin.com/problems.html
FAQ:
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 very much! What exactly have you done?
The XBOX controller identifies now as "XInput Controller #1",
but that's ok.
-
6 matches
Mail list logo