PDA

View Full Version : Capture mouse movement



JenniferHu
08-30-2002, 02:37 PM
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?

nexusone
08-30-2002, 03:00 PM
You mean like this glut function:

glutPassiveMotionFunc( func )



Originally posted by JenniferHu:
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?