WiiLi Wiki frontpage Include your post in the News Get links Hoteles Quito
WiiLi.org Forum Index WiiLi.org
a new revolution
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

very bizarre disconnect bug and even more bizarre fix

 
Post new topic   Reply to topic    WiiLi.org Forum Index -> WiiremoteJ
View previous topic :: View next topic  
Author Message
morgan



Joined: 26 Mar 2008
Posts: 4

Digg It
PostPosted: Sat Mar 29, 2008 6:36 pm    Post subject: very bizarre disconnect bug and even more bizarre fix

Hello,

I've been having a really tough time with an apparent XP-only bug in the application I'm working on. The bug is seen as follows:

1. connect one wiimote
2. connect a second wiimote
3. disconnect one of the wiimotes

The remaining wiimote (the still connected one) stops sending data.

The way we've found to fix this bug is as follows:

Override (implement) the disconnected() method and throw an Error at the end of the method. If we do this, everything seems to work fine.

Any information leading to my better understanding just what the heck is going on will be rewarded with immense gratitude.

thanks,

-Morgan
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    WiiLi.org Forum Index -> WiiremoteJ All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group