• Login
  • Register
  • Dolphin Forums
  • Home
  • FAQ
  • Download
  • Wiki
  • Code


Dolphin, the GameCube and Wii emulator - Forums › Dolphin Emulator Discussion and Support › Development Discussion v
« Previous 1 ... 30 31 32 33 34 ... 116 Next »

"-TR" Wiimotes + Windows 10
View New Posts | View Today's Posts

Pages (4): 1 2 3 4 Next »
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Thread Modes
"-TR" Wiimotes + Windows 10
11-08-2015, 09:08 AM
#1
JulianLoehr Offline
Junior Member
**
Posts: 49
Threads: 1
Joined: Nov 2015
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
Creator of HID Wiimote: A Windows Device Driver for the Wii Remote
Website Find
Reply
11-08-2015, 05:01 PM
#2
Mickequipe Offline
Member
***
Posts: 69
Threads: 0
Joined: Jun 2014
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
Win 10 Pro x64 - I7 4770k 4.3GHz -  GTX580 3GB - 16GB 2133 Gskill
Find
Reply
11-08-2015, 07:11 PM (This post was last modified: 11-08-2015, 07:11 PM by degasus.)
#3
degasus Offline
Developer
**********
Developers (Some Administrators and Super Moderators)
Posts: 1,827
Threads: 10
Joined: May 2012
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.
Find
Reply
11-08-2015, 10:13 PM
#4
JulianLoehr Offline
Junior Member
**
Posts: 49
Threads: 1
Joined: Nov 2015
@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.
Creator of HID Wiimote: A Windows Device Driver for the Wii Remote
Website Find
Reply
11-18-2015, 09:08 AM
#5
Mickequipe Offline
Member
***
Posts: 69
Threads: 0
Joined: Jun 2014
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
Win 10 Pro x64 - I7 4770k 4.3GHz -  GTX580 3GB - 16GB 2133 Gskill
Find
Reply
11-18-2015, 09:51 AM
#6
JMC47 Offline
Content Producer
*******
Content Creators (Moderators)
Posts: 6,542
Threads: 29
Joined: Feb 2013
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.
Find
Reply
11-19-2015, 03:20 AM
#7
JulianLoehr Offline
Junior Member
**
Posts: 49
Threads: 1
Joined: Nov 2015
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 )
Creator of HID Wiimote: A Windows Device Driver for the Wii Remote
Website Find
Reply
11-19-2015, 02:57 PM
#8
The_Master_E Offline
hcs is cool
***
Posts: 104
Threads: 4
Joined: Jan 2015
I too am lurking this PR.

Can't wait to use my Pro Controller!
Windows 7 x64 (SP1)
nVidia GeForce GTX 760 (Gigabyte GV-N760OC-2GD REV2.0) 2GB GDDR5 @ 1100 MHz (6020 MHz memory)
Intel Core i7-4770 @ 3.90GHz
8GB G.Skill Sniper Low Voltage edition, Dual Channel @ 1600MHz 9-9-9-24
Find
Reply
11-22-2015, 06:42 PM
#9
degasus Offline
Developer
**********
Developers (Some Administrators and Super Moderators)
Posts: 1,827
Threads: 10
Joined: May 2012
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 ?
Find
Reply
11-29-2015, 05:31 AM
#10
JulianLoehr Offline
Junior Member
**
Posts: 49
Threads: 1
Joined: Nov 2015
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.
Creator of HID Wiimote: A Windows Device Driver for the Wii Remote
Website Find
Reply
« Next Oldest | Next Newest »
Pages (4): 1 2 3 4 Next »


  • View a Printable Version
  • Subscribe to this thread
Forum Jump:


Users browsing this thread: 1 Guest(s)



Powered By MyBB | Theme by Fragma

Linear Mode
Threaded Mode