KPADSetHoriParam

C Specification

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

Arguments

chan one of the 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 is not moving. A lower sensitivity can reduce fluctuation of values when the Wii Remote 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.

See Also

Revision History

2006/03/01 Initial version.
2006/06/19 Changed tentative product name to official name.
2006/10/25 Changed the name from Revolution SDK 2.3 to KPADOld library.


CONFIDENTIAL