<?xml version="1.0"?>
<rss version="2.0">
	<channel>
		<title>Change or hold position of mouse</title>
		<link>http://www.allegro.cc/forums/view/607631</link>
		<description>Allegro.cc Forum Thread</description>
		<webMaster>matthew@allegro.cc (Matthew Leverton)</webMaster>
		<lastBuildDate>Fri, 17 Jun 2011 16:49:22 +0000</lastBuildDate>
	</channel>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Hi,</p><p>I want to know if it&#39;s possible to change and/or hold the position of the mouse by code.</p><p>As example, I have an object,movable when dragged with the mouse, rotating around another object. I want the rotating object to move clockwise when the mouse moves right and counter clockwise when left. The rotating part isn&#39;t the problem. As you can see an infinite number of mickeys is possible to the left and right. This is a problem since I&#39;m working in windowed mode and need the mouse to remain in the window. <br />My question is: how can I lock the mouse in place so it won&#39;t leave the screen when you hold the left mouse button down?</p><p>Help is really appreciated ^_^
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (DubbelD75)</author>
		<pubDate>Thu, 16 Jun 2011 23:22:39 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>A4<br /><span class="source-code"><a href="http://www.allegro.cc/manual/position_mouse"><span class="a">position_mouse</span></a></span></p><p>A5<br /><span class="source-code"><a href="http://www.allegro.cc/manual/al_set_mouse_xy"><span class="a">al_set_mouse_xy</span></a></span>
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Edgar Reynaldo)</author>
		<pubDate>Fri, 17 Jun 2011 08:57:32 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Wow I feel kinda stupid right now. I really couldn&#39;t find it.<br />Thanks!
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (DubbelD75)</author>
		<pubDate>Fri, 17 Jun 2011 16:49:22 +0000</pubDate>
	</item>
</rss>
