Sam Lantinga

Results 1875 comments of Sam Lantinga

Try this patch? ```diff diff --git a/src/joystick/SDL_gamepad_db.h b/src/joystick/SDL_gamepad_db.h index 0847a8c38..feca2cadc 100644 --- a/src/joystick/SDL_gamepad_db.h +++ b/src/joystick/SDL_gamepad_db.h @@ -611,6 +611,7 @@ static const char *s_GamepadMappings[] = { "050000004c050000f20d000000010000,DualSense Edge Wireless Controller,a:b1,b:b2,back:b8,dpdown:h0.4,dpleft:h0.8,dpright:h0.2,dpup:h0.1,guide:b12,leftshoulder:b4,leftstick:b10,lefttrigger:a3,leftx:a0,lefty:a1,rightshoulder:b5,rightstick:b11,righttrigger:a4,rightx:a2,righty:a5,start:b9,x:b0,y:b3,", "030000006f0e00003001000001010000,EA...

Can you grab the SDL source code and build and run test/testcontroller? You can get the code from: https://github.com/libsdl-org/SDL You can build and test like this: `cd SDL; mkdir -p...

Press "Setup Mapping" and go through the mapping process, click "Copy" and paste it here.

You did it perfectly. So if you open a terminal window and run: `export SDL_GAMECONTROLLERCONFIG="03005036852100000201000010010000,FUJIWORK CO. FF-GP1,crc:3650,platform:Linux,a:b1,b:b2,back:b8,dpdown:h0.4,dpleft:h0.8,dpright:h0.2,dpup:h0.1,leftshoulder:b4,leftstick:b10,lefttrigger:b6,leftx:a0,lefty:a1,rightshoulder:b5,rightstick:b11,righttrigger:b7,rightx:a2,righty:a3,start:b9,x:b0,y:b3,"` and then launch a game from that terminal window, it should have the...

That should have worked as well, I'm not sure why that didn't work.

This should be fixed, please reopen if you're still seeing this.

There are some allocations that are only cleaned up in SDL_Quit(), have you checked after calling that?

Are you able to get a stack trace or stop in the debugger when you get allocations of those sizes?