socket input instead of mouse

goran.krampe at goran.krampe at
Wed Jun 2 09:48:41 UTC 2004

Welcome to the community!

"Randy Heiland" <heiland at> wrote:
> Greetings,
> Apologies up-front from a total newbie developer.  (We're experienced
> software developers, just not in Squeak/Smalltalk - and yes, we're aware
> of the good tutorial links at
> We were wondering what it would take to run Squeak on a particular
> custom display/interaction device here in our labs (running Linux).
> I'll be vague for brevity.  Basically, the question becomes, can we
> replace the function of the mouse in Squeak with a stream of (x,y), pen
> up/down commands via a socket?  We would welcome any pointers at
> kick-starting our efforts.  Our goal is to have something by Squeakfest
> in Aug :)

Sure. Some things off my head (though others know more):

- Nebraska is a remoting-VNC-kinda-thing all in Squeak that already has
code for doing mouse events over Sockets. Probably worth looking at! :)

- If you want to see where it all "starts" in Squeak (Morphic) read code

Note: Morpic can have multiple hands at the same time.

Anyway, so even though it might be naively tempting to modify the VM
(the mouse input prims) I think it is much wiser/simpler to simply do it
on the Squeak side.

> Also, I didn't see a search engine on the Sqeak-dev archives, but if
> one's available, could someone point that out as well?

They are googled I think. Might also find other sources if you search on
the Squeak Swiki - lots of info there.

> Thanks!
> Randy Heiland
> Assoc Director, Scientific Data Analysis Lab
> Indiana University Pervasive Technology Labs

No problem, regards Göran

More information about the Squeak-dev mailing list