• Advertisement
Sign in to follow this  

move mouse pointer

This topic is 2776 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I need functions in glut (openGL) that espy move mouse pointer without press any button of mouse. Please help me.

Share this post


Link to post
Share on other sites
Advertisement
Moving the pointer yourself?

or

Telling when the mouse has moved?
Note the second function listed:
Quote:

glutMotionFunc and glutPassiveMotionFunc set the motion and passive motion callback respectively for the current window. The motion callback for a window is called when the mouse moves within the window while one or more mouse buttons are pressed. The passive motion callback for a window is called when the mouse moves within the window while no mouse buttons are pressed.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement