From eb72910bb19685e74910dbf0c7d1199a656d784d Mon Sep 17 00:00:00 2001 From: "guilhem.duche" Date: Mon, 31 Mar 2008 19:24:31 +0000 Subject: [PATCH] Edited wiki page through web user interface. git-svn-id: http://wiiusej.googlecode.com/svn/wiki@115 ae48ae66-6a45-0410-b38e-211266189506 --- Documentation.wiki | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Documentation.wiki b/Documentation.wiki index 7324094..b53aaf1 100644 --- a/Documentation.wiki +++ b/Documentation.wiki @@ -48,7 +48,7 @@ Next you can make a main. Like this : {{{ public static void main(String[] args) { - Wiimote[] wiimotes = WiiUseApiManager.getWiimotes(1); + Wiimote[] wiimotes = WiiUseApiManager.getWiimotes(1, true); Wiimote wiimote = wiimotes[0]; wiimote.activateIRTRacking(); wiimote.activateMotionSensing(); @@ -57,7 +57,7 @@ Next you can make a main. Like this : }}} -Here you ask to try to connect to 1 wiimote. You can ask for more if more are connected. It returns you an array with the connected wiimote. Then you can manipulate each wiimote and activate IR tracking, motion tracking and set up other parameters if you want... Check javadoc for more details. +Here you ask to try to connect to 1 wiimote (and make it rumble, the first time you call this method). You can ask for more if more are connected. It returns you an array with the connected wiimote. Then you can manipulate each wiimote and activate IR tracking, motion tracking and set up other parameters if you want... Check javadoc for more details. {{{