WiimoteConnect 0.6 (support for autoconnect)  (Read 221654 times) Print

1 2 3 ... 6 B

thex  February 16, 2009, 03:33:06 PM

new thread new version.

Works with MS BT-stack and Windows Vista/XP

if you don't have the XP stack follow this tutorial to use it.


- start app on connect
- glove pie starter
- automatic removal from known devices list
- tray icon (startup send to tray now in settings)
- autoconnect on startup
- multiple wiimote detection
- autoconnect to wiimotes
- autokill started programms
- some bugs fixed

- other BT stacks

download it here:


constructive critics welcome



fs  February 16, 2009, 04:00:36 PM

Ouahh ! Felicitation, it seems to work super well (automation in the ignition) As said it "dsgclan", damage for the first message of connection, but it's a great job :-)

EDIT : Configuration: I chose every 2 seconds: super

I was continuiing testing adn of course 2s is too short
For memory : between 12000 and 15000
my configuration doesn't suffer from apps

PS : I am always OK for a translation in French


thex  February 16, 2009, 04:11:06 PM

Nice to hear that it is working :)

2 seconds my be a bit short because the process takes some time but it should work as i placed the discovery processes in different threads. Take a look if the app eats to much memory or so.



Carsten Frigaard  February 17, 2009, 06:06:54 AM

Hi thex,

Any change that you will publish the code under an open source license?

If not, we have a peace of hardware that would finalize the automatic connection...see http://www.wiimoteproject.com/bluetooth-and-connectivity-knowledge-center/wiiscan-version-0-8-trayicon-and-hardware-spec/msg8614/#msg8614. The hardware here is currently in the final test phase, but as the source is open you could easily integrate it you self in you code later...but what I am suggesting is some sort of collaboration.



thex  February 17, 2009, 06:16:37 AM

Hi, I don't know yet if I'll release it as open source.

I read the post you pointed out but I don't get what your "Device" does...
is it for BT connectivity? why properitary hardware if any dongle fits?

Or does it "press" the sync button over an usb io card?

Or what does it??


Carsten Frigaard  February 18, 2009, 03:08:28 AM

Hi thex,

Or does it "press" the sync button over an usb io card?

Well, I was maybe a little unclear in the post, but what the "device" does is to automatically powering the wiimote on (and off). Yes, this will be like "pressing the sync button" using a software function call, so that the last part of the connection sequence can be made fully automatic.

The wiimote in my setup gets power from the computer USB line and currently I support two methods for autopowering on:

  • USB hub mode (turning the entire PC USB hub system off and on!)
  • using a USB io card for external powerswitching.

The first mode is not so nice, in the sense that all devices on the USB gets powered off and on---this includes the BT dongle, and leads to some Windows Plug-and-Play problems. Hence the need for the second solution.

But I guess you know all about the troublesome MS BT stack and the annoying interference from the MS "Plug-and-Play" system?



jbjet777  February 19, 2009, 04:16:31 PM

Great job, any chance of a 64-bit build of this project and a link to download it?  Thanks.


lmb  February 20, 2009, 03:53:43 AM

I can translate it into German


thex  February 20, 2009, 05:57:53 AM

It isn't thought to be translated yet. And by the way I'm from germany myself ;)



realfeeling  February 21, 2009, 03:53:25 AM

Your software is so good to use!
But,i have some problems:
when connecting, what measures can be taken so that i don't necessary to press the wiimote keys 1 and 2,so the software can be automatically connected to the wiimote?
In your software, it have a learn mode,it tell me:when i use this mode,wiimote which are already listest in the bluetooth settings dialog will be learned even if not in discovery mode.
but when i use this mode,i must press wiimote key 1&2 to let wiimote go to discovery mode,if i haven't do this,the software can not connect the wiimote.

Please give me a answer,thanks!


thex  February 23, 2009, 01:44:28 AM

concerning A:
The only other way to put the Wiimote in discovery mode is the red button in the battery tray. You can put a little block there to press it continously. If you then use an external powersource to power the wiimote, the wiimote will enter discoverymode as soon as power is connected.

See: http://www.wiimoteproject.com/wiimote-whiteboard/ceiling-mounting-and-remote-syncing/

concerning B:
I don't really get the problem.

When learning a Wiimote it has to be in discovery mode or it has to be listed in the Bluetooth devices list to get recognized.

Thats how it works, there is no other way except you could enter the Bluetooth MAC address by hand ;)



iceman321  February 23, 2009, 08:52:50 AM


I am having problem with WiiMoteConnect working with WiinRemote.

In WiiMoteConnect -> Settings, I have:
- search for WiiMotes and connect them all
- 10 interval seconds
- start autoconnect on startup
- autokill prog
- connect on startup
- clear wiimote on connect

I press 1&2 on my WiiMote.
Windows Vista says "Your devices are ready to use". Then a window pops up and says "You must restart your computer to apply these changes".

WiiMote Connect says "1 WiiMote/s successfully connected"

But the blue light on the WiMote is still flashing.

And in WiinRemote the title bar says "Error(2) The system cannot find the file spe ..."

By the way, I have managed to connect my WiiMote before using the old way of clicking Bluetooth Devices and adding manually.

If anyone can let me know what I am doing wrong, I am all ears.



dsgclan  February 23, 2009, 09:58:28 AM

hi Thex, I got time this weekend to test your new V0.6, it works nearly perfect! when I have my wiimote learned by the software it connects to PC very fast and it never fails (in the last version occassionally it fails on the first 1 or 2 attemps to connect).

Now I can see only 2 improvements it can use, I believe you already know them and hopefully working on them already?
1) the software does not start with windows:
If I press down 1 and 2 permanently and have you software start with windows and auto-connect, the wiimote can be connected fully automatically.
2) the pop up message to ask user to turn on the sync mode of wiimote.

I have a question, you said "The only other way to put the Wiimote in discovery mode is the red button in the battery tray." and you refered to the post of "cumings" on pressing down the red sync button, but why do we have to press down the red button to enter sync mode for only 15 seconds, while we can press down the 1 and 2 buttons to enter sync mode forever? "cumings said in the post that the problem of pressing down 1 and 2 buttons permanently is they could be picked up by another PC, that's maybe the case for a building with multiple wiimotes installed, but for individual user like me, it is not a problem at all, right?


thex  February 23, 2009, 10:35:31 AM


The autoconnect feature requires to have the Wiimotes learned.

If the LEDs on your wiimote keep flashing after 20 seconds your Wiimote is definitely connected. I would recomend not to test with the WiinRemote software, you better use the tool provided with the WiimoteLib (see it attached).


I will add the "autostart with windows" option, it's not a big thing. I don't know why you want that message go away as it is helpfull if you only got that 20 seconds to sync. Maybe I'll add an option to disable it.



iceman321  February 23, 2009, 08:22:07 PM

Hi Thex,

I installed BlueSoleil 3.xx, but it didn't work. So I uninstalled it.

In my frustration last night, I installed the WidComm bluetooth drivers using MSI StarKey. I got the WiiMote to connect by using the bluetooth setup wizard as described in http://www.wiili.org/index.php/How_To:_Widcomm

If I want to use WiiMoteConnect 0.6 should I uninstall the WidComm driver and hope that the Windows Vista bluetooth driver gets reinstalled. Then I can use WiiMoteConnect 0.6 again?

I remember before that when I used WiiMoteConnect 0.6 previously it said "4 WiiMote/s connected" but I only had 1 WiiMote on sync mode.

Can you let me know if WiinRemote does not work with WiiMoteConnect 0.6 ?