new version for linux and now you can choose if you want to make the wiimotes rumble on connections.

git-svn-id: http://wiiusej.googlecode.com/svn/trunk@111 ae48ae66-6a45-0410-b38e-211266189506
This commit is contained in:
guilhem.duche
2008-03-30 17:57:28 +00:00
parent 3223e90f40
commit 49135d88f7
5 changed files with 171 additions and 112 deletions

View File

@@ -339,7 +339,7 @@ public class Tests implements WiimoteListener {
* @param args
*/
public static void main(String[] args) {
Wiimote[] wiimotes = WiiUseApiManager.getWiimotes(4);
Wiimote[] wiimotes = WiiUseApiManager.getWiimotes(4, true);
if (wiimotes.length > 0) {
System.out.println(wiimotes[0]);
Tests tests = new Tests(wiimotes[0]);