VPADGetCrossStickEmulationParamsL/R

Syntax

#include <cafe/vpad.h>

void VPADGetCrossStickEmulationParamsL( s32 chan, f32 *rot_deg,
                                        f32 *xy_deg, f32 *radius );
                                        
void VPADGetCrossStickEmulationParamsR( s32 chan, f32 *rot_deg,
                                        f32 *xy_deg, f32 *radius );

Parameters

chan One of the VPAD_CHANn values.
rot_deg Rotation degree.
xy_deg Ranges for input.
radius The radius for disregarding input.

Return Values

None.

Description

This function can get internal parameters for handling analog stick input from the DRC. rot_deg is the parameter for coordinate transform degree. The whole coordinate system moves counterclockwise by the rot_deg degree. xy_deg is used for setting ranges and regarding input as left/right/up/down. The rest of the ranges are regarded as obliquely input. radius is used for a circle that disregards input from an analog stick.

Do Not Call From

VPADGetCrossStickEmulationParamsL

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.

VPADGetCrossStickEmulationParamsR

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.

See Also

VPADSetCrossStickEmulationParamsL/R

Revision History

2013/05/15 Initial version.


CONFIDENTIAL