jakedt / wjoy

Automatically exported from code.google.com/p/wjoy
0 stars 0 forks source link

Connecting with Balance Board requires the use of reset button #34

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
On a minimal test using the experimental, I can only seem to get the balance 
board to connect when i hit the reset button.

Pressing the front 'turn on' button doesn't seem to be able to connect in any 
way I try.  Hitting the reset button works just fine.

Not expecting a fix, just wanted to log this as something needing improvement 
if possible.

Original issue reported on code.google.com by mikep...@gmail.com on 19 Nov 2013 at 8:36

GoogleCodeExporter commented 9 years ago
Yep, it's not fixable. New Wiimotes with -TR suffix in name (and, i think, 
Balance Boards) can pared with normal PC/Mac only with sync button.

But after what, wiimote can establish connection as normal paired device. 
Wiimote.framework support this feature, but it disabled on defaults.

You can enable this on applications start:

[Wiimote setUseOneButtonClickConnection:YES];

(If you use my test.app, you can add this line to TestController awakeFromNib, 
i think). After what, pair Balance Board once with sync button. Balance Board 
will pair with OS X, and OS X doesn't forget about device after disconnection. 
Later, Balance Board (if test.app started) can connect to application without 
sync button.

But i test it only with Wiimote/Wii U Pro Controller. :( May be Balance Board 
have some other behavior. 

Original comment by alexandr.serkov on 19 Nov 2013 at 8:56

GoogleCodeExporter commented 9 years ago
Haha! that works.

Thanks a ton!

I used the same test app I wrote from the other ticket, works out just fine! 
Even restarted the app and it connected no problems.

Original comment by mikep...@gmail.com on 19 Nov 2013 at 9:11

GoogleCodeExporter commented 9 years ago
You're welcome :)

Original comment by alexandr.serkov on 19 Nov 2013 at 9:20