VPADSetGyroAngle

Syntax

#include <cafe/vpad.h>

void VPADSetGyroAngle( s32 chan, f32 ax, f32 ay, f32 az );

Parameters

chan Controller number. 0 for DRC1 and 1 for DRC2.
ax Angle about the pitch axis. A value of 1.0 indicates a 360-degree angle.
ay Angle about the yaw axis. A value of 1.0 indicates a 360-degree angle.
az Angle about the roll axis. A value of 1.0 indicates a 360-degree angle.

Return Values

None.

Description

Resets angle, in the VPADStatus structure obtained by the VPADRead function for the specified channel's DRC, with arbitrary values.

Do Not Call From

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.

Revision History

2013/05/08 Automated cleanup pass.
2011/03/30 Initial version.


CONFIDENTIAL