I love this forum : people is usually very nice here.
1) To get the position of the mouse, I use "GetCursorPos", of "Windows.h", but the position that it gives to me seems to be "late" compared to the real position of the mouse, although the frame rate of my program is 85. Do you know another way with Windows to get the cursor position? I use Visual C++.
2) I use glut too, but I only know "glutMouseFunc" and "glutMotionFunc", and these functions are called only if a button is pressed!!! Do you know a way, by using glut, to get the position of the mouse when I want, for exemple, a callback function that would be called EACH TIME THE MOUSE MOVES?
THANK YOU VERY MUCH!