This is a test release of my Wii remote plugin. It can read
the roll and pitch accelerometer values from one remote.
You'll need a Wii remote and a Bluetooth adapter. The connecting procedure depends on your adapter. Generally, you need to hold 1+2 on the remote for a couple of seconds and then start searching for BT devices. Hold the power button to turn off your remote afterwards.
It uses the Wiiuse api (http://www.wiiuse.net) so the following things should be possible:
- Support for 1-4 remotes
- Accelerometer support
- Button presses
- IR camera tracking (pointing)
- Nunchuck support: accelerometer and buttons
I included a simple test .cap where you can rotate a box to shove some physics blocks around. You need to connect the remote before starting.
<img src="http://paahdin.com/projects/wiimote/blockrotate.jpg">
The values near 0 (level) are a bit jumpy, but smoothing should be easy to implement in Construct.
Download wiimote.zip