View Single Post
  #1  
Old 03-14-2008, 08:35 AM
shivanangel shivanangel is offline
Member
 
Join Date: Feb 2006
Location: New Jersey
Posts: 180
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
Reply With Quote