KPADSetDpdDetection

Syntax

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

void KPADSetDpdDetection ( u8 mode );

Parameters

mode KPAD_DPD_DEFAULT or KPAD_DPD_DOWNWARD

Return Values

None.

Description

By calling this function, DPD sensing algorithm can be changed. If the argument is KPAD_DPD_DOWNWARD, DPD sensing algorithm is suitable when Wii remote is directed downward. By default, DPD sensing mode is KPAD_DPD_DEFAULT.

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

KPADGetDpdDetection

Revision History

2013/08/23 Initial version.


CONFIDENTIAL