Up |
_CBextensionDisconnected Scol 5.x or above required
Define a callback when an extension is disconnected.
Prototype :
fun [WiiObj fun [WiiObj u0 I] u1 u0] WiiObj
- WiiObj : a wii object
- fun [WiiObj u0 I] u1 : the callback. Supplemental arguments is the
type of connected extension :
- 0 : none
- 1 : nunchuck
- 2 : classic controller
- 3 : motionPlus
- 4 : balance board
- 5 : gh3 guitar
- 6 : gh3 drum
- nil : failure, dysfunction, incorrect connection
- u0 : an user parameter, at your convenience
Return : WiiObj the same wii object or nil if error.
See also :
Example :