Hi,
you could do it with SDL (sdl-warp-mouse). But this would require you to
create the Game Window also with SDL.
You can find a SDL binding here: https://github.com/pb82/sdl4racket.
On 04.03.2013 11:29, Philipp Dikmann wrote:
Hi,
Is there a way to 'fix' the mouse position, e.g. put the cursor to a
specific position programatically?
I could not quite make it out from the mouse-event documentation -
guess they're just the receiving end of things.
I'd like to keep the cursor inside of a game window even during
'hectic' moments ;)
Thanks,
Philipp
____________________
Racket Users list:
http://lists.racket-lang.org/users
____________________
Racket Users list:
http://lists.racket-lang.org/users