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.
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.