Dolphin, the GameCube and Wii emulator - Forums

Full Version: "-TR" Wiimotes + Windows 10
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3 4
Hi,

i was messing around with the Windows HID API on Windows 10 and some Wii Remotes.
I figured that the MS Bluetooth Stack was working fine with the HID API and the newer Wii Remotes, as well as the Wii U Pro Controller.

Here is the Link to my little test program on Github: https://github.com/jloehr/Wiimote-HIDAPI

I've tested it on my Laptop (Windows 10 Pro 64Bit, all updates installed) with two different Bluetooth Adapters.
One is a Build-In and the other is a USB Dongle (However both are CSR Chips with VID0A12 & PID0001, but different Revisions).
The only important thing is, that one needs to start the paring process through the Red Sync Button on the Back of the Wii Remotes.

I'm asking whether you are aware of this, and if not, if others can confirm that it is also working for them with different Dongles.
If that is working throughout all Dongles and all Windows 10 installations, that means users won't need the Toshiba Bluetooth Stack Hack to get the newer Wii Remotes working on Windows.

I also already cloned the current master branch and jumped into the RealWiimote Code. Currently Dolphin freezes when a "-TR"-Wiiremote is connected and "Refresh" is hit. The reason is, that the "Balance-Board Filter" is not properly working for those.

I would like to fix that and propose a Pull Request later on. But only if you can confirm that and changes on the Real Wiimotes Windows Code is desired.

Best Regards,
Julian
This would be a major blessing if you can get the newer Wii remotes and pro controllers working with the native windows stack. There have been others that have tried and progress has very slow.

Is there anything normal users can do to assist you?

Once again, this would be a huge help if you can get a seamless connection working natively with Dolphin and the Microsoft stack. Smile
Our real wiimote code is quite a mess, and it seems like nobody does know why it's done as it is. I guess there is a good chance to also use L2CAP (as we do on unix) on windows, so peering won't be needed at all. And our internal interface is really bad, eg the WiimoteScanner is a global class instead of virtualized. So there is no chance to implement different APIs :/

If you're looking for feedback of other developers, I suggest to also ask on our IRC channel: #dolphin-dev on freenode.
@Mickequipe:
Normal Users can simple check it theirself, whether the MS Stack is working or not.

I've uploaded 32Bit and 64Bit Build of my tool.

It is a command line programm and should look like this:

[Image: 8ANahel.png]

At the beginning it simply searches for Wii Remotes by their VID & PID (only the Nintendo ones); prints its file descriptor, VID & PID and the Product String.
For each Wii Remote the LEDs are set and the Report Mode is set to 0x30. Then it starts a Continuous Reader Thread, that prints incoming Reports.

@degasus:
Yeah, that code isn't really nice, i would in another step clean it up and refactor it.

I also looked at the Windows Bluetooth API, i will try to get it working. But i don't know whether the HID Stack will interfere with it. Additionally it seems like the Windows Bluetooth API only supports RFCOMM as protocol.
G'day mate, has thee been anymore progress on this bugfix?

I've been following the PR at; https://github.com/dolphin-emu/dolphin/pull/3245

It would be awesome if you could kick a goal on this one, I'm excited Smile
As far as I can tell, it doesn't work in Windows 7 for me on Dolphin currently. I tested it on a Windows 10 box, and it worked well.
I had a deadline today, so i had to pause working on that PR, but i am continuing now.

Current state is, that my tool works on all Systems (7, 8.1, 10). The PR works on Windows 10 but not on Windows 7.
So need to figure out whats wrong with the Dolphin Code Base on Windows 7 (Unfortunately there is very much wrong, but i need to find the right "wrong" Tongue )
I too am lurking this PR.

Can't wait to use my Pro Controller!
By the way, as you're likely the one with the biggest wiimote knowledge: Do you have an opinion on https://github.com/dolphin-emu/dolphin/pull/3230/files ?
Ok, bad News:
I somehow managed to semi-brick two of my controllers and i won't have a Wii/Wii U around for unbricking until mid January.
I still have one working Wiimote but that is a non-TR one.

If anyone has any tips on how to unbrick a Wiimote or Wii U Pro Controller without a Wii/Wii U, i would really appreciate those.
Pages: 1 2 3 4