Emulator Issues #5249
closedShould detect Wii Remotes by string name, not vendor id/product id
0%
Description
From IRC:
21:47 <@shuffle2> adlr: using vid/pid for wiimotes is wrong
21:47 < adlr> what do you mean by vid/pid?
21:48 <@shuffle2> just check for string starting with RVL-CNT-01 or Nintendo
RVL-WBC-01
21:48 <@shuffle2> vendor id / product id
I will make the change on Mac and Linux. Someone else will need to tackle it on Windows.
Updated by Anonymous over 12 years ago
static wchar_t const device_names[2][20] = {
{ L"Nintendo RVL-CNT-01" }, // wiimote
{ L"Nintendo RVL-WBC-01" } // balance board
};
The actual strings would be something like this, and would be used in std::equal() comparison with a constant length against the string from the device being determined to be a compatible device or not.
Updated by parlane over 12 years ago
Issue 5242 has been merged into this issue.
Updated by parlane over 12 years ago
This would be a really good fix to get in asap. :)
Updated by adlr over 12 years ago
You can take a look at a preview here. http://code.google.com/r/adlr-mplus/source/list?name=macbuild_wiimotefix2
It's not working on Linux, and I haven't had time to dig into why not. Assistance appreciated :)