I suppose I'll put this here
I got my bluetooth connector today and the first thing I did with it was hook up my wiimote.
I dabbled in glove pie for awhile and found out that the scripts out there are VERY rough and need immense work-overs or re-writing. They're just too sensitive. The wiimote is, probably, the most sensitive input device I've ever used, it picks up the smallest twitches in your hand, so when making a script you need to keep that in mind if you're allowing motion control.
So, FPS was pretty much out, because I didn't feel like messing with IR stuff (and burning candles under my monitor isn't a very good idea, I need to make a couple IR transmitter circuits ... or slap a couple old remotes down with rocks.)
I went to my next choice, which was Need For Speed. At first, I was only using keyboard mappings, because, that's all that is natively supported in GlovePIE. I had tilting left and right past some value turning. But it was a pain in the ass because it's an on or off thing. What I really wanted was analog control.
For that I had to use another program (which Glove PIE creators made their tool work with very well) PPJoy. It allows you to create virtual joysticks in your computer. As far as the computer is concerned, there really is another joystick hooked up. You can define all the axis you want as well as up to 128 buttons! and some other junk.
So, I set up a pretty default joystick there and started manipulating things in GP. I came up with
this.
I still need to work on making some thresholds for the steering as it's still too sensitive, but it's playable now.
If you're curious what all this means, this is how I'm controlling Need For Speed:
Wiimote, on its side, right handed style.
The D pad takes care of menu navigation. The B button is mapped to Q (since that's the only goddamned button that NFS allows you to exit with: LAME) A is mapped to enter. Button 1 acts as Brake and Reverse, Button 2 is acceleration.
+ is the crew thing, - is nitro and home is escape, which is used as back in the menus. It all works pretty well.
Tilt the controller down left or right to turn left or right, it's analog. Then, tilt the controller towards yourself (pull up on airplane controls style) for the emergency brake.
I wanted to use buttons 1 and 2 for Nitro, which also would give a 50 ms rumble in the wiimote. But, NFS is very picky and would only read in one of the keys ... the remote still rumbled though!
Sadly you can't send audio back to the Wiimote yet.
The only thing I really don't like about glovepie is that you can't make controller profiles. I mean, if you invented a controller you couldn't make it work with the program. It'd be nice if it would allow you to read in and edit hex values. If I could do that, then I could use the classic controller and nunchuck attachment with the program and make all my own function mappings.
Anyway, it's still cool in any case. The program has some functions built in for complex movement too, which is really cool if you can figure out the mathematical representation of a specific motion. This stuff will be supported sometime, I suppose.
Blame it on Microsoft, God does.