SO
What makes this library better than other Game Maker Wii libraries?
It doesn't require .Net - It's probably faster - And it's tiny compared to the other guys
R3 is untested. I need people to help test this.
INFO
GMK included with accelerometer example and led stuff
C++ source included
REQUIREMENTS
R3:
You'll need to connect your Wii Remote to your PC somehow. There are no other requirements, asides from Windows only.
R2 & R1:
If your OS is below Windows XP SP2, you'll need to install a C++ run-time library. If you need really to download that, that's sad.
You'll also need to connect your Wii Remote to your PC somehow.
DOWNLOAD
R3 Box.net - 86.1 KB - GMK Sample Project + GML code
R3 Box.net - 138 KB - C++ Source + GMK + GML
R2 Box.net - ~200 KB
R1 Box.net - ~200 KB
To compile, you'll need the DDK or something similar. Instructions on how to compile are in WiiYourself!'s source code download.
CHANGES
R3
- Added multiple Wii remote support
- Upgraded to WiiYourself! 1.15 from WiiYourself! 1.01
- Allowed for change of rumble time on SetRumbleOnConnect
R2
- Added two rumble functions that should have been there
- Prepared source to add sound support
- Decreased size from 120 KB to 27 KB
BUGS
R3
R3 is untested. I have no Wii remote to test it on, but I get no memory allocation errors, so I assume everything is going smoothly. I need people to help test this.
R1 & R2
Dunno. I use something different than all the other stuff AND I made this in a day, so I have no idea.
If you're far away, the update function will return that you're losing connection every other step. The less the battery, the more this happens.
If you connect and the lights are still blinking, you'll need to disconnect the device first by the method of this DLL or like. To do that, just run the example.
I'm guessing that people are going to have problems with this. I have problems too. I'll see if I can work them out, but this is my first DLL, so I doubt it.
CREDITS
gl.tter's WiiYourself! C++ Wiimote control
MORE TO COME
Only if people want it. I'll definitely be updating this with sound support, but beyond that? Nah, I included the damn source. Use it.
I only update this because people ask. I'm a nice person. Who the hell do you think I am?!
Edited by Skarik, 24 December 2010 - 07:25 PM.