question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Duplicated string PS3 Controller and ZM-X6

See original GitHub issue

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.

Issue Analytics

  • State:open
  • Created 10 months ago
  • Comments:13 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
sloukencommented, Dec 4, 2022

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

0reactions
offalynnecommented, Dec 4, 2022

@slouken obviously it is not practical to do this on a regular basis but curious if you have device name/description data from Big Picture logs to compare how actually usefully unique CRC is in this (our first) use case:

https://github.com/libsdl-org/SDL/blob/12059782447ea97b38b41bb7bc06c15c75c94564/src/joystick/SDL_gamecontrollerdb.h#L143

in

https://github.com/libsdl-org/SDL/commit/12059782447ea97b38b41bb7bc06c15c75c94564

Read more comments on GitHub >

github_iconTop Results From Across the Web

Duplicate PS3 Controller with multiple inputs #6737 - GitHub
I am using a Playstation 3 controller / Dualshock 3 controller to play my games on steam. I connected it by using the...
Read more >
gamepad_get_description
This function will return a string with the description of the given gamepad, for example, a PS3 controller may return a string similar...
Read more >
12.0 oz & above / PlayStation 3 Controllers / PlaySt...
VOYEE Wireless Controller Compatible with Playstation 3, 2 Pack PS3 Controller with Upgraded Joystick/Rechargerable Battery/Motion Control/Double Shock (Skull ...
Read more >
3 Ways to Fix a PS3 Controller - wikiHow
1. Remove screws from the back of the controller. There are five screws holding the controller together. There are two on the top...
Read more >
Gamepad - ArchWiki
3.13 PlayStation 3/4 controller ... Add the following registry entry and set it to a string from 0 to 10000 (affects all axes):...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found