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


Dolphin, the GameCube and Wii emulator - Forums › Dolphin Emulator Discussion and Support › Controllers v
« Previous 1 ... 279 280 281 282 283 ... 321 Next »

I can now permanently pair Wiimote on Windows!
View New Posts | View Today's Posts

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Thread Modes
I can now permanently pair Wiimote on Windows!
01-19-2012, 01:08 PM
#1
CarlKenner Offline
Banned
Posts: 59
Threads: 5
Joined: Jan 2012
Hi everyone.
I worked out how to programatically get the Wiimote to permanently pair on the Toshiba Bluetooth stack (exactly like it does on the Wii itself). So that you just press any button (except SYNC) on the Wiimote and the Wiimote lights flash and the Wiimote automatically seeks out and connects to your PC. You only have to do it once, and then it will work forever, even after you restart your computer or change the Wiimote batteries. It's the same thing that happens when you hold 1+2 on your Wiimote to connect it to a real Wii as a guest, except that the PC will still accept the connection after a reboot (the Wiimote still tries to make a connection to the Wii after a reboot when paired as a guest, but the Wii doesn't answer). You can still connect the Wiimote to a real Wii after doing this, but after you stop using the Wii it will go back to connecting to the PC when you press anything.

This should help a lot with 3rd party Wii Remotes and Wii Remote Plus TR, that are harder to keep connected.

The downsides are: it can connect if you just bump the Wiimote by accident walking past (the B button is a bit sensitive) and unlike the Wii, Windows doesn't know to automatically disconnect the Wiimote after a timeout to stop the battery from going flat. It is permanent and can't be undone (or at least, we don't know how). Connecting your Wiimote to any real Wii by any method is also permanent, but the difference is that your Wii rejects the connections the Wiimote tries to make after a Wii reboot, and your computer never will reject them. Also your computer is switched on a lot more often than your Wii is, even when you don't want to play dolphin, so there are more likely to be unwanted connections.

I did it without signing an NDA or looking at the official Toshiba stack, so I could add it to Dolphin (and developers wouldn't need the real Toshiba SDK).

The other thing I worked out how to do with the Toshiba stack, is get it to connect automatically like it does on the Microsoft stack, when you press 1+2. I can do that with or without activating the above permanent pairing. But it only works when you already have connected the Wiimote at least once before and it is showing up in the "Bluetooth Settings" window.

I'm adding these features to the next version of GlovePIE. Unfortunately, it's a bit hard to test, because permanent things can only be tested once if they work.

I'm not sure the best way to add it to Dolphin. I could make Dolphin behave just like the Wii, or I could make it optional to permanently pair it for people who don't want that. With permanent pairing, we could make Dolphin automatically switch off controllers when not in use, like a real Wii does, or connect from the game's menu or the home menu like a real Wii does.

In case you are wondering, it doesn't matter what the Bluetooth address of your adapter or your Wiimote is, it can have 00s in it and still work.

This only works on the Toshiba stack so far.
Find
Reply
01-28-2012, 05:38 AM
#2
phenom2 Offline
Junior Member
**
Posts: 16
Threads: 3
Joined: Jan 2011
that's great...because i still have big problems with my china wiimote "rvl-cnt-01"...it keeps disconnecting, even with Toshiba stack v8. Dolphin 3.0 373 but I have tried 2.0 and other versions...no luck. I must always hit alt+f5 in the middle of the game more times. I hope this will fix all my (and other) problems!
Find
Reply
03-17-2012, 06:22 AM
#3
philuk2000
Unregistered
 
I just want to say Carl you work on GlovePIE is amazing. I have had numerous problems getting my wiimotes connecting to - it's very intermittent - sometimes they connect, other times they dont - it's a pain but it is good to see your good work continuing!

Reply
03-25-2012, 04:01 AM
#4
achaw Offline
Googler
***
Posts: 172
Threads: 7
Joined: Apr 2010
is there a new for this?
Find
Reply
« Next Oldest | Next Newest »


  • 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