KPADGetWPADRingBuffer

Syntax

#include <revolution/kpadOld.h>

WPADStatus *KPADGetWPADRingBuffer( s32 chan );

Arguments

chan One of the WPAD_CHANn values.

Return Values

Returns starting address of the WPADStatus structure's ring buffer.

Description

KPAD library uses autosampling from the WPAD library. This function gets the starting address of the WPADStatus structure ring buffer used by that autosampling. KPAD_RING_BUFS defines the buffer's length. To directly reference values in the WPADStatus structure, use the WPADGetLatestIndexInBuf function in parallel.

See Also

None.

Revision History

2006/10/25 Changed the name to KPADOld library, beginning with Revolution SDK 2.3.
2006/03/01 Initial version.


CONFIDENTIAL