KPADSetSensorHeight

Syntax

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

void KPADSetSensorHeight( s32 chan, f32 level );

Parameters

chan One of the WPAD_CHANn values.
level Sets the height for the Sensor Bar location.

Return Values

None.

Description

Sets the height for the Sensor Bar location. It is recommended that initial adjustment is in the range of −0.3 to +0.3. When pointing the Pointer at the center of Sensor Bar, set the pointing coordinate to the default of zero. When pointing at the TV screen, the pointing coordinates can be adjusted to zero: use a negative value when the Sensor Bar is below the TV screen and a positive value when above. Pointing coordinates can also be adjusted to zero when pointing at the center of TV rather than at the center of Sensor Bar. However, as a side effect, the larger the absolute value of the setting value, the more sensitive are changes to the pointing coordinates, making fine control difficult.

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

KPADEnableAimingMode
KPADDisableAimingMode
KPADGetSensorHeight
KPADGetProjectionPos

Revision History

2013/05/08 Automated cleanup pass.
2008/10/03 Added KPADGetSensorHeight to See Also.
2006/09/07 Added reference links.
2006/08/15 Initial version.


CONFIDENTIAL