-
Notifications
You must be signed in to change notification settings - Fork 518
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add missing GUIDs for 8BitDo Pro 2 Controller in XInput mode #779
Conversation
c2ec150
to
0cc069a
Compare
The GUID format is wrong. You need to remove the CRC, by zeroing chars 5-8 inclusive so for example The mappings in this PR do not correlate to mappings for the 8BitDo Zero 2. The closest is This is the third of three bad PRs I have closed regarding this. Please do not open another unless you have confirmed what is wrong and tested that your change does in fact correct the problem. If the issue is downstream software, take it up with maintainers of that software. |
Oh, didn't realise that. The change did in fact correct the problem, but I assume this just means that the downstream software is not using the mappings correctly. |
Try removing your changes, test, replace the mapping entry linked above with yours, leaving the original GUID ( |
Can confirm this also resolves the issue Somehow SDL tool gives me a GUID of Gonna report the issue to downstream, sorry for the PR. |
I seem to only be able to actually reproduce any issue when the file contains the following three mappings, all coming from the current db:
This could very well be an issue with SDL, but might be worth asking here before opening an issue there. There seem to be two mappings that are the same GUID, differing only in CRC. It is my understanding from this PR's closing message that this isn't supposed to happen, but maybe it is in certain circumstances? |
Correct, the
This is indeed most likely a downstream issue. If you remove only the first and last mappings does it resolve the issue ? |
Yes, it does. But the downstream software is only setting the SDL hint pointing to the mappings file, so if this is unexpected behaviour the problematic downstream producing it is SDL itself. |
These two are the GUIDs that the 8Bit Do Pro 2 wireless gamepad uses in wireless and wired mode when using XInput. The first one got misidentified as 8Bit Do Zero 2 by some software using the DB, which led me to realise there was some ambiguity which led me to realise this meant the DB didn't contain these specific mappings.