another question about mouse callback

Hi there,

It seems that the mouse callback function
of Glut is called whenever occurs a mouse
event (click or else). Is there a way
to call this function whenever the mouse is
moving (I’d like to keep track of the cursor
motion…)
Any help would be greatly appreciated !!

Steinbeck

glutMotionFunc to track movements when a mouse button is pressed, and glutPassiveFunc for movements when no button is pressed.

Thanks Bob ! This should work very fine !