[Haskell-cafe] How do you change the mouse position?

Eitan Goldshtrom thesourceofx at gmail.com
Thu Aug 12 22:50:45 EDT 2010


In C++, maybe Java, I remember using a Robot to change the location of 
the mouse on the screen. My intention is to do something like in an FPS 
game where the mouse is always centered to make sure it doesn't run into 
the edges of the screen. How can I do that in Haskell? I'm using OpenGL, 
so if there is a utility that specifically works with OpenGL then I 
believe that would be the most helpful.

-Eitan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.haskell.org/pipermail/haskell-cafe/attachments/20100812/b715ff17/attachment.html


More information about the Haskell-Cafe mailing list