Skip to content
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

Nintendo RVL-CNT-01-TR support on Windows #58

Merged
merged 2 commits into from
Jul 30, 2016
Merged

Conversation

mathsomal
Copy link
Contributor

Added Nintendo RVL-CNT-01-TR support for Windows. Only little changes to recognize the new WiiMotes with their product id. Modifications are tested on Windows, everything seems to work well.

mathsomal added 2 commits February 6, 2015 14:43
added product id for Nintendo RVL-CNT-01-TR
Recognize Nintendo RVL-CNT-01-TR devices on Windows
@janoc
Copy link
Collaborator

janoc commented Feb 6, 2015

Hi,

Thanks for the patch, but could you, please, add that line to the Linux & Mac code too?

Even if untested - someone will test it, but it is, IMO, better to have something obviously broken than to have a feature difference like this between platforms without explanation.

@rpavlik
Copy link
Collaborator

rpavlik commented Feb 6, 2015

Oh I am excited about this! Yes, please give it a try on Linux and Mac.

@janoc
Copy link
Collaborator

janoc commented Feb 6, 2015

On Fri, Feb 6, 2015 at 4:43 PM, Ryan Pavlik notifications@github.com
wrote:

Oh I am excited about this! Yes, please give it a try on Linux and Mac.

I can try to compile it, but I don't have the new Wiimote, so that isn't
going to help much.

@mathsomal
Copy link
Contributor Author

I thought Mac support has already been implemented last year:
rpavlik@fdc30d3

Not sure about linux, though.

For those using Windows, also be aware to connect the devices the right way, otherwise it won't work:
https://wiki.dolphin-emu.org/index.php?title=Wii_Remote_Plus_%28RVL-CNT-01-TR%29_Connection_Guide

@qwertychouskie
Copy link

Any chance of getting this merged?

@janoc
Copy link
Collaborator

janoc commented Jul 12, 2016

That code needs update and needs testing. Unless you are willing to step up and test it, then it is not likely to get merged. Neither me nor Ryan have the affected hardware and there is Mac support to test that neither of us has.

@qwertychouskie
Copy link

I just checked and this code is already in master, so this should be closed.

@janoc
Copy link
Collaborator

janoc commented Jul 30, 2016

@qwertychouskie

Are you sure? I have checked and I don't see this in the master. It also needs to be tested for Linux by someone who actually has the -TR type of wiimote.

@qwertychouskie
Copy link

https://github.com/rpavlik/wiiuse/blob/master/src/os_win.c#L118 and https://github.com/rpavlik/wiiuse/blob/master/src/wiiuse_internal.h#L172. Note that it is called WM_PLUS_PRODUCT_ID instead of WM_PRODUCT_ID_TR, is in this PR.

@janoc
Copy link
Collaborator

janoc commented Jul 30, 2016

Hmm, I see. That's rather unfortunate naming, because there there are 3 versions of the Wiimote:

  • original
  • original + Motion Plus
  • new -TR + Motion Plus

Let me see whether I can clean this up

@qwertychouskie
Copy link

Best I know, the original + Motion Plus is read the same as the original.

@janoc
Copy link
Collaborator

janoc commented Jul 30, 2016

Yes, it is. Just the name of that constant is misleading and could be confused.
I have checked the Linux code, that one works the same as the Mac one, only Windows actually uses these constants. So I guess I will merge it and pray.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants