diff --git a/QuickUserGuide.wiki b/QuickUserGuide.wiki new file mode 100644 index 0000000..28ff607 --- /dev/null +++ b/QuickUserGuide.wiki @@ -0,0 +1,21 @@ +#labels Featured,Phase-Deploy,wiiusej +#Quick user guide. + +=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. + +}}} \ No newline at end of file