#include <cafe/pads/kpad/kpad.h> void KPADSetPosParam( s32 chan, f32 play_radius, f32 sensitivity );
|chan||One of the
|play_radius||Play radius. Specify a value ≥
|sensitivity||Sensitivity. Specify a value from
This function adjusts the play radius and sensitivity for the coordinates where the Wii remote is pointing. A larger play radius can reduce the fluctuation of values when the Wii remote is not moving,
a lower sensitivity - when the controller is moving. Movement within the play radius is not eliminated completely; however, as you approach the limit of the play radius, the amount of movement becomes
extremely small. If the play radius is set to
0 and sensitivity to
1, the values obtained from the device are used without modification.
The default values for play radius and sensitivity are
1, respectively. In the Cafe Menu the play radius and sensitivity are set to
1.0. Use these values to make the Wii remote's behavior
match its behavior in the Cafe Menu.
|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.|
2013/05/08 Automated cleanup pass.
2008/03/17 Added the settings used in the Cafe Menu.
2007/04/25 Added the default values. Added
KPADGetPosParam to See Also.
2006/06/19 Changed the product name from tentative to official.
2006/03/01 Initial version.