libogc- WPAD_SetDataFormat() corrupts balance board readings

Post Reply
Michael
Posts: 4
Joined: Wed Oct 21, 2009 1:59 am

libogc- WPAD_SetDataFormat() corrupts balance board readings

Post by Michael » Mon Dec 06, 2010 5:31 am

In libogc 1.8.5, if I try and set the formats of all wiimotes in one call, like this:

WPAD_SetDataFormat(WPAD_CHAN_ALL, WPAD_FMT_BTNS_ACC_IR);

I can no longer get valid readings from two of the pressure sensors on the balance board. The back left sensor always reads 0 for the raw value, and the back right reads around 20k. If I either set each wiimote's data format individually (e.g. avoid setting the balance board's format), or if I don't turn on the IR, the balance board readings are valid.

WinterMute
Site Admin
Posts: 1478
Joined: Tue Aug 09, 2005 3:21 am
Location: UK
Contact:

Re: libogc- WPAD_SetDataFormat() corrupts balance board read

Post by WinterMute » Wed Jan 05, 2011 1:24 pm

This was fixed with the 1.8.6 release.
Help keep devkitPro toolchains free, Donate today

Personal Blog

Michael
Posts: 4
Joined: Wed Oct 21, 2009 1:59 am

Re: libogc- WPAD_SetDataFormat() corrupts balance board read

Post by Michael » Thu Jan 06, 2011 4:29 pm

Thank you. I can confirm the fix does resolve the problem in my tests.

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest