VPADSetCrossStickEmulationParamsL/R

Syntax

#include <cafe/pads/vpad.h>

void VPADSetCrossStickEmulationParamsL( s32 chan, f32 rot_deg, f32 xy_deg, f32 radius );
void VPADSetCrossStickEmulationParamsR( 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 set internal parameters for handling analog stick input from 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 for regarding input as left/right/up/down. The rest of ranges are regarded as obliquely input. radius is used for a circle that disregards input from analog stick.

Do Not Call From

VPADSetCrossStickEmulationParamsL

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.

VPADSetCrossStickEmulationParamsR

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

VPADGetCrossStickEmulationParamsL/R

Revision History

2013/05/15 Initial version.


CONFIDENTIAL