SDL_GameControllerDB: Duplicated string PS3 Controller and ZM-X6
03000000632500007505000000000000,PS3 Controller,a:b2,b:b1,back:b8,dpdown:h0.4,dpleft:h0.8,dpright:h0.2,dpup:h0.1,guide:b12,leftshoulder:b4,leftstick:b10,lefttrigger:b6,leftx:a0,lefty:a1,rightshoulder:b5,rightstick:b11,righttrigger:b7,rightx:a2,righty:a3,start:b9,x:b3,y:b0,platform:Windows,
In existing text file.
vs
03000000632500007505000000000000,ZM-X6,a:b2,b:b1,x:b3,y:b0,back:b9,start:b8,leftstick:b10,rightstick:b11,leftshoulder:b4,rightshoulder:b5,dpup:h0.1,dpdown:h0.4,dpleft:h0.8,dpright:h0.2,leftx:a0,lefty:a1,rightx:a2,righty:a3,lefttrigger:b6,righttrigger:b7,platform:Windows,
They have different keybindings like back is b8 for existing and the ‘new’ one is b9.
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Comments: 15 (8 by maintainers)
When writing out the mapping, you should clear the CRC from the GUID: https://github.com/libsdl-org/SDL/blob/25e62193f45938a6c69ab0d527f8d3eacd7c9fff/test/controllermap.c#L577
Got a couple of bugs fixed with my old app and bundled a Windows build. Going to have to make a new AppImage soon.
sdl2-gamepad-mapper-0.0.4-x86_64.7z https://drive.google.com/file/d/1C_BtbOAMNJo3bzxyTi9Ahlj5pFsXHbCF/view?usp=sharing