KPADSetHoriPlayMode

C Specification

#include <revolution/kpad.h>
typedef enum KPADPlayMode {
KPAD_PLAY_MODE_LOOSE = 0,
KPAD_PLAY_MODE_TIGHT
} KPADPlayMode ;
void KPADSetHoriPlayMode( 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 horizontal parameters.

KPAD_PLAY_TIGHT is a newly-added calculation method. 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_LOOSE is the traditional calculation method. 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_LOOSE, if the play radius is made too large, it will behave as though the tracking (sensitivity) has been made weaker. If you wish to avoid this, you should probably look into KPAD_PLAY_TIGHT.

By default, the play mode is set to KPAD_PLAY_LOOSE, as has been the case up to the present.

See Also

KPADGetHoriPlayMode

Revision History

2007/07/12 Initial version.