Changes

Jump to navigation Jump to search
481 bytes added ,  11:04, 21 April 2016
Added info on WPADProbe - a function blindly located by Tueidj and I based on data from libogc.
Line 15: Line 15:  
|void WPADShutdown(void);
 
|void WPADShutdown(void);
 
|Cleans up after the library
 
|Cleans up after the library
 +
|-
 +
|WPADProbe
 +
|int WPADProbe(int chan, void * buffer);
 +
|This function checks if there is a controller connected to chan (between 0 and 3 for four total controllers). Possible return values include 0 (connection success), -1 (remote not connnected) and -2 (remote is pairing with the console). The values will sometimes flicker due to connection issues with the controller. Be sure to call this BEFORE WPADRead so that you can avoid reading fake data from disconnected controllers.
 
|-
 
|-
 
|WPADRead
 
|WPADRead
85

edits

Navigation menu