#include <cafe/pads/kpad/kpad.h>

typedef enum KPADPlayMode {
} KPADPlayMode;

void KPADSetHoriPlayMode( s32 chan, KPADPlayMode mode );


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

Return Values



Sets the play mode when the play radius has been set for the horizontal parameters.

KPAD_PLAY_MODE_TIGHT is a newly added calculation mode. It distinguishes sharply between whether the values are changed based on the boundary of the play radius, and does not change the values within the play range. KPAD_PLAY_MODE_LOOSE is the calculation mode that has been used up until now. Even within the play range, the values will gradually start to move as they approach the boundary of the play radius, and will change smoothly. With KPAD_PLAY_MODE_LOOSE, making the play radius too large would produce the behavior that provides 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 Cafe Menu as well. Set these values to their defaults to match Cafe Menu behavior.

Do Not Call From

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.

See Also


Revision History

2013/05/08 Automated cleanup pass.
2008/07/08 Added information on settings in the Cafe Menu.
2007/07/12 Initial version.