Note that R1, RightTrigger and Cross are the same on a Wiimote.
Any.RightTrigger: The B Button on a Wiimote, the R1 button on a SIXAXIS or regular gamepad, the R button on a Classic Controller, or the right trigger on an XBox360 controller.
Any.LeftTrigger: The Z Button on a Nunchuk, the L1 button on a SIXAXIS or regular gamepad, the L button on a Classic Controller, or the left trigger on an XBox360 controller.
Any.L1: The L1 button on a SIXAXIS or regular gamepad, C Button on a Nunchuk, ZL on a Classic Controller, or left shoulder button on an XBox 360 controller.
Any.L2: The L2 button on a SIXAXIS or regular gamepad, Z Button on a Nunchuk, L on a Classic Controller, or left trigger button on an XBox 360 controller.
Any.R1: The R1 button on a SIXAXIS or regular gamepad, B Button on a Wiimote, ZR on a Classic Controller, or right shoulder button on an XBox 360 controller.
Any.R2: The R2 button on a SIXAXIS or regular gamepad, ZR on a Classic Controller, or right shoulder button on an XBox 360 controller. This is impossible to do on a Wiimote.
Any.LeftThumbButton1: Doesn't exist on Nunchuk, Classic/Sixaxis/Gamepad Select
Any.LeftThumbButton2: Doesn't exist on Nunchuk, Classic Home, Sixaxis/Gamepad L3
Any.LeftThumbButton3: SixAxis Home
Any.Vibration1 and Any.Vibration2 control vibration.
Wiimote (Nintendo Wii Remote)
If your computer has Bluetooth, you can control games with the Nintendo Wii Remote. The Wiimote has accelerometers, buttons, an infra-red camera, LEDs, vibration, a speaker, and storage for Miis. Or you can connect a Nunchuk (with joystick, two buttons, and accelerometers) or Classic Controller (with 9 digital buttons, two analog shoulder buttons, two joysticks and a D-Pad). Every feature is now supported.
You need a Bluetooth adapter. Cheap ones for old Bluetooth versions work fine for me. Different ones come with different Bluetooth drivers called Bluetooth Stacks. Some adapters allow you to install other stacks, some don’t. All Bluetooth stacks are very buggy. But different stacks have different bugs. Most Bluetooth stacks will now work with GlovePIE, but you may need to try the Trouble-Shooter > Bluetooth Fix menu in GlovePIE.
Some Bluetooth devices won’t work on Vista. On Vista I normally use the Microsoft stack. The Microsoft stack needs Bluetooth Fix switched on.
If you have the BlueSoleil Bluetooth Stack, you will be able to connect a Wiimote whenever GlovePIE is loaded, just by pressing the 1+2 buttons on the Wiimote at the same time. The blue B icon will turn green to show that it is connected. Note: BlueSoleil is buggy and unstable, and this feature may cause GlovePIE to stop responding for a while, or may not work sometimes, or sometimes causes BlueSoleil to beep the PC speaker. If this feature causes problems for you, you can disable it by checking the TroubleShooter > No Auto-Bluetooth Connect menu in GlovePIE.
You can show the Bluetooth window by choosing the CP-Settings > Bluetooth menu in GlovePIE.
If you don’t have BlueSoleil, then you will need to connect the Wiimotes manually. You need to start the Bluetooth program, hold down the 1+2 buttons on the Wiimote, tell your Bluetooth program to search for devices, then when it finds a device either tell it to search for services and connect to the HID service, or tell it to connect. There is no PIN (as far as we know) so tell your Bluetooth program to skip the PIN step, or not to use a PIN. Only after it is completely connected, can you release the 1+2 buttons.
You can disconnect a Wiimote at any time, whatever Bluetooth Stack you use, by holding down the Wiimote’s power button. GlovePIE does not have to be running for that.
Normally only connected Wiimotes will show up in GlovePIE. Sometimes unconnected ones will still show up making the connected one Wiimote2, depending on your Wiimote stack.
Using the Wiimote in GlovePIE
You can use the GUI to assign the Wiimote’s actions, or you can use scripting with the “Wiimote” object. The GUI has an automatically detect input feature which will work with the Wiimote or keyboard, or mouse, or joystick, or P5 Glove. The GUI is easy, but it can’t edit or create anything too complex. You should use scripting to make fancier scripts.
GlovePIE supports up to 8 wiimotes (in theory) although only 7 per adapter. Sometimes there will be phantom Wiimotes that show up in GlovePIE but aren’t really there.
In scripts you can access Wiimotes with “Wiimote” followed the number of the Wiimote, followed by a dot, then followed by the Wiimote property you want to use. eg. Wiimote1.Home
If you leave out the number then it will assume you mean Wiimote1.