#include <cafe/vpad.h> void VPADStartGyroMagRevise( s32 chan );
Starts the attitude correction using magnetometer. The base attitude is the
dir member in the
VPADStatus when this function is called.
After this function is called, at first, the internal magnetometer calibration is executed automatically.
Actual attitude correction using magnetometer works after the calibration is finished.
This function has to be called after the user holds the DRC at the correct position to start gameplay.
If you use the acceleration correction simultaneously, do not call this function until the return value of
VPADIsEnableGyroAccRevise becomes stable.
|Background||Do not call this function from the background.|
|Multiple threads||This function is not thread-safe.|
|Multiple Cores||Do not call this function from more than one Core.|
2013/08/20 Initial version.