Other (#5) - MotionPlus branch (#128) - Message List
I built and tested the python extension on my Ubuntu 9.04 system.
It worked like charm.
U rock dsmith!
Glad to hear it. I've got a couple more changes in my local copy that I want to verify, then I'll probably commit and merge.dsmith06/23/09 13:59:35 (4 years ago)
I'm working with yours wiimotionplus branch and i've a problem with the callback interface (with pyhton binding):
def cb(msg): print "hello" #if __name__ == '__main__': import cwiid wm = cwiid.Wiimote() wm.rpt_mode = cwiid.RPT_BTN | cwiid.RPT_STATUS wm.mesg_callback = cb wm.enable(cwiid.FLAG_MESG_IFC) while True: pass
TypeError: cb() takes exactly 1 argument (2 given)
... each time when I push any button (with the trunk I haven't that)
What's happening with callback interface?
PS: great job for yours quickly integration MotionPlus add-onmadmaker06/24/09 14:49:25 (4 years ago)