Project

General

Profile

Actions

Emulator Issues #5249

closed

Should detect Wii Remotes by string name, not vendor id/product id

Added by adlr almost 13 years ago.

Status:
Fixed
Priority:
Low
Assignee:
% Done:

0%

Operating system:
N/A
Issue type:
Feature request
Milestone:
Regression:
No
Relates to usability:
No
Relates to performance:
No
Easy:
No
Relates to maintainability:
No
Regression start:
Fixed in:

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.


Related issues 1 (0 open1 closed)

Has duplicate Emulator - Emulator Issues #5242: sending wiimote commands on the interrupt channel breaks older nintendo wiimotesDuplicate

Actions
Actions #1

Updated by Anonymous almost 13 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.

Actions #2

Updated by parlane almost 13 years ago

Issue 5242 has been merged into this issue.

Actions #3

Updated by parlane almost 13 years ago

This would be a really good fix to get in asap. :)

Actions #4

Updated by adlr almost 13 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 :)

Actions #5

Updated by Billiard26 almost 12 years ago

  • Status changed from New to Fixed
Actions

Also available in: Atom PDF