KPADSetHoriParam

C Specification

#include <revolution/kpad.h>
void KPADSetHoriParam( s32 chan, f32 play_radius, f32 sensitivity ) ;

Arguments

chan One of WPAD_CHANn values.
play_radius Play radius. Specify a value ≥ 0.
sensitivity The sensitivity.
Specify a value from 0 to 1. When set to 0, there is no response. When set to 1, the values obtained from the device are used without modification.

Return Values

None.

Description

This function adjusts the play radius and sensitivity for the horizontal plane slope that is calculated from the value obtained by the DPD. A larger play radius can reduce the fluctuation of values when the Wii Remote Control is not moving. A lower sensitivity can reduce fluctuation of values when the controller is moving. Movement within the play radius is not eliminated completely, but as you approach the play radius, the amount of movement becomes extremely small. If the play radius is set to 0 and the sensitivity is set to 1, the values obtained from the device are used without modification.

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

See Also

KPADGetHoriParam

Revision History

2007/04/25 Added a description about the default values. Added KPADGetHoriParam to the See Also section.
2006/06/19 Changed a tentative product name to the official name.
2006/03/01 Initial version.