1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> 2<html> 3 4<head> 5<META http-equiv="Content-Type" content="text/html; charset=windows-1252"> 6<META name="GENERATOR" content="Microsoft FrontPage 5.0"> 7<META http-equiv="Content-Style-Type" content="text/css"> 8<LINK rel="stylesheet" type="text/css" href="../CSS/revolution.css"> 9<title>PADInit</title> 10</head> 11 12<body> 13 14<h1>PADInit</h1> 15 16<h2>Syntax</h2> 17<dl><dd><pre class="construction"> 18#include <revolution/pad.h> 19 20void PADInit(void); 21</pre></dd></dl> 22 23<h2>Arguments</h2> 24<p>None.</p> 25 26<h2>Return Values</h2> 27<p>None.</p> 28 29<H2>Description</H2> 30<P>This function initializes the controllers. The <code>PADInit</code> function enables the controller sampling performed by the Revolution hardware. The controller sampling rate is specified by the <A href="../si/SISetSamplingRate.html"><CODE>SISetSamplingRate</CODE></A> function.</P> 31<P><B>Note:</B> The video interface must be initialized using the <A href="../vi/VIInit.html"><CODE>VIInit</CODE></A> function before calling the <CODE>PADInit</CODE> function. This is due to the fact that VI controls the timing of the sampling of hardware controller data.</P> 32 33<h2>See Also</h2> 34<p class="reference"> 35<A href="PADRead.html">PADRead</A>, 36<A href="../si/SISetSamplingRate.html">SISetSamplingRate</A>, 37<A href="PADStatus.html">PADStatus</A> 38</p> 39 40<H2>Revision History</H2> 41<P> 422006/03/01 Initial version.<br> 43</P> 44 45<hr><p>CONFIDENTIAL</p></body> 46</html>