I'm writing a full screen OpenGL app and am having problems with cursor control.
I've hidden the Mac cursor and I'm using an Event Loop Timer to poll mouse deltas to update my own cursor.
The reason I do this is that I've found updating the screen on mouse moves results in jerky animation.
I don't remember the precise function call, but in OS 8, when you queried the system for the mouse deltas, the variables would be reset to zero, so that if you called it again, you wouldn't get stale values.
CGGetLastMouseDelta doesn't seem to do that, so even if I don't move the mouse, successive calls to this function return the same values.
Is there any way to reset those values?
I'm developing on X.1.4.
Thanks.