KPADSetSensorHeight

Syntax

#include <revolution/kpadOld.h>

void KPADSetSensorHeight( s32 chan, f32 level );

Arguments

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. We recommend initial adjustment 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 value 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. This means that pointing coordinates can also be adjusted to zero when pointing at the center of the TV rather than at the center of the 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.

See Also

KPADEnableAimingMode, KPADDisableAimingMode, KPADGetProjectionPos

Revision History

2006/10/25 Changed the name to KPADOld library, beginning with Revolution SDK 2.3.
2006/09/07 Added reference links.
2006/08/15 Initial version.


CONFIDENTIAL