Moving mouse pointer

Hello there,

I’m using GLUT to manage my windows. I want my program to move the (mouse) pointer. What’s the best way of doing this?

Thanks in advance,

Hello there,
I don’t understand what do you mean by moving the mouse pointer. Do you want key board to handle mouse movement or what??? Clarification required?

had some network problems and lost my previous answer, so this one is gonna be brief. Look at glutSetCursor. If you want to draw your own cursor, you need OS specific functions to disable it and then get a quad that follows the mouse coordinates in each frame. These can be get by glutPassiveMotionFunc and glutMotionFunc. Good luck!