KPADGetDistParam

Syntax

#include <cafe/pads/kpad/kpad.h>

void KPADGetDistParam( s32 chan, f32 *play_radius, f32 *sensitivity );

Parameters

chan One of the WPAD_CHANn values.
play_radius Specify a pointer for copying the currently set play radius.
sensitivity Specify a pointer for copying the currently set sensitivity.

Return Values

None.

Description

This function gets the play radius and the sensitivity for the distance between Sensor Bar and Wii remote, calculated from the value obtained by DPD.

The default values for play radius and sensitivity are 0 and 1, respectively.

Do Not Call From

Background Do not call this function from the background.
Interrupt handler Do not call this function from any interrupt handler.
Exception handler Do not call this function from any exception handler.
Multiple Cores Do not call this function from more than one Core.

See Also

KPADSetDistParam

Revision History

2013/05/08 Automated cleanup pass.
2007/04/25 Initial version.


CONFIDENTIAL