<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">Hi,<br>
<br>
you could do it with SDL (sdl-warp-mouse). But this would require
you to create the Game Window also with SDL.<br>
<br>
You can find a SDL binding here:
<meta http-equiv="content-type" content="text/html;
charset=ISO-8859-1">
<a href="https://github.com/pb82/sdl4racket">https://github.com/pb82/sdl4racket</a>.<br>
<br>
On 04.03.2013 11:29, Philipp Dikmann wrote:<br>
</div>
<blockquote cite="mid:5134779E.8090107@dikmann.de" type="cite">Hi,
<br>
<br>
Is there a way to 'fix' the mouse position, e.g. put the cursor to
a specific position programatically?
<br>
I could not quite make it out from the mouse-event documentation -
guess they're just the receiving end of things.
<br>
I'd like to keep the cursor inside of a game window even during
'hectic' moments ;)
<br>
<br>
Thanks,
<br>
Philipp
<br>
____________________
<br>
Racket Users list:
<br>
<a class="moz-txt-link-freetext" href="http://lists.racket-lang.org/users">http://lists.racket-lang.org/users</a>
<br>
<br>
</blockquote>
<br>
</body>
</html>