VPADGetLcdMode

Syntax

#include <cafe/vpad.h>

s32 VPADGetLcdMode( s32 chan, VPADLcdMode *mode );

Parameters

chan Controller number. 0 for DRC1 and 1 for DRC2.
mode Buffer for copying the current LCD mode of DRC.

Return Values

If the function succeeds, the return value is zero. If the function fails, the return value is negative.

Description

Gets the DRC's LCD mode.

Do Not Call From

Background Do not call this function from the background.
Multiple threads This function is not thread-safe.
Multiple Cores Do not call this function from more than one Core.

See Also

VPADLcdMode
VPADSetLcdMode

Revision History

2015/03/03 Updated struct info and link.
2013/05/13 Added the description of game controller mode.
2013/05/08 Automated cleanup pass.
2013/01/16 Initial version.


CONFIDENTIAL