View Full Version : another question about mouse callback

10-02-2003, 12:25 PM
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
Any help would be greatly appreciated !!


10-02-2003, 12:37 PM
glutMotionFunc to track movements when a mouse button is pressed, and glutPassiveFunc for movements when no button is pressed.

10-02-2003, 12:46 PM
Thanks Bob ! This should work very fine !