mouse input
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)
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement