Setting mouse position

glut

Solution

I've just found it, you just have to ask the right question and google helps :D

Its `glutWarpPointer(middleX, middleY)`;

Problem

Is there a function in glut which moves the mouse to a specific position? There is a similar function in SDL (SDL_WarpMouse) but I want to stick to glut.

Original source