What's new? | Help | Directory | Sign in
Google
wiiusej
Java API for Wiimotes
  
  
  
  
    
Join project
Project owners:
  guilhem.duche

WiiuseJ


News:

13/05/08: Here is a great news. WiiuseJ has been used for a demonstration at the javaone. More details here: http://ajaxian.com/archives/wii-darts-powering-ajax-applications-with-wii-controllers. Concerning the new version, i've been working on it for a while now. I faced some problems with synchronization, that i finally bypassed. I got a working version, but i still have more tests to do and the GUI to update. For what i can tell you so far, the API has been cleaned and updated with latest enhancements of wiiuse and the major improvement for this release will be the nunchuk support !!! Stay tuned for the new release within the next two weeks !

21/03/08: Here is the new version of WiiuseJ: v0.11. It is now compatible with linux thanks to plyd who compiled it. Another user asked me to change the api so that you can choose wether or not you make the wiimotes rumble the first time you connect to it.

14/03/08: I did a small documentation to make a small sample program we WiiuseJ. This sample program is downloadable, as a netbeans project, in the download section. Please let me know if you want more documentation or if you have any questions or features requests. You can reach me through the discussion group.

10/03/08: First release of WiiuseJ API. WiiuseJ 0.1. Currently only the windows version exists. The linux version will come soon (normally i just need to compile a C file under linux). Please leave some feedbacks on the user discussion group and help us to track bugs.

Presentation:

WiiuseJ is a java API to use wiimotes on your computer. This API is built on top of an excellent API called Wiiuse using JNI.

WiiuseJ intents to be a very simple, easy to use and lightweight java API for wiimotes.

Some of the great aspects of this API are :

Features:

You can use all almost all features of the Wiiuse C api for the Wiimote (not the expansions). Main features are :

Other Java API for wiimotes:

Other java APIs for wiiimotes already exist : WiiremoteJ, motej and Wiimote simple. Those are full java APIs using jsr-082 specifications and compatibility is often not as good as this api.

Screenshot:

Here is the test GUI launched:

This GUI permits you to test all the functionalities provided by WiiuseJ for each wiimote.

Requirements:

All you need is a bluetooth receiver and a wiimote.

Next you need java 1.6 (WiiuseJ was made using java 1.6, but no 1.6 functionalities are used so older versions of java might work).

Windows version has been tested with bluesoleil 2.3 stack. Wiiuse is supposed to work with almost every windows stack. Please let us some feedbacks in the discussion group to indicate which stack does work.

Linux version has not been made yet but it will come very soon.

Disclaimer:

This API was made to have a simple working java API to use wiimotes. I had problems when i tried to use WiiremoteJ with my windows + bluesoleil laptop. Now i have everything i need to have some fun using a wiimote. Consequently i'm not planning to implement a lot more features unless some people ask for it or people implement it themselves(this is an open source project!!!). For example i don't currently manage wiimote expansions even if wiiuse api permits it.