KPADSetDistPlayMode

Syntax

#include <revolution/kpad.h>

typedef enum KPADPlayMode {
    KPAD_PLAY_MODE_LOOSE = 0,
    KPAD_PLAY_MODE_TIGHT
} KPADPlayMode;

void KPADSetDistPlayMode( s32 chan, KPADPlayMode mode );

Arguments

chan One of the WPAD_CHANn values.
mode The play mode. One of KPAD_PLAY_MODE_*.

Return Values

None.

Description

Sets the play mode when the play radius has been set for the distance.

KPAD_PLAY_MODE_TIGHT is a newly added calculation mode. It distinguishes sharply between whether or not the values are changed based on the boundary of the play radius, and does not change the values at all within the play range. KPAD_PLAY_MODE_LOOSE is the calculation mode that has been used until now. Even within the play range, the values will gradually start to move as they approach the boundary of the play radius, resulting in the smooth change in values. With KPAD_PLAY_MODE_LOOSE, making the play radius too large would produce the appearance of weaker sensitivity. To avoid this, consider using KPAD_PLAY_MODE_TIGHT.

The default is KPAD_PLAY_MODE_LOOSE, which is the same setting that has been used until now. The default value is used on the Wii Menu as well. Set these values to their defaults to match Wii Menu behavior.

See Also

KPADGetDistPlayMode

Revision History

2008/07/08 Added information on settings in the Wii Menu.
2007/07/12 Initial version.


CONFIDENTIAL