Sensor callback to the wii mote buttons
I read over the tutorial script and I created two callbacks for a sensor up and sensor down event.
The tutorial uses vizact commands,
I am not so much a fan of these and I was wondering if I can do button checking the 'classic' way:
if b = wii.BUTTON_A:
How do I go about doing this? I'm not sure what kind of object is being returned in the callback functions.
Thanks,
George
|