Up |
_CBwiimoteIr Scol 5.x or above required
Define a callback to an infrared event.
Prototype :
fun [WiiObj fun [WiiObj u0 [F F F F]] u1 u0] WiiObj
- WiiObj : a wii object
- fun [WiiObj u0 [F F F F]] u1 : the callback. The supplemental argument is
a tuple :
- X-left coordonate
- Y-top coordonnate
- X-right coordonnate
- Y-bottom coordonnate
- u0 : an user parameter, at your convenience
Return : WiiObj the same wii object or nil if error.
See also :
Example :