/*---------------------------------------------------------------------------* Project: Revolution WBC File: wbc.h Copyright 2007 Nintendo. All rights reserved. These coded instructions, statements, and computer programs contain proprietary information of Nintendo of America Inc. and/or Nintendo Company Ltd., and are protected by Federal copyright law. They may not be disclosed to third parties or copied or duplicated in any form, in whole or in part, without the prior written consent of Nintendo. $Log: $ $NoKeywords: $ *---------------------------------------------------------------------------*/ #ifndef __WBC_H__ #define __WBC_H__ #include #ifdef __cplusplus extern "C" { #endif #define WBC_ERR_NONE WPAD_ERR_NONE #define WBC_ERR_BUSY WPAD_ERR_BUSY #define WBC_ERR_NO_CONTROLLER WPAD_ERR_NO_CONTROLLER s32 WBCSetupCalibration ( void ); BOOL WBCGetCalibrationStatus ( void ); s32 WBCRead ( WPADBLStatus *status, double weight[], u32 size ); s32 WBCGetBatteryLevel ( u8 battery ); s32 WBCSetZEROPoint ( double press_ave[], u32 size ); double WBCGetTGCWeight ( double total_weight_ave, WPADBLStatus *status ); #ifdef __cplusplus } #endif #endif // __WBC_H__