Google Adsense

 

Great news! After many days of investigating Toshiba’s Bluetooth stack, and possibly injuring my feet while doing it (long story), I can now permanently pair* Wiimotes on Windows, using the Toshiba Bluetooth Stack! That means, from then on, the Wii Remote will instantly and automatically connect to Windows whenever you press any button on the Wii Remote (except the SYNC button), even after restarting the computer or changing the Wii Remote batteries! Just like it does on the Wii (except that the lights keep flashing instead of changing to show the Wiimote number). And it will PROBABLY even work on the new Wii Remote Plus TR remotes! You can even connect your Wiimote to your Wii like normal, and then after you disconnect it from the Wii it will go back to connecting to your computer automatically.

The only downsides are that Windows itself won’t automatically disconnect and switch the Wii Remote off when you don’t use it for a time period. So if you just bump your Wii Remote walking past without noticing, and your computer is still on, your Wiimote batteries will go flat. And we don’t know how to fully UNDO this. We can probably undo it on the computer end, but the Wiimote will always try to contact your computer whenever you press a button (at least until you connect your Wiimote to 3 different Wiis). And of course you need the Toshiba Bluetooth stack, because it won’t work on the others.

On the other hand, GlovePIE will now be able to confidently switch your Wiimote completely off while you are not running a script, or maybe even while you ARE running a script but haven’t pressed anything for a time, saving your battery life. That’s instead of just switching off the sound, rumble, leds, IR camera, continuous reporting, and accelerometer and nunchuk reporting like it does now when you stop a script.

But the BEST part is… I didn’t sign any NDA with Toshiba, and have never seen their real SDK, so I can tell everyone exactly how to do it without signing anything, and I can add the feature to open source programs such as Dolphin (and of course to GlovePIE)!

So give me a few days to perfect the technique, and to get the other new features working, and then the new GlovePIE version will have this awesome new feature!

And in case you were wondering, it doesn’t matter what your Bluetooth address is, or what your Wii Remote’s Bluetooth address is, it will still work.

* I don’t know if “pair” is the correct term. It still doesn’t show up in the “Paired Devices” list, (unlike my girlfriend’s phone which didn’t actually pair correctly when I tried to transfer music to it, but nonetheless is listed in “Paired Devices” but not the main window).

And don’t forget, you can donate with this button to support cool features like this (that took a lot of hacking):


When donating, please include a message with any feature requests or which features you enjoyed. I make no promises to implement those features of course, but it's good to know what people want.

  5 Responses to “Permanently pair Wiimote on Windows!”

  1. Thank you for your hard work :) I really hope to see that feature in future, but remember that you don’t have to hurry with implementing new features when your not getting “real” money out of this.

    I’ll donate you as soon as i get more money!

    Btw. Is there a feature to use cmd commands via Glovepie? I have tried to find answer to that with google, but without luck… I would be awesome if you could response :)

  2. The GlovePIE command is Execute(“blah.exe”, “/parameter /p2″)

  3. “I would be awesome if you could response :)

    Thanks to my typo i’m now awesome, but thanks a lot Carl for your help!

  4. I have two quick questions for you…
    1. Will this feature become available even to those without a Toshiba bluetooth stack?
    2. Any chance I could get a release date?
    Thanks!

  5. 1. Not yet, and it probably never will since it requires a Bluetooth API that allows you to pass the PIN as a string that potentially includes NULL characters in the middle. Most API functions use NULL terminated strings. Toshiba uses a pointer and a length. It will probably be possible to pair some newer Wii Remotes on other stacks, but only if there is no 00 in their Bluetooth address. It may be possible to pair a Wii Remote that does have 00 in its Bluetooth Address on a non-Toshiba stack using a slightly different method, but only if the Bluetooth Stack doesn’t have 00 in its Bluetooth address.
    2. No. The permanent pairing is working now. But I still need to add automatic connection of unpaired Wii Remotes with Toshiba, add some more Kinect values, make sure it can fully remotely control a real Xbox 360, make sure my Project64 plugin is working, finish up my sample scripts, document everything, and publish it.

 Leave a Reply

(required)

(required)

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

 
© 2011 Carl Kenner's Blog Suffusion theme by Sayontan Sinha