Changes

Jump to navigation Jump to search
Line 182: Line 182:     
===Wiimote Errors===
 
===Wiimote Errors===
 +
When using a function, such as the [[#Wiimote Detection | WPAD_Probe(s32,u32)]] function, it will return a error code. These include:
 +
<source lang="c">
 +
WPAD_ERR_NONE
 +
// There are no errors with the Wiimote.
 +
WPAD_ERR_NO_CONTROLLER
 +
// There is no Wiimote connected.
 +
WPAD_ERR_NOT_READY
 +
// The Wiimote is not ready.
 +
WPAD_ERR_TRANSFER
 +
// There was a problem with data transfer.
 +
WPAD_ERR_NONEREGISTERED
 +
// The Wiimote is not registered on the Wii. (synchronization)
 +
WPAD_ERR_UNKNOWN
 +
// An unknown error has occurred.
 +
WPAD_ERR_BAD_CHANNEL
 +
// The channel that the Wiimote is connected to is bad. (radio interference?)
 +
WPAD_ERR_QUEUE_EMPTY
 +
// The queue is empty.
 +
WPAD_ERR_BADVALUE
 +
// The Wiimote value is bad.
 +
WPAD_ERR_BADCONF
 +
// The configuration for the Wiimote is bad.
 +
</source>
 +
 
==Basic Usage==
 
==Basic Usage==
 
''The following section includes the very basic usage of the Wiimote.''
 
''The following section includes the very basic usage of the Wiimote.''
394

edits

Navigation menu