[squeak-dev] Grabbing the mouse

Matthew Fulmer tapplek at gmail.com
Tue Feb 22 05:32:01 UTC 2011


On Fri, Feb 11, 2011 at 11:46:04PM -0500, Matthew Fulmer wrote:
> Is there a way in squeak to completely grab the mouse so you can
> get all events, and not even bother with the cursor? a lot of
> games do it for various features, and trying to do the same in
> Open Cobalt for the camera controls

I discovered that there is InputSensor >> cursorPoint: that
claims to move the mouse pointer position, but the primitive
seems to be un-implemented on all three platforms.

To try it:

Sensor cursorPoint: 100 at 100

-- 
Matthew Fulmer (a.k.a. Tapple)



More information about the Squeak-dev mailing list