WPADGetRadioSensitivity

Syntax

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

#define WPAD_CHAN0               0
#define WPAD_CHAN1               1
#define WPAD_CHAN2               2
#define WPAD_CHAN3               3

u8 WPADGetRadioSensitivity( s32 chan );

Parameters

chan One of the WPAD_CHANn values.

Return Values

Gets the radio sensitivity (in percent) from the Wii remote.

Description

Gets the radio sensitivity of the Wii remote on the specified channel. The radio sensitivity is calculated from the number of data frames obtained within a set period as a percent value.

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.

Revision History

2013-05-08 Automated cleanup pass.
2006-08-15 Initial version.


CONFIDENTIAL