Up |
_CBnunchukButton Scol 5.x or above required
Define a callback to the nunchuck button event.
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 button (1 or 2)
- u0 : an user parameter, at your convenience
Return : WiiObj the same wii object or nil if error.
See also :
Example :