Line 7:
Line 7:
!Prototype
!Prototype
!Description
!Description
+
|-
+
|WPADInit
+
|void WPADInit(void);
+
|Initializes the library
+
|-
+
|WPADShutdown
+
|void WPADShutdown(void);
+
|Cleans up after the library
|-
|-
|WPADRead
|WPADRead
|int WPADRead(int chan, void *buffer);
|int WPADRead(int chan, void *buffer);
|Stores raw controller data for the specified Wii Remote in ''buffer''
|Stores raw controller data for the specified Wii Remote in ''buffer''
+
|-
+
|WPADIsMotorEnabled
+
|bool WPADIsMotorEnabled(void);
+
|Get's the status of the WPAD motor
+
|-
+
|WPADGetAcceptConnection
+
|boolean WPADGetAcceptConnection(void);
+
|Returns true if we allow new wpad's to connect
+
|-
+
|WPADSetAcceptConnection
+
|boolean WPADSetAcceptConnection(boolean acceptConnections);
+
|Set's whenever or not we allow new connectins
|}
|}