#include <revolution/wbc.h>
s32 WBCRead ( WPADBLStatus *status, double weight[], u32 size );
status |
Specifies the WPADBLStatus structure passed by WPADRead. |
weight |
Contains weight-converted values. Specifies the array pointer. |
size |
Specifies the weight array size. Space must be allotted for at least four elements. |
Returns 1 if a person or thing weighing approximately 15.4 pounds or more is on top of the Wii Balance Board accessory. Otherwise returns 0. On failure, returns -1.
WPADRead (press values) into weight values. Bear in mind that press values are refreshed 60 times a second. WBCSetupCalibration prior to using this function.
WBCSetupCalibration
2007/12/10 Changed the weight used to determine if a person has stepped on from 11 pounds to approximately 15.4 pounds.
2007/10/02 Added explanation of WBCSetupCalibration.
2007/09/10 Revised text in line with changes to the function format.
2007/08/31 Initial version.
CONFIDENTIAL