This is likely to interest a very tiny subset of readers here, but since we’re talking Wii, worth bringing up: the free WiiRemoteJ Java library is now ready for prime-time. It allows you to access Wii remotes directly, via Bluetooth, in your Java app. If I can find a use for it, I will also try to set it up for use as a Processing library.

WiiRemoteJ at the uber-helpful WiiLi.org Wiki (which, while it has Linux in the name, is really for all platforms)
See also the forum post

That’s the good news; the bad news would appear to be that so far it’s Linux-only, as it relies on the Aventana Bluetooth implementation (Bluetooth is platform-specific). But it should be possible to port to other platforms, so stay tuned; in the meantime, Aventana looks nice. (There’s both an open source and commercial version of it; I think both work.)

Java coders, please feel free to sound off. If there are enough of us, I’ll put together a little area of the upcoming, soon-to-be-relaunched CDM community site, and maybe we can share code creations with the other CDMers.

  • http://amoebafunk.com psylens

    cool – i'd love to see this develop a bit more – especially with with respect to the bluetooth libraries – hopefully someone can make a cross-platform bluetooth library.

  • http://www.createdigitalmusic.com Peter Kirn

    It would be nice, indeed! Not sure how feasible it is, though. I should have said that Bluetooth is platform-specific on Java desktop platforms. J2ME/phones do support Bluetooth without platform issues.

    http://developers.sun.com/mobility/apis/articles/

    Interestingly, there is a Python BT library, but I don't know what would be needed to do this with J2SE.
    http://lightblue.sourceforge.net/

    I think you'd just need to hook into different Bluetooth libraries on different platforms. That's definitely possible…

  • http://www.diegomaranan.com Diego Maranan

    Very cool. I've been thinking about a Wiimote and Processing project. Any updates on this?