Advertisement

mouse input

Started by May 24, 2000 02:55 AM
1 comment, last by Fuzz 24 years, 8 months ago
I''m using GLUT in my projects and want to know where the mouse is in the window. I know there is a mouse callback and a motion callback function, but these are only called when a button is pressed. How do I just get the x,y of the mouse even when no button is pressed (it doesnt have to be using glut.. any method will do)
I believe you''re looking for the glutPassiveMotionFunc() call.
Advertisement
Thanks heaps

This topic is closed to new replies.

Advertisement