I'm creating a node that queries a gamepad (XB360 controller) and sets
attributes that mirror button states.
Everything works except that the compute must be manually triggered
(by editing a dummy attribute).

Is there a nice way to force the compute?  can you make an attribute
"dirty" every screen draw, or put it on a timer?

I've thought about making a callback that waits a preset amount, and
then edits the attr, which re-triggers the callback, making an
infinite loop of sorts.  Is that kosher?

--~--~---------~--~----~------------~-------~--~----~
http://groups.google.com/group/python_inside_maya
-~----------~----~----~----~------~----~------~--~---

Reply via email to