WiiFlash: Wiimote in Flash on a PC

Last saturday I was driving to Concorde to get some Macaron. Unfortunately there were so many tourists (har!) that it was impossible to get this nice little pieces from heaven. I wanted to get them because I was meeting Thibault. He showed me a Wiimote and had a lot of crazy stuff in his mind. So we decided to do some crazy stuff with Wiimotes and Flash.

Finlly I found a shop in Paris to buy me a bluetooth dongle and a Wiimote. This is the result of a sleeples night. The technique is quiet simple. We found a C++ API for the Wiimote and made a socket server out of this. This little server is broadcasting every 8ms the status of the Wiimote. Then there is also some Code in Flash 9 that parses theese packages and the outcome is a very easy to use little package of classes. There is currently access to all the buttons and the xyz coordinates of the Wiimote. It is also possible to control the rumble function and to set the leds.

Expect some sources and examples in the next weeks. We just have to think about what we can do with this :o) If you want to support our work you may donate some Macarons.

9 Comments

  1. Posted Feb 1, 2007 at 6:32 pm | Permalink

    You rock! Awesome idea, keep goin’!

  2. Posted Feb 1, 2007 at 10:34 pm | Permalink

    I was hoping someone was going to figure this out… I guess it was only a matter of time… and really glad that it was you guys. Looking forward to seeing how it progresses. Thanks.

  3. Posted Feb 2, 2007 at 9:27 pm | Permalink

    Great,
    im going to build a wrapper too!
    Then we’ll see who can create the most useless Wii-mote flash invention yet!

    Great work guys looks awesome.
    mcm

  4. Posted Feb 9, 2007 at 4:35 pm | Permalink

    Thats awsome dude… rock on! :)

  5. Posted Feb 16, 2007 at 7:26 am | Permalink

    what a dramatic video. This is already doable pretty easy but maybe a bit ugly when you dream about OOP at night or something … just take GlovePIE, Flosc and get the WiiData via OSC. Works fast and fancy. What exactly is the difference of your approach and where is this C Lib?

  6. Posted Feb 16, 2007 at 1:34 pm | Permalink

    The link to the library is at the end of this post. But I would not recommend to use it any longer since it misses a lot of features (its good for multiple wiimotes, but you have to write your own functions to read the memory and stuff like that).

    If you want to go the GlovePIE and Flosc way you may check out http://www.fwiidom.org/

  7. Posted Feb 17, 2007 at 2:15 am | Permalink

    I already had that Wii via OSC working quite a while, its just really annoying and also not very elegant to do it that way I think. So from what I get you directly send the Wii data into an XML Socket which means you only need one programm to do the connection right? If so, would be great to see that … good work.

  8. Posted Feb 17, 2007 at 5:44 am | Permalink

    Yes that is nealry it. It is not an XMLSocket but simple Socket. You can just push the data direct. So in C i have something like package.writeByte(a.pressed()); and in Flash I just do a.pressed = data.readByte();

    It is very nice because you loose a lot of overhead.

  9. Posted Apr 18, 2007 at 10:13 am | Permalink

    Thank You

2 Trackbacks

  1. [...] is demonstrated in this video. The video is the work of Joa Ebert and details can be found on his blog. A newer video shows the manipulation of Papervision3D with the [...]

  2. By David Steele Overholt | Research: Testing Kit on Sep 18, 2008 at 5:54 pm

    [...] + Flash http://blog.joa-ebert.com/2007/02/01/wiimote-in-flash/ http://screenfashion.org/2007/09/motedaemon_05b_released.html [...]

Post a Comment

Your email is never shared. Required fields are marked *

*
*