Edited wiki page through web user interface.
git-svn-id: http://wiiusej.googlecode.com/svn/wiki@89 ae48ae66-6a45-0410-b38e-211266189506
This commit is contained in:
@@ -1,12 +1,25 @@
|
|||||||
#summary One-sentence summary of this page.
|
#User documentation
|
||||||
|
|
||||||
= Introduction =
|
|
||||||
WiiuseJ documentation
|
To be updated very soon !!!!
|
||||||
|
|
||||||
|
Quick doc :
|
||||||
|
|
||||||
|
|
||||||
|
1) import wiiusej.jar in your java project.
|
||||||
|
|
||||||
|
2) put the 2 dlls files libWiiUseJ.dll and wiiuse.dll at the root of your project.
|
||||||
|
Connect your wiimote to your bluetooth stack.
|
||||||
|
|
||||||
|
3) In your code : Wiimote[] wiimotes = WiiUseApiManager.getWiimotes(X);//x is the number of wiimotes to connect.
|
||||||
|
|
||||||
|
4) Make a class (MyListener) implementing the WiimoteListener interface.
|
||||||
|
|
||||||
|
5) wiimote[0].addWiiMoteEventListeners(new MyListener());//register my class as a listener of the first wiimote.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
===> MyListener will receive events from the wiimotes is registered on.
|
||||||
|
|
||||||
|
|
||||||
= Details =
|
|
||||||
|
|
||||||
Add your content here. Format your content with:
|
|
||||||
* Text in *bold* or _italic_
|
|
||||||
* Headings, paragraphs, and lists
|
|
||||||
* Automatic links to other wiki pages
|
|
||||||
Reference in New Issue
Block a user