#include <revolution/kpad.h>
WPADStatus *KPADGetWPADRingBuffer( s32 chan ) ;
chan |
One of WPAD_CHANn values. |
Returns the starting address of the WPADStatus structure ring buffer.
KPAD library uses the autosampling from the WPAD library. This function gets the starting address of the WPADStatus structure ring buffer used by that autosampling. The length of the buffer is defined in KPAD_RING_BUFS. To reference values in a WPADStatus structure directly, use the WPADGetLatestIndexInBuf function in parallel to reference the appropriate value.
03/01/2006 Initial version.