Re: SDL2: Gamepads stopped working

2023-10-08 Thread Takashi Yano via Cygwin
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

Re: SDL2: Gamepads stopped working

2023-10-06 Thread risingpower--- via Cygwin
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.

Re: SDL2: Gamepads stopped working

2023-10-06 Thread Takashi Yano via Cygwin
On Fri, 6 Oct 2023 09:26:39 +0200 risingpower wrote: > 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. Thanks for the information. I

Re: SDL2: Gamepads stopped working

2023-10-06 Thread risingpower--- via Cygwin
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:

Re: SDL2: Gamepads stopped working

2023-10-05 Thread Takashi Yano via Cygwin
On Thu, 5 Oct 2023 17:15:42 +0200 risingpowe wrote: > 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

Re: SDL2: Gamepads stopped working

2023-10-05 Thread risingpower--- via Cygwin
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. -

Re: SDL2: Gamepads stopped working

2023-10-05 Thread Takashi Yano via Cygwin
On Thu, 5 Oct 2023 15:07:54 +0200 risingpower wrote: > 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

Re: SDL2: Gamepads stopped working

2023-10-05 Thread risingpower--- via Cygwin
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

Re: SDL2: Gamepads stopped working

2023-10-03 Thread risingpower--- via Cygwin
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! --

Re: SDL2: Gamepads stopped working

2023-10-03 Thread Takashi Yano via Cygwin
On Tue, 3 Oct 2023 11:20:30 +0200 risingpower wrote: > 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 <-

SDL2: Gamepads stopped working

2023-10-03 Thread risingpower--- via Cygwin
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