flosk8
unread,Aug 25, 2008, 2:46:49 PM8/25/08Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to WiiuseJ users
Hi,
I tryed the following
I have 2 wiiremotes and I do:
Wiimote[] wiiremotes = WiiUseApiManager.getWiimotes(6, true,
WiiUseApiManager.WIIUSE_STACK_UNKNOWN);
-> both are connected now.
then i want find new ones (there are no new ones);
WiiUseApiManager.shutdown();
Wiimote[] wiiremotes = WiiUseApiManager.getWiimotes(6, true,
WiiUseApiManager.WIIUSE_STACK_UNKNOWN);
->Error:
java.lang.NullPointerException
at wiiusej.WiiUseApiManager.closeConnection(WiiUseApiManager.java:
214)
at wiiusej.Wiimote.disconnect(Wiimote.java:77)
at wiiusej.WiiUseApiManager.shutdown(WiiUseApiManager.java:251)
...
...
With one Wiiremote it works fine. Did you know this problem? Is there
a workaround ore anything to soleve the problem?
thx