WPADGetSensorBarPosition

Syntax

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

#define WPAD_SENSOR_BAR_POS_BOTTOM              0
#define WPAD_SENSOR_BAR_POS_TOP                 1

u8 WPADGetSensorBarPosition( void );

Parameters

None.

Return Values

The placement position of the Sensor Bar specified in the console settings by the user.

Description

Gets the placement position of the Sensor Bar specified in the console settings by the user. This function is used when interpolating values in object coordinates for the Pointer within the WPAD and KPAD libraries.

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