Other (#5) - MotionPlus branch (#128) - Message List
MotionPlus branch
unsolved
I built and tested the python extension on my Ubuntu 9.04 system.
It worked like charm.
U rock dsmith!
kdavis
06/23/09 02:42:19 (4 years ago)
-
Message #24446
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)-
Message #24447
hi
I'm working with yours wiimotionplus branch and i've a problem with the callback interface (with pyhton binding):
with
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: passi've got:
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?
thanks ahead
PS: great job for yours quickly integration MotionPlus add-on
madmaker06/24/09 14:49:25 (4 years ago)
-
