Thursday, July 29, 2010

WiiMote demonstration video with mame4iphone

By ZodTTD
Yesterday I did my daily scan of Twitter and noticed an interesting question sent to at me. The person, TehMillhouse, asked if I could support the BTstack project.
Don’t know what the hell a BTstack project is? It basically implements a whole lot more of the Bluetooth stack than previously allowed by Apple. This is no easy task, so I was surprised to see a video of the author of BTstack already showing it off on YouTube by controlling an application wirelessly…with a WiiMote!
The author of BTstack and I spoke and I ran out to buy a WiiMote today. Moments later I had success! I was playing mame4iphone on my iPhone 3gs with a WiiMote. No wires! Here’s what it looked like:


So needless to say, I really want to get a PS3 controller next and implement that. ;)
While I could use accelerometer data from the WiiMote, I chose to use button input. It fits emulators a lot better, and that is where the PS3 controller wins out. But using the WiiMote’s tiny dpad and oddly placed buttons is still much nicer than overlay touch controls. This should at least hold you over until the upcoming iControlPad release.
Once I refine this code a bit more, I will make some public releases of my work with WiiMote support included.
Thanks!
ZodTTD

No comments:

Post a Comment