Comment 1 for bug 1134544

Revision history for this message
rob (another-rob) wrote :

Here's one way this might be accomplished: It would be nice to have something like a "control stopped" event that would fire when a particular control stops moving (ie: no data from it in a certain number of milliseconds - maybe you could set the threshold for this arbitrarily somehow), that you could hook a function to with engine.connectcontrol... Then, at the point in the script where you call the exit from slip mode, you could disable the wheel input, and re-enable it in a function connected to the "wheel stopped" event.

I can imagine uses for this other than for the wheel/slip mode thing - interesting functionality could be built around a "control stopped" function for knobs and faders as well.