VPADGetLStickClampThreshold

Syntax

#include <cafe/vpad.h>

void VPADGetLStickClampThreshold( s32 chan, s32* max, s32* min );

Parameters

chan Controller number. 0 for DRC1 and 1 for DRC2.
max Pointer for copying the upper limit for clamp.
min Pointer for copying the lower limit for clamp.

Return Values

None.

Description

Gets the clamp for the left stick data of the DRC.

The default maximum and minimum values are 258 and 919, respectively.

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.

See Also

VPADSetLStickClampThreshold
VPADSetRStickClampThreshold
VPADGetRStickClampThreshold

Revision History

2013/05/08 Automated cleanup pass.
2012/04/30 Fixed the default value of the threshold.
2011/04/15 Initial version.


CONFIDENTIAL