wiiuse Forums

Last visit was: Sun Dec 14, 2008 12:40 pm It is currently Sun Dec 14, 2008 12:40 pm

All times are UTC




 [ 10 posts ] 
Author Message
 Post subject: WiiuseJ
PostPosted: Mon Mar 10, 2008 11:57 pm 
Offline

Joined: Mon Feb 11, 2008 12:03 pm
Posts: 49
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 :

* The compatibility which is as large as Wiiuse's API compatibility
* Cross-platform : Windows and linux (like Wiiuse)
* Easy to use


Check Website :


Test GUI : nice stuff to test alpha smoothin, virtual resolution ...
Image


Top
 Profile  
 
 Post subject: Re: WiiuseJ
PostPosted: Mon Mar 31, 2008 7:35 pm 
Offline

Joined: Mon Feb 11, 2008 12:03 pm
Posts: 49
I updated to version 0.11. The main feature added is the linux version !!


Top
 Profile  
 
 Post subject: Re: WiiuseJ
PostPosted: Tue Apr 22, 2008 2:05 pm 
Offline

Joined: Mon Feb 11, 2008 12:03 pm
Posts: 49
hi para,



for my project i would like to know if there are some parts of wiiusej taht are thread safe.
From what i've seen in the forum i understand that polling is not thread safe and must be used onlyby one thread at a time. But my question is more about the requests we do through wiiuse, like activate rumble, activate smoothing, set leds, ...
Are those functions thread safe. I assume it is not the case in wiiusej (which is why i have no troubles), but i'd like to simplify or improve my code.
I assume sending a request with a certain value trhough a thread and sending the same request with another value might lead to some troubles.
So more precisely do i have to protect against multithreaded access for each type of request, or for all the requests (if two differents requests with different threads can lead to some values being overridden) or protect the access to the whole wiiuse api (if polling and sending requests in the same time with different threads could lead to some troubles).

so could you clarify all these issues.

As i said right now i have no trouble because i made wiiusej so that only one thread access to wiiuse.(my thread send requests and do polling and distribute events to listeners). Now i want to remove requests sending from this thread so i need some info to make the better choice ...


Top
 Profile  
 
 Post subject: Re: WiiuseJ
PostPosted: Wed Apr 23, 2008 8:38 am 
Offline

Joined: Mon Feb 11, 2008 12:03 pm
Posts: 49
up


Top
 Profile  
 
 Post subject: Re: WiiuseJ
PostPosted: Wed Apr 23, 2008 12:49 pm 
Offline
Developer
User avatar

Joined: Sat Feb 03, 2007 12:11 am
Posts: 238
guiguito wrote:
for my project i would like to know if there are some parts of wiiusej taht are thread safe.

Send me an email.

_________________
Image


Top
 Profile  
 
 Post subject: Re: WiiuseJ
PostPosted: Fri May 09, 2008 1:45 pm 
Offline

Joined: Mon Feb 11, 2008 12:03 pm
Posts: 49
http://ajaxian.com/archives/wii-darts-p ... ontrollers


Top
 Profile  
 
 Post subject: Re: WiiuseJ
PostPosted: Sun Jun 01, 2008 5:08 pm 
Offline

Joined: Mon Feb 11, 2008 12:03 pm
Posts: 49
WiiuseJ 0.12 is out . Added nunchuk support. Based now on wiiuse 0.12 and plenty of other improvements !!!


Top
 Profile  
 
 Post subject: Re: WiiuseJ
PostPosted: Wed Jun 25, 2008 6:58 pm 
Offline

Joined: Mon Feb 11, 2008 12:03 pm
Posts: 49
hello all,



I'm looking for people to test wiiusej with a classic controller. Could someone test it ?

see:


thx in advance for any help :D:D


Top
 Profile  
 
 Post subject: Re: WiiuseJ
PostPosted: Wed Jul 30, 2008 8:41 pm 
Offline

Joined: Mon Feb 11, 2008 12:03 pm
Posts: 49
The new version of wiiusej has been released : 0.12a. It adds the support of the guitar hero3 controller and the classic controller. Check it out :




Top
 Profile  
 
 Post subject: Re: WiiuseJ
PostPosted: Wed Aug 20, 2008 10:34 pm 
Offline

Joined: Wed Aug 20, 2008 10:24 pm
Posts: 5
I'm trying to use wiiusej, but I can't, when I put java -jar wiiusej, this probblems appear:

java -jar wiiusej.jar
Exception in thread "main" java.lang.NoClassDefFoundError: java.util.concurrent.Semaphore
at wiiusej.WiiUseApiManager.(WiiUseApiManager.java:39)
at wiiusej.WiiUseApiManager.(WiiUseApiManager.java:35)
at java.lang.Class.initializeClass(libgcj.so.70)
at wiiusej.test.Main.main(Main.java:34)

Please, help!

this is my mail:


Top
 Profile  
 
 [ 10 posts ] 

All times are UTC


Who is online

Users browsing this forum: Alexa [Bot] and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group