wiiuse Forums

Last visit was: Sun Jun 01, 2008 2:15 am It is currently Sun Jun 01, 2008 2:15 am

All times are UTC




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

Joined: Mon Feb 11, 2008 12:03 pm
Posts: 28
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: 28
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: 28
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: 28
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: 196
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: 28
http://ajaxian.com/archives/wii-darts-p ... ontrollers


Top
 Profile  
 
 [ 6 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users 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
You cannot post attachments in this forum

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