I am using GLUT lib to do programming on Windows XP. I know there is a function ‘glutMotionFunc’ can catch mouse movement, but it just can catch the movement when some button is holding.
Is there someone know how I can capture the mouse movement without holding anying button?
You mean like this glut function:
glutPassiveMotionFunc( func )
Originally posted by JenniferHu:
[b]I am using GLUT lib to do programming on Windows XP. I know there is a function ‘glutMotionFunc’ can catch mouse movement, but it just can catch the movement when some button is holding.
Is there someone know how I can capture the mouse movement without holding anying button?[/b]